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

learn more… | top users | synonyms (1)

0
votes
0answers
20 views

Writing a tex file with a specific font

In many online notes or books on Latex, the fonts I found were using commands \sf, \sc, and \rm. Beyond this, I have no idea of other fonts. Here, I was trying to type a file in the following type of ...
1
vote
1answer
46 views

Change font to “Times New Roman” in PDFLaTeX

Can anyone help me to change the font to "Times New Roman" in PDFLaTeX? I already tried using the commands below without results: % Font selection \usepackage[T1]{fontenc} \usepackage{times} \...
1
vote
1answer
42 views

How to change the fonts of this document?

I would like to modify the fonts used in that document which used \usepackage{mathptmx}. I thought it could possible using Xelatex, but I don't know to do it. This is my MWE : \documentclass[10pt,...
3
votes
1answer
125 views

fi ligature not shown in output

Words with fi are not shown properly. »find« becomes »nd«, »first« becomes »rst«. and I receive this error 'package inputenc error :unicode char \u8 not set up for use with latex I am writing my ...
23
votes
1answer
1k views

Handwritten comments and annotations in margin

Is it possible to typeset handritten comments and annotations in the margins around a parapgaph like in this example? What would be the closest approximation of this done in LaTeX?
1
vote
0answers
21 views

Why does setting \russianfont cause fontspec to find no support for Cyrillic in a font which works with \setmainfont and Russian as the main language?

This example is from ScumCoder's question, based on Grigory M et al.'s answer. If I compile the following code with XeLaTeX, all is well: \documentclass{article} \usepackage{fontspec} \usepackage{...
1
vote
1answer
45 views

XeLaTeX can't find font

Yes, I've seen this question. It is (1) five years old, (2) answered with answers that do not work for me, and (3) I don't have enough reputation to comment (and posting question as an answer seems ...
0
votes
0answers
23 views

wrong output using \lim [duplicate]

I want to write an equation than contains a limit using the following MWE: \documentclass[a4paper,openright,12pt]{book} \usepackage[a4paper, total={165mm, 240mm}]{geometry} \usepackage{fancyhdr} \...
5
votes
1answer
63 views

How can I extract font information while isolating the scope of the target font?

(I had to change the title of this question, sorry early viewers.) I knew all along that I had serious scope issues, but the code was "good enough" until now. My code was working fine for me because ...
2
votes
1answer
53 views

How to automatically adjust font size for listings, so it fits gives amount of textwidth?

For code listings, I often change the listings parameter basicstyle to adjust the font size so that listing fit within the container it is in. I mainly use a cell in a table to display small listing ...
1
vote
0answers
108 views

How I can get this style book

This is an excerpt from p. 35 of Barrett O'Neill's book Semi-Riemannian Geometry with Applications to Relativity. Could any one tell me how I get the same style to write similar style book, in all ...
1
vote
0answers
23 views

How to change glyph in cmcbxti10 Type1 font?

Glyph 111 of Type1 font cmcbxti10 has some protrusions on top and on bottom. Consider the following MetaPost file: prologues := 3; outputtemplate := "glyph%c.eps"; beginfig(1); picture a; a = ...
0
votes
0answers
34 views

Creating macro for double-Sig rune (SS)?

I'm (almost) a complete novice when it comes to TeX, and this question is more for my curiosity than anything else... I've read quite a few books about WWII and the Nazi-German occupation of Europe, ...
0
votes
0answers
21 views

XCharter font changes sans serif font as well [duplicate]

I'm trying to use XCharter font for regular text and gillius2 as sans font. Either font works fine when used individually. But when used together, the final document doesn't display sans serif font at ...
4
votes
0answers
50 views

How to specify font preferences in XeTeX math mode?

I would like to use specific fonts in the math formulas in a document I am writing. I mainly want to use the "great escape" font. After some search on the web I tried the following code: \...
0
votes
1answer
48 views

How to use Friz Quadrata font

I can use the Friz Quadrata font to write documents in LaTeX? If so, how? I have long sought a solution in the web, but I found nothing. I'm using TexWorks 0.46
3
votes
1answer
58 views

Making TTF font LaTeX-ready

A while ago I found Type-1 font and wanted to use it in LaTeX. I posted the problem and community helped me to solve it - please take a look here. So now I found a TTF font and my question is: "What ...
2
votes
1answer
46 views

LuaTeX does not find dfont fonts

I am currently working on my master thesis for which I use LuaLaTeX and Helvetica as my main font. I include it like this: \usepackage{fontspec} \setmainfont{Helvetica} This used to work quite well....
0
votes
1answer
45 views

Mdframed for theorems: how to make fonts similar to amsthm and change title format?

I am making a custom book style for my thesis, and I came up with a style for the theorem environments that I like, as you can see in the image below. However I have two problems: I would like the ...
5
votes
2answers
120 views

setting font size in XeLaTeX

Previous questions have sought a straightforward way to specify font size (e.g., in points) of a new font family when using fontspec. One reason for why this might be needed is that some journals ...
1
vote
1answer
49 views

How can I write a bold version of the reduced Planck constant, `\hbar`?

I've tried \mathbf{\hbar}, \boldmath{\hbar}, and \boldsymbol{\hbar}, but none of them produce a bold version of the symbol.
2
votes
1answer
33 views

spacing between the paragraphs in lyx?

I am writing my thesis using the standard report class. I want the TOC to have bold font for the chapters and the section but not for subsection. I use the following in the preamble \usepackage{...
5
votes
0answers
81 views

ConTeXt is loading fonts, dependent on the cwd

I have a ConTeXt source file: ~/foo/mwe.tex \definefontfamily [mwe] [serif] [EBGaramond] \setupbodyfont [mwe,14pt] \starttext `If you optimize everything, you will always be unhappy.' -- Donald ...
2
votes
1answer
39 views

Numbers in a table with dcolumn in different font?

I am using beamer and the dcolumn package and cannot get the numbers within a table to be in a different font. I also cannot use the siunitx package because I have numbers in brackets. Before defining ...
0
votes
1answer
44 views

Weird row height behaviour in tabular

I have a tabular which I fill with "+" signs for some reasons. This is what happens: As you can see, for some reason there is space added on top of the row, making it higher. If I remove all the ...
0
votes
1answer
95 views

Font ygoth at 720 not found

This is what happens when i try compile on miktex via pdflatex command my .tex file I have MikTex 2.9. This problem doesn't happen with it on another computer with MiKTex 2.9 Both miktex's are just ...
3
votes
1answer
71 views

TeXlive 2016 error with literat (Literaturnaya) font

It is so strange that no questions on the whole website are dedicated to the Literaturnaya font (despite its frequent use in Russian documents 10 years ago or so), and only two questions reference it! ...
2
votes
1answer
30 views

CMBright for text only

How to use the CMBright font for text only, no into the math mode? I want CMBright for text and keep default font for math mode... with... Thanks in advance.
4
votes
1answer
95 views

How to write this type of L in equation latex [duplicate]

How I can use this style of L in math mode?
2
votes
1answer
77 views

Type 3 fonts in output PDF file

I am trying to submit an article through ScholarOne Manuscript Central. However, when I try to look at the PDF proof I get the Font Type 3 error. I have used PDFLatex to compile the file, using eps ...
3
votes
2answers
58 views

How to suppress font information from pdftex terminal output?

I would like that pdfTeX printed terminal logs in the same format as TeX. Font information (especially when a lot of fonts are used) makes the log output hard to read. In the following example how to ...
1
vote
0answers
43 views

Missing Dejavu Font

I have just installed MacTex and I am running this simple program: \documentclass[12pt]{article} \usepackage{fontspec} \usepackage{dejavu} \begin{document} \setsansfont{DejaVu Sans} \setromanfont{...
0
votes
1answer
43 views

Overview of Arabic fonts available for LaTeX/XeTeX?

is there an overview available for Arabic fonts in LaTeX / XeTeX? Ideally with output examples, so that it becomes clear how they compare. So far, I'm aware of Geeza Pro, Amiri (and its variants), ...
1
vote
2answers
75 views

Upright sans serif greek in math mode

Consider the following MWE, which typesets some sans serif math that I'm using in a presentation: \documentclass{article} \usepackage{sansmath} \usepackage{amsmath} \begin{document} \sansmath \[ w\...
6
votes
1answer
72 views

Remove ligature in a font using luaotfload (TeXLive 2016)

The luaotfload package in TeXLive 2016 has an interface to add new font features and replace the FeatureFile feature of fontspec in previous versions (see the following patch: https://github.com/wspr/...
0
votes
0answers
9 views

How to allow scaling when using fontinst?

I am tinkering with a set of .pfb and .afm files by means of fontinst. So far, the generated fonts don't allow scaling. Is there an automated way for me to generate proper metrics and font definition ...
1
vote
0answers
50 views

If both OTF and TTF variants of a font are available, which one to download/use?

I am missing Linux Libertine font on Windows. So I want to download it. It is available both as TTF and OTF. Which one should I download and install when my intention is to use it with XeLaTeX and ...
4
votes
2answers
80 views

Sans serif upright greek in math mode

I need to write a document with the Helvetica font and found sansmathfonts to be good matching counterpart for math, but I'm open for other suggestions. Now I'm really struggling to get sans serif ...
1
vote
1answer
31 views

How to change the font for acronym descriptions using glossaries

I am using glossaries and want to change the appearance of my acronym descriptions to a font without serifs. I managed to change the acronym name but can't seem to find a switch to change the ...
2
votes
1answer
38 views

Eulervm: Use digits from other font

Is there a ways to the digits from another font for math? Ideally I would like to use ebgaramond as a main font and the old style figures form MinionPro for math since the old style digit 1 of ...
4
votes
1answer
50 views

How to align dancers font chars within a TiKZ table

I want to draw a TikZ table with two columns, the left column contains letters from A to Z and right column the corresponding dancer. The code I use is: \documentclass[a4paper, 12pt,landscape]{...
4
votes
2answers
102 views

How do I load a texlive font with fontspec?

This is a XeLaTeX question. It seems really silly to ask after many years of using fontspec and XeLaTeX. I suppose I have always found a workaround. This time, I'd like a definitive answer. ...
3
votes
1answer
125 views

Noto CJK font issue with LuaLaTeX

I am seeing the following error at the very end of first pass when I am trying to build my document: </usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc(NotoSansCJKtc-Regular:3) !LuaTeX error ...
1
vote
0answers
24 views

Install newtx on Linux

I'm coming from this issue Problem with new MNRAS style files / newtx on arXiv. I'd like to install the newtx package on Linux Mint. What texlive bundle should I install?
8
votes
1answer
139 views

scale dancers font

I would like to use dancers font in beamer. I've converted Ulrike's answer to Use dancers with Miktex into a command and I can write the text I want, but I don't know how to make it larger. I could ...
2
votes
0answers
48 views

Small Caps not working for non-LaTeX font

I'm using a special font called 'Brandon Grotesque' (it has to be exactly that one) for a presentation based on the Beamer class. When trying to get small caps output, it doesn't work. I'm using ...
3
votes
0answers
61 views

Trouble with fonts in XeLaTeX in MacTeX 2016

Consider the code % !TEX TS-program = XeLaTeX % !TEX encoding = UTF-8 Unicode \documentclass[11pt]{book} \usepackage{unicode-math} \setmainfont [Ligatures=TeX] {TeX Gyre Pagella} \setmathfont [...
2
votes
1answer
85 views

Using Times New Roman

\documentclass[11pt,twoside]{book} \usepackage{array,tabularx} \usepackage[ngerman,american]{babel} \usepackage{amsthm,amssymb,mathptmx} \begin{document} \begin{equation} R_{...
2
votes
2answers
56 views

How to specify document font size less than 8pt?

I want to use the smallest readable font for cheatsheet, \documentclass[6pt]{extarticle} doesn't work
2
votes
0answers
68 views

Text in pdf output not recognized

I am writing my first document with Latex, so please be patient ;-) I've searched through forums again and again but was unable to find a solution. I am working with Texmaker and when compiling my ...