Skip to content

Clemens' LaTeX Corner

LaTeX, typesetting (and chemistry)

  • Home
  • Known Chemistry Packages
  • Package Finds
  • Link Library
  • Help
    • acro
    • chemformula
    • chemmacros
    • fnpct
    • leadsheets
    • tasks
    • xsim

LaTeX Logos and Linux Libertine

  • Home
  • 2013
  • March
  • LaTeX Logos and Linux Libertine

I am a huge fan both of the fonts Linux Libertine O and Linux Biolinum O and Bob Tennent’s libertine package, and of Heiko Oberdiek’s hologo package that provides an easy interface to the lot of TeX related logos (many thanks to both Bob Tennent and Heiko Oberdiek for providing and maintaining these packages!). These logos all have certain kerning amounts between letters in order to look like we all know them. However, the appropriate amounts very much depend on the font in use. And the ones used in hologo do not at all go well together with Libertine and Biolinum:

lbthlpt2

Things get worse for the italic shape … That’s why I decided to write a patch for this combination

lbthlpt

that I called unimaginatively libertinehologopatch. For the time being the package can only be found on my bitbucket site. The usage is rather simple:

[cce lang=”latex”]\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{libertine}% not necessary as `libertinehologopatch’ loads it anyway
\usepackage{hologo} % not necessary as `libertinehologopatch’ loads it anyway
\usepackage{libertinehologopatch}
\begin{document}
\hologo{(La)TeX}
\end{document}[/cce]

The changes are quite drastic in some cases:

without libertinehologopatch
without libertinehologopatch
with libertinehologopatch
with libertinehologopatch

For the time being there are a number of limitations, though. The most notably one: it doesn’t work well if at all with XeLaTeX and LuaLaTeX, mostly because I haven’t figured out, yet, how to detect the usage of italic shape with fontspec. Also I most probably have forgotten to patch some important logo …

These limitations, the maybe rather limited use-case of the package and the fact that the package closely depends on libertine and hologo (which means it is likely to break if there are changes in one of these packages) are the reasons why I haven’t uploaded the package to CTAN, yet. But maybe you say “I believe this package is useful for people nonetheless. At least I would use it.” In this case I might reconsider and upload it anyway …

Addendum 2013/03/22: Version 0.3 has support for XeLaTeX and LuaLaTeX. I still believe there are various places where fine tuning of the kerning is needed but the results already look much better with libertinehologopatch than without.

On March 19, 2013 By Clemens

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Post navigation

Previous PostImproving bohr
Next PostThe inputenc package
  • My LaTeX Corner
  • About
Copyright © All rights reserved.
  • Twitter
  • Facebook
  • Instagram
Gutenbiz Created By Rise Themes