Skip to main content

New answers tagged

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/...
Karl Berry's user avatar
  • 2,172
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/...
garulfo's user avatar
  • 31
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{...
samcarter_is_at_topanswers.xyz's user avatar
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} \...
Davislor's user avatar
  • 45.5k
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 ...
Udi Fogiel's user avatar
  • 4,489
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 ...
user187802's user avatar
  • 17.4k
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{\...
egreg's user avatar
  • 1.1m
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 ...
karlh's user avatar
  • 774
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}
Dietrich Baumgarten's user avatar
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 (...
Davislor's user avatar
  • 45.5k
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 ...
David Carlisle's user avatar
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 ...
egreg's user avatar
  • 1.1m
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,...
David Carlisle's user avatar
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: \...
cabohah's user avatar
  • 14.1k
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 ...
Zarko's user avatar
  • 300k
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 ...
Cicada's user avatar
  • 71
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-...
samcarter_is_at_topanswers.xyz's user avatar
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{...
taocp's user avatar
  • 365
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} \...
Sebastiano's user avatar
  • 56.7k
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 \...
Apoorv Potnis's user avatar
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} \...
David Carlisle's user avatar
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 ...
Marijn's user avatar
  • 38.9k
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 ...
Mohammad Mahdi Hejazi's user avatar
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 ...
egreg's user avatar
  • 1.1m
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} \...
egreg's user avatar
  • 1.1m
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 ...
Laurence Lurio's user avatar
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@...
samcarter_is_at_topanswers.xyz's user avatar
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]{...
samcarter_is_at_topanswers.xyz's user avatar
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}. ...
Sebastiano's user avatar
  • 56.7k
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 ...
egreg's user avatar
  • 1.1m

Top 50 recent answers are included