Articles of fonts

Is it possible to disable old style numbers for specific cases?

Is there a way to disable old style numbering only for specific cases? Right now I have old style numbering enabled globally for my whole document via \usepackage[osf]{libertine}, but I want to disable it only for one block of text. I am hoping there is a way to simply disable old style for that block […]

Editing ligature table

It is suggested in TeXbook (p. 46) that in adapting TeX to type Norwegian, You can arrange the font metric file so that TeX will interpret ae, o/, aa, AE, O/, and AA as ligatures that produce \ae, \o, \aa, \AE, \O and \AA, respectively; and you could put the characters \aa and \AA into […]

Font-awesome disturbing commands of moderncv

The usage of \moderncvicons{awesome} lowers the item symboles (blue circle) of \cvlistdoubleitem and \cvlistitem. How can they be raised to normal level again? MWE: % compile with LuaLaTeX \documentclass[11pt,a4paper,sans]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[ngerman]{babel} \moderncvicons{awesome} \firstname{John} \familyname{Doe} \begin{document} \cvlistdoubleitem{Ultimate Frisbee}{Climbing} \cvlistitem{Travelling in Europe, Asia and North America} \end{document}

How to Recover my Bold SF Fonts

I was inspired by this link to try EulerVM with tgpagella packages: How do I set LaTeX to use AMS Euler for text and maths? But when this is used with \documentclass{scrbook}, it seems that my bold-faced sans serif fonts are overwritten. Not only with the sections and subsections and whatnot, but in other areas […]

Missing symbols in the sansmath package

When using the sansmath package with the Arev font, symbols like + and = fail to appear in the compiled document. \documentclass{article} \usepackage{fouriernc} % use the Arev font \usepackage{sansmath} \begin{document} You can see this $+$ and this $=$. But you can’t see \sansmath this $+$ and this $=$. \end{document} If, however, I switch the order […]

fontspec error: “font-not-found” on Mac OS X

I need to use some system fonts in my document, and I use fontspec and XeLaTeX to do so. I find the font name from fc-list, but when I compile it with XeLaTeX, there’s a fontspec error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: “font-not-found” ! ! The font “Luxi Serif” cannot be found. ! ! See […]

Language support for Icelandic does not exist?

I have been trying for a few days now to get Icelandic characters. I’ve installed the cm-super font package and I’m using MiKTeX 2.9 on a Windows 8 Lenovo yoga btw. Anyways I’ve made sure that icelandic.ldf and icelandic.sty are in the directory \MiKTeX 2.9\tex\generic\babel\. The line \DeclareOption{icelandic}{\input{icelandic.ldf}} is in the file \MiKTeX 2.9\tex\generic\babel\babel.sty and […]

LuaLaTeX: Replace character “ß” in CMU fonts

The glyph for the character “ß” differs considerably between Latin Modern and the CMU fonts (CMU Serif, CMU Sans Serif etc., which use the same glyphs for ß as cm-super; see this answer): I much prefer Latin Modern’s version of ß, but I would like to use the CMU fonts because of their Unicode capabilities […]

Redefining \bf, \it, \rm, \sl, \tt

The following code compiles to a document that has the word “проба” only in roman typeface (first paragraph). How can I have this word in the other paragraphs, as well? % Compile with luatex \input{luaotfload.sty} \font\f=FreeSerif\f test проба \par \sl test проба \par \it test проба \par \bf test проба \bye

Incorrect digits font with newtxmath and Luatex/Xetex (since Texlive 2015)

I used to use Luatex and a combination of the packages fontspec and newtxmath to have everything set in Libertine. However, it does not work anymore since Texlive 2015: it compiles be the digits in math-mode are set in Computer modern and not Libertine. Here a minimal example: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[libertine]{newtxmath} \usepackage[no-math]{fontspec} \setmainfont{Linux Libertine O} […]