Changed the definition of font styles to avoid undesired extra spacing

This commit is contained in:
Xavier Danaux
2012-01-22 20:26:14 +01:00
parent a610bf9a45
commit e64342a11e
3 changed files with 15 additions and 14 deletions

View File

@ -3,6 +3,7 @@ version 0.17 (xx Jan 2012)
the footer symbol. the footer symbol.
- aligned the space before and after the title across styles. - aligned the space before and after the title across styles.
- added an optional title to the casual style. - added an optional title to the casual style.
- changed the definition of the font styles to avoid undesired extra spacing.
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

View File

@ -36,13 +36,13 @@
\renewcommand*{\hintfont}{} \renewcommand*{\hintfont}{}
% styles % styles
\newcommand*{\namestyle}[1]{{\namefont\color{color0}#1}} \newcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}}
\newcommand*{\titlestyle}[1]{{\titlefont\color{color2}#1}} \newcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}}
\newcommand*{\addressstyle}[1]{{\addressfont\color{color1}#1}} \newcommand*{\addressstyle}[1]{{\addressfont\textcolor{color1}{#1}}}
\newcommand*{\quotestyle}[1]{{\quotefont\color{color1}#1}} \newcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}}
\newcommand*{\sectionstyle}[1]{{\sectionfont\color{color1}#1}} \newcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}}
\newcommand*{\subsectionstyle}[1]{{\subsectionfont\color{color1}#1}} \newcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}}
\newcommand*{\hintstyle}[1]{{\hintfont\color{color0}#1}} \newcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}}
% length used % length used
\newlength{\quotewidth} \newlength{\quotewidth}

View File

@ -39,13 +39,13 @@
\renewcommand*{\hintfont}{\bfseries} \renewcommand*{\hintfont}{\bfseries}
% styles % styles
\newcommand*{\namestyle}[1]{{\namefont\color{color0}#1}} \newcommand*{\namestyle}[1]{{\namefont\textcolor{color0}{#1}}}
\newcommand*{\titlestyle}[1]{{\titlefont\color{color2}#1}} \newcommand*{\titlestyle}[1]{{\titlefont\textcolor{color2}{#1}}}
\newcommand*{\addressstyle}[1]{{\addressfont\color{color2}#1}} \newcommand*{\addressstyle}[1]{{\addressfont\textcolor{color2}{#1}}}
\newcommand*{\quotestyle}[1]{{\quotefont\color{color1}#1}} \newcommand*{\quotestyle}[1]{{\quotefont\textcolor{color1}{#1}}}
\newcommand*{\sectionstyle}[1]{{\sectionfont\color{color1}#1}} \newcommand*{\sectionstyle}[1]{{\sectionfont\textcolor{color1}{#1}}}
\newcommand*{\subsectionstyle}[1]{{\subsectionfont\color{color1}#1}} \newcommand*{\subsectionstyle}[1]{{\subsectionfont\textcolor{color1}{#1}}}
\newcommand*{\hintstyle}[1]{{\hintfont\color{color0}#1}} \newcommand*{\hintstyle}[1]{{\hintfont\textcolor{color0}{#1}}}
% symbols % symbols
\renewcommand*{\listitemsymbol}{\labelitemi~} \renewcommand*{\listitemsymbol}{\labelitemi~}