Fonts & Character SetsLibertine right quotation mark is "dumb".

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
Fionn
Posts: 2
Joined: Thu Mar 03, 2011 11:17 pm

Libertine right quotation mark is "dumb".

Post by Fionn »

Hi,

I've been using LaTeX for a while now, but never delved very deep into changing the fonts. I have a document I'd like to set in Linux Libertine, but the right quotation mark is output as ", rather than ”. Here's a minimum working example:

Code: Select all

\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\begin{document}

``The street's the best education you can get."

\end{document}
I've attached a .png of my output.
My output.
My output.
libertine.PNG (13.88 KiB) Viewed 5493 times
It seems very strange to me that I'd be having this problem for such a popular LaTeX font, as I couldn't find reference to it anywhere on the internet. My compiler is pdfTeX-1.40.10.
Last edited by Fionn on Fri Mar 04, 2011 4:01 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Libertine right quotation mark is "dumb".

Post by meho_r »

It's not Libertine's fault, it simply displays what you have entered, and the way you entered closing quotation mark is wrong: you should type an apostrophe twice, not using plain quotation mark.

Code: Select all

\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage{libertine}
\begin{document}

``The street's the best education you can get.''

\end{document}
Fionn
Posts: 2
Joined: Thu Mar 03, 2011 11:17 pm

Re: Libertine right quotation mark is "dumb".

Post by Fionn »

Oh! Well, this does seem to be somewhat libertine specific. I've been using double quotes for everything else and they work fine, at least in Computer Modern, Bitstream, Helvetica, etc. Have I been engaging in bad LaTeX practice for years?

Thanks a lot!
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Libertine right quotation mark is "dumb".

Post by meho_r »

Not necessarily. It is possible to use double opening/closing quotation marks, but those should be the "real" marks, not the "plain" ones. TeXWorks, for example, has some sort of autocorrect mechanism which inserts automatically the "real" quotation marks (Format > Smart Quotes > Unicode Characters) or TeX's marks `` and '' (Format > Smart Quotes > TeX Ligatures).

Code: Select all

\documentclass[12pt]{article}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{libertine}

\begin{document}

``The street's the best education you can get.''

"The street's the best education you can get."

“The street's the best education you can get.”

\end{document}
Montag
Posts: 340
Joined: Wed Jul 15, 2009 9:25 am

Libertine right quotation mark is "dumb".

Post by Montag »

The same goes for TXC v1.0 Stable RC 1:
Unbenannt.JPG
Unbenannt.JPG (44.25 KiB) Viewed 5479 times
Read:
Substitute quotation marks

Predefined:
  • English
  • German
  • French
  • Customized
When choosing "Customized", two more fields are unmasked and one can enter the LaTeX code directly he wants to be written down when pressing "SHIFT + F2".
OS: Win 7 64-bit LaTeX: MikTeX 2.9 64-bit Editor: TXC 1 RC1
Post Reply