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.

In the microtype documentation it advices one to use settings that complement one's choice of font. I use libertine font. Does anyone know of any options or settings that specifically suit this font?

share|improve this question
1  
What do you mean by microtype settings for Libertine font? I only used \usepackage[letterspace=30]{microtype} for headings font. –  KOF Feb 7 '13 at 14:48
    
There aren't, AFAIK. You can try looking at mt-ptm.cfg and perhaps mt-pmn.cfg to draw inspiration. –  egreg Feb 7 '13 at 14:53
5  
I have preliminary microtype config files for Libertine and Biolinum which can be downloaded here. I'm sure they can be improved, though... –  cgnieder Feb 7 '13 at 15:36
3  
@cgnieder: when you think it's ready, submit it to the package maintainer for inclusion in the libertine package. –  user22108 Feb 7 '13 at 16:58
    
@KOF What I meant was just that since fonts have different properties, there might be certain microtype options or settings that work will with those properties. –  David Rowthorn Feb 8 '13 at 20:14
show 6 more comments

1 Answer

up vote 8 down vote accepted

I created a few preliminary config files for microtype and libertine for usage with pdflatex. They're publicly available from my Bitbucket site.

They're all named mt-<fontname>.cfg and if placed in a suitable place in the local TEXMF tree will be picked up automatically by microtype. This files are far from being complete and surely need a lot of improvement as can be seen in the output of the following sample document. Especially the protrusion lists still are more or less simply those for Computer Modern:

% part of `mt-LinuxLibertineT-OsF.cfg':
\SetProtrusion[name=LLO,load=cmr-T1]{
  encoding = *,
  family   = LinuxLibertineT-OsF
}{
  {,} = { ,600},
   -  = {400,600},
   ?  = {200,300}
}

Unfortunately my typographic knowledge is one based on the reading of a few books and my untrained eyes. If someone more experienced likes to improve those files I'd be more than happy.


\documentclass[twocolumn]{scrartcl}
\usepackage[english]{babel}

\usepackage[T1]{fontenc}
\usepackage{libertine}
\usepackage{microtype}
% this is the contents of my `microtype.cfg':
% \DeclareMicrotypeSet{scshape}{
%   encoding = {*} ,
%   shape    = {sc,scit,si}
% }
% \DeclareMicrotypeSet{romansans}{
%   encoding = {*},
%   family   = {rm*,sf*}
% }
\microtypesetup{
  tracking   = scshape ,
  protrusion = romansans ,
  expansion  = romansans
}

\usepackage{blindtext}

\begin{document}
\blinddocument
\end{document}

enter image description here

share|improve this answer
add comment

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.