Completely remove sans serif font usage when roman option is used.

This commit is contained in:
Xavier Danaux
2011-12-10 21:59:25 +01:00
parent ea9ddf7eff
commit 1a5a68dcc1
3 changed files with 10 additions and 6 deletions

View File

@ -1,3 +1,7 @@
version 0.15 (xx December 2011)
- corrects list spacing.
- corrects inconsistent use of sans serif fonts in roman layout option.
version 0.14 (04 December 2011) version 0.14 (04 December 2011)
- adds support for CJK, thanks to the help of P. D'Apice. - adds support for CJK, thanks to the help of P. D'Apice.
- the use of \recomputelengths after modifying any length in the preamble is now - the use of \recomputelengths after modifying any length in the preamble is now

View File

@ -206,7 +206,7 @@
\providecommand*{\quotefont}{} \providecommand*{\quotefont}{}
\providecommand*{\sectionfont}{} \providecommand*{\sectionfont}{}
\providecommand*{\subsectionfont}{} \providecommand*{\subsectionfont}{}
\providecommand*{\hintfont}{\small\sffamily} \providecommand*{\hintfont}{\small}
% styles % styles
\providecommand*{\firstnamestyle}[1]{{\firstnamefont\color{firstnamecolor}#1}} \providecommand*{\firstnamestyle}[1]{{\firstnamefont\color{firstnamecolor}#1}}

View File

@ -112,13 +112,13 @@
\else \else
\AtBeginDocument{\sffamily}\fi \AtBeginDocument{\sffamily}\fi
\renewcommand*{\ttdefault}{pcr} \renewcommand*{\ttdefault}{pcr}
\renewcommand*{\firstnamefont}{\fontsize{34}{36}\sffamily\mdseries\upshape} \renewcommand*{\firstnamefont}{\fontsize{34}{36}\mdseries\upshape}
\renewcommand*{\titlefont}{\LARGE\sffamily\mdseries\slshape} \renewcommand*{\titlefont}{\LARGE\mdseries\slshape}
\renewcommand*{\addressfont}{\normalsize\rmfamily\mdseries\slshape} \renewcommand*{\addressfont}{\normalsize\rmfamily\mdseries\slshape}
\renewcommand*{\familynamefont}{\firstnamefont} \renewcommand*{\familynamefont}{\firstnamefont}
\renewcommand*{\quotefont}{\large\slshape} \renewcommand*{\quotefont}{\large\slshape}
\renewcommand*{\sectionfont}{\Large\sffamily\mdseries\upshape} \renewcommand*{\sectionfont}{\Large\mdseries\upshape}
\renewcommand*{\subsectionfont}{\large\sffamily\mdseries\upshape} \renewcommand*{\subsectionfont}{\large\mdseries\upshape}
% styles % styles