LaTeX forum ⇒ Text FormattingProblems with a text format command

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Posts: 5
Joined: Sun Nov 27, 2016 2:59 pm

Problems with a text format command

Postby AMpeLIos88 » Sun Nov 27, 2016 3:57 pm

I am nex to LaTeX and I am feeling my way through the code. I came across the problem of changing the font in certain areas of my document. I found the solution online:

The solution of my problem is the creation of a macro with this line of code:
  1. \newcommand*{\myfont}{\fontfamily{<familyname>}\selectfont}

The problem I have is how to write the code exactly.

Suppose I want to use the fontfamily: Serif Fonts and the font: Garamond Expert with Math Design, then how is the code supposed to look like?

I would appreciate it if you could help me out.


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 5 guests