From bef59daccda54de2ed0d60c42811913c2f27e567 Mon Sep 17 00:00:00 2001 From: Xavier Danaux Date: Tue, 4 Dec 2012 01:32:59 -0500 Subject: [PATCH] Fixed a regression bug introduced in version 1.2.0 in the header of the "banking" style when no title is used --- CHANGELOG | 7 ++++++- examples/template-es.pdf | Bin 171988 -> 171988 bytes examples/template-zh.pdf | Bin 241627 -> 241627 bytes examples/template.pdf | Bin 232235 -> 232235 bytes examples/template_banking_red.pdf | Bin 167532 -> 167532 bytes examples/template_casual_orange.pdf | Bin 232785 -> 232785 bytes examples/template_classic_green.pdf | Bin 276451 -> 276451 bytes examples/template_multibib.pdf | Bin 234078 -> 234078 bytes examples/template_oldstyle_grey.pdf | Bin 68883 -> 68883 bytes moderncvstylebanking.sty | 2 +- 10 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 305ed33..4d3be99 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,10 @@ +version 1.2.1 (04 Dec 2012) + - fixed a regression bug introduced in version 1.2.0 in the header of the + "banking" style when no title is used, as reported on tex.stackexchange + (question #85427). + version 1.2.0 (31 Oct 2012) - - updated the banking style header to include the option to show a title. + - updated the "banking" style header to include the option to show a title. - set the values of \arrayrulewidth and \doublerulesep to their standard values (0.4pt and 2pt resp.) to enable the drawing of rules in tabulars and arrays by default. diff --git a/examples/template-es.pdf b/examples/template-es.pdf index 2199a5b8c4c19d767a78ca11f20111378290e0c1..6ae1109e34d6b856821d2f1c0976fa62e2ba9d71 100644 GIT binary patch delta 151 zcmcbzpX>Hyr+|j_$#N64~(bB-c)XCh`PQiwNlI>SPLJH8Zj>wA|j%$@G)S+0eqsz{$zX(ap%k!qU~$+{oO~%-P)7(bUY<#lqac Rz)r!2kdp0tdYCpa0swvmC=37q delta 152 zcmaDehwIH8u7(!IElj^V^bL#+4Gc{z49#^7Ow>SPLJH8nCZG}zwI$@G)S+0xa`%*@rv+|=0E&B@Ho&D_Pp+}PE{&C=A-#Ms!v R%}&9Fkdp0tdYCpa0sxlJD5d}a diff --git a/examples/template_casual_orange.pdf b/examples/template_casual_orange.pdf index 52274b9bb728e8b13c785fa9ac4611ed921a0a6e..5ef4213441d66e36d9a63541478897e2326d1347 100644 GIT binary patch delta 137 zcmcaOi|^trzJ?aY7N#xCQ(Ae93``6R4NVLTbPY_WFKA^JM-@5T${fgQW@KS#xm~i2 z`45Y;iLFEi7;J^^FWn3=9oT42*RROw|nx)HS*Eee+XX5=&AQG+eBV z3=EA7k(ErBHed;4H8Zj>wA@~3z+%ekY+-2VY-a3e=4R^XYGi8SX5?(*?BrrYyf00oM2^C;$Ke delta 156 zcmaF-Uf}V2frb{w7N!>FEi7;J^$m;-4Gc{z3=MP*Ow}+c8WM*h=Y-(WcVrgvXWa4IO=45VZY~g5b U;^J&!W~X37NXhn>rYyf00m8W_r~m)} diff --git a/examples/template_multibib.pdf b/examples/template_multibib.pdf index 617c9583397f3fd4e96ae5bde66609de274ebfa2..422a6ea628f7b6b02778b536648b4972b3f57d6f 100644 GIT binary patch delta 153 zcmcb&gzw%GzJ?aY7N#xC@$LFX1||lEh9-t)x(24|1_tVyT>8HGDK3d6sR|k{Rz?Pf zMux~rruVfo2eO(OSr}Swf6~q@%;98e>SAJS=xFTfVrXgN>f~zXX5nmLVPW9nW@&C< SWbS6CU_(I3cFPIOs!RY8HGDK3d6sR|k{Rz?Pf zMux~rruVfo2eO(PnHU;uf6~q@%;98dU}R=sY-Z%-YUpU@X69(%;^t=Q>||zO SVc}+{U_(I3cFPIOs!RY(Ehe!5 diff --git a/examples/template_oldstyle_grey.pdf b/examples/template_oldstyle_grey.pdf index b405dcfa0ae8998a9cb8b3ddd9f8459a584d354a..998f4beac5e2b7509c48ee1f7cdd4e1e61ac5008 100644 GIT binary patch delta 150 zcmbO{i)HdGmWC~izuEPT3``6R4NVNpbPY_^4Gh#Zx%7SWQ(O{DQWZ2@tc(l{jSP{M zOxNOI3}iJkvM{vV-oU}Qipkl`)xy%n&C%4^#l*)!5a^*xbTS O!G@5M?YZ2H%NPM3?Igtj delta 150 zcmbO{i)HdGmWC~izuEN-j13J8O)LyebPY_@4Gh#Zx%7SWQ(O{DQWZ2@tc(l{jSP{M zOxNOI3}iJmGBGsR-oU}Qipkl)$=TGz#L(E)$kE)*+|AJ3$=uM`(8S!$&D`11(ZbA5 O!G@5M?YZ2H%NPOw79<-0 diff --git a/moderncvstylebanking.sty b/moderncvstylebanking.sty index 8494fe2..17ffafe 100644 --- a/moderncvstylebanking.sty +++ b/moderncvstylebanking.sty @@ -89,7 +89,7 @@ \centering% % name and title \namestyle{\@firstname~\@familyname}% - \ifthenelse{\isundefined{\@title}}{}{\titlestyle{~|~\@title}}\\% + \ifthenelse{\equal{\@title}{}}{}{\titlestyle{~|~\@title}}\\% \isundefined doesn't work on \@title, as LaTeX itself defines \@title (before it possibly gets redefined by \title) % detailed information \addressfont\color{color2}% \ifthenelse{\isundefined{\@addressstreet}}{}{\addtomaketitle{\addresssymbol\@addressstreet}%