Questions tagged [lmodern]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
50 views

The font package tgheros affects lmodern

Consider the following MWE: \documentclass[10pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage{tgheros} %\usepackage{helvet} % see explanation \begin{document} Let's ...
user avatar
2 votes
3 answers
82 views

How to Produce Italicized Small Caps Using fontspec and the Code Compiled with Lualatex

I would like to obtain italicized small caps immediately following the lettrine. And so, I call in the lmodern and slantsc packages for this purpose into the following MWE: \documentclass{book} \...
user avatar
  • 4,907
2 votes
2 answers
234 views

newtxmath/lmodern broken?

I just updated my MiKTeX packages. Output now seems to be missing mathematical operators if I load both newtxmath and lmodern. \documentclass[a4paper,twoside,12pt]{article} \usepackage{newtxmath} \...
user avatar
  • 1,123
0 votes
1 answer
132 views

Use the bold typewriter font from lmodern for keywords in listings but keep Computer Modern fonts in the rest of document in LaTeX

I am writing a document in LaTeX using the standard Computer Modern fonts. The text is mainly in Russian but it includes some listings. I prefer to typeset listings using the standard typewriter font (...
user avatar
2 votes
1 answer
79 views

Non-breaking space turns into ‘ă’ under XeLaTeX

Earlier today I noticed the following curious output in a LaTeX file I was editing: After some investigation I determined that there was a Unicode non-breaking space (U+00A0) between the + and the B, ...
user avatar
  • 152
5 votes
2 answers
280 views

,,Improper \halign inside $$'s`` with lmodern/microtype/fontspec

This is less of an actual problem than a "why does this happen" question. When working on a larger document, I started getting spurious and (to me) inexplicable Improper \halign inside $$'s. ...
user avatar
  • 3,307
0 votes
1 answer
34 views

\bigints package is not working fine together with \lmodern [duplicate]

I'm trying to get big integral symbol, so I tried with '\bigints' but I've found that \documentclass{article} \usepackage{lmodern} \usepackage{bigints} \newcommand*\norm[1]{\left\lVert#1\right\...
user avatar
0 votes
1 answer
64 views

My Text has a different Font than Chapters/Sections

I am pretty new to LaTeX. I used a template for my paper. The template uses the package "lmodern" as font. The text looks good as expected. However my Chapter/Section/Subsection Headers are ...
user avatar
0 votes
0 answers
46 views

Weird font quality using book class

I compiled a book using this preamble \documentclass{book} \usepackage{geometry} \usepackage{graphicx} \usepackage{amssymb} \usepackage{amsmath} \usepackage{amsthm} \usepackage{empheq} \usepackage{...
user avatar
0 votes
1 answer
82 views

How can I use \vdots in the presence of unicode-math using lmodern or lmodern-like fonts?

Consider the following file: \documentclass{article} \usepackage{unicode-math} \begin{document} \fbox{\vdots} \end{document} Running this through lualatex gives This is LuaTeX, Version 1.10.0 (TeX ...
user avatar
  • 2,013
2 votes
0 answers
48 views

What are the downsides of using cfr-lm instead of lmodern?

As I understand it, the package cfr-lm can access a lot more features of the Latin Modern fonts than lmodern. However, cfr-lm makes use of virtual fonts. How do these virtual fonts interact with the ...
user avatar
  • 803
2 votes
1 answer
263 views

Italic is not working in the given template

I use following template: https://github.com/RUB-NDS/exposee_layout I added following code at the end of the "Related Work"-Chapter: \textit{TESTTESTTESTTESTTEST} {\itshape abcdefgh} non-...
user avatar
2 votes
0 answers
97 views

Text selection adds extra spaces in Sumatra PDF

The following document: \documentclass{standalone} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \begin{document} Hello world \end{document} result in the following weird ...
user avatar
  • 413
3 votes
1 answer
117 views

MacTeX 2019 vs. 2020: No more lmodern b, only lmodern bx?

The font "Latin Modern" comes with two different bold faces, one called "bold", the other one called "bold extended". Bold extended is the default for this font. With ...
user avatar
  • 113
1 vote
0 answers
36 views

Bulletitems and Subbulletitems disappeared after adding lmodern to my document. Can you help me fix this issue? [closed]

I had \usepackage{fontawesome} in my document, and bullet-/subbullet-items worked properly. I wanted to switch to lmodern, and added \usepackage{lmodern} to my document. The font has changed to ...
user avatar
  • 11
0 votes
0 answers
95 views

Pixelated output even with cm-super and lmodern forces bold W, why?

I have a big problem with Adobe Acrobat Reader. My W's are bold or my ,,t'' and ,,y'' are pixelated regarding which usepackage I am using. This behaviour varies depending on the zoom-level of the pdf-...
user avatar
0 votes
0 answers
361 views

lmodern and T1fontenc strange pdf output

first of all: I use TexMaker and installed the full TexLive datas. My pdf-document program is Adobe Acrobat Reader DC. If I use \usepackages{lmodern}, then the W's in my pdf-document in Adobe Acrobat ...
user avatar
  • 79
1 vote
2 answers
81 views

beamer 3.58 problem with helvet and lmodern - problem with upper-case Greek

I have a problem similar to the one asked here. My minimal working example looks like this: \documentclass{beamer} \usepackage{lmodern} \usepackage{helvet} \begin{document} \begin{frame} $\Gamma \...
user avatar
  • 21
2 votes
2 answers
262 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
1 answer
179 views

Low quality font using xwatermark, TikZ and \newsavebox in combination with [T1]{fontenc} and lmodern

Some time ago at the link Transparent foreground watermark, I learned from Gonzalo Medina's answer how to make transparent water maker with the package xwatermark. And it was awesome. On the other ...
user avatar
  • 2,887
3 votes
1 answer
212 views

`lmodern` package reduces the size of automatically sized delimiters in math mode

Including lmodern package reduces the size of \left and \right delimiters. For example, try this with and without lmodern: %!TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{article} \...
user avatar
  • 1,709
2 votes
2 answers
174 views

Why do lmodern and textcomp inhibit display style? [duplicate]

MWE 1 The following MWE is doing what I want: \documentclass[b4paper,14pt,english,twoside]{memoir} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} % For French accents \usepackage[T1]{fontenc}...
user avatar
  • 433
1 vote
0 answers
221 views

Lmodern: LaTeX tries to create tfm files for EC fonts

Assume minimal example: \documentclass{minimal} \usepackage{lmodern} \usepackage[T1]{fontenc} %\usepackage[french]{babel} \begin{document} A. \end{document} When not having texlive-fonts-recommended ...
user avatar
0 votes
1 answer
491 views

An issue with Pdflatex (pdflatex (file lmmi7): Font lmmi7 at 600 not found)

I go directly to my problem. Recently, after a clean install of Ubuntu 18.04 and Mathematica 12, I get the below error when I "compile using pdflatex" the document in Lyx. !pdfTeX error: pdflatex (...
user avatar
  • 103
0 votes
1 answer
482 views

XeLaTeX doesn't find lmroman font, despite installing lmodern fonts

Hi I'm a newbie to the latex world and I have tried as hard as I could, to find the answer in the forum, yet I haven't been successful. I have installed texlive on ubuntu 18.04 via the command bellow....
user avatar
2 votes
1 answer
118 views

Mixing Icelandic, German and Ukrainian glyphs in the same PDF

This is more or less a followup to a previous question which I asked with pdflatex in mind and regarding another document class (letter-classic). Right now I am struggling to be able to mix German, ...
user avatar
2 votes
2 answers
139 views

lmodern + tipa cause first instance of diacritic to break

When I load both lmodern and tipa, the first instance of an IPA symbol with a diacritic breaks. For example, this code \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{lmodern} \...
user avatar
  • 551
0 votes
0 answers
43 views

What is the best-looking way to produce enlarged mathematical symbols in equation mode using lmodern? [duplicate]

I noticed that there is no way to produce a larger version of the summation symbol when writing equations. This \usepackage{lmodern} \begin{equation} \sum \end{equation} cannot be magnified using ...
user avatar
2 votes
1 answer
111 views

Degree symbol on Japanese system

I am trying to write a degree symbol for an angle on a Japanese computer running an English version of Windows 7. Consider the following MWE compiled with LuaLaTeX 1.0.4 on TeXLive 2017: \...
user avatar
1 vote
1 answer
723 views

Using Package "lmodern" creates strange characters in text

I have used the package \usepackage{lmodern} to increase the font size of the my chapter title. Due to that, I am getting strange characters in my text. Before using the package the text looked like ...
user avatar
  • 23
0 votes
1 answer
97 views

Math kerning in Beamer with XeLaTeX vs. PDFLaTeX

Consider this minimal example: \documentclass{beamer} \usefonttheme[onlymath]{serif} \begin{document} $fft$ \end{document} With PDFLaTeX, it turns out as expected: If I compile with XeLaTeX, ...
user avatar
1 vote
0 answers
69 views

Fonts with different design sizes

What I like about computer modern and latin modern is, that they have different design sizes. But as https://www.typografie.info/3/topic/22238-ist-die-computer-modern-wirklich-zu-d%C3%BCnn/ shows, lm ...
user avatar
3 votes
1 answer
131 views

How to enable copy and paste of numbers from latex documents with cfr-lm?

I have an issue when copying and pasting numbers from a PDF generated with pdflatex (pdfTeX 3.14159265-2.6-1.40.19 (TeX Live 2018/W32TeX)) and Acrobat Reader/Acrobat Professional. Also reported at ...
user avatar
  • 2,782
1 vote
1 answer
1k views

Why is "Latin Modern Roman" appearing differently in TeXStudio than in SumatraPDF?

Related question: XeLaTeX font rendering tend to be slightly bolder compared to PDFlatex I am trying to use lualatex, because of the selnolig package. I was recommended to use "Latin Modern Roman" ...
user avatar
  • 2,782
1 vote
1 answer
170 views

What ist the fontspec equivalent for "variable=true"

With pdflatex, I used the cfr-lm package with following settings: \usepackage[% rm={oldstyle=false,proportional=true},% sf={oldstyle=false,proportional=true},% tt={oldstyle=false,proportional=...
user avatar
  • 2,782
1 vote
1 answer
298 views

How to use selnolig package together with default lualalatex font?

Edit: Included different variants to show that everything seems to work fine. I'd like to use selnolig with the default font used by lualatex. The reason is that I write a paper using the Simplified ...
user avatar
  • 2,782
8 votes
2 answers
2k views

Parentheses disappear in Equation mode in ACM class

The problem is that when using the font package lmodern with the ACM class acmart.cls, the parentheses tend to disappear in the final output. Without lmodern, acmart.cls gives an error. Here is the ...
user avatar
  • 83
4 votes
1 answer
1k views

Default font rasterises very badly with T1 fontenc

After the last MiKTeX update (Nov. 22, 2017), I have a problem with the \usepackage[T1]{fontenc} in the output PDF, which I've never had before. I create an essential document: \documentclass{...
user avatar
2 votes
1 answer
103 views

Get unicode characters and siunitx \ang{} to work together

Code: % !TeX program = lualatex \documentclass{article} \usepackage{lmodern} \usepackage{fontspec, newunicodechar} \newfontfamily{\fallbackfont}{DejaVu Sans Mono}[Scale=MatchLowercase] \...
user avatar
2 votes
2 answers
1k views

LaTeX - Copy and paste º

I have a LaTeX document. I can copy from PDF (º), but it pastes as (o). How can I handle it? Use: \documentclass[12pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[brazil]{babel} \...
user avatar
0 votes
0 answers
197 views

How to redefine font family for different sizes (\huge, \large, etc.)

How can I change the font family just for certain font sizes? My document is using sans-serif fonts via \renewcommand{\familydefault}{\sfdefault}, but I would like to have serifs on \huge and \LARGE. ...
user avatar
  • 912
2 votes
1 answer
901 views

Incompatibility of lmodern and fourier?

Using the lmodern package, I had the typical font size issues in math mode: for example the sums were not large enough in some of my equations. To solve this I followed egreg's answer to the following ...
user avatar
2 votes
1 answer
110 views

Problem with lmodern font and paired delimiter / overline

I'm currently writing my bachelor thesis and forgot to include \usepackage[T1]{fontenc}. But I'm using \usepackage[utf8]{inputenc} and \usepackage{microtype}. When I included \usepackage[T1]{fontenc} ...
user avatar
  • 45
2 votes
0 answers
260 views

fixcmex does not fix [closed]

The fixcmex package is supposed to restore the cmex font and make it scaleable using several sizes provided by amsmath, even if the lmodern package has been loaded which overrides it with the lmex ...
user avatar
  • 570
2 votes
2 answers
457 views

How to use upright pound signs with lmodern and textcomp

I would like to use an upright pound sign, however, due to the packages I am using, it has been replaced with a curly variant which is less in-keeping with the surrounding text. Ideal: Current ...
user avatar
2 votes
1 answer
982 views

lmodern package with small caps in headlines

I need your help. I write my bachelor thesis and our prof wants us to use latex with lmodern characters. I have some fixed descriptions that need to be written in small caps in the headlines. The ...
user avatar
2 votes
1 answer
464 views

Beamer & XeLaTeX math font resets to sans serif

I need to compile a beamer slideshow with xelatex. I set "Latin Modern Math" as my math font but it was reset to sans serif. Looks awful. If I set \documentclass as article, everything works. ...
user avatar
  • 23
4 votes
1 answer
188 views

Strange behavior with using lmodern together with siunitx package

I would like to use the siunitx package in my document, but when I try to print an angle with the command \ang{90}, I've received 90ř instead of 90° Gradual reduction of the code, I found that ...
user avatar
  • 3,516
4 votes
1 answer
480 views

Strange behaviour of widetilde in integrals

I saw a lot of question related to the "widetilde" commands and the different ways to extend its definition to apply it to large strings of characters, but nothing precisely matching my problem. ...
user avatar
0 votes
0 answers
69 views

Missing neq symbol when using kpfonts package

I found out that when using package kpfonts my \neq symbol dissapears. I have to use package lmodern so that kpfonts does not kill my document MWE \documentclass[12pt]{book} \usepackage{kpfonts}% &...
user avatar
  • 509