Questions tagged [latin-modern]

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

Filter by
Sorted by
Tagged with
0 votes
2 answers
68 views

Insert barless f (ſ) into document? [closed]

I am looking to use the barless f as shown in the title, but the only option seems to be this (ſ) which still retains half of the bar. Are there any solutions to this or relevant packages that I can ...
Felix Birch's user avatar
3 votes
2 answers
126 views

How to redefine the \partial command to adjust the kerning (as suggested by Michael Spivak)?

Michael Spivak talked about this issue in his Math Font Quiz: (Original article: https://tug.org/pracjourn/2006-3/distract/mathquizAnswers.pdf) In Latin Modern (and in Computer Modern Unicode as ...
XCG-2's user avatar
  • 43
1 vote
1 answer
170 views

How to make ≝ and „equivalent to by definition“ similar?

We continue How to get two versions of the same math Unicode symbol from different fonts with XeLaTeX or LuLaTeX?, where we found out how to get ≝ in which “=” has roughly the same width as “def” ...
user avatar
1 vote
0 answers
182 views

Which latin modern font size should I use in PowerPoint in combination with IguanaTex?

I am a total beginner when it comes to typesetting and I am confused by the following 7 numbers: There are 2 numbers for normal PowerPoint text: In Microsoft Windows I can install Latin modern fonts ...
Jakob's user avatar
  • 855
1 vote
0 answers
61 views

Why à becomes ŕ in luatex with latin modern?

Running luatex (not lualatex) on a file with the following content: \font\lmrten=cs-lmr10 \lmrten à \bye outputs a PDF file containing a 'ŕ', not a 'à'. Why? And hox to fix it?
Fabien's user avatar
  • 123
0 votes
0 answers
177 views

Why are text Greek glyphs different from mathematical Greek in Computer Modern?

Why are text Greek glyphs different from mathematical Greek in New Computer Modern, Latin Modern and Computer Modern fonts? The New CM comes with its own text Greek glyphs while for text Greek ...
Apoorv Potnis's user avatar
1 vote
0 answers
162 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 }{} ...
Yukai Qian's user avatar
5 votes
2 answers
499 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/...
Gabriel's user avatar
  • 1,564
1 vote
2 answers
425 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 ...
Yukai Qian's user avatar
4 votes
2 answers
488 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 \...
Jostein Trondal's user avatar
1 vote
1 answer
110 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), ...
Sebastian Molina's user avatar
3 votes
3 answers
2k 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 ...
Ungar Linski's user avatar
1 vote
0 answers
53 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 ...
Guy's user avatar
  • 11
2 votes
1 answer
821 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 ...
Diaa's user avatar
  • 9,259
2 votes
1 answer
242 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 ...
Elías Guisado Villalgordo's user avatar
0 votes
1 answer
61 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 ...
Jan Hajer's user avatar
  • 844
2 votes
1 answer
373 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 ...
LaTeXereXeTaL's user avatar
1 vote
1 answer
193 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{...
Masum's user avatar
  • 919
3 votes
0 answers
214 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 ...
photon.engine's user avatar
1 vote
1 answer
797 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 ...
mert's user avatar
  • 1,667
2 votes
2 answers
442 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 ...
Timur Fayzrakhmanov's user avatar
1 vote
2 answers
413 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: \...
yury10578's user avatar
  • 159
1 vote
1 answer
398 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 ...
andreagoo8's user avatar
0 votes
1 answer
141 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 ...
sam's user avatar
  • 1
1 vote
0 answers
1k 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 ...
MaxPowers's user avatar
  • 153
20 votes
1 answer
3k 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 ...
Salim Bou's user avatar
  • 16.8k
0 votes
0 answers
364 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 (...
murray's user avatar
  • 7,650
0 votes
0 answers
265 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 ...
James Rowell's user avatar
9 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, ...
emacsomancer's user avatar
  • 1,785
11 votes
4 answers
2k 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. ...
Ekin's user avatar
  • 503
0 votes
1 answer
2k 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 ...
filippo's user avatar
  • 588
2 votes
2 answers
555 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},...
Nemgathos's user avatar
  • 545
12 votes
2 answers
7k 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 ...
AlexisBRENON's user avatar
9 votes
2 answers
1k 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 ...
Henri Menke's 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 ...
Thrash's user avatar
  • 633
12 votes
2 answers
4k 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 ...
wea0's user avatar
  • 602
7 votes
2 answers
2k 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 ...
Mico's user avatar
  • 490k
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 ...
Manuel's user avatar
  • 321
1 vote
0 answers
544 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, ...
Magnus Lie Hetland's user avatar
1 vote
0 answers
308 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 ...
Samuel Albert's user avatar
0 votes
1 answer
520 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 ...
MaPo's user avatar
  • 1,143
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 ...
Håkon Marthinsen's user avatar
8 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-...
Evgeny Makarov's 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{...
d125q's user avatar
  • 845
1 vote
1 answer
468 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} \...
MetroWind's user avatar
  • 271
1 vote
0 answers
218 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 \...
Chris Warrick's user avatar
2 votes
1 answer
154 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 ...
user2653422's user avatar
  • 2,313
3 votes
2 answers
888 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 ...
Ricardo Pérez's user avatar
8 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 ...
Tor's user avatar
  • 336
7 votes
1 answer
13k 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} ...
ltcomdata's user avatar
  • 803