{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)

3
votes
1answer
45 views

Change font name in Linux

I'm using different fonts in XeLaTex. However, there are some fonts installed in the same name in my system. How can I change the name of the fonts to distinguish them in Linux System?
4
votes
2answers
168 views

How to get currently used math font? Or: How to ensure use of math font in pgfplots axis labels and ticks even if overwritten by text string?

Preface: An axis plotted with pgfplots is usually using the current math font for its ticklabels. But if they are overwritten by e.g. xticklabels={-8,-6,...,8} then the current text font is used. ...
5
votes
1answer
388 views

How is this layout achieved?

I really like the layout of this document. I'm guessing the package marginnotes is used, and the text font seems to be Palatino, but what's going on with the math font? I wasn't aware that maths fonts ...
1
vote
0answers
28 views

How can I choose math font suitable for UTM Androgyne? [closed]

I use \setmainfont{UTM Androgyne} http://fontchudeputm.blogspot.com/2009/08/utm-androgyne.html in my document. Now I am looking for math font suitable for this font. How can I choose math font ...
2
votes
1answer
59 views

Change appearance of footnotes

I need to change the appearance of footnotes in a document that uses the book class. In the document, I am using a custom TrueType font that is scalable and can do half-point sizes, e.g., 10.5 pt, ...
1
vote
2answers
82 views

Does anyone know what symbol this is? [duplicate]

Does anyone know what symbol this is? I think it is M but I'm not sure which font.
1
vote
1answer
57 views

“tilde” glyph is copied incorrectly from LM-fonts

Copy the text from resulting pdf and paste it somewhere: \font\tentt=rm-lmtt10 \tentt a\char'176 b \font\tentt=cmtt10 \tentt c\char'176 d \bye For me (TeX Live 2015) the first tilde is inserted ...
1
vote
1answer
31 views

How to set caption font to \uppercase? [duplicate]

I want to set the caption font for all tables in the document (so I want to do it in the preamble, and not have to specify it in each table) to use uppercase letter (not sc, the small case already ...
1
vote
0answers
38 views

Using Fonts with a downloaded Template

I downloaded the deedy resume template and it came with some fonts and a .cls file I got the template to begin to typset after moving the .cls file into the folder with the .tex file, but then I get ...
0
votes
0answers
42 views

tikz based font package - no need for font installation

As I understand, if one wants to add a font package to latex for example bbm one also needs to install the fonts in the computer separately. so I thought of the option to create latex fonts using tikz ...
1
vote
2answers
77 views

Relative text size in TikZ

I'm trying to design an academic poster for a conference. I have a very specific layout that I'd like to implement. Unfortunately, as this layout is bespoke, no templates will allow me to achieve this ...
2
votes
1answer
40 views

Beamer: Why does title of block become unreasonably large for roboto font

The MWE below produces a Beamer block with a too large title area. Commenting out either of the second or third line fixes the problem. How can I fix it if I want to keep both lines? ...
2
votes
1answer
62 views

Ugly artifacts when using Helvetica (tgheros), Beamer, and pdflatex

First, please note that this question pertains to pdflatex, not xelatex or lualatex. I cannot use any solution involving packages such as fontspec. I'm trying to use Helvetica or a similar font in ...
3
votes
1answer
118 views

Euclid Math Type One character

I want to use just a single character (the capital G) from the Euclid Math One font in a latex document. How can I do that without using Xe or LualaTeX? Here is the preamble: ...
1
vote
1answer
35 views

Using 'kmath' in XeLatex

I'm using the Kerkis font family in XeLatex, but math-mode uses the default font. I have installed the OTF font files and it works fine for text when I am specifying it as the main font like this: ...
2
votes
1answer
42 views

Using `\mathcal` With and Without Package

This is going to seem like a simple question. However I hope it gets answered nonetheless. So, I want to be able to use the default \mathcal font setting AND the eucal-package font setting as well. ...
0
votes
1answer
143 views

New font file not found with MiKTeX installation

I am trying to use Latin Modern fonts in my document (using MikTeX in Windows 10, 64-bit). I have the following in my header: \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
28
votes
6answers
2k views

What is the history of the ß (Eszett) in the T1 encoding of Computer modern?

In the default font (Computer modern) the ß looks ugly to me. It really sticks out on a page as if it would come from a different font. Here's an image: What is the history of this character? ...
3
votes
0answers
90 views

Getting TexLive Recommended Fonts after installing MacTex-2015 on El Capitan

I downloaded and installed MacTeX-2015 on a brand new Mac OS/X El Capitan system, then ran pdfTeX (i.e. Plain TeX) on an old .tex file and got the following error that I'm hoping you can help me ...
3
votes
0answers
57 views

Devanagari conjuncts not working with some fonts

I use XeTeX, Version 3.1415926-2.4-0.9998 (TeX Live 2012/W32TeX) on Windows 8. I am experimenting with three Devanagari fonts which come bundled with Windows 8: Arial Unicode MS, Mangal, and Nirmala ...
1
vote
2answers
44 views

Custom command exceeds my textwidth

I have a problem I do not know how to handle: I need to include some small words of code - these can sometimes be longer names of something. To display this is a name of a code piece, I've made a ...
3
votes
1answer
96 views

Using Pandoc and Xetex with Tufte-Handout class gives fontspec error

I'm using Pandoc with xetex to attempt to create a pdf from a markdown document. In the metadata of my document I have the following: --- documentclass: tufte-handout classoption: nohyper --- The ...
3
votes
1answer
86 views

how to auto turn only the first letter of chapter into uppercase?

I want to auto turn only the first letter of chapter, section and subsection into uppercase. Can this solve that? \usepackage{titlesec} \titleformat{\section} ...
2
votes
0answers
24 views

Disable italic in math environment [duplicate]

I have one quick question, is there a way to disable the italic font in general in the math environment? cheers
7
votes
1answer
117 views

Incorrect digits font with newtxmath and Luatex/Xetex (since Texlive 2015)

I used to use Luatex and a combination of the packages fontspec and newtxmath to have everything set in Libertine. However, it does not work anymore since Texlive 2015: it compiles be the digits in ...
2
votes
0answers
67 views

Fontspec error when compiling with XeLatex

I have a problem compiling a resume in Texmaker using XeLatex. Any help on this is much appreciated. It seems the problem is finding the fonts from the package fontspec. My code ...
1
vote
1answer
36 views

How do I provide a ddot accent in text using the stix-mathsf font within plain TeX?

If I use the font stix-mathsf and try to type H\"o, then the o will have a large inverted breve accent over it (because the position of the character \" is different from most fonts), whereas ...
4
votes
1answer
53 views

Which sized Latin Modern Math delimiter glyphs correspond to Computer Modern Extended (cmex) glyphs

I've used the \fontable command from the LaTeX package of the same name to print out all the glyphs represented by the font "cmex10". I've also written a program to display all the glyphs and their ...
2
votes
1answer
29 views

Changing algorithm2e keywords fonts

A journal has asked me to change the font of my algorithm to Courier New. I'm able to change all except the keywords (if, then, else, etc.). My best solution looks like this: \documentclass{article} ...
2
votes
2answers
74 views

Change em-dash character in an OpenType font with xetex

In a (OTF) font I'm using with xetex, loaded with the mapping=tex-text option, I found that the em-dash character is too thin, so I would like to replace it with a heavier one. For example, suppose I ...
1
vote
1answer
34 views

Change default bold series for teletype only

Consider this example: \documentclass{article} \usepackage{lmodern} %% see below \usepackage[T1]{fontenc} %% \begin{document} Hello \textbf{World \texttt{of} Code!} %% ...
0
votes
0answers
28 views

How to make the \textsc words bold? [duplicate]

I want the title to be in the font small capital but want them to be bold at the same time
1
vote
0answers
59 views

Kato's Font Style [closed]

Does anyone know the font style used in Kato's Perturbation Theory for Linear Operators? Better yet, does anyone know of a TeX package or style file that replicates the layout and style used ...
0
votes
0answers
39 views

How do I adjust font (spacing, etc) parameters for specific characters, not the whole font?

I'm not sure about the specific terminology for what I'm asking, so perhaps my title is not accurate, but here is my problem. I'm currently using a font (baskervald) for doing math. This font does not ...
2
votes
1answer
61 views

Answer environment should give different font and different size I want. How can I do?

I am working with this codes for my Question paper. \documentclass[10.5pt,a4paper,addpoints]{exam} \newbox\allanswers \setbox\allanswers=\vbox{} \newenvironment{answer} {% ...
2
votes
2answers
156 views

Will my pdf look same in other computers

Say I use a font "foo" in my TeX document. \setmainfont{foo} This font is not free or not widely available on other systems. Will my PDF document will look same in other computers where this ...
4
votes
1answer
119 views

Baskerville and MathTime Pro in opmac with xetex

I am using opmac with xetex, and I would like to have Monotype Baskerville as text font and MathTime Pro 2 as math font. I came up writing the following: \input opmac % roman ...
0
votes
0answers
15 views

How can I use the usual Mathcal alphabet with Fourier font? [duplicate]

I am trying to use the Fourier font for my project, however, i do not like the preset mathcal alphabet. I would like to change it to the usual and solutions i found for other people were more specific ...
1
vote
1answer
32 views

Package inputenc error

inputenc is not designed for XeTeX. How could I resolve this problem please? I need two languages: Greek and Catalan. I have a MacBook Pro and I work with El Capitan and TeXShop 3.58.
1
vote
0answers
28 views

(TexLive) after upgrade tex cannot see my fonts [closed]

I upgraded from TexLive 2013 to 2015, now tex cannot see the fonts installed in /usr/share/fonts/. How can I fix this?
2
votes
0answers
39 views

How can I list all the Chinese fonts I have installed? (Ubuntu, TexLive)

I am using package xeCJK and I need to do a \setCJKmainfont{} command but I don't even know which fonts I have available on my system. I have quickly installed a bunch of Chinese fonts but I can't ...
2
votes
1answer
38 views

algorithm textsc and uarial package?

Is it possible to get a regular optic at the algorithm package when using the uarial package? I am using: %change font \usepackage{uarial} %set arial as default font for everything ...
2
votes
1answer
66 views

Text turned into squares [closed]

I finished a previous LaTeX session with correct working file. When I opened it in the next time, all letters turned into squares. There is no .bac file in the directory. Is it possible to turn back ...
5
votes
2answers
66 views

Problem producing pounds symbol (£) in math mode

I'm having trouble getting a pounds symbol to appear in math-mode contexts in my document. The problem seems to be the use of the newpxtext package. MWE: \documentclass{article} ...
2
votes
0answers
24 views

Issue with font replacement in captions when using math mode

I'm getting annoying font replacement warnings of the kind: LaTeX Font Warning: Font shape `OT1/cmr/bx/n' in size <10.5> not available and LaTeX Font Warning: Size substitutions with ...
0
votes
2answers
88 views

uppercase font for whole document?

Is there in Latex something like Technic Font in Adobe/OpenOffice? I want basically the whole document in uppercase, incl. the headlines (like those 'Chapter 1') etc. by declaring one package or just ...
4
votes
0answers
43 views

Setting Minion Math with XeLaTeX [duplicate]

What is the correct way to configure Minion Math with XeLaTeX? The website does not offer many information. www.typoma.com/en
3
votes
1answer
74 views

`$U$` and `$\mathcal U$` typeset very similarly with TeX Gyre Pagella

I love TeX Gyre Pagella, and use it and the corresponding math font like so: \usepackage{fontspec} \usepackage{unicode-math} \setmainfont[Ligatures=TeX]{TeX Gyre Pagella} \setmathfont{TeX Gyre ...
3
votes
1answer
70 views

How can the font Open Baskerville be used with plain TeX?

I downloaded the font Open Baskerville from here, but I don't know how to use it. How can it be loaded in plain TeX? I can use any of tex, pdftex or xetex. (I am using texlive on Linux.)
2
votes
3answers
47 views

Create and use macro names dynamically within a loop for redefining lowercase greek letters

This is follow-up question to this one. My aim is to let greek letters behave the same like normal latin letters, when it comes to get them upright. At the moment I'm using \mathrm to get letters ...