1

I need to change the Header Footer in Latex which need to be compiled in XeLatex.

Header - Green using Lato-Light font Footer - Red using Raleway-Light font

Here is the link to the MWE. Fonts are in the fonts directory. Its an editable link. Pls donot edit or compile there. You may download the Zip and test it locally and provide the solution here. Thanks in advance.

3

You can create a new font family like this:

\newfontfamily{\lato}{Lato-Light.ttf}[ExternalLocation=fonts/]

and then use it with

\fancyhead[RO]{\lato Green Header Lato font}

To change the text color add the package xcolor and set it with

\fancyhead[RO]{\textcolor{green}{\lato Green Header Lato font}}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.