\usepackage[top=1.25in,left=1.25in,bottom=1.20in,right=1.25in]{geometry}
-\usepackage{fontspec}
\usepackage{xltxtra}
-\setmainfont{OpenSans}[
+\usepackage{fontspec}
+
+\setsansfont{OpenSans}[
Path = ./fonts/OpenSans/,
Extension = .ttf,
UprightFont = *-Regular,
BoldItalicFont = *-BoldItalic
]
+\setmainfont{OpenSans}
+
\usepackage{polyglossia}
\setdefaultlanguage{english}
% add the department name
\node at (current page.north west) [anchor=north west, xshift=1.19in, yshift=-0.56in]
{{\fontsize{14pt}{16pt} \fontspec{MatrixIIOT-Book.otf}[
- Path = ./fonts/Matrix/
- ] \MakeUppercase \department}};
+ Path = ./fonts/Matrix/
+ ] \MakeUppercase \department}};
\end{tikzpicture}
\fi
}
+\fancyhead[R]{%
+ \ifnum\thepage>1
+ Page \thepage%/\pageref*{LastPage}
+ \fi
+}
\fancyfoot{}
\fancyfoot[C]{%
\ifnum\thepage=1
\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]
- {\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]
- {\fontsize{9pt}{11pt} \selectfont \phone~~\email~~\web};
+ {\sffamily \fontsize{9pt}{11pt} \selectfont \phone~~\email~~\web};
\end{tikzpicture}
\fi
}
\fancyfoot[L] {}
-\fancyfoot[R] {}%{\thepage/\pageref*{LastPage}}
+\fancyfoot[R] {}
% No paragraph indentation
\parindent 0pt