define sffamily separately from main font
This commit is contained in:
parent
0bb99e9461
commit
2fc2a05e54
@ -9,10 +9,11 @@
|
|||||||
|
|
||||||
\usepackage[top=1.25in,left=1.25in,bottom=1.20in,right=1.25in]{geometry}
|
\usepackage[top=1.25in,left=1.25in,bottom=1.20in,right=1.25in]{geometry}
|
||||||
|
|
||||||
\usepackage{fontspec}
|
|
||||||
\usepackage{xltxtra}
|
\usepackage{xltxtra}
|
||||||
|
|
||||||
\setmainfont{OpenSans}[
|
\usepackage{fontspec}
|
||||||
|
|
||||||
|
\setsansfont{OpenSans}[
|
||||||
Path = ./fonts/OpenSans/,
|
Path = ./fonts/OpenSans/,
|
||||||
Extension = .ttf,
|
Extension = .ttf,
|
||||||
UprightFont = *-Regular,
|
UprightFont = *-Regular,
|
||||||
@ -21,6 +22,8 @@ ItalicFont = *-Italic,
|
|||||||
BoldItalicFont = *-BoldItalic
|
BoldItalicFont = *-BoldItalic
|
||||||
]
|
]
|
||||||
|
|
||||||
|
\setmainfont{OpenSans}
|
||||||
|
|
||||||
\usepackage{polyglossia}
|
\usepackage{polyglossia}
|
||||||
\setdefaultlanguage{english}
|
\setdefaultlanguage{english}
|
||||||
|
|
||||||
@ -54,9 +57,9 @@ BoldItalicFont = *-BoldItalic
|
|||||||
\ifnum\thepage=1
|
\ifnum\thepage=1
|
||||||
\begin{tikzpicture}[remember picture,overlay,every node/.style={inner sep=0,outer sep=0}]
|
\begin{tikzpicture}[remember picture,overlay,every node/.style={inner sep=0,outer sep=0}]
|
||||||
\node at (current page.south west) [yshift=0.614in,xshift=1.21in,anchor=north west]
|
\node at (current page.south west) [yshift=0.614in,xshift=1.21in,anchor=north west]
|
||||||
{\fontsize{9pt}{11pt} \selectfont \uwaddress};
|
{\sffamily \fontsize{9pt}{11pt} \selectfont \uwaddress};
|
||||||
\node at (current page.south west) [yshift=0.40in,xshift=1.21in,anchor=north west]
|
\node at (current page.south west) [yshift=0.40in,xshift=1.21in,anchor=north west]
|
||||||
{\fontsize{9pt}{11pt} \selectfont \phone~~\email~~\web};
|
{\sffamily \fontsize{9pt}{11pt} \selectfont \phone~~\email~~\web};
|
||||||
\end{tikzpicture}
|
\end{tikzpicture}
|
||||||
\fi
|
\fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user