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
0answers
10 views

Changing the font for reference in theorem statements

I'm writing a document that has a part looking like this. Here's the code: \documentclass[a4paper]{article} \usepackage[utf8]{inputenc} % Change according to your operating system \usepackage{...
2
votes
0answers
56 views

What is the current status of Kashida (in bidi) with luatex?

I am trying to find out how to have Kashida justification in Luatex (in TexLive) for bidi text. Background: I can see by searching that support might appear in babel here but nothing implemented yet....
2
votes
2answers
50 views

How to make a set of real numbers symbol, but empty inside, like in the picture? [duplicate]

Does anyone know how to make a symbol of real numers like in the picture? I mean the same symbol.It's like R but empty inside.
0
votes
2answers
37 views

Redefining mathcal font [duplicate]

I am looking for a way to redefine the font that \mathcal uses in math mode. I would like any characters using the \mathcal{} function to be written in, for example, Asana Math font, and all other ...
0
votes
0answers
32 views

Force lualatex to **not embed** fonts [duplicate]

Referring to this tread: Does lualatex embed fonts for compatibility? I read there: Fonts are always embedded, unless explicitly forced not to But how can I force lualatex to not embed fonts ? ...
0
votes
0answers
32 views

“Missing $ inserted” when using “\setotherlanguages{arabic}”

I get Missing $ inserted error when using \setotherlanguages{arabic} to allow for Arabic text in Latex. The error appears only when specific templates are used, with custom definition. For example, in ...
6
votes
2answers
211 views

Load extra fonts with lualatex

I am preparing a document, which facilitates package fontspec to define the main- and the sans-font. In that document, I'd like to compare that main font with Computer Modern or—to be precise—it ...
2
votes
1answer
54 views

T1 fontenc - text not searchable

Whenever I use the T1 fontenc, the text of the output PDF cannot be searched. You can find a MWE below, the pdflatex output here and the log file here. \documentclass{article} \usepackage[utf8]{...
1
vote
1answer
42 views

Fonts in LaTeX--Charter

I'm using droidsans in conjunction with charter but for some reason I cannot seem to get droid sans to work. How might I get this font to work? \documentclass{article} \usepackage{droidsans} \...
0
votes
0answers
19 views

Error when using newpx and empheq with overload option [closed]

I face the following problem \documentclass{article} \usepackage{newpxtext,newpxmath} \usepackage[overload]{empheq} \begin{document} \begin{equation}\label{eq:test} \dot{a} \end{...
2
votes
1answer
36 views

MikTeX (Windows) to MAC OS (TeX Live)

I processed a project under Windows7, MIkTeX 2.9 (LaTeX) and used Bembo font for the entire text. One of the co-author asked to make the file to run in TeXLive in a Unix system with the same font ...
10
votes
2answers
1k views

How to set font to Times instead of Times New Roman

Word has two fonts, one called "Times" and another "Times New Roman". Everything I see about Overleaf/LaTeX mentions setfont or \usepackage{times} but then they mention this is for Times New Roman. ...
2
votes
1answer
58 views

Using Computer Modern \int symbol, with txfonts math font

I would like to use the standard \int and the \gammaup from the txfonts package. How can I mix these symbols? MWE: \documentclass{article} \usepackage{txfonts} \begin{document} Not the int I ...
0
votes
0answers
23 views

XeTeX and polyglossia: \normalfont problem solving leads to errors: Undefined control sequence. \selectlanguage *{latex}

I have to use XeTeX, because it helps to set an arbitary font both in a text and math mode (or newtxmath in a math mode). I've noticed that the polyglossia package has a bug with the \normalfont ...
2
votes
0answers
44 views

How to use Openmoji font in XeLaTeX?

I would like to use Openmoji font in my document. I've downloaded .ttf file of font from the site here. My document is the following: %%% File `main.tex` %%% \documentclass{article} \usepackage{...
0
votes
1answer
48 views

Problems changing the font of section headers in LateX template

I am converting Markdown documents via Pandoc to PDF, using a LaTeX template called Eisvogel. Pandoc is using pdfTeX, I believe. (I am rather new to all of this so please forgive me in advance!) The ...
4
votes
2answers
91 views

pdflatex fonts in lualatex

My company provides a pdflatex template for documents I edit. In particular, certain headings use a font that Adobe Reader calls URWGroteskT-Bold. That effect is produced as follows (standalone ...
0
votes
2answers
61 views

How do I get URW Nimbus Roman font? [duplicate]

I really like the font used in this article and want to use it in my documents. Does anyone have any idea of how I can do so? EDIT: I've found out that the font is URW Nimbus Roman (thanks for ...
1
vote
0answers
38 views

How can I use this font in LaTeX? [duplicate]

I encounter the font used for add-edge many times among documents generated from LaTeX, e.g. beamer presentations. But I have no idea how can I use this font in my own document written from scratch. ...
2
votes
0answers
86 views

What are “scrivener's tools” from Knuth's METAFONT book?

What is a scrivener's tool ? I've found this name in Knuth's METAFONT book. Google didn't help.
1
vote
0answers
40 views

Use custom math font only in parts of a document

Very similar to this question I would like to have a different, sans serif math font in (small) parts of my document. As suggested by this answer to said question, this can be acieved using \...
1
vote
1answer
37 views

Use \ttfamily font systematically in examples

My problem is as in the title: I want to use \ttfamily font systematically in examples only, inside \documentclass{amsbook}. I do this because I want to distinguish examples from the text around in ...
0
votes
0answers
47 views

Letter spacing seems particular cramped compared to a Word document :/

\documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{parskip} \setlength{\parskip}{1em} \usepackage{hyperref} \...
0
votes
0answers
31 views

How to find the 'font code' of adobe-utopia?

I'd like to change some paragraph or part of my text to have the font adobe utopia from here. It works if I set the whole document default to this font. But I would only need to use it like {\...
3
votes
0answers
73 views

What is the equivalent of math font used in old russian soviet books? [closed]

I've been searching a lot about typesetting in USSR, and I couldn't find what is the font, that they used to typeset formulas. The standard serif font in old soviet math books is called '...
2
votes
1answer
62 views

What's difference between \usepackage{palatino} and \usepackage{newpxtext}

I want to use the Palatino font without changing the math font, and it seems to me that both \usepackage{palatino} and \usepackage{newpxtext} give the same result. Can I use either?
0
votes
0answers
39 views

Getting new (Latex) fonts in Xfig

I'm using Xfig to draw pictures and diagrams and I love it. But there's the problem, that the fonts are limited. How can I import new fonts into The Font Menu for Ghostscript fonts. Especially I want ...
0
votes
0answers
15 views

Different Font size for chapter name and section name in the chapter

I have this command in the cls file of my project \newcommand{\bigsize}{\fontsize{16pt}{20pt}\selectfont} this gives same font size for the chapter name as well as the section name. How do I reduce ...
5
votes
2answers
138 views

Setting \familydefault as \sfdefault is causing the arrow character → to throw Package textcomp Error: Symbol \textrightarrow not provided

Minimal example: \documentclass[12pt,a4paper,english]{abntex2} \usepackage[utf8]{inputenc} \usepackage[full]{textcomp} \usepackage{mathcomp} \usepackage{helvet} \renewcommand{\familydefault}{\...
4
votes
1answer
126 views

How to save current \font so that it can be used again later?

I do \font\testFont="Arial"\testFont to set the font to Arial (or to any font I need), but after I'm done displaying some characters I need to revert to previous font. What can be done to achieve this,...
0
votes
0answers
19 views

Getting the right font typeface [duplicate]

I was told that to achieve the same font that appears on the following screenshot, I had to use \usepackage{lmodern}. But IMHO it does not look the same: DESIRED: MINE: \documentclass{...
2
votes
1answer
65 views

Fixed Tengwar text

It is possible to have a fixed Tengwar text, so that anyone, even without the proper fonts, can compile a document with this text? I have installed and followed this guide, and I can compile ...
1
vote
1answer
148 views

Missing (TFM) files since MiKTeX update

I use the Cochineal font for both text and math using the packages cochineal and newtxmath with the option cochineal. I use MiKTeX 2.9 on Windows 10. Everything worked perfectly fine until maybe a ...
1
vote
1answer
43 views

How could I change the Beamer class default font?

How could I change the Beamer class default font in order to use Futura or Gill Sans or any other font? Do I have to use Xelatex? This is a MWE : \documentclass{beamer} \usetheme{default} \...
0
votes
0answers
36 views

Conflict between accent package and open type fonts. What is correct order of loading font?

If I have one dollar for each time I find conflict between Latex packages, I would be a rich man :) Found that adding \usepackage{accents} after \setmathfont{Asana Math} causes error. But adding it ...
1
vote
1answer
21 views

Chinese characters render well in `document` and is missing in watermark

I am trying to display Chinese character in watermark, here is the code. \documentclass{article} \usepackage{xeCJK} \usepackage[printwatermark]{xwatermark} \usepackage{xcolor} \usepackage{graphicx} \...
1
vote
1answer
67 views

How to measure “whitespace” surrounding \textbullet?

There is a space on both sides of \textbullet as well as below it, and the space is actually part of the bullet itself. Does anyone have any idea how to measure it? I want to get rid of it by using ...
6
votes
1answer
225 views

ConTeXt: specify a path to font in \definefontfamily

I'm very new to ConTeXt, so please excuse the newbie question. I'm trying to load a font from a file. The .otf files are stored in a directory named fonts/ which is in the directory of the .tex file I'...
0
votes
1answer
41 views

How to use arphic-ttf with luatex?

I was previously using the arphic font package with cjk for Chinese in pdftex. For LuaTeX CJK, I understand luatexja is the package to use. I also see arphic-ttf. So, I'd like to try to use these. It'...
0
votes
0answers
74 views

Adding a TTF font to LaTeX: Which encoding?

The TTF font called Remeslo is available at several sites including Wfonts. I tried to follow posts on this site to add it by generating the following files: Remeslo.tfm Remeslo.afm Remeslo.vpl ...
2
votes
0answers
50 views

is this font called Computer Modern, is there a way to find out which font I am using on overleaf? [duplicate]

this code $\mathcal{Y}$ generates this symbol by default on overleaf is this font called Computer Modern, designed by Donald Knuth? is there a way to find out which font I am using on overleaf?
2
votes
1answer
39 views

Could someone please help to take a loot at this symbol that looks like E or L?

could someone please help to take a loot at this symbol I've tried E or L $\mathscr{L}$ $\mathcal{L}$ $\mathcal{E}$ $\mathscr{E}$ none of them renders that symbol. any clue would be appreciated....
1
vote
1answer
28 views

Font shrink in LongTable

I have a long table that I want to increase the font size. Please guide me to make this code. \documentclass[a4]{article}% \usepackage{graphicx} \usepackage{longtable} \begin{document} \begin{...
0
votes
1answer
69 views

Custom size of TTF font in title

I installed a font from .ttf via LuaTeX (mtxrun --script font --reload) but I am not able to use it in title with my own size. I have this: \definefontfamily[Signika][ss][signika] and I am trying ...
0
votes
1answer
68 views

Deploy custom fonts to shinyapps.io for application that produces an R Markdown report

I have a shiny application that produces an R Markdown report in pdf format, so I used also LaTeX to customise it. In my YAML I use the fontspec package to specify a custom font for the whole document ...
0
votes
0answers
33 views

How can I use the xfakeboldness package?

I'm interested in reproducing this answer using the xfakebold package. \documentclass{article} \usepackage{xfakebold} \newcommand{\fbseries}{\unskip\setBold\aftergroup\unsetBold\aftergroup\...
0
votes
0answers
22 views

problem with \frac [duplicate]

I am trying to get this equation: But this is the result: this is my code: \begin{equation*} adds =\frac{p}{(1-p)} =\frac{ la probabilitée de présence d'un caractéréstique}{la probabilitée de l'...
2
votes
1answer
49 views

How to change the math font for some “regular” font?

Relevant to those: Change math font only in some parts of a document? \setmathsfont can be used only in preamble https://latex.org/forum/viewtopic.php?t=30616 I'm trying to change the font at math-...
5
votes
1answer
159 views

Why is my font shape undefined?

I am trying to use the second answer provided in this post, which involves installing a new font. I use TeX Live (2017 release) under MacOS. I have installed the font and left the LaTeX code untouched ...
5
votes
3answers
194 views

How to correctly use newtxtext and newtxmath with luatex

I know I must be doing something silly here, but I do not know what. \documentclass[12pt]{article}% \usepackage{amsmath} \usepackage{fontspec} \usepackage{newtxtext,newtxmath} \begin{document} This ...