Questions tagged [computer-modern]
{computer-modern} concerns the family of fonts in the Computer Modern Font which was originally created by Donald Knuth
131
questions
8
votes
1
answer
987
views
Is Computer Modern 12 pt an exact scaled version of 10 pt? If not, how to scale?
I have always felt that the 10 pt font looks nicer than 12 pt, either in PDF or printed. The 12 pt looks taller (in other words the 10pt looks fatter).
My questions are:
Is the 12 pt font a scaled ...
4
votes
1
answer
280
views
Bold garamondx font looks like computer modern in math mode
I'm using the garamond font from the garamondx package.
Using the following commands
\usepackage{garamondx}
\usepackage[garamondx,cmbraces]{newtxmath}
effectively changes the text font but I realized ...
0
votes
1
answer
48
views
\textsf or \sffamily have different font than \section{}
This code
\documentclass{scrartcl}
\begin{document}
\section{Test}
\textsf{Test}
{\sffamily Test}
Normal Font
\end{document}
renders as this picture below. Why the text in sffamily is formatted ...
1
vote
0
answers
48
views
Computer Modern Prototype Numbers
When I read Mathematical Typography, I noticed that the prototype font presented (the predecessor of the Computer Modern font family) had different numbers (bottom).
My question is, are there any ...
0
votes
1
answer
56
views
How to use Computer Modern lambda with newtxmath package?
I'm trying to use the CMU \lambda in my document because I prefer its appearance over the one from newtxmath. I had a similar sentiment about \sum, but I was able to find a post that replaces the sum ...
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 ...
2
votes
1
answer
63
views
Is there a way to enforce numbers in text mode to have the same style as math environment without putting them between $?
I am using the IEEEtran document class.
\documentclass[lettersize,journal]{IEEEtran}
\begin{document}
Here is 123456789 in text mode and
here is $123456789$ in math mode.
\end{document}
1
vote
1
answer
120
views
How can I switch back to Computer Modern in formulas within XeLaTeX?
Answers to the question Switching back to Computer Modern within XeLaTeX provides a way to switch back to the default font in XeLaTex. However, the solution there doesn't work if I use \mathrm in a ...
1
vote
1
answer
240
views
How to use both Computer Modern and Latin Modern's Calligraphic \mathcal at the same time in LuaTeX with unicode-math
Here's my MWE:
% !TEX program = lualatex
% DOCUMENT CLASS
\documentclass[11pt,preview,varwidth,%
border={5pt 5pt 5pt 5pt}% left bottom right top
]{standalone}
% PACKAGES
\usepackage{mathtools, ...
1
vote
1
answer
161
views
How to use sans serif font in math mode?
It is rather common to typeset theories (that is a set of statements) such as ZFC in a sans serif font family.
I tried the following:
\font\ss=ecss1000
\def\ZFC{\ss ZFC}
\ZFC
$\ZFC\models\exists X\...
0
votes
1
answer
140
views
Use locally Computer Modern Dunhill
In the documentation of Computer Modern Dunhill, it’s only presented the way of using Dunhill in the whole document.
When my goal it’s just to use it in a peace of document. But when I do {\...
0
votes
3
answers
83
views
Use specific font for small caps inside emph context
I use \setmainfont{CMU Serif} to change the font. But CMU Serif doesn’t support small caps emphasis font as you can see with the following MWE:
\documentclass[a5paper,10pt,twoside,french]{book}
\...
20
votes
1
answer
2k
views
Comparison of vector fonts of "Computer Modern" variants
I'm looking for a detailed comparison of the various alternatives of "Computer Modern"-like vector fonts. I'm currently using Latin Modern with pdftex, but am weighing whether it's worth ...
0
votes
0
answers
178
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 ...
5
votes
1
answer
132
views
Certain math symbols & font combinations break XeLaTeX in TexLive 2021
The following MWE compiles fine with XeLaTeX and TeXLive 2020:
\documentclass{article}
\usepackage{mathspec}
\setallmainfonts[Mapping=tex-text]{Carlito}
\setmathsfont(Greek){[cmmi10]}
\begin{...
1
vote
1
answer
128
views
Producing a thin version of Computer Modern by tweaking the Metafont parameters
I am hoping to produce a custom version of all Computer Modern glyphs, where the parameters are tweaked such that the pen strokes are very thin (essentially no filling, just central skeleton strokes).
...
0
votes
0
answers
144
views
Computer Modern vector fonts with meta-ness
Has anyone completed or seriously attempted a translation of the Computer Modern MetaFont sources into MetaType1 code that retains the family's meta-ness (i.e., ability to generate new fonts by ...
1
vote
2
answers
2k
views
Use Computer Modern Font in LuaLaTeX
I was a pdfLatex user until I encountered a LaTeX capacity issue because of a large amount of figures included in my thesis. I am now using LuaLaTeX which dynamically allocates the memory and it ...
3
votes
2
answers
133
views
Bad positioning of slanted (italic) math accents
The math accents are usually taken from textfonts (only \vec from the math italic font). I would like to have an italic accent over an italic letter also in math mode. To present the problem quickly I ...
29
votes
3
answers
2k
views
Why is the 7 (Computer Modern italic) jumping out of the baseline in this code?
I have an issue I cannot explain to myself. Here is the code:
\documentclass{scrartcl}
\usepackage{tikz}
\begin{document}
\newcommand{\tikzmark}[4][]{\begin{tikzpicture}\node[inner sep=1pt,outer sep=...
12
votes
2
answers
1k
views
Good combination of sans serif font text and math mode using beamer class
Starting from this MWE,
\documentclass[10pt]{beamer}
\usetheme{Warsaw}
\usecolortheme[RGB={063,098,031}]{structure}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\usepackage{cmbright,...
2
votes
1
answer
480
views
How do I get lualatex+babel to use the "classic" TeX font families?
I'm getting (re)acquainted with babel and lualatex for multi-lingual documents. I know I can set individual font families with, say:
\babelfont[english]{rm}{Latin Modern Roman}
but how do I tell ...
1
vote
0
answers
420
views
Font slightly different from computer modern
I am curious as to which font variant of computer modern is used in the Quantum Field Theory book by Peskin & Schröder (P&S).
To begin with, I presumed that it is simply the default latex font,...
2
votes
0
answers
195
views
Are there any sans-serif fonts metric-compatible with Computer Modern?
The default LaTeX font is Computer Modern, a serif font. There is also a sans-serif alternative. However, it is not metric compatible. This means that the sizes each character can differ, and this can ...
2
votes
1
answer
100
views
Space between text and superscript too little with CMU Serif font
I'm having some trouble with the spacing between text and superscript in citations.
With Latin Modern Roman the space before the superscript is ok:
However, when I load the cmunrm font, that space ...
0
votes
0
answers
114
views
Are Computer Modern italics inconsistent?
I find the italics of Computer Modern inconsistent: The lower case o is too slanted, and the parentheses are too slanted and are too long, resulting in too much air below/above the text, respectively.
...
0
votes
2
answers
251
views
How to get CMU small caps as a separate font?
CMU bold small capitals work for me with \usepackage[T1]{fontenc} but not with \usepackage{fontspec}. Is there a way to get a separate CMU font that only has small capitals? When I buy fonts they come ...
0
votes
1
answer
62
views
How can I track down the standard TeX glyphs for musical accidentals ($\flat$, etc.)?
I'm trying to determine how to import the standard TeX music accidental glyphs into LilyPond (\flat, \sharp, and \natural), but I'm having trouble tracking down the specific glyphs. Are they from ...
2
votes
1
answer
743
views
Problem with Computer Modern
The text when I use Computer Modern doesn't look good, but the equations are fine
I don't know the problem. Can anybody help me?
I have this when I use overleaf
0
votes
1
answer
244
views
How to determine this font?
I cannot figure out what font is being used in this screenshot:
It's not, by any means, Latin Modern nor the normal Computer Modern. There's a trick or something fishy going on here. I did the ...
7
votes
2
answers
304
views
Why is my fancy font selection overriding CM in this way?
Every once in a while, I dabble in unconventional font choices. The fact that I do it only once in a while means that I am very hazy on the mechanisms. I was reminded today of one of the other reasons ...
1
vote
0
answers
183
views
CM Bright with LuaTeX is different than pdftex
I am aware of this question: General guide on how to set up font families for luaLatex, however in my use it does not solve my problem.
When I use pdfLaTeX to compile, I get:
When I use LuaLaTeX, I ...
1
vote
1
answer
195
views
"Lowercase" numbers (CM Bright)
For my section headings, I like the look of using shorter numbers (they detract less from the section title), and get by with using the \smaller command. However, they are a smaller font size so ...
5
votes
2
answers
475
views
"fj" Ligature in Computer Modern
The simplest way to put this: I need "fj" ligature. It is absolutely crucial especially as I am writing in Icelandic it simply cannot be missed, it just if not more common as fi.
Here is ...
2
votes
1
answer
799
views
Use of cmbx fonts over cmb
Sorry if this is off-topic, but I had a little question regarding the bold fonts in Computer Modern. As far as I can tell, Knuth created two bold fonts: one called cmb, which is a little more ...
0
votes
0
answers
167
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-...
2
votes
0
answers
90
views
How to change the font of the numbers?
Code:
\documentclass[12pt]{beamer}
\usepackage{amsmath}
\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[a4paper,landscape]
%\pgfpagesuselayout{2 on 1}[a4paper]
%\usetheme{Singapore}
\usetheme{...
1
vote
3
answers
2k
views
Force Computer Modern Maths Font in Maths Mode
Currently, I'm using LuaLatex and fontspec to manage the fonts in my document. However, I found that when I wanted to use a sans-serif font like Roboto as "normal text", the maths mode text is in ...
17
votes
1
answer
2k
views
The universe of Mechanics: animated mathematical formulas
Many years ago when I saw these videos I has been fascinated by how the formulas were transformed and/or modified. See, for example this video of youtube (Kinetic and Potential Energy) from the minute ...
0
votes
0
answers
269
views
Computer Modern Font Changes on Export from Texstudio in MacOS
I'm using Texstudio to write in MacOS and, for now, I'm quite comfortable with using the Computer Modern font.
One of my documents looks like this when previewed in Texstudio:
But when I open one of ...
0
votes
1
answer
106
views
Cannot recognize this type of font
I am trying to recognize the font of this document
Nesmith, Travis D. "Solving Stochastic Money-in-the-utility-function Models." (2005).
It seems to belong in the modern family, but it is not ...
4
votes
0
answers
3k
views
Is there a Computer Modern font which contains all the math symbols?
I downloaded the Computer Modern Serif font, which is the default LaTeX font, to use it on my website, but when I opened the file with FontForge I noticed that it misses a lot of math symbols. It ...
2
votes
2
answers
2k
views
Change font of single greek letter in math environment for all equations (classicthesis.sty)
I am using the classicthesis style (not the whole package, just the .sty) to write a (very long) document, and I don't like the Euler font for \xi in the math environment. This is an example with the ...
2
votes
1
answer
189
views
How do I use a font package but keep math font unchanged?
I am using two font packages: fourier (which is in fact Utopia) for overall text and chivo for sans-serif.
However, I don't like the changes these packages make to math font. I tried to revert math ...
1
vote
1
answer
220
views
Why is cmss/m/it silently replaced by cmss/m/sl with T1, but warns with OT1?
This is my MWE:
% \RequirePackage{fix-cm}
\documentclass{article}
% \usepackage{lmodern}
% \usepackage[T1]{fontenc}
% \usepackage[OT1]{fontenc}
\begin{document}
\sffamily\textit{Hi!}
\sffamily\...
2
votes
3
answers
195
views
Small caps with macron above using CMU Serif
I have some letters with macron above (in fact I have only ū and ā), they work pretty. But in small caps, when I set \setmainfont{CMU Serif} it totally fail. Instead of small cap letter, I get small ...
7
votes
2
answers
341
views
Are Knuth's fonts searchable in pdf yet?
Donald Knuth at the Desktop Publishing Pioneers meeting laments that converting to pdf using his fonts yields pdf files without searchable text. Is this fixed yet?
https://youtu.be/WVRMPihnZZM?t=4363
1
vote
1
answer
418
views
Computer Modern (Default LaTeX Font) in Serbian Cyrillic Script by XeLaTeX
I am using \usepackage{fontspec} together with the text encoding conversion file (ascii-to-serbian.tec) in order to obtain a XeLaTeX->PDF output file in Serbian Cyrillic script. TeX code (see below) ...
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, ...
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.
...