Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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}.

2
votes
1answer
58 views

Tex Gyre Bonum font

I'm writing a document using Tex Gyre Bonum as roman font and Tex Gyre Bonum Math as math font. But these fonts have different commas. So, commas in equation environments are not equal to commas in ...
5
votes
2answers
138 views

Is there a way to get `\mathscr' with lower case letters in pdfLaTeX?

The answer at https://tex.stackexchange.com/a/151552/ notes that in pdfLaTeX the command\mathscr from the package mathrsfs only supports capital letters. Will some other package let me use \mathscr ...
0
votes
0answers
20 views

pdflatex compilation font error

I am using MikTeX 2.9 in windows 7, while running pdf latex I am getting following error. "(see the transcript file for additional information) !pdfTeX error: pdflatex.exe (file t1-formata-bold): ...
0
votes
0answers
23 views

Greek letters are not displayed in the chinese text

When I replaced \mathbf{A} with A,$\Omega$ can be displayed,which reasons cause this problem? $\Omega$ doesn't show in the text. \documentclass{article} \usepackage{ctex} \usepackage{amsmath}% \...
0
votes
0answers
43 views

Slack style code in LaTeX

How can I get text to look like Slack inline code? An example is the pinkish redish text in the image below.
2
votes
1answer
21 views

Package dutchcal and \let command are not playing together as I expected

Given the MWE \documentclass{article} \let\tempcal \mathcal \usepackage{dutchcal} \let\dutchcal\mathcal \let\mathcal\tempcal \begin{document} \(\dutchcal H~~~\mathcal H~~~\tempcal H\) \end{document}...
3
votes
1answer
49 views

Use one font for `\mathcal`, but another font for general math (ConTeXt)

I want to use (for example) Tex Gyre Heros Math for \mathcal, but (for example) Tex Gyre Pagella Math in general for mathematics. (Why did I want to do that, because Pagella's \mathcal seems quite ...
0
votes
0answers
27 views

Special Formatting of Uppercase Title

Style To Replicate I have seen the style used above in multiple LaTeX documents but have not been able to identify how to replicate it. It makes the word all uppercase, with the first letter a little ...
2
votes
1answer
55 views

Selectively load a certain font

I'm using pdflatex, and I would like to load a specific font from a package. For example, I only want to use the mathfrak, mathcal, and mathscr fonts of stickstoo from newtxmath (but nothing else). ...
6
votes
1answer
49 views

convert ancient dvi file that uses special fonts to pdf?

I have a dvi file from 1989 that uses special fonts. The dvi file was created from LaTeX. I saved all of the LaTeX source, all of the .tfm files, all of the .pk files, all of the .pxl files, and all ...
2
votes
1answer
24 views

Multiple xeCJK fonts

I have set my main font for xeCJK to HanWangMingMedium, so that I can access old style characters. But, as a result, I no longer have access to Japanese kana: in the MWE, the katakana comes up as ...
0
votes
0answers
17 views

`kpfonts` light option

I am a bit confused by this sentence in the kpfonts package documentation: With the light option, the print is better than display! May I understand that the light option produces a better result ...
0
votes
0answers
13 views

Reledmac compiling with empty endnotes after package update

I have been working on a project for a few years now using reledmac. It uses both Tibetan and Devanagari (Indian) fonts. I haven't touched it in over a year, and when I went to compile it again ...
0
votes
1answer
67 views

TFM or installed font not found with fontawesome5 (on Overleaf v2 with XeLaTeX)

UPDATE My question relies on the result of compiling the test project I made (which I linked below), which clearly indicates that the fonts are not being found. While having the fontawesome5 package ...
10
votes
1answer
114 views

What is the least resource intensive way to generate the luatex font cache for a new font?

When a font is first used with lualatex, luaotfload does some magic to produce font cache files. For large fonts (e.g., Noto Sans CJK) this can take a lot of time and a lot of memory. I have an old ...
0
votes
0answers
37 views

Error loading .otf font in xelatex

I'm certain this must be a duplicate as there are lots of very similar questions, but none of the answers I can find work for me. I have a set of .otf font files (one each for the regular, italic, ...
4
votes
2answers
122 views

Font with correct density?

I'm writing a paper for university and my professor has some formal specification. We shall use Times New Roman, Arial or Tahoma as fonts. Clearly he thougth about Word when specifying this. So I ...
0
votes
0answers
36 views

How to disable `mktexpk` in `dvips`?

Consider this ex-14-5.mf: mode:=ljfour; % 600dpi for dvips (you must run "gftopk") mode_setup; beginchar("e",10pt#,7.5pt#,2.5pt#); pickup pencircle scaled (.4pt+blacker); draw fullcircle scaled .2w ...
5
votes
1answer
69 views

Why does Neo Euler font have different styles

In Neo Euler font there are often two are three variants of the same glyph, with different names. For instance uni0061 and uni0061.ssty2 Why have different variants and what are they used for?
0
votes
0answers
21 views

Out in pdf specific symbols set for different ss01…ssXX

Use: XeLaTeX How to put on in pdf file symbols set from "А" to "Я" in upper and lowercase for all present stylistic sets for font. So: ss01: абвгде.... АБВ ss02: абвгде.... АБВ ss04: абвгде.... АБВ ...
2
votes
2answers
73 views

lmodern + tipa cause first instance of diacritic to break

When I load both lmodern and tipa, the first instance of an IPA symbol with a diacritic breaks. For example, this code \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{lmodern} \...
0
votes
1answer
36 views

A replacement to “\mathbbm{1}” with type-1 fonts

I use the symbol "\mathbbm{1}" to produce a nice-looking "1" digit. But, then my PDF contains a "Type-3" font, which is not allowed by my publisher. Is there a replacement that does not use a type-3 ...
0
votes
0answers
23 views

PK font Lato-Italic-T1-TLF--base could not be created

I got the following error through using Miktex: PK font Lato-Italic-T1-TLF--base could not be created. Thank you for your comments in advance \documentclass[AMA,LATO1COL]{WileyNJD-v2} \usepackage{...
2
votes
1answer
35 views

newtxmath set braces

The behavior of set braces in newtxmath has recently changed for me. I can't find any indication of this change in the documentation. I'm wondering what has happened, if it might be a bug, and if the ...
0
votes
1answer
37 views

Use text font for punctuations in xelatex with unicode-math

Suppose I have the following declarations in the preamble \usepackage[utf8]{inputenc} \usepackage{unicode-math} \setmathfont{My Best Math Font} \setmainfont{My Best Font} and then some texts like ...
1
vote
0answers
33 views

Write “Monoton” Font in Latex

I want to typing "Special Function" in Monoton Font. How to do that? \documentclass[a4paper,12pt,twoside]{book} \usepackage{times} \begin{document} \begin{center} \textbf{{\Large SPECIAL ...
6
votes
1answer
133 views

Getting the || sign while using Kurier

If I compile the file: \documentclass{article} \usepackage[math]{kurier} \begin{document} $\|x\|$ \end{document} all I get is a x, whereas what I should get is ||x||. I found a way around this ...
0
votes
0answers
25 views

Math Symbol Horizontal Alignment

I'm now using TeX Gyre Pagella for text and TeX Gyre Pagella Math for math, with unicode-math package. But it seems that the math symbols are not in correct positions, compared with letters or numbers ...
0
votes
1answer
24 views

How to access `\ninerm` (and some others) font in pdfTeX?

I can only use \tenrm\, \sevenrm, and \fiverm fonts; there are no \ninerm or \sixrm. I would appreciate if you share how to make ALL of those font sequences work.
0
votes
0answers
19 views

\sfdefault font is not reflected in \textsf or \sffamily

I am trying to use AlegreyaSans as default font and cabin for sans font. As in the following snippet, cabin does load as \sfdefault but is not reflected in \textsf or \sffamily. I can force using ...
0
votes
1answer
78 views

Springer journal math font [duplicate]

I'm trying to troubleshoot proofs for an article in a Springer (linguistics) journal. It'd be useful to test out some potential solutions myself rather than describing what I want to the typesetters ...
0
votes
1answer
21 views

How can I change the font size of my table?

For my thesis I am trying to adjust the font size of my tables in LaTeX. However, I struggle to have a scriptize font size for my caption and for the entries in my table. Here's my code. I hope ...
0
votes
1answer
29 views

TinyTeX: Font TS1/ntxtlf/m/n/12=ts1-qtmr at 12.0pt not loadable: Metric (TFM) file not found

I'm trying to get a minimal LaTeX working inside a Docker container to support some documentation generation. Currently this is what I have going: RUN wget -qO- "https://github.com/yihui/tinytex/raw/...
3
votes
2answers
28 views

Import txfonts integral

I was trying to import the integral symbol from txfonts. In txfonts.sty I was able to find only multiple integrals of any type but the simple single one. I am sure I am missing something, can someone ...
1
vote
1answer
34 views

Section styling similar to the elsarticle class

Since I have become quite used to the style of Elsevier articles, I would like to adopt a similar style also for notes that are not intended for submission. In particular, I attempted to mimic the ...
5
votes
1answer
47 views

Switch off Old Number otf feature for line numbering in ConTeXt

I am using OldNumber features in my presentations, because I like them (de gustibus…). However they look quite odd when used to number lines. What should I do to have lines numbered the standard way ...
0
votes
0answers
43 views

Type of text in beamer - mathpazo [duplicate]

How can I change the type of text in beamer as shown in the image.
4
votes
1answer
48 views

Use default typewriter font only for a part of the document

I'm using the Inconsolata font provided by the zi4 package. But for a single macro, I want to use the default typewriter font (so not Inconsolata). Every other occurrence of \texttt in the document ...
1
vote
0answers
54 views

Using EB Garamond Bold with pdfLaTeX

So, EB Garamond got an update in the end of last year. Now it should also support bold text in pdfLaTeX, I supposed. But I still didn't get it working. Was I wrong to think that I could use my ...
2
votes
2answers
57 views

How can I get Greek bold letters?

I like to wrap linear algebra (matrices/vectors) with \mathbf{}. However, this doesn't appear to work with Greek letters (and who knows what else?). Is there a fix for this? I'm open to a range of ...
1
vote
0answers
73 views

Mixing fonts and microtype settings

I am defining fall backs for missing glyphs in a font and I am partly building on @egreg's answer to this question. Here's a MWE (never mind that the actual replacement defined here makes little ...
0
votes
1answer
16 views

How to set any font size for nodes in a “global” mindmap

I did not find an issue that would attempt to define a setting for the font size (including any font size) here at tex.stackexchange.com. There is a probability that I am posting an issue that will ...
0
votes
1answer
44 views

Use Utopia greeks with unicode-math

Is there a way to use TeX Gyre Pagella Math as the math font in a LaTeX document and substitute Utopia greeks? I knew how to get a mix of Palatino and Utopia with the pdftex engine by appropriately ...
3
votes
1answer
64 views

ConTeXt: TeX ligatures with Libertine

I noticed that libertine, at least as I load it, does not convert --- to – Consider this MWE \definefontfamily[libertine][rm][Linux Libertine O] \setupbodyfont[libertine,serif] \starttext \input ...
4
votes
0answers
37 views

yhmath, extensible parens, TeX chooses(?) wrong size

the yhmath fonts provide extensible parenthesis and other delimiters, as well as sqrts etc etc. Unfortunately it was found that the \biggl size is not correctly selected, as shown here The charlist ...
2
votes
1answer
59 views

How to change the font type and size of chapter title?

Right now I am getting my chapter title in the following font that is big-sized and bold: However, I want to change it to the following format, which is regular size, normal text, with regular font ...
0
votes
0answers
32 views

Section numbering and package “sectsty” together with “titlesec”

I use both packages. However, if I load sectsty before titlesec the section numbering of a subsubsection ends with 1.1, but has to 1.1.1. And if I load titlesec before sectsty, subsubsection ...
1
vote
0answers
85 views

Is there a little randomization on TeX default font which is not present in LaTeX default font?

It's more pleasing to me to stare at this... ... than to stare at this... One time Knuth commented that he prefers fonts with a little randomization on their design (Knuth, D. E. (1979). ...
1
vote
2answers
82 views

Fix some problems with a nice frame using tcolorbox

For my book I'm using this code (I have 4 with similar aspect) to put the important definitions, notes, and other. Here there is my MWE: \documentclass{article} \usepackage[most]{tcolorbox} \...
1
vote
1answer
60 views

How to outline Chinese font by xeTeX?

I am try to outline some Chinese fonts by using LaTeX, which could be done by MS Word easily. Basically here is what I want: I searched whole site and I found some topics about outline a font, where ...