Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [latin-modern]

{latin-modern} is about the Latin Modern font set.

Filter by
Sorted by
Tagged with
1 vote
0 answers
24 views

Latin Modern under T1 encoding, "lighttt" setting, and "lmtt/m/sl" in place for italic: Error at apostrophe "\textquotesingle"

The MWE: \documentclass{article} \usepackage[lighttt]{lmodern} \usepackage[T1]{fontenc} \ttfamily \DeclareFontFamily{T1}{lmtt}{} \DeclareFontShape{T1}{lmtt}{m}{it}{ <-> ssub * lmtt/m/sl }{} ...
user avatar
5 votes
2 answers
251 views

No U+2003 in Latin Modern Roman 12 Regular

I am using the OTF variant of the Latin Modern Fonts on my system (Linux Ubuntu) with XeLaTex. http://www.gust.org.pl/projects/e-foundry/latin-modern I cannot set an Em Space : https://www.compart.com/...
user avatar
  • 1,534
0 votes
2 answers
66 views

Latin Modern Math doesn't have a bold font, but does have glyphs for Unicode block Mathematical Alphanumeric Symbols. Can \boldmath output them?

It is known that Latin Modern Math does not have a standalone bold font. If you load Latin Modern Math with package unicode-math, and try to use \boldmath, the fontshape with be substituted with the ...
user avatar
4 votes
2 answers
326 views

Strange position of unicode square root glyph (U+221A) in Latin Modern Math

Why is the square root glyph (U+221A) positioned so strangely in Latin Modern Math? \documentclass{article} \usepackage{unicode-math} \begin{document} \setmathfont{XITS Math} \(2 \sqrt{2} √2\) \qquad \...
user avatar
1 vote
1 answer
32 views

How to use Latin Modern Mono slanted instead of italics in XeLaTeX

I'd like to use Latin Modern Mono Slanted instead of Latin Modern Mono Italic, for typesetting code comments in a float environment. The first one is the default italic font (used for code comments), ...
user avatar
2 votes
3 answers
298 views

How to use Latin Modern for text and Latin Modern Math for math

How do I switch from the default Computer Modern for text and math to Latin Modern for text and Latin Modern Math for math? In the preamble I put \usepackage{lmodern} to switch to Latin Modern for ...
user avatar
1 vote
0 answers
40 views

METAFONT bitmap latin glyphs

I'm building a font format that integrates multiple point size bitmap glyphs. On eInk monochrome displays, bitmap fonts are still the best way to get reasonably good characters. I've been able to use ...
user avatar
  • 11
0 votes
1 answer
150 views

Font shape `TU/LatinModernMath(1)/b/n' undefined(Font) using `TU/LatinModernMath(1)/m/n' instead

In the following, the row command row{1} = {font=\boldmath\bfseries} gets me this error Font shape TU/LatinModernMath(1)/b/n' undefined(Font) using TU/LatinModernMath(1)/m/n' instead so, how can I ...
user avatar
  • 8,759
2 votes
1 answer
85 views

\circ with unicode-math

I'm using unicode-math like so in my preamble: \usepackage{unicode-math} \setmathfont{Latin Modern Math} Compiling with XeLaTeX, for $g \circ f$, I get this: But this is different as what I get just ...
user avatar
0 votes
1 answer
46 views

Bold greek letters using alphabeta and cfr-lm

I am using the alphabeta package in order to get upright greek letters in text mode. I also want to use bold and sans serif upright greek letters in text mode. This works well with computer modern and ...
user avatar
  • 794
2 votes
1 answer
204 views

Why does the Greek lowercase o look disproportionately bold?

I'm using unicode-math and I've decided I really like the Latin Modern Math Greek letters better than those from other fonts. Unless it's an illusion, the omicron (o) always seems to look ...
user avatar
1 vote
1 answer
124 views

Fontspec mathbb fonts changed even though latin modern math font is used

\documentclass[a4paper, 12pt]{article} \usepackage{amsfonts, amssymb, amsmath, amsthm} \usepackage{fontspec} \setmainfont{Latin Modern Roman}[FakeBold=2] \usepackage{unicode-math} \setmathfont{...
user avatar
  • 757
2 votes
0 answers
123 views

Specifying kerning for math fonts

I'd like to manually fix some longstanding spacing issues between certain pairs of capital letters in Latin Modern Math, such as UF and YX. Because these pairs represent actual products, I'd rather ...
user avatar
1 vote
1 answer
506 views

Rmarkdown, plot title font as latin modern

I have an knitr document with single plot. I want to use the original fonts of R in the plot except the axis labels which should come from latin modern. I can use latin modern for all the fonts in the ...
user avatar
  • 1,627
2 votes
2 answers
263 views

Why Latin Modern Mono boldface series doesn't look like a bold?

Here is MWE: \documentclass{article} \usepackage{lmodern} % \usepackage[T1]{fontenc} \usepackage{bold-extra} \begin{document} \noindent \ttfamily\footnotesize % small size is set intentionally ...
user avatar
1 vote
2 answers
222 views

Is it possible to substitute the default 'Latin Modern' fonts family with another font family?

I'm using xelatex and I'd like to use Cyrillic glyphs in math formulas just like ordinary glyphs. With the following code I have blanks instead of Cyrilli glyphs in the formula in the resulting PDF: \...
user avatar
  • 111
1 vote
1 answer
192 views

Itemize bullets are squared when using sans serif Latin Modern

I noticed that if you use the Latin modern font, loading it with the appropriate package and you set the default family to sans-serif, the bullets of the itemize environment are squared rather than ...
user avatar
0 votes
1 answer
91 views

Combining slantsc and cfr-lm package

I am interest in italic and slanted small caps. I found that slanted small caps are easily done with slantsc package, while italic small caps are provided by cfr-lm package. Unfortunately, I think ...
user avatar
  • 1
1 vote
0 answers
635 views

`Latin Modern Roman` as main font in xelatex project

I want to use Latin Modern font in my xelatex project. While compiling, xelatex reports: ! Package fontspec Error: The font "Latin Modern Roman" cannot be found. The font comes with TeX Live ...
user avatar
  • 153
20 votes
1 answer
2k views

Why is Latin Modern the default font with xelatex and lualatex?

For xelatex and lualatex the default font family is Latin Modern. The font does not cover a wide range of Unicode. Why not extend the font characters to cover other languages' script? or define a ...
user avatar
  • 16k
0 votes
0 answers
269 views

Equivalent of amssymb \square and \Diamond in Latin Modern Math?

PROBLEM Using amssymb, I get \square and \Diamond as follows: \documentclass{article} \usepackage{amssymb} \begin{document} BLAH $\square$ $\Diamond$ BLAH \end{document} How do I get the same (...
user avatar
  • 6,382
0 votes
0 answers
169 views

Getting started on making a new glyph

I would like to take the glyph for zero (0) from latin modern, and modify it in some way and then be able to use it as a new glyph in my LaTeX document. I.e.; it's not a new glyph for zero, it's just ...
user avatar
8 votes
3 answers
2k views

Best way of using the full range of full fonts/styles/faces for Latin Modern Roman?

The following is what I've put together as a way of making sure the full(est) range of fonts/styles are available when using Latin Modern as the mainfont using fontspec, including bold smallcaps, ...
user avatar
  • 1,785
10 votes
4 answers
1k views

How to compile thicker OTF version of Latin Modern fonts?

Computer Modern fonts, when printed from a pdf generated by pdflatex, tend to produce rather thin lines. The way to solve that problem has been described here through the use of the blacker parameter. ...
user avatar
  • 483
0 votes
1 answer
1k views

Understanding cryptic latex errors: font shape undefined

I have a couple of errors in my log about LatinModernMath fonts. LaTeX Font Warning: Font shape `TU/LatinModernMath(1)/bx/n' undefined (Font) using `TU/LatinModernMath(1)/m/n' instead on ...
user avatar
  • 568
2 votes
2 answers
398 views

Everything is CMR – except the LMR chapter headings in ToC

I am using the following code: \documentclass[12pt,a4paper]{report} \usepackage[british]{babel} \usepackage[T3,T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[activate={true,nocompatibility},...
user avatar
  • 545
9 votes
2 answers
6k views

Undefined font shape with lualatex

I know that this is a quite common question, but looking for many threads about undefined font shape I didn't find any solution... When I compile my document with lualatex I get 5 different warnings ...
user avatar
8 votes
2 answers
946 views

Why is the Latin script in LM Math derived from Euler rather than cmsy?

Recently, I noticed that the script alphabet in the OpenType version of Latin Modern Math (henceforth referred to as LM Math) does not match the one of Computer Modern (also known as \mathcal). The ...
user avatar
10 votes
4 answers
1k views

Ugly alignment (size of square root symbol) with Latin Modern at 12pt

Consider the code \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{lmodern} \begin{document} \[ \sqrt{\frac{m}{n}} \] \end{document} The output is a ...
user avatar
  • 573
12 votes
2 answers
3k views

How can I redefine the minus sign to be of the same width as plus?

The situation In the standard Computer Modern (and also in Latin Modern) the math-mode minus and plus symbols are, in some font sizes, not of the same width. This causes slight misalignments in ...
user avatar
  • 570
7 votes
2 answers
1k views

placement of dot-below accent using LuaLaTeX: significant variations depending on text font

There seem to be significant differences in the horizontal alignment of the "dot-under" accent depending on whether pdfLaTeX, XeLaTeX, or LuaLaTeX is in use. (I use MacTeX2016, which (still) uses ...
user avatar
  • 435k
4 votes
0 answers
4k views

latin modern math italic font

I'm trying to use exactly the same fonts for other software as when using the lmodern package in latex. All seems to work fine after having downloaded the latin modern fonts, as well as the latin ...
user avatar
  • 301
1 vote
0 answers
380 views

Parenthesized roman numerals in Latin Modern

I've been using lowercase roman numerals in parentheses to number certain things, and noticed that when I switched to Latin Modern, they looked rather different. LM has a larger dot over the italic i, ...
user avatar
1 vote
0 answers
306 views

lm fonts not found by LuaLaTex [duplicate]

When I try to compile a document using LuaLaTex, like in the following MWE, I obtain errors indicating me that Latin Modern fonts are not found. It is strange since I use only the most basic setup ...
user avatar
0 votes
1 answer
463 views

XeLaTeX and fontspec

I'm askin a very simple question. I'm using XeLaTeX on Linux, and it's working perfectly. I know that Latin Modern Roman is the default font used by \usepackage{fontspec}. However I would like to know ...
user avatar
  • 1,073
17 votes
2 answers
1k views

Inconsistent size of parentheses in Latin Modern and Computer Modern

I have noticed that the sizes of delimiters change when I switch from Computer Modern to Latin Modern. In 12pt font size documents, this causes inline math with \bigl( to be too large to fit, and ...
user avatar
7 votes
1 answer
1k views

Russian babel, lmodern, and sans-serif font

If I have three things in my file that apparently conflict with each other. \usepackage[russian]{babel} \usepackage{lmodern} \sffamily in the body of the document. As a result, I don't get a sans-...
user avatar
5 votes
1 answer
1k views

Latin Modern Math and `\setminus` [duplicate]

Consider the following MWE, typeset by lualatex from TeX Live 2016: \documentclass[paper=A4, parskip=half]{scrartcl} % % Packages % % Fonts \usepackage{fontspec} % Languages \usepackage{...
user avatar
  • 825
1 vote
1 answer
424 views

CM Concrete with Latin Modern bold in LuaLaTeX/XeLaTeX?

With LuaLaTeX or XeLaTeX, how do I use Concrete (or any other font family that already has a bold) as main font but use Latin Modern bold as bold? This doesn’t work: \usepackage{fontspec} \...
user avatar
  • 271
1 vote
0 answers
207 views

LuaLaTeX changes font smoothing with polyglossia or fontspec (and math looks weird) [closed]

I’m using LuaLaTeX to typeset some mathematical documents in Polish. I use the lmodern font family, along with polyglossia and fontspec to get diacritical characters. However, whenever I add \...
user avatar
2 votes
1 answer
144 views

Disable all ligature patterns in selnolig for ligatures not in latin modern

I would like to disable all patterns of the selnolig package which matches ligatures that are not available in latin modern. Am I correct that latin modern only has ligatures for: ff, fi, fl, ffi, and ...
user avatar
  • 2,263
3 votes
2 answers
785 views

Latin Modern looks different in pdfLaTeX and XeLaTeX

I realized that Latin Modern font looks heavier in XeLaTeX and lighter in pdfLaTeX. Why? How can I get the same lighter look in XeLaTeX? IMHO, the XeLaTeX look is too heavy and I'd like to have the ...
user avatar
7 votes
1 answer
2k views

Italic small caps not working

I use small caps with \textsc{} a lot, but cannot find a way to get it set in italics. This is primarily a problem inside environments such as theorems, where the theorem text is set in italics, so ...
user avatar
  • 326
7 votes
1 answer
11k views

New font file not found with MiKTeX installation

I am trying to use Latin Modern fonts in my document (using MikTeX in Windows 10, 64-bit). I have the following in my header: \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} ...
user avatar
  • 803
3 votes
1 answer
348 views

Which sized Latin Modern Math delimiter glyphs correspond to Computer Modern Extended (cmex) glyphs

I've used the \fontable command from the LaTeX package of the same name to print out all the glyphs represented by the font "cmex10". I've also written a program to display all the glyphs and their ...
user avatar
  • 121
9 votes
2 answers
582 views

LuaLaTeX: No kerning within \operatorname when not loading lmodern package

Somewhere I read that fontspec uses Latin Modern by default, so I assumed that loading the lmodern package is not required anymore when using LuaLaTeX. But today I noticed that kerning does not seem ...
user avatar
  • 1,295
3 votes
1 answer
1k views

alternative at-symbol for cmbright

Is there a more "classical" at(@)-symbol that matches the cmbright-font as the symbol that's already included in the font? I already had a look at the The Comprehensive LATEX Symbol List but it seems ...
user avatar
  • 1,699
2 votes
0 answers
74 views

Bad `\limits` spacing with lualatex [duplicate]

Compiling this example: \documentclass{scrartcl} \usepackage{fontspec} \usepackage{mathtools} \usepackage{unicode-math} \setmathfont{latinmodern-math.otf} \begin{document} \begin{equation} \int\...
user avatar
  • 5,774
2 votes
2 answers
2k views

Font to pair with latin modern

I am looking for a typeface to use in headings and to pair with Latin Modern, which is irreplaceable for the body of the text. I would particularly appreciate suggestions of sans serif families, but ...
user avatar
  • 121
9 votes
2 answers
3k views

Difference between cfr-lm and lm package

For Latin Modern fonts, there are the packages lmodern and cfr-lm. Additionally, there are the font packages lm and lm-math. For a beginner, it is difficult to figure out the relations between these ...
user avatar
  • 2,782