[Tutkielma-TeX] quotes in LaTeX.

Matthieu Weber matthieu.weber at jyu.fi
Thu Nov 10 20:46:58 EET 2011


On Thu 10.11.2011 at 06:13:06PM +0200, Tuomo Sipola wrote:
> 10.11.2011 17:51, Nezer Zaidenberg kirjoitti:
> > what text encoding do you use?
> 
> The file is ISO-8859.
> 
> My documentclass has the latin1 directive:
> 
> \documentclass[lof, lot, loa, latin1, loar, boldartref, alttt, 
> english]{jydiss}
> 
> Could there be some problem with UTF then?

jydiss.cls uses the T1 font encoding (the default would be OT1). In T1,
the « " » character has its own glyph, while in OT1, « " » is
equivalent to « '' »

Compare the two following examples:

------------------------------------------------------------------------
\documentclass[a4paper]{article}
\begin{document}
``foo''

``foo"
\end{document}
------------------------------------------------------------------------

and

------------------------------------------------------------------------
\documentclass[a4paper]{article}
\usepackage[T1]{fontenc}
\begin{document}
``foo''

``foo"
\end{document}
------------------------------------------------------------------------

Matthieu
-- 
 (~._.~)        Matthieu Weber - Université de Jyväskylä         (~._.~)
  ( ? )              email : matthieu.weber at jyu.fi                ( ? ) 
 ()- -()               public key id : 452AE0AD                  ()- -()
 (_)-(_) "Humor ist, wenn man trotzdem lacht (Otto J. Bierbaum)" (_)-(_)




More information about the Tutkielma-TeX mailing list