TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 3 down vote accepted

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.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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