1

I'm using libertine package for the main text of my work and I load fourier package before libertine in orther to get the math text with the Utopia font just because I like it. Typing

\documentclass{article}

\usepackage{fourier}
\usepackage{libertine}
\usepackage{amsmath, amssymb, amsthm, mathtools}

\begin{document}
    s$\sin$nc$\cos$
\end{document}

results in

enter image description here

Predictably, the heights are different and I want to make them as similar as possible. A solution might be using the erewhon option of the newtxmath package, but some math symbols (like \emptyset) are so ugly in contrast to those from fourier. Also, according to the libertine documentation, there is an option called llscale but it's not actually defined in the .sty file.

I wonder if there's something that I can type in my preamble in orden to change the scale of the libertine font or the utopia font. I tried to read the .sty files of both packages to figure this out but I don't understand most of the things that are written in the files.

I'm using TeX Live 2017 on Windows.

0

In libertine.sty in TeXLive 2018:

\DeclareOptionX{llscale}{\renewcommand*{\LinuxLibertineT@scale}{#1}}
9
  • I think this answer needs to be extended with some sort of explanation. Sep 9 '18 at 12:11
  • Perhaps the recommendation is load the libertine package with the option llcscale=.95? (Where the number needs to be found by trial and error, or by actually measuring the x-height of the two fonts.) If so, better say that, then. Sep 9 '18 at 12:18
  • The OP apparently read the documentation but either didn't believe it or is using an obsolete version: "according to the libertine documentation, there is an option called llscale but it's not actually defined in the .sty file"
    – user51830
    Sep 9 '18 at 13:08
  • Oh, I see. My guess is that the OP mistyped the option when searching for it – even though it is correctly spelled in the question. I thought it was 11scale at first, and did not find that either. 8-) Sep 9 '18 at 15:02
  • I actually tried that option but I got the message c:\texlive\2017\texmf-dist\tex\latex\libertine\libertine.sty:210: LaTeX Error: Unknown option "llscale" for package "libertine". That's why I read the .sty. Sep 9 '18 at 18:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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