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
1 vote
1 answer
35 views

pdflatex: glyph ... undefined. How to properly solve this problem?

I use the package newpx with pdflatex (on Ubuntu 20.04, texlive installation), and I'm seeing a "glyph `section' undefined" error. Here's a minimal working example and the output: \...
pglpm's user avatar
  • 301
1 vote
1 answer
39 views

Compile LX fonts demo on LuaLaTeX

I want to compile the LX fonts demo on LuaLaTeX. Because I would want to use this font for my future presentations. Furthermore, I only use LuaLaTeX. I'm not sure how to correctly proceed to rearrange ...
miticollo's user avatar
  • 119
1 vote
2 answers
438 views

What font is it that was used in this document?

I was wondering if anyone knows the name of the font used in screenshot below? Thanks in advance!
Kon372's user avatar
  • 11
1 vote
1 answer
60 views

TeX Gyre Cursor sometimes renders incorrectly

\RequirePackage[OT1]{fontenc} \documentclass{minimal} \usepackage{unicode-math} \setmonofont{TeX Gyre Cursor} \begin{document} \texttt{We shall fill in the blank.} \end{document} Unfortunately ...
zhtluo's user avatar
  • 13
0 votes
1 answer
36 views

How to change default series of ttdefault?

I am using Cascadia Code font as my tt font, and I wish to use Light series as upright font, LightItalic as italic font, Regular as bold font, and Italic as bold italic font. I am not considering ...
cylee's user avatar
  • 103
0 votes
0 answers
45 views

Can you identify this script font? [duplicate]

When reading a book, I saw a script "I" (capital i) of a font that I haven't been able to identify. It looks like this: Does anyone have an idea what font this is? I would like to use this ...
Ileska's user avatar
  • 1
0 votes
0 answers
27 views

fontspec load font in Ubuntu Mantic

I am compiling with xelatex sample.tex, but am not able to use a font on the newer version of Ubuntu (Ubuntu Mantic). How can I use the Ubuntu font in my compiled LaTeX PDF documents on Ubuntu Mantic ...
tfstwbbnb's user avatar
0 votes
1 answer
48 views

XeLatex typeset the document with Segoe UI

I try to change the font of my document with \setmainfont{Segoe UI}. The point is that it should work on other machines also, without installing extra fonts. Latex packages are no problem. I tried \...
3dSpatialUser's user avatar
0 votes
1 answer
44 views

Font too thin and lines disappearing

I am having issues getting a nice font for my paper as whatever I try, the serif font just looks way too thin in places and parts of characters are disappearing. You can see it in the "A", &...
stimulate's user avatar
  • 107
0 votes
0 answers
18 views

xelatex font search path

I am using Linux Ubuntu, using Tex Live 2023. I have fonts in both directories /usr/local/texlive/texmf-local and in /usr/share/texmf/fonts. But my xelatex installed in /usr/local/texlive/2023/bin ...
tapa1euro's user avatar
4 votes
0 answers
37 views

How to set default fonts to custom families defined with babel?

I have custom font files which I load with \babelfont with custom settings: \babelfont{assistant}[ Extension = .ttf, Path = ./fonts/assistant/, UprightFont=*-Regular, BoldFont = *-Bold,...
Shai Avr's user avatar
  • 387
0 votes
0 answers
30 views

How to Set Different Font for Numbers in Polyglossia (XeLaTeX) for Arabic/Persian Text?

I am working on a document using XeLaTeX and Polyglossia for typesetting Arabic/Persian text. I'm trying to set a specific font for numbers (0-9) while keeping the main font (Vazirmatn) for Arabic/...
Floris's user avatar
  • 77
3 votes
0 answers
82 views

How to set the document to use a new font defined by the \font command?

I have defined a new font with the following command: \font\cmtwelve=cmr10 at12pt (credit: https://tex.stackexchange.com/a/696568/24048). Now my question is how to use this font in my document, in the ...
f10w's user avatar
  • 717
1 vote
1 answer
53 views

Handwriting font lowcase letters and math

How can I make the math formular also as handwritten? And can I make the letters in the handwritten be as written on screen with lower case? As you can see both g af b are written as G and B. \...
Jakob Kruse's user avatar
8 votes
1 answer
992 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 ...
f10w's user avatar
  • 717
0 votes
1 answer
40 views

Automatically set command for each capital letter in `\mathsf`, `\mathbb`, and `\mathcal` [duplicate]

I typically create new commands for every capital letter in \mathsf, \mathbb, and \mathcal. # Sans-serif capital letters \newcommand{\Asf}{\mathsf{A}} \newcommand{\Bsf}{\mathsf{B}} . . . \newcommand}{\...
Physics_Student's user avatar
2 votes
1 answer
232 views

\textbf \texttt \textit is not working anymore

I am trying latex for the first time to write an essay for school, in the beginning the \textbf \texttt and \textit worked normaly. But i started to use more and more different packages and copied ...
Gijs van Asten's user avatar
1 vote
0 answers
75 views

LaTeX uses Extra ITS Math font, but I can't find it on my computer. Where is it?

In the pdf file created by LaTeX, I see a symbol font named Extra ITS Math, which I can't find on my computer and can't use in other programs such as OrginPro or Python. I have searched for it on the ...
Y. zeng's user avatar
  • 1,081
5 votes
3 answers
599 views

Use same font in text and math operators sin, cos, log etc

I am making my presentation in beamer and want to use a sans font for text and mathpazo font for math. I would like, though, that operator names are by default set in the same sans font as my text, ...
innisfree's user avatar
  • 528
0 votes
0 answers
28 views

how do I clear these errors and turn this code into a document using latex in codio?

I'm using latex inside of codio for class and can't turn code into pdf. the errors are keeping me from compiling and turning this into a pdf document.
Sherrod's user avatar
4 votes
1 answer
87 views

Simplify code for a < sign in Metafont

As I am a beginner in Metafont, I am still not sure if my code is efficient. I would like to replace the Computer Modern's less than sign by a new one, which has rounded corners. I found 2 ways: The ...
Weißer Kater's user avatar
2 votes
2 answers
118 views

How do I use semibold from the ebgaramond package?

According to the readme of the ebgaramond package it adds font styles: What do I have to do to set a certain part of the text to semibold? What do I have to do with the sb?
Christian's user avatar
  • 329
2 votes
0 answers
57 views

Help replicating 1960s-1990s old eastern bloc font

I have been trying to replicate the font and formatting from my old maths books from the eastern bloc, and I cannot seem to replicate it. Either the font is correctly slanted, but the shape is wrong, ...
texarch's user avatar
  • 21
1 vote
1 answer
28 views

KOMA-script: set police style within section titles

Using Lualatex in conjunction with KOMA-script and a custom police (Heofler Text), I had to manually specify which file corresponded with BoldItalicFont. However, this is not taken into account within ...
jfk's user avatar
  • 101
2 votes
2 answers
119 views

Half fraction symbol in the style of pifont's xmark/cmark

As noted in this answer, the pifont package provides a set of dingbats which includes a popular \xmark and \cmark pair as displayed below. \documentclass{article} \usepackage{amssymb}% http://ctan.org/...
Seraf Fej's user avatar
  • 121
0 votes
0 answers
24 views

achemso - How to change the author email font style

Is it possible to adjust the font sytle of "E-mail:[email protected]" to Time new romans when using achemso? The font style is always CMS S 12. This is an example document I have. \author{...
wenzheng ye's user avatar
1 vote
1 answer
56 views

Setting main font using Lualatex does not have any effect

the problem i am facing is the following. For a thesis i need to set the font type a specific one, so i decided to use Lualatex for that. Used a given template which i modified. It does not throw any ...
over_flower1010's user avatar
8 votes
1 answer
300 views

How to access non-Unicode glyphs from OTFs with Lua(La)TeX?

I opened Shobhika font in FontForge and it has certain glyphs which I am guessing aren't encoded in Unicode (if I understand this business correctly). E.g., have a look at the following slot. What I ...
Niranjan's user avatar
  • 3,070
1 vote
1 answer
71 views

scrlttr2: Changing the font of all elements at once

The scrlttr2 documentation states on page 183 With the help of the \setkomafont and \addtokomafont commands, you can attach particular font styling commands that change the appearance of a given ...
804b18f832fb419fb142's user avatar
0 votes
2 answers
88 views

Why does Linux Libertine in Latex look different than a local copy of the font?

Consider this short latex document: \documentclass[12pt, a4paper]{article} \usepackage{libertine} \usepackage[margin=20pt]{geometry} \begin{document} \makeatletter \noindent \normalsize The quick ...
Victor Nordam Suadicani's user avatar
7 votes
2 answers
101 views

Use l3build to build and package a font package

I would like to use l3build to build and package a support package for a TrueType/OpenType font. File Layout truetype/MyFont.ttf build.lua my-font-package.dtx my-font-package.ins File Contents build....
Stephan Lukasczyk's user avatar
-1 votes
0 answers
26 views

create a custom symbol in latex and export it as a symbol for Microsoft Word

Is there a way I can create a special symbol in latex and export it as a character/symbol for Microsoft Word? Perhaps as a .ttf file to import into Word.
Py-ser's user avatar
  • 233
0 votes
0 answers
230 views

Embedded fonts in pdf

How do I produce a pdf, with xelatex, in a way that all fonts are embedded? I was under the impression that this was default but the printer says that they are not, and I use probably some fonts that ...
Haim's user avatar
  • 457
0 votes
1 answer
42 views

Metric (TFM) file not found for manually installed package

On Kubuntu 22.04, I installed manually the yhmath package. I downloaded the zip file, extracted and ran make in the package. It is now in the directory ~/texmf/tex/latex/yhmath. I ran texhash ~/texmf ...
Gribouillis's user avatar
2 votes
2 answers
48 views

Change fontfamily in tcbox

\documentclass{article}%https://github.com/readme/featured/nasa-ingenuity-helicopter \usepackage[left=1cm, right=1cm, top=1cm, bottom=1cm]{geometry} \usepackage[T1]{fontenc} \usepackage{cascadia-code}...
WinnieNotThePooh's user avatar
8 votes
3 answers
535 views

Palatino kerning issue

There are a number of digital versions of Palatino: Palatino LT Pro, Book Antiqua, TeX Gyre Pagella, Domitian and FPL Neu. In a number of these (which include the version I am using) there is a ...
habba082's user avatar
0 votes
0 answers
54 views

How to write "Half Blood Prince" in Latex [duplicate]

May you introduce me somehow to write this quote with its font in Latex ? I'm very appreciated.
PermQi's user avatar
  • 21
4 votes
2 answers
323 views

How to use the (restrained) "CM calligraphic, cmsy" font?

How to use the (restrained) "CM calligraphic, cmsy", mentioned in "What are all the font styles I can use in math mode?"? Can you provide a minimum working example please?
Ommo's user avatar
  • 481
1 vote
0 answers
40 views

How can I enable common Latex shortcuts for em-dashes (---) and quotation marks (`` '') while using a system font?

I am using TexpadTeX (from the Mac application Texifier/TexPad) and am trying to use Adobe's Garamond Premier Pro font, which is a system font on MacOS. I'm also very used to using some widely-used ...
protagoras's user avatar
0 votes
0 answers
66 views

Using the default Times font in XeLaTeX

Is there any way to use the old Times font (triggered by \usepackage{times} in pdflatex), along with other fonts in XeLaTex? I know I can use Times New Roman or TeX Gyre Termes, but neither of them ...
Tuetschek's user avatar
  • 227
1 vote
2 answers
80 views

Trying to get {\mathcal n}, and I get the backslash \

I am trying to get {\mathcal n} within an equation, but instead I get the backslash (\). I would be satisfied with a smaller version (say, 75%) of {\mathcal N}, or some other smallish scriptish ...
Wayne Saslow's user avatar
4 votes
2 answers
333 views

Changing mono font with PDFLaTeX

I'd like to change the default monofont (used with \texttt{} and \url{}) to "CMU Typewriter Text Variable Width", without touching the default main font. I was able to do it with \usepackage{...
Flip Tis's user avatar
0 votes
0 answers
20 views

"\usefonttheme[onlymath]{serif}" Does it have an article counterparet? [duplicate]

In the beamer, the default font of math formulas are with no serif. If we want the formulas to have serif like the default font in article, we need to use \usefonttheme[onlymath]{serif} . But this ...
Asigan's user avatar
  • 101
1 vote
1 answer
30 views

Installing specialist "metsymb" font via Tex Live Utility leads to LookupError

The metsymb package was just uploaded to CTAN. This is the final stage in a long process to include (custom) vectorial symbols in Python plots via LaTeX - and for which I already got a lot of help ...
fpavogt's user avatar
  • 201
0 votes
2 answers
64 views

Math Fonts for Cochineal package

I like to use the cochineal font for my document, however for this font I understand there are no corresponding mathematical fonts. So I am asking if anyone knows of any font similar to cochineal that ...
SimoPape's user avatar
2 votes
1 answer
145 views

Font warning: Why do size substitutions happen?

I apologize if this question isn't allowed... I'm trying to understand some warnings output in the LaTeX log file after compiling (with xelatex). One has to do with font sizes: LaTeX Font Warning: ...
serval's user avatar
  • 97
1 vote
1 answer
43 views

Increase size of superscript letter diacritics

I'm working with transcriptions of medieval texts and so have to deal with diacritic craziness while also being limited to the Libertinus Serif font which has dismal support for superscript letters. ...
Jipí's user avatar
  • 1,037
0 votes
0 answers
69 views

Is normal Garamond a part of installed font for Latex?

I was trying to use Garamond for my pdf document by using pandoc, but it seems that there is no fontfamily for a normal Garamond although it is in the catalogue(https://tug.org/FontCatalogue/garamond/)...
kcho17's user avatar
  • 15
0 votes
1 answer
82 views

How can I use the installed "Adobe Garamond Pro" font?

I am using pandoc to convert .txt to .pdf. I was trying to use the font Adobe Garamond Pro which I installed on my Mac, but I couldn't generate a .pdf file with the font (it keeps displaying the ...
kcho17's user avatar
  • 15
0 votes
0 answers
32 views

How create font table for Computer Modern typewriter style?

What is the correct form of the \xfonttable (or other) command from the fonttable package to produce the font table for Computer Modern Roman typewrite font?
murray's user avatar
  • 7,650

1
2 3 4 5
175