Questions tagged [fonts]

{fonts} is about fonts and how to use them. It deals with questions about changing family, shape and weight of fonts, but also with font packages. If your question is not about a font in general but about specific symbols, use {symbols} instead. For questions about font sizes, use {fontsize}.

Filter by
Sorted by
Tagged with
0 votes
1 answer
13 views

How can I make font of first slide as 8pt and other slides as10pt in beamer?

I am trying to make presentation in beamer. I want my first slide in 8pt font and other slides in 10 pt fonts. But I can't make change in other slides as all slides becomes of 8 pt.
user avatar
0 votes
0 answers
31 views

LaTeX IfFontExistsTF returns True but 'font not found' error on compiling

I've downloaded and (definitely) installed a .ttf called Goudy Old Style Small Caps. When I run this: \documentclass{book} \usepackage{fontspec} \begin{document} \IfFontExistsTF{Goudy Old Style Small ...
user avatar
0 votes
0 answers
24 views

What is the difference between file font.lua and the font itself?

When LuaLaTeX/fontspec uses a font, say Erewhon-Regular.otf, it creates a file erewhon-regular.lua that is put in (user's)Library/texlive/2022/texmf-var/luatex-cache/generic/fonts/otl/. Actually it is ...
user avatar
1 vote
1 answer
56 views

How to change font from old pdflatex packages to new lualatex definitions

Lualatex allows to load fonts directly and without packages and other dependencies. The problem I see is that the usage is well documented for pdflatex and the old style and not documented for ...
user avatar
0 votes
0 answers
19 views

Is there a way to prioritise fonts in xecjk? (Or how do I create a fallback font for a text)

I need help prioritizing fonts for a paper writing about a constructed script that uses a font. However I want another font that will do the thing for a specific part of the font. for example i want a ...
user avatar
  • 83
0 votes
0 answers
15 views

Cannot compile correct fonts in LyX with sweave

Fonts in LyX look different when compiled without (first picture) VS with (second picture) sweave: What is happening and how can I resolve this issue? I'm using Windows 10, R 4.2.1 (with knitr and ...
user avatar
4 votes
3 answers
66 views

How to use Fira Sans and sfmath for a limited scope

I'm trying to define a document template, in which I have a serif-font for the main text and math, but just for my plots (tikz/pgfplots) I'd like to have a sans font, Fira Sans namely. I can load the ...
user avatar
  • 403
1 vote
1 answer
47 views

How can I select Cambria or Calibri fonts in Overleaf (for Greek language)?

I can't find a way to use the Cambria or Calibri fonts in LateX. How do I change fonts in LaTeX in general? In Microsoft Word e.g. there is an infinite number of font options. Is this true for LaTeX, ...
user avatar
0 votes
0 answers
85 views

What are the math fonts used in this page

I would like to use the nice fonts (text + math) of the following document (from the Encyclopedia of Mathematical Physics). I tried WhatTheFont but without a convenient result. I used pdffonts ...
user avatar
  • 141
2 votes
1 answer
32 views

Change style of \mathscr font

I've read some topics on basically the same question but the discussion went way over my head as I have a pretty basic knowledge about LaTeX. Basically, I'm using MacTeX with pdfLaTeX and Texmaker. I ...
user avatar
1 vote
1 answer
24 views

Different scaling for two different fonts with fontspec

I am using FONT A for normal face, but use FONT B when I need to print something in bold face. The problem is that the scaling of FONT A and FONT B is not the same. So, what I want to do is change the ...
user avatar
  • 290
1 vote
1 answer
58 views

How to access the long s from the gentium font?

The gentium font contains glyphs for the long s (U+017F) character and it works fine with XeLaTeX. But I'm using pdflatex and the gentium-tug package and I can't figure out how to access this glyph. ...
user avatar
  • 1,285
0 votes
0 answers
149 views

After updates from MikTeX Console, font size and letter spacing were altered

Recently, I opened MikTex Console in a machine running on Ubuntu 18.04 to check for updates and several dozen of available updates were listed. I accepted them all and successfully updated everything ...
user avatar
  • 1
0 votes
0 answers
36 views

What are the fonts that support greek language?

I am typing a document which uses both english and greek language.However when I attempt to change the font of my document In the case of many fonts that I have tried the change affects only english ...
user avatar
0 votes
0 answers
26 views

How can I use a custom mathbf font?

My current font configuration is as follows: \usepackage[T1]{fontenc} \usepackage[osf,sc]{mathpazo} \usepackage[scaled=0.90]{helvet} \usepackage[scaled=0.85]{beramono} \linespread{1.025} \...
user avatar
  • 187
7 votes
2 answers
340 views

How do I change the sans serif font in my document?

I am writing a document in Latex using the class scrbook and I have changed the main font to Palladio. The problem is that now I don't like the default sans serif font, and I would like to change it. ...
user avatar
2 votes
1 answer
52 views

Beginner Question: Idiomatic way to quote non-latin text?

I am a hobbyist and very much a beginner at LaTeX. I am typesetting a book and would like to include a quote written in Devanagari script. Here is what I came up with: \newfontfamily\devanagari{Noto ...
user avatar
0 votes
0 answers
26 views

LuaTeX compilation completed and no errors, yet font doesn't show up

I decided to try using some new fonts and LuaLaTeX, and so I downloaded some fonts and installed them using the instructions from the first answer in this post. I put the setup into my preamble and ...
user avatar
  • 163
0 votes
0 answers
44 views

How can I define a more "complex" font color?

I am trying to define the font color for a title and I want to set some more complex color like the one that is shown in the picture below: I know how to select a single color at a time however is ...
user avatar
3 votes
1 answer
105 views

How can I accurately determine the font size in a document?

I am new to Latex and from what I know I can determine the font size by using: \large,\Huge, etc. However, I want to know how to accurately determine the font size with absolute numeric accuracy. Is ...
user avatar
1 vote
1 answer
44 views

What other than fontsize does \normalsize change?

My lualatex + memoir book is using a lot of rubber spacing. I just realized that issuing a \normalspace changes a subsequent page break (and thus the entire document). This is a little too fragile ...
user avatar
  • 3,433
0 votes
0 answers
25 views

Problems with "Berling" font for a new Linux user

I have a template for the creation of posters that I need for the upcoming weeks. While compiling the template, the following error occurs: ! Package fontspec Error: The font "Berling" ...
user avatar
0 votes
0 answers
27 views

Word space missing after the word end with ligature character

word space missing few places in the output pdf, when using ArnoPro-Regular.otf font, especially the word end with f and next word start with single quotes ' I compiled the file through LuaLaTeX. How ...
user avatar
0 votes
1 answer
31 views

Changing the numbers' font in LaTeX is not working

I used a code I found here for changing the numbers' font in LaTeX but it doesn't work :( the name of my font is "MiLetra". I've already tried putting "MiLetra.ttf" and "...
user avatar
0 votes
0 answers
28 views

Adding strikeout to a \newenvironment command

We have defined a new environment to allow us to mark large blocks of text: \newenvironment{deletedParagraphs}{\par\color{red}}{\par} That environment works great to color the text red, but now we'd ...
user avatar
0 votes
0 answers
55 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 ...
user avatar
1 vote
0 answers
46 views

How to Install MLModern font?

When I enter the following code: \usepackage{mlmodern} I get a message that mlmodern.sty not found. There is no mlmodern.sty found at CTAN: https://www.ctan.org/pkg/mlmodern So, how can I install the ...
user avatar
  • 1,699
0 votes
0 answers
56 views

Is this a Symbol or a Font; and How to Reproduce?

In typesetting some Latin footnotes, I have come across this rather unusual depiction of ff: The double f looks to me like some type of a special symbol; but, I am wondering if it is the result of ...
user avatar
0 votes
0 answers
35 views

Identifying fonts/typefaces [duplicate]

I'm trying to identify two similar (to my eye at least) but different serif fonts to use for a custom LaTeX template. The first is that used in Superstring Theory by Green, Schwarz and Witten. It ...
user avatar
0 votes
0 answers
55 views

Change font for '+' and '=' in text mode

I would like to change the fonts for + and = in text mode (NOT math font) I mainly use both article and beamer document classes. For beamer class, instead of lmodern font, I like nimbussans package ...
user avatar
1 vote
1 answer
36 views

Changing font in various places of Orange Book

I'm using the LegrandOrangeBook, which has different fonts for the section headings and Table of Contents than it does for the main text. I do not like this look, and I would like to convert all text ...
user avatar
0 votes
0 answers
39 views

Line spacing and font in table

I am doing a document which needs double spacing and a font size of 12. I have the following lines of code: \documentclass[12pt,a4paper,oneside]{article} \usepackage{setspace} \doublespacing But I ...
user avatar
1 vote
1 answer
56 views

Applying font to a paragraph

I am doing my phd thesis and I want to apply a different font but only to the paragraphs of my document, I mean: only to some parts of the document. How could I do this? Moreover, does anyone know ...
user avatar
  • 131
0 votes
1 answer
56 views

Table of contents change font of numbers

I want to change the font of the numbers in the ToC. How do I do this? I am using font A for the words and I am using font B for the page numbers. I want to use font B for the numbers in the table of ...
user avatar
2 votes
0 answers
68 views

Problems with Libertinus math fonts after upgrading TeX Live

I have recently upgraded TeX Live (Mactex) from 2020 to 2022 and I am having some problems with the Libertine Math Fonts. The pdf output below is what the two systems produce from the same source: \...
user avatar
-1 votes
1 answer
20 views

Pandoc changes color from template after cursive

I am using pandoc to convert different documents into pdf. I have a template to include with the flag --include-in-header ~/path/to/template/pandoc_format_darkmode.tex -V geometry:a4paper -V geometry:...
user avatar
  • 29
0 votes
2 answers
43 views

Change the font of apostrophe inside a command

I can universally change the font of apostrophe ' using \def\myprime{{\usefont{T1}{ppl}{m}{n}\symbol{39}}} \catcode`'=\active \def'{\myprime} But, what I really wanna do is to change it only inside a ...
user avatar
1 vote
0 answers
24 views

how to use Poiret One font [duplicate]

how can I use poiret one font for just 2 or 3 lines (and not the whole text)? Is there a command like \textsf{word} for poiret one font type?
user avatar
1 vote
1 answer
28 views

How to make note bigger (musicography)?

How do I adjust the size of the dotted quaver note (I use the musicography package, but it could be any other package that is easy to use.) \documentclass{article} \usepackage{musicography} \...
user avatar
0 votes
1 answer
31 views

2 Page number troubles: title page and font

I have two problems with page numbering. I want to skip the numbering at page #1 I want to use another font (BookAntiqua) for page numbering (I am using an Arabic looking style for the main text, but ...
user avatar
2 votes
1 answer
36 views

package mlmodern with lualatex changes single quote in listings to backquote. How to fix this? [duplicate]

I like to use \usepackage{mlmodern} but I noticed it changes ' in listings. Is there to tell it not to do this? I use lualatex. Here is MWE \documentclass[12pt]{article} \usepackage[T1]{fontenc} \...
user avatar
  • 18.4k
1 vote
1 answer
44 views

xelatex printing two small ff in smallcaps font

I have used a font's capital letters to create a fake smallcap letters. The lowercase letters are just uppercase letters scaled at 70% and moved lower to match the base. Everything works great except ...
user avatar
  • 829
0 votes
0 answers
49 views

Numbers in small caps with Palatino Linotype

I'm using Palatino Linotype as my main font, with LuaLaTeX. As you can see from the image below, the numbers in small caps appear to be too small: The result using the font TeXGyrePagellaX (used by ...
user avatar
  • 6,566
0 votes
0 answers
19 views

Replace missing symbols from

I'm using Source Sans Pro both as the text and math font. However some symbols are missing in the Latex distribution I'm using (Overleaf 2017 Legacy) which I cannot change due to other complications. ...
user avatar
1 vote
1 answer
30 views

How to use \mathbb with this font?

I have been using the Garamond font for almost 10 years and now I decided to change, to try something new, and after having spent some hours in reading and looking for TeX Fonts, I came up with the ...
user avatar
  • 320
0 votes
0 answers
25 views

How to make the template bolder/stronger without \textbf or \mathbf?

Question: How can I make the display on Beamer to be bolder/stronger, at least like from latex2png??? Or should I just look for different Beamer template?? You can see here in my video on Youtube, ...
user avatar
0 votes
0 answers
21 views

Suggest a fitting math font for Sitka (text font)

I really like the design of Microsoft's Sitka font. I am searching for a mathematical font that would fit it well. I use fontspec and unicode-math to select the fonts. What I've tried so far: I ...
user avatar
  • 33
0 votes
1 answer
47 views

How to fix otfinfo?

I am trying to get some information about my fonts using otfinfo (came with Tex Live distribution) and the command line (cmd) in Windows 10. Tried many times with many different fonts (for sure in my ...
user avatar
  • 175
4 votes
1 answer
52 views

How can I pull a specific set of characters from another font in ConTeXt?

I'm using ConTeXt to typeset a long document, and I'm using the libertinus font. However, \mathcal{A} produces 𝒜 rather than a calligraphic 'A', like it does with other fonts. I can get a good ...
user avatar
  • 51
1 vote
0 answers
27 views

Generating table from lua with garamond font results in newline being unrecognized - kind of [duplicate]

This is really specific and really weird; I am trying to generate a longtable from Lua code, typset in the font GaramondNo8 (the exact one can be downloaded here). Weirdly, while the table is ...
user avatar

1
2 3 4 5
164