I would like to make a package for a title/cover page which should use a predefined font, whereas the document in which the package is loaded and used (used by using a command that generates a new page) should use whatever font it wants.

How may I do that?


Font selection (family, shape or size) should be grouped to localize any changes. As reference, see Effect of changing \fontfamily and \familydefault.

Here's a mockup of using Bookman (pbk) for your title page, followed by regular Latin Modern (lmodern) for the remainder of the document:

enter image description here

\usepackage{lmodern}% http://ctan.org/pkg/lm
{\Huge\bfseries My Title\par}
{\Large My Name\par}
\newpage% End of title page

Here is some regular text in Latin Modern.
|improve this answer|||||

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.