New answers tagged fonts
1
vote
Old LaTeX Template
The oldstandard font has a similar look to your image. Crucially, it also has an accompanying math font. The following example should be enough to get you started. Compile with lualatex or xelatex.
\...
0
votes
Getting siunitx to use text numerals, but only when it isn't in a table
Here is an updated version of Mico's solution that:
Ensures the lining number style of numbers is preserved in math mode
Reflects the deprecation of \SI in favor of \qty
\documentclass{article}
\...
3
votes
Accepted
What is the default font used for code blocks
\documentclass{article}
\begin{document}
This is an inline \texttt{code} span.
\begin{verbatim}
This is
a code
block.
\end{verbatim}
\end{document}
produces a terminal output and log that ends
<...
5
votes
Accepted
Blank export using Garamond fonts
It makes little sense using XeLaTeX for a document using garamondx, because the fonts used by the package are only available in Type1 format.
You can install them with getnonfreefonts, but they have ...
2
votes
Looking for Math Font to match IBM Plex Serif / Sans
IBM has released official Plex Math fonts with full OpenType maths tables as of 30 August 2024. These may be used straightforwardly in XeTeX and LuaTeX with:
% assuming \usepackage{plex-otf} is ...
2
votes
In my Tex file, this type of error show. So what i do to resolve it
No error at all. You're using txfonts and LaTeX just informs you that the default assignments for math fonts are overridden by the package.
The key is LaTeX Font Info. Messages in the log file can be ...
0
votes
Matching a polished, lighter and "shinier" font typeface
This short article (identifying a typeface) may be of interest to you. Small items like the differences in the "J"s in "Joshi", or the use of old-style numerals (compare the 5 in &...
1
vote
Accepted
Font shape and size substitution error when using dingbat in the same document as esvect
stix uses
\DeclareMathSizes{10}{10}{7.5}{6}
But font U/esvect/m/n is not available in size 7.5pt. Uesvect.fd defines only some sizes:
\DeclareFontShape{U}{esvect}{m}{n}{%
<5><6><...
0
votes
Helvetica-font-not-embedded
I was able to solve the Helvetica font issue by using Adobe printer. Here are the instructions:
https://github.com/ChunbiaoZhu/PDF-eXpress-check
1. open your pdf file,
2. select file -> print
3. ...
1
vote
Accepted
How to deal with Bold Small Caps Cyrilic in chapter headers?
You need a sans serif font that, besides supporting Cyrillic (more precisely, the T2A encoding), has small caps.
There aren't many, I'm afraid, actually one, namely Ysabeau
In all cases, change the ...
1
vote
Accepted
How to set a Cyrilic font for a single chapter
lmodern has no support for Cyrillic. You can choose the standard cmr family for it.
\documentclass[a4paper,oneside]{book}
\usepackage[T2A,T1]{fontenc}
\usepackage[russian,english]{babel}
\usepackage{...
1
vote
Change operator math font with Arial set as the main text font
What do I need to do in order to change the operator font [to] Times ... Roman?
The following answer borrows heavily from this answer by @egreg posted in early 2012.
% !TEX TS-program = lualatex
\...
0
votes
Get rid of Type 3 fonts in PDF for manuscript
I encountered the same error while submitting a pdf in order to get it published. However, the itemize obeject created bitmap bulletpoints. These bulletpoints were of type3 and caused the error.
Since ...
3
votes
Accepted
Complex Ligatures in CMU Serif
Fonts aren't required to have any ligature you'd like to.
New Computer Modern Roman has some more than CMU Serif.
\documentclass{article}
\usepackage{fontspec}
\setmainfont{NewCM10}[
Extension=.otf,...
10
votes
Accepted
How do I input box-drawing characters?
You want \usepackage{pmboxdraw}
\documentclass{article}
\usepackage{pmboxdraw}
\begin{document}
\begin{verbatim}
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1.2T 0 ...
1
vote
Use greek letters not as part of a math equation
With pdftex:
\documentclass{article}
\usepackage[LGR,T1]{fontenc}
\usepackage[english]{babel}
\begin{document}
English \foreignlanguage{greek}{ελληνικά} English.
\end{document}
3
votes
Use greek letters not as part of a math equation
using lualatex, you can mix English and Greek texts:
\documentclass{standalone}
\usepackage[greek, english]{babel}
\babelprovide[onchar=ids fonts]{greek}
\babelfont{rm}{DejaVu Sans}
\babelfont[greek]{...
4
votes
What is the default font of report documentclass?
The report class has no “default font”. Several classes don't, actually.
If the class (or some package you load) doesn't choose a main document font, you get the LaTeX default, which depends on the ...
1
vote
What is the default font of report documentclass?
It is still unclear, what you are trying, because you don't need any \setmainfont{…} to have get the default font or to get any of the Latin Modern families like Latin Modern Roman. So maybe your ...
2
votes
how can I prevent fontinst introducing spurious spaces into fd files?
After finding missing files and editing them, I tried with fontinst from TL 2012 on and always the line
\DeclareFontFamily{T1}{xxx}{\hyphenchar \font =\m @ne}
was written.
I see no reason for such ...
3
votes
Having one math symbol be in a different font from the others
Before redefining a command, it’s very important to know what it does. If you run LaTeX on
\documentclass{article}
\usepackage{newtxtext,newtxmath}
\show\sum
in interactive mode, you'll be presented ...
4
votes
Accepted
Having one math symbol be in a different font from the others
Have fixed the \sum symbol from the default cmex font family, you can change the font name whatever you like, and the MWE is
\documentclass{book}
\usepackage{newtxtext,newtxmath}
\makeatletter
\let\...
5
votes
Does have subgather command like subequation? (elsevier format) (I wanna 1a,1b,1c)
You need to encase the gather environment in a subequations environment in order to change the numbering system of the equations in question from (1)-(2)-(3) to (1a)-(1b)-(1c)
Three additional ...
2
votes
Accepted
Why can't I use the emerald package on overleaf?
Look at the page on CTAN, namely https://ctan.org/pkg/emerald
I add a screenshot:
The license doesn't allow free distribution, so TeX Live cannot include it and Overleaf is based on TeX Live.
...
Top 50 recent answers are included
Related Tags
fonts × 9040xetex × 1027
fontspec × 950
math-mode × 824
luatex × 607
pdftex × 479
symbols × 442
fontsize × 306
beamer × 287
font-encodings × 245
texlive × 214
math-fonts × 209
bold × 206
unicode-math × 193
packages × 187
sans-serif × 169
miktex × 168
context × 168
formatting × 165
unicode × 165
errors × 162
typography × 153
installing × 148
pdf × 143
small-caps × 143