Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I searched all of related posts but it seems that there is no solution in this case.

I really wann activate the feature of historical Ligatures of Libertine font e.g:

In Ubuntu system is it possible to do this by whatever compiler (pdflatex, xelatex, lualatex,etc)?

share|improve this question
    
See Libertine Ligatures at: linuxlibertine.org/index.php?id=87&L=1 –  KOF Dec 28 '12 at 10:37

1 Answer 1

up vote 7 down vote accepted

run it with xelatex or lualatex:

\documentclass{article}
\usepackage{libertine}
\begin{document}
\Huge
st ct ff ffl fi ffi

\addfontfeature{RawFeature=+hlig}
st ct ff ffl fi ffi

\end{document}

enter image description here

I suppose that it is not possible with pdflatex and the Type 1 version of Libertine

share|improve this answer
    
it works like charm! Another question, how do I exclude only "st, ct" ligature? –  KOF Dec 28 '12 at 11:31
    
there are three possible values liga, dlig & hlig. they can be enabled or disabled by +/-. And there is also a fontspec for setting the deafult TeX ligatures. –  Herbert Dec 28 '12 at 11:39
    
I found that the nummber '0' is like 'o' in text mode, and the arabic number in math mode looks quite different than in text mode. How do I figure this out? The font settings: \usepackage[T1]{fontenc}, \usepackage{libertine}, \usepackage[libertine]{newtxmath} –  KOF Dec 28 '12 at 11:51
1  
@KOF if you don't want oldstyle figures in the text you should call libertine with the lining option. Check out the manual. –  cgnieder Dec 28 '12 at 11:57
    
@cgnieder thank you so much. It does work. The only flaw with xelatex is that the Arabic numbers in math mode look like CM font. While with pdflatex, the numbers is identical to the libertine font. –  KOF Dec 28 '12 at 12:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.