Added the optional title to the casual style
This commit is contained in:
@ -1,6 +1,8 @@
|
|||||||
version 0.17 (xx Jan 2012)
|
version 0.17 (xx Jan 2012)
|
||||||
- changed the footer algorithm of style casual to avoid starting lines with
|
- changed the footer algorithm of style casual to avoid starting lines with
|
||||||
the footer symbol.
|
the footer symbol.
|
||||||
|
- aligned the space before and after the title across styles.
|
||||||
|
- added an optional title to the casual style.
|
||||||
|
|
||||||
version 0.16 (15 Jan 2012)
|
version 0.16 (15 Jan 2012)
|
||||||
- added starred versions of \section and \subsection (that are identical to their
|
- added starred versions of \section and \subsection (that are identical to their
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -95,12 +95,15 @@
|
|||||||
{\color{color1}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}}%
|
{\color{color1}\framebox{\includegraphics[width=\@photowidth]{\@photo}}}}}%
|
||||||
\usebox{\maketitlepicturebox}%
|
\usebox{\maketitlepicturebox}%
|
||||||
\newlength{\maketitlepicturewidth}\settowidth{\maketitlepicturewidth}{\usebox{\maketitlepicturebox}}%
|
\newlength{\maketitlepicturewidth}\settowidth{\maketitlepicturewidth}{\usebox{\maketitlepicturebox}}%
|
||||||
\parbox[b]{\textwidth-\maketitlepicturewidth}{\raggedleft\namefont{\color{color2!50}\@firstname} {\color{color2}\@familyname}}\\[-.35em]% alternate design: \MakeLowercase and no space
|
\parbox[b]{\textwidth-\maketitlepicturewidth}{%
|
||||||
{\color{color2!50}\rule{\textwidth}{.25ex}\\[2.5em]}%
|
\raggedleft\namefont{\color{color2!50}\@firstname} {\color{color2}\@familyname}}\\[-.35em]% alternate design: \MakeLowercase and no space
|
||||||
|
{\color{color2!50}\rule{\textwidth}{.25ex}}%
|
||||||
|
% optional title
|
||||||
|
\ifthenelse{\equal{\@title}{}}{}{\\[1.25em]\raggedleft\titlestyle{\@title}}\\[2.5em]%
|
||||||
% optional quote
|
% optional quote
|
||||||
\ifthenelse{\isundefined{\@quote}}%
|
\ifthenelse{\isundefined{\@quote}}%
|
||||||
{}%
|
{}%
|
||||||
{{\centering{}\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
{{\centering\begin{minipage}{\quotewidth}\centering\quotestyle{\@quote}\end{minipage}\\[2.5em]}}%
|
||||||
\par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle
|
\par}% to avoid weird spacing bug at the first section if no blank line is left after \maketitle
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user