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.

According to the Linux Libertine font tester you can have Greek small caps.

However the following example does not yield the desirable result:

\documentclass{article}
\usepackage{fontspec}
\setmainfont{Linux Libertine O}

\begin{document}
    \textsc{Small Capitals}
    \textsc{Πεζά κεφαλαία}
\end{document}

Output:

Small caps for latin characters but not for Greek ones.

share|improve this question
1  
Testing the site with cyrillic letters (that surely have no small caps), I suspect that the renderer emulates small caps when not available. –  egreg Oct 3 '12 at 12:01
add comment

1 Answer

this should work:

\documentclass{article}% lualatex
\usepackage{fontspec}
\setmainfont[SmallCapsFont={LinLibertineOC},% fontname may be different
             SmallCapsFeatures={Letters=SmallCaps}]{Linux Libertine O}
\begin{document}
\textsc{Small Capitals}
\textsc{Πεζά κεφαλαία}
Πεζά κεφαλαία

\end{document}

The font file is available at https://github.com/wilkie/resources/blob/master/fonts/LinLibertine/LinLibertine_C-4.0.4.otf or http://comedy.dante.de/~herbert/Fonts/

enter image description here

share|improve this answer
    
Just got the latest (5.3.0_2012_07_02) Linux Libertine OTF package from Sourceforge. I can't see a LinLibertineOC font anywhere. It seems they got rid of the small caps font and added it solely as a smcp feature in LinLibertineO. –  ℝaphink Oct 3 '12 at 12:32
    
as I wrote, the name maybe different. Have a look into the definition of the font with otfinfo -i ... or look into the generated file otfl-names.lua –  Herbert Oct 3 '12 at 17:49
1  
Before this version, there was a file dedicated to the Capitals font, and I could see a separate line in fc-list. With this new version, it's in the same file as Regular, and it doesn't appear on a separate line in fc-list, hence my remark. –  ℝaphink Oct 3 '12 at 19:03
    
as @Raphink I have the latest package of the fonts and there is no LinLibertineOC. However, I replaced this name with all the other available Libertine fonts (e.g. LibLibertine_R,LibLibertine_RZI), with no luck :( (p.s. in SmallCapsFont property do I use the font filename or the font name?) –  kwstas Oct 4 '12 at 10:00
    
You would have to download an older version and install (only) LinLibertineOC from it. For some reason Greek small caps are not (yet) supported. –  Crissov Apr 4 at 12:10
show 2 more comments

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.