Questions tagged [latin-modern]

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

0
votes
0answers
68 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 ...
3
votes
3answers
342 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, ...
4
votes
0answers
159 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. ...
0
votes
1answer
284 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 ...
2
votes
2answers
171 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},...
5
votes
2answers
1k 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 ...
6
votes
2answers
496 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 ...
10
votes
4answers
608 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 ...
10
votes
2answers
841 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 ...
7
votes
2answers
591 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 ...
3
votes
0answers
2k 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 ...
1
vote
0answers
145 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, ...
1
vote
0answers
170 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 ...
0
votes
1answer
349 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 ...
17
votes
2answers
886 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 ...
7
votes
1answer
619 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-...
4
votes
1answer
775 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{...
1
vote
1answer
263 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} \...
1
vote
0answers
166 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 \...
2
votes
1answer
112 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 ...
2
votes
2answers
519 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 ...
5
votes
1answer
973 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 ...
3
votes
1answer
4k 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}...
3
votes
1answer
247 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 ...
7
votes
2answers
385 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 ...
3
votes
1answer
531 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 ...
2
votes
0answers
62 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\...
2
votes
2answers
950 views

Font to pair with latin modern

I would like some suggestions for fonts to match LModern. In particular I am searching for a heading-font, so I am thinking of sans serif families, but every suggestion is appreciated. I really like ...
8
votes
2answers
2k 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 ...
1
vote
1answer
1k views

beamer, lmodern and \scshape give “Font shape not available” warning

Using lmodern package and \scshape in beamer: \documentclass{beamer} \usepackage{lmodern} \begin{document} \frame{\scshape Normal size text} \end{document} gives: LaTeX Font Warning: Font shape `...
7
votes
1answer
864 views

Alleged Missing Characters in Latin Modern Math

I'm using the Unicode-math package, with Latin Modern Math as my math font. Thus \documentclass[]{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} ...
7
votes
2answers
701 views

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 ...
0
votes
2answers
783 views

Uppercase accented characters displayed as “?”

The header is \documentclass[12pt,twoside]{report} \usepackage[a4paper,left=4cm,right=3cm]{geometry} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[francais]{babel} \begin{...
2
votes
0answers
663 views

Combining lmodern, charter and sourcecodepro fonts [closed]

I know, usually you should avoid many different fonts but I'd be happy with the following configuration: Title, Chapter, Section, ... and Description labels should use bold Latin Modern Sans Serif ...
1
vote
1answer
826 views

\LaTeX macro: “Font shape `OT1/LatinModernSans(0)/m/n' undefined” [closed]

I tried compiling the following example using LuaLaTeX (LuaTeX v0.76/TeX Live 2013): \documentclass{beamer} \usepackage{fontspec} \usepackage[ngerman]{babel} \defaultfontfeatures{Ligatures=TeX} \...
4
votes
1answer
207 views

Use \sbweight and \lgweight with cfr-lm package

cfr-lm provides \sbweight and \lgweight font weights. With \renewcommand\bfdefault{sb} we can use this like default bold font. Is this the best way? How can I use the \lgweight font weight with \...
3
votes
0answers
201 views

Accessing cmex10-equivalent symbols in latinmodern math in rendering code

I wish to display and print mathematical formulae not using one of the existing TeX distributions and not via a web browser, but using my own code so that the display is integrated into my packages as ...
2
votes
0answers
525 views

Problem with Latin Modern in HTML [closed]

I ask this question here because "Latin Modern" is a font, now also available in OpenType format, that's derived from Knuth's "Computer Modern", which is is mainly known by and of interest to the TeX/...
3
votes
2answers
1k views

How to add the MacTeX subpackage Latin-Modern-Fonts to a BasicTeX installation

I've installed the current BasicTeX, a subset of MacTeX 2013. This includes the Latin Modern fonts, presumably in the TeX Live directory tree, which isn't a place that OSX looks for fonts. The full ...
2
votes
2answers
230 views

How do I get lining figures when using Latin modern with the cfr-lm package?

When using the cfr-lm package with the Latin modern font (lmodern package) I get text figures as standard. This is good, but sometimes I want to explicitly use lining figures. How can this be achieved?...
8
votes
2answers
301 views

Does cfr-lm have any other side-effects besides changing to old style numbers?

I am currently using the following: \documentclass[12pt,extrafontsizes]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \begin{document} I have 1,233,345.6 cats. \end{document} I want ...
3
votes
1answer
895 views

Replacing a glyph in one font with a glyph from another

I am a newbie with LaTeX when it comes to fonts. I would like to replace the double story "a" in Latin Modern for a single story "a" version (and similarly for the "g"). I just prefer my typeset ...
0
votes
0answers
2k views

How to install cyrillic enc bundle

I'm following this solution to mix Latin and Cyrillic characters (if there is a faster way, please, let me know). I got the errors Package fontenc Error: Encoding file t2aenc.def not found \...
2
votes
1answer
4k views

Adjust the font of scrlttr2 to the serif font of moderncv

I'm a newbie in LaTeX & trying to make my cv with it. I'm almost finished, the last thing is ... I made my cv with moderncv, the letter with scrlttr 2 and the cover with scrartcl. this 3 have ...
71
votes
2answers
42k views

Is it still useful to load the lmodern package?

A few years ago, the lmodern package was a good way to have high quality fonts by simply adding : \usepackage{lmodern} Nowadays, lmodern seems less popular. I'm wondering if it is because LaTeX ...
4
votes
1answer
1k views

Latin Modern and Greek, an issue

Here is the code: \documentclass{article} \usepackage[vmargin=1in]{geometry} \usepackage{xfrac,fontspec,unicode-math} \setmathfont[version=lm]{Latin Modern Math} \setmathfont[version=cambria]{Cambria ...
7
votes
2answers
1k views

Using a unicode-math font that looks like computer modern roman

I'm looking for a math font that works with the unicode-math package that looks just like computer modern roman. I found the latin modern roman font quite good, but they have a ℝ symbol which looks ...
30
votes
2answers
995 views

There's a bump in the implies glyph

Edit: I understand this question has been marked as a duplicate, but the question I linked to doesn't have a solution for me (unless I'm missing something obvious, which is likely). The effect is ...
1
vote
0answers
67 views

Typesetting computer modern and Latin modern font in LaTeX [duplicate]

This might sound like a stupid beginner question, but... I have been using LaTeX for years and have always been looking for the exact type of font used in many econ papers, such as this one. Some ...
7
votes
2answers
5k views

\usepackage{lmodern} changes textcomp's \textbullet and \textopenbullet in a beamer file

I use \textbullet and \textopenbullet (from textcomp package) in a beamer file. It gives just what I expect: However, when I add the lmodern package in the preamble (to avoid font warnings and ...