3

Does anybody know how to add these marks « bla bla »?

egreg
  • 1,121,712
john john
  • 191

1 Answers1

2

Use the T1 encoding:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

\begin{document}
<<blah blah>>
\end{document}

If your document is UTF-8 encoded, then also direct input works:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern}

\begin{document}
«blah blah»
\end{document}

enter image description here

egreg
  • 1,121,712
  • How is that working with <<? I would've thought you'd need a negative kerning between the two. But obviously you don't. – A.Ellett Dec 05 '13 at 23:11
  • 1
    @A.Ellett T1 encoded fonts define ligatures for << and >> (similarly to -- and ---). – egreg Dec 05 '13 at 23:29
  • @egreg what if i use \usepackage[iso-8859-7]{inputenc}.Is there somelthing else i have to do ?Am i going to follow the same steps? – john john Dec 06 '13 at 10:13
  • @johnjohn Use << and >>; the code page doesn't have the guillemets. But switch to UTF-8 as soon as possible. – egreg Dec 06 '13 at 10:16
  • i use greek as language and i have problem with utf8. – john john Dec 06 '13 at 10:22