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

1
vote
0answers
21 views

hepparticles uses wrong font with xelatex

I am trying to get the hepparticles/hepnames packages to work with XeLaTeX. I am using Libertine as serif font and Biolinum as sans font. The particle names are somehow rendered in the wrong font. ...
2
votes
0answers
24 views

Why can I not use the font name listed in the fc-list's output?

\documentclass{article} \usepackage{fontspec} \setmainfont{Helvetica Neue LT Pro 55 Roman} % This line is OK. \setsansfont{HelveticaNeueLT Pro 55 Roman} % This line is ERROR! \begin{document} Hello ...
0
votes
1answer
36 views

Change font automatically when typing CJK characters, possibly lualatex

The title says it all already. I found how to change fonts with fontspec and lualatex, however I wonder if there is an easy way to mix Latin characters with Japanese characters without explicitly ...
1
vote
0answers
25 views

Can't change font size in ACM SIG Template

I'm using the ACM SIG Template for personal purpose and I try to make the main font bigger but it is somehow locked and I can't figure out how to change it. I know that it is supposed to be locked on ...
0
votes
0answers
51 views

Use german umlauts with a font where its not defined

I need to use special font. There are no german umlauts defined. So everytime I get an error if I try to use them with my font (BentonSans): \documentclass[a4paper,10pt]{article} ...
5
votes
2answers
108 views

Microtype's tracking feature works with some fonts, not others

In the code below, tracking works with the libertine font, but not with the Alegreya font. Why is this, and how can I fix it? \documentclass{article} \usepackage[tracking = true, letterspace = ...
0
votes
0answers
27 views

Font Identification [duplicate]

Can anyone identify the font that is used in this article? Furthermore, is this font compatible with the 'article' class? Note: Using CTRL+D within Adobe Acrobat presents a number of fonts the ...
1
vote
0answers
30 views

Where does the package fontspec look for OpenType fonts, especially FontAwesome.otf?

I have a supposedly trivial question and I'm having a hard time finding an answer. How can I determine the directories where fontspec is looking for OTF files? I want to edit FontAwesome.otf with ...
2
votes
1answer
31 views

Full stop missing in MnSymbol - replacement renders brackets with cdots - Why? [duplicate]

I'm close to give up my fight for MnSymbol in unicode-math. I realized I already replaced so many missing and faulty characters, that there is barely something left of MnSymol. So probably I will just ...
3
votes
1answer
46 views

Can one set a specific character variant in xelatex for the word first letter only?

I'd like to have some code to set, document wide, a specific character variant for the letter "v" only if it is the first in the word. The solution in the MWE is not a solution because I have a ...
5
votes
2answers
94 views

Define certain letter in math-mode to be always non-italic - using unicode-math in lualatex

I once had this question a while ago, asking about how to set the letter j always to be non-italic j in math mode without using \mathrm. The provided solution was: ...
2
votes
2answers
41 views

Font changing back for no apparent reason

Writing up a rough grammar in XeLaTeX and using fontspec to change the default font to Bitstream Charter instead of CM. Everything works fine for the first page or so of output, but on the second page ...
0
votes
0answers
38 views

Make TeX output look as input wrt script/language?

I have several languages/keyboard layouts on my Mac-pro (Yosemite). I want to write in Armenian/Bengali/Hebrew and so on. These keyboards/languages are formally part of Mac's Yosemite so I have no ...
0
votes
0answers
27 views

Why the fatal error occurred when using newtxmath? [on hold]

I just tried a simple code: \documentclass{article} \usepackage[libertine]{newtxmath} \begin{document} $a = 1$ \end{document} and here is the log: ...
0
votes
1answer
93 views

How can I get a lovely precipitate sign?

I like the precipitate sign on the P20 of chemformula official documentation. But I can only get like this on my own computer by the example code: What should I do?
1
vote
0answers
35 views

Why mktextfm-generated property list is different from default in TeXLive?

My setup: TeX Live, version 2014.20141024-2 (packaged with Debian 8 Jessie) Save default PL: $ tftopl cmr10 > cmr10.pl.old Generate new TFM: $ mktextfm cmr10 mktextfm: Running mf-nowin ...
3
votes
2answers
85 views

Problem using a font from newtxmath

I'm trying to set up my preferred mix of fonts from mathptmx and newtxmath. This would require using the largsymbols font from newtxmath, since I like its integrals better than those from mathptmx. ...
0
votes
0answers
67 views

How to unify fonts in references in a thesis class?

I would like to know what to do in order to unify the fonts in my document, especially in the references. As you can see, there is a problem at least with the arXiv part, which is with a bigger font ...
1
vote
1answer
70 views

Font isn't found though properly installed

I just set up the MacTeX-2014 distribution on my MacBook working OS X Yosemite 10.10. As i try to build a document on which i already worked without a problem on said machine before clean installing ...
1
vote
1answer
50 views

Understanding font maps / Fonts in vanilla TeXLive installation on Ubuntu

I followed closely the instructions in this tutorial to install a fresh TeXLive on my Ubuntu system, including the fake package and the font cache instruction: sudo fc-cache -fsv Still, I am ...
5
votes
2answers
68 views

Make pdflatex output UTF-8 copy-pasteable when using Times font

I would like to use Adobe Times Roman font or its equivalent (like URW Nimbus Roman and fonts based on it), compiling with pdflatex to PDF -- the original intent was to have PDF smaller by using ...
2
votes
1answer
30 views

How to change the color of TOC part font using tocloft

I have customised my toc using tocloft for everything from chapter down to subsection, but I cant work out how to change the color of the part font, how do you renew this command? I have read the ...
4
votes
1answer
51 views

What are exact rules of reading TFM files?

This question is connected with the answers to this question: How TeX creates DVI without reading TFM file? Let's modify only TFM file for cmr10 (and change the font name, of course), leaving all the ...
9
votes
3answers
278 views

How TeX creates DVI without reading TFM file?

My setup: TeX Live, version 2014.20141024-2 (packaged with Debian 8 Jessie) Consider test.tex A \bye $ tex -ini '\input plain \dump' This is TeX, Version 3.14159265 (INITEX) ...
13
votes
1answer
297 views

Why does the Roboto font look different when used with the LaTeX package?

I'm using the LaTeX package roboto in the way that is proposed here: \usepackage[sfdefault]{roboto} \usepackage[T1]{fontenc} The output (pdflatex) looks like this: However, the 'real' Roboto ...
2
votes
1answer
46 views

Looking for some special types of parentheses

I am looking for some parentheses symbols which I present here. It will be better if we can stretch these symbol to have large parentheses. If these symbols are able to be constructed manually, please ...
4
votes
1answer
46 views

Difference between \encodingdefault{T1} and \usepackage[T1]{fontenc}

I'm new to LaTeX, like really really new. From what I've read, the default font encoding of LaTeX is OT1. Now, if I'm not mistaken, in order to change the default encoding to Type 1, I have to put ...
5
votes
2answers
81 views

kpfonts changes appereance of textcomp symbols

I'm using the genealogic symbols \textborn and \textdied from the textcomp package together with the kpfonts. Unfortunately kpfonts loads textcomp with the [full] option (unless someone specifies ...
0
votes
0answers
167 views

Miktex 2.9 error creating fonts

I got a set of Latex files from someone else who, like me, is using Miktex 2.9. When I tried to compile one of them I got the following error. Trying to make PK font mathscr at 480 DPI... Running ...
0
votes
1answer
42 views

how to create article with multiple (unicode) languages

I want to create a book that will help Asian people learn English. The requirements are - the book should contain text from 2 different languages, say, Hindi and English. I tried this multi-lingual ...
1
vote
0answers
64 views

Elzevier Caps Regular (font)

I have found a new and wonderful font. According to the website, "Elzevier Caps Regular is part of TeX Live". This is my Tex-verion: root@basip:~# tex --version TeX 3.1415926 (TeX Live 2012/Debian) ...
3
votes
1answer
76 views

How do I set LaTeX to use a different font when a font has no italics built in?

I'm using Helvetica Neue Light as the default in my document (working off a template), but when I specify /emph, it simply gives me a warning in LaTeX Font Warning: Font shape ...
3
votes
2answers
77 views

Why does mhchem italicize macro text?

I am using the package mhchem in order to typeset chemical formulas and equations. If I directly insert a state of aggregation into an mhchem \ce command, it appears as upright. If I insert it via a ...
1
vote
2answers
88 views

Is there a way to specify that some given letters are always in bold?

I am writing an article, which requires the letters 'a', 'e', 'i', 'o', 'u' are always showed in bold. Given the following TeX file: \documentclass{article} % What should be put here? ...
1
vote
0answers
33 views

FontSpec Error in Ubuntu and TexStudio

I am using this code: \usepackage{fontspec} \setmainfont[Mapping=tex-text]{Courier New} I am getting this error: The font "CourierNew" cannot be found \setmainfont[Mapping=tex-text]{Courier New} ...
1
vote
0answers
37 views

Secondary math font definition

We are using XeTeX, and struggling to map mathematics fonts for secondary fonts. \documentclass{article} \RequirePackage{mathspec} \setmainfont{Palatino Linotype} \setmathrm{Palatino Linotype} ...
1
vote
0answers
61 views

XeLaTex and Noto fonts

I get an error - xdvipdfmx:fatal: sfnt: Freetype failure... - when trying to use Google Noto fonts. How should I proceed? MWE: \documentclass[a4paper,12pt]{article} \usepackage{xeCJK} ...
0
votes
0answers
28 views

Fonts and Template File for Journal “Mathematical Notes” by Springer [duplicate]

Dear Friends: Like most of you, I care for the aesthetics of the font and presentation of my work in Tex. I am interested in the Tex template file for Journal called "Mathematical Notes" which is ...
2
votes
0answers
54 views

Scaling Computer Modern width using Metafont [duplicate]

I am looking for a broader, fatter Computer Modern and I already found out that the only way to do this correctly is to use MetaFont to create a different version of Computer Modern. The idea is now ...
2
votes
1answer
58 views

Vietnamese in TexShop — MacTex

I am new in using MacTex and I use TexShop to compile LaTEX documents. I have many files in Vietnamese when I use Winshell (with MikTex) in Windows, and I transfer it to my MacBook. When I typerest ...
1
vote
1answer
49 views

Non italic text in math formula inside remark

I use some text in the math formula, e.g.: $ \texttt{MinimumPolynomial}(T) \mid \texttt{CharacteristicPolynomial}(T)$. I use "\texttt" to make such text non-italic. This works fine but, when I ...
2
votes
1answer
15 views

CJKutf8 font usage changes if using with precompiled format?

Consider the MWE posted below (based on How does one type Chinese in LaTeX?) - you will need the simsun.ttc font in the same directory. First, in the MWE below (call it test.tex) uncomment the ...
3
votes
1answer
72 views

Smallcaps don't work if fontspec's microtype is used in luaLatex

This could be a duplicate question of this one - but I'd say the problem there is still not solved. Consider the following example: \documentclass[a4paper,12pt]{article} \usepackage{fontspec} ...
9
votes
1answer
142 views

Using only greek fonts from a certain fonts package

I am fairly new to LaTex, and I want to use a different font family for greeks (and leave all the other letters unaffected such as ordinary alphabets). In particular, I want to use GFS Bodoni ...
19
votes
1answer
328 views

Which common LaTeX Fonts come prepackaged with specific settings for Microtype?

For anyone interested in achieving the very best microtypography: Some fonts apparently come with microtype specific settings, other fonts don't, in which case microtype applies "Default" settings ...
2
votes
1answer
69 views

General guide on how to set up font families for luaLatex

In A Survey of Free Math Fonts for TEX and LATEX are great examples of harmonizing fonts in Latex. For example consider the text fragment for CM Bright: With pdfLatex it was sufficient to just ...
2
votes
1answer
55 views

Match font between \texttt and text inside lstlisting

I am trying to match the font between the line that says: reg [8:0] data_saved [0:3]; // memory declaration and the rest of the lines that are inside lstlisting. Here is what I get: My code looks ...
0
votes
0answers
64 views

Why does the figure caption look so ugly by default?

\documentclass[a4paper]{article} \usepackage[adobefonts]{ctex} \usepackage{titlesec} \usepackage{graphicx} \titleformat{\section}{\huge\bfseries\sffamily}{\thesection}{1em}{} \begin{document} ...
4
votes
2answers
91 views

Defining different scripts with fontspec

My actual problem: I want to typeset Tigrinya text, which is using Ethiopic (Ge'ez) script. But the text also contains numbers (which are afaik. in the latin script). So I've defined a new font ...
5
votes
1answer
81 views

Default math fonts

If I call mathptmx, the following are carried out: \def\rmdefault{ptm} \DeclareSymbolFont{operators} {OT1}{ztmcm}{m}{n} \DeclareSymbolFont{letters} {OML}{ztmcm}{m}{it} ...