mirror of
https://github.com/moderncv/moderncv.git
synced 2026-02-06 10:05:19 +01:00
Added fake small caps \fakesc code (commented)
This commit is contained in:
parent
861f0b0b69
commit
046d184c59
1 changed files with 6 additions and 0 deletions
|
|
@ -352,6 +352,12 @@
|
|||
\newcommand*{\subsectionfont}{}
|
||||
\newcommand*{\hintfont}{}
|
||||
\newcommand*{\pagenumberfont}{\addressfont\itshape}
|
||||
% fake small caps - cfr http://tex.stackexchange.com/questions/55664/fake-small-caps-with-xetex-fontspec
|
||||
%\def\fakesc{\bgroup\obeyspaces\fakescaux}
|
||||
%\def\fakescaux#1{\fakescauxii #1\relax\relax\egroup}
|
||||
%\def\fakescauxii#1{%
|
||||
%\ifx\relax#1\else \ifcat#1\@sptoken{} \expandafter\expandafter\expandafter\fakescauxii\else
|
||||
%\ifnum`#1=\uccode`#1 {\normalsize #1}\else {\footnotesize \uppercase{#1}}\fi \expandafter\expandafter\expandafter\fakescauxii\expandafter\fi\fi}
|
||||
|
||||
% styles
|
||||
\newcommand*{\namestyle}[1]{{\namefont#1}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue