New answers tagged fonts
5
votes
Clarify lucida fonts license
Yes, two printers is about installing the font on the printer (rare in our TeXworld), not merely printing documents.
Chuck and I put an official statement about this on https://tug.org/store/lucida/...
0
votes
ConTeXt won't find my fonts
I just tried with files from
https://fontsgeek.com/fonts/Cooper-Black-Italic
https://www.download-free-fonts.com/details/80261/cooper-black
Stored in /usr/local/share/fonts/
$ tree /usr/local/share/...
1
vote
Accepted
Limit symbol in different font
Change the main font and it will change the font for lim as well:
% !TeX TS-program = lualatex
\documentclass{beamer}
\usepackage{fontspec}
\setsansfont{Arial}
\setmainfont{Fira Sans}
\usepackage{...
4
votes
Getting sans-serif math only in sans-serif mode
You want to declare a sans-serif math version, similar to \mathversion{bold} and \boldmath. Here is a MWE declaring sans (and bold sans) math versions in LuaLaTeX/XeLaTeX:
\documentclass{article}
\...
7
votes
Accepted
LuaLaTeX: change font id does not work with a non default font
Erewhon Regular does not have a separate font file for small caps like Latin Modern does, it uses the smcp open type feature to apply GSUB substitutions to map small latin letters the glyphs in the ...
1
vote
Obtain small caps font from OpenType font when diffining a `\font`
Can't you use the the command \newfontface?
\documentclass{article}
\usepackage{fourier-otf}
\newfontface\myfontSC{erewhon}[RawFeature={+smcp}]
\begin{document}
{\myfontSC Small Caps}
\scshape ...
2
votes
Accepted
Obtain small caps font from OpenType font when diffining a `\font`
Select the font inside a box and define \myfontSC to be the same font selector of the current font (which can be accessed as \the\font).
\documentclass{article}
\usepackage{fourier-otf}
\sbox0{\...
0
votes
Appropriate Font for Figure Legends in Elsevier's Journal
This is not really a TeX question as much as it is an article submission question.
My suspicion is that your article was flagged because the text was either too small to read or because the font was ...
0
votes
How to enlarge "fourier" font to match "utopia" package
From the manual: “The widespace option offers those who find Utopia's default space too narrow a larger space between words.” So simply load the package as
\usepackage[widespace]{fourier}
2
votes
I can't find file phvr7t
TeX has used a few different font formats over the years, but phv stands for PostScript Helvetica, which is in PostScript Type 1 format. Files in this format have several extensions, including .afm (...
3
votes
A proper math font
Your first example appears to be for pdftex with 8 bit fonts so it is not "a math font": each of the fonts you are selecting is separate and may be separately chosen there are several ...
3
votes
Conflict between `\setmainfont` and `\mainmatter`
The problem is not strictly with toptesi if not by the fact that it uses slanted type and provides no way to avoid it. The error appears with \mainmatter because this selects a page style that uses ...
4
votes
Accepted
The tensor package doesn't space indices well with some characters
The package seems to be allowing the italic correction of the base to leak out, always using a {} at the end of the base seems to fix things
newtx version:
\documentclass{article}
\usepackage[amsthm,...
3
votes
Accepted
Conflict between `\setmainfont` and `\mainmatter`
This seems to be a problem with toptesi, with book + fontspec it works without problem. And it seems, that it breaks at the whitespaces in the font names. But you can simply remove them:
\...
0
votes
How to adjust certain things in the Longtable
I focused on table formatting only:
I wonder why you use long table when your table has five rows? Much les problems you will have with use just tblr table in table float where you can define caption ...
2
votes
Specific calligraphic font for lowercase g
For reference, if you use unicode maths fonts, unicode-aware engines like xetex or lualatex, then unicode-math package provides access to
𝒢 U+1D4A2 and 𝓖 U+1D4D6 with \mscrG and\mbfscrG. Direct ...
0
votes
Keyboard Font for LaTeX
Another possibility is to use the pas-keyboard package (available from https://www.mathweb.fr/euclide/les-packages-personnels-latex-stephane-pasquet/ ):
\documentclass{article}
\usepackage{pas-...
1
vote
Accepted
LuaLaTeX font fallback configuration
Thanks to @cfr I was able to figure it out for my current TEXLive 2024 installation on Mac OS X and finally came up with this solution:
\documentclass[margin=1cm,varwidth]{standalone}
\usepackage{...
1
vote
Specific calligraphic font for lowercase g
You could use free text/math fonts like newtxtext, newtxmath. I have added another option \rsfscr{G} that work under \DeclareMathAlphabet\rsfscr{U}{rsfso}{m}{n}.
\documentclass[a4paper,12pt]{article}
\...
6
votes
Accepted
Specific calligraphic font for lowercase g
It is an alternative glyph for capital Script G, provided by the professional (paid) MathTime Professional II fonts. If you have the complete set of fonts installed, you can get that symbol using \...
2
votes
How can I fix the rendering of these glyphs in stix2?
\documentclass[12pt,twoside]{report}
\usepackage[a4paper,width=150mm,top=30mm,bottom=30mm,bindingoffset=6mm]{geometry}
\usepackage{siunitx} % needed for units
\usepackage{unicode-math}
\...
2
votes
Accepted
How can I fix the rendering of these glyphs in stix2?
The siunitx package defines \micro as \siunitx_declare_prefix:Nnx \micro { -6 } { \__siunitx_unit_non_latin:n { "03BC } } which is an upright mu. The stix2 font doesn't have that character.
You ...
0
votes
fontspec not recognizing custom bold font
I recently had the same problem on my Linux machine. I resolved the problem by installing a version of the B Nazanin.tff file containing all the Regular, Bold, and Italic font faces.
I used the ...
3
votes
Extracting symbols from mathabx causes warnings with newtxmath
You avoid the warnings by defining the fonts to be fully scalable; mathabx still uses the “fixed sizes” that were needed in the olden times when only bitmap fonts were available. Since newtx uses ...
1
vote
How to use a the tt font for mathrm?
You want to redeclare the operators symbol font.
\documentclass{article}
\usepackage[euler-digits,euler-hat-accent]{eulervm}
\usepackage[T1]{fontenc}
\renewcommand*\familydefault{\ttdefault}
\...
0
votes
Preventing Ångström symbol being italicised in pythontex
I presume the question is about creating a string for something like a matplotlib label, where there is a latex interpreter so you can use a latex environment by putting text between $$. The suggested ...
1
vote
Using tipa in beamer: How to match fonts?
You could use the serif font theme to get the normal serif latex font:
\documentclass{beamer}
\usepackage{tipa}
\usefonttheme{serif}
\begin{document}
\begin{frame}
abc \textipa{[""Ekspl@...
1
vote
Accepted
Can you suggest me a Greek font that has the same (or very similar) text glyphs with the Latin characters of Concrete font?
With an unicode engine like lualatex, you could use the CMU Concrete font:
% !TeX TS-program = lualatex
\documentclass[12pt]{article}
\usepackage[a4paper, total={180mm,257mm},left=15mm,top=20mm]{...
1
vote
What's the font used in 'Linear Algebra' by Friedberg?
Confirm the comment of @Sergei Golovan: the font default is Computer Modern. Here an example:
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,amssymb}
\begin{document}
\textbf{Definitions}. ...
6
votes
Improper `at' size due to newtx
Update 2024-06-25
Version 1.751 of newtx seems to have fixed the issue.
Older answer for a workaround
For some reason, the new version (1.75) of newtx.sty says
\newcommand*{\ntxtext@scale}{0}
where ...
Top 50 recent answers are included
Related Tags
fonts × 9003xetex × 1025
fontspec × 942
math-mode × 823
luatex × 605
pdftex × 477
symbols × 439
fontsize × 304
beamer × 284
font-encodings × 242
texlive × 211
bold × 205
math-fonts × 205
unicode-math × 194
packages × 187
miktex × 168
sans-serif × 168
context × 167
formatting × 165
errors × 161
unicode × 161
typography × 153
installing × 148
pdf × 143
small-caps × 143