I can't seem to write this symbol "< >" in Latex. enter image description here

  • 4
    Welcome to TeX.SX! You could try adding \usepackage[T1]{fontenc} to the preamble of your document. Also, you don't have to write "Hello" or "Please help".
    – Fritz
    Commented Sep 25, 2014 at 17:05
  • Welcome to TeX.SX! You can have a look at our starter guide to familiarize yourself further with our format. Commented Sep 25, 2014 at 17:07

1 Answer 1


If you write in Portuguese, you need


and possibly add


to your document preamble. The first package is needed in order to make hyphenation of accented words possible also past an accent, which in Portuguese is essential.

With this, an input such as

Formato reconhecido <Especificador>

will print as expected. However, it's traditional to print such keywords in a monospaced font, in order to make them distinguishable from the context. So

Formato reconhecido \texttt{<Especificador>}

is my recommendation.

Minimal example

\usepackage[portuguese]{babel} % or brazil


Formato reconhecido <Especificador>

Formato reconhecido \texttt{<Especificador>}


enter image description here

  • Even better: \newcommand{\keyword}[1]{\texttt{#1}} and Formato reconhecido \keyword{<Especificador>}. Just in case you ever decide that you want all keywords typeset in red and italic, instead of monospace.
    – Fritz
    Commented Sep 25, 2014 at 18:26
  • @Fritz You're completely right.
    – egreg
    Commented Sep 25, 2014 at 19:25

Not the answer you're looking for? Browse other questions tagged .