23

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?

9
  • 1
    What do you mean by microtype settings for Libertine font? I only used \usepackage[letterspace=30]{microtype} for headings font.
    – KOF
    Commented Feb 7, 2013 at 14:48
  • There aren't, AFAIK. You can try looking at mt-ptm.cfg and perhaps mt-pmn.cfg to draw inspiration.
    – egreg
    Commented Feb 7, 2013 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
    Commented Feb 7, 2013 at 15:36
  • 4
    @cgnieder: when you think it's ready, submit it to the package maintainer for inclusion in the libertine package.
    – user22108
    Commented Feb 7, 2013 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.
    – DavidR
    Commented Feb 8, 2013 at 20:14

1 Answer 1

18

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .