{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
25 views

A problem with google web font in MathJax [on hold]

I am using MathJax on my website and it renders too much vertical space between lines with inline equations. I found out that is it the web font fault. When the page body is set to google web font ...
29
votes
1answer
2k views

Importing single symbol from MnSymbol

I wish to use a symbol provided by the package MnSymbol but if I have a \usepackage{MnSymbol} in my document then many other symbols change, including even the equals sign (=), which appears much ...
0
votes
0answers
33 views

Using \mathcal font outside of latex [on hold]

I am writing an article and I want to use the \mathcal font in microsoft word, which is where I am creating a figure. I have successfully done this by using the font jsMath-cmbsy10. However, it only ...
1
vote
0answers
37 views

Adobe Garamond Pro cannot be found, Mac xalatex

I am using Mac, and following a template .tex file. I have tried to run xalatex myFile.tex, but I receive the error: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! fontspec error: ...
2
votes
0answers
34 views

Make output pdf consistently viewable on other systems [on hold]

I understand that there are pdf files that contain fonts, and pdf files that rely on the fonts that are already installed on the viewer system. If your pdf does not have embedded fonts, and the pdf ...
4
votes
2answers
119 views

Trigonometric arc

How to be codes for trigonometric arc AB like that: ( not using kpfonts ). Thanks.
3
votes
1answer
41 views

How put two glyphs to mp image and get kerning

Is possible to put two glyphs in any place in MetaPost and get kerning between it? for example using Lato-Regular.ttf 'ab' in 1.7cm,2cm and get information kerning 'a' and 'b' or put 'a' in ...
3
votes
1answer
105 views

Making different styles in a latex document

In LaTeX there are such commands as \textit{}, \textbf{} to make a fragment of a text italic or bold. Can we make custom commands like this with different color, font, italic/bold/underline modifier? ...
4
votes
2answers
639 views

IPA characters in plain TeX

Is there a way to type IPA characters in TeX? There is the tipa package for LaTeX, but what about plain TeX? I don't have any experience with installing fonts in TeX and can't find any good resource ...
6
votes
3answers
148 views

LuaLaTeX and TeX Gyre Pagella in pdflatex for arXiv

Since arXiv still doesn't seem to support LuaLaTeX, I need to make my document work with pdfLaTeX instead. The only LuaLaTeX-specific stuff is \usepackage{fontspec} \usepackage{unicode-math} ...
19
votes
1answer
7k views

How can I change the font family in pgfplots?

I am using the classicthesis package in LyX to typeset my thesis. I have a plot produced with pgfplots. It uses math fonts same as elsewhere in the text, which is inconsistent with other plots of mine ...
0
votes
0answers
34 views

Neo Euler Math Font with XeLaTeX

I'm trying to use the following code to generate my xelatex PDF document. The main problem is that I get the error ! Internal error: bad native font flag in `map_char_to_glyph' when I compile my ...
1
vote
1answer
47 views

Set default font with package Fontawesome

Recently I asked how is it possible to add some logo (skype, linkedin, Facebook, ) to my CV with the package font awesome. Thanks to people here who provided me a great answer. However, I noticed that ...
2
votes
2answers
110 views

Myriad Pro Condensed undefined

I'm trying to use the Myriad Pro Condensed font, but for some reason LaTeX cannot find it. I installed the font using the FontPro scripts. I can get light, normal, bold and extra bold variants, but ...
4
votes
1answer
97 views

How do I make my document look like it was handwritten?

I have an exam coming up next Monday. We are allowed to bring a sheet of paper with information of our choosing written on it. To my disappointment, it is required to be handwritten. Over the years, I ...
1
vote
0answers
43 views

How to set font, line spacing and header/footer margins?

I need to write some text for my university and I figured I should use LaTeX to get familiar with the system. I've read some basic tutorials etc, but they didn't help me with the following: There are ...
51
votes
2answers
2k views

Blur the text so it's not readable

On a related note to How do I make my document look like it was written by an Cthulhu worshipping madman?, I want to create a LaTeX command that blurs the text so it's unreadable. Unfortunately, ...
2
votes
1answer
72 views

Make entire equation sans-serif

So, I'm trying to use something like this: \begin{align*}\mathsf{ a & b & c }\end{align*} Unfortunately, I'm getting weird errors like this: ! Missing } inserted. <inserted text> ...
8
votes
6answers
3k views

Sans serif font with distinguished capital I for math.

I work a lot with matrix algebra. I also give a lot of presentations. It'd be nice to have a good sans serif font to use for both. Currently, my choice is the bitstream vera sans with math package: ...
3
votes
3answers
511 views

How to make a symbol by joining together 'P' and 'A'?

'P' should be in the left of 'A' and of little smaller size.
168
votes
9answers
278k views

How can I get bold math symbols?

To make Latin-letter variables bold I can use e.g. \mathbf{a}, but while putting Greek letters or symbols such as \nabla inside \mathbf doesn't cause any errors or warnings, it also doesn't do ...
2
votes
1answer
137 views

Customize fonts inside an equation environment

I am using the Gill Sans font, but I remark that I,l, and 1 are confused. So I want to use another fonts just for these letters in the equation environment, I used \fontspec to do this but it does not ...
42
votes
2answers
5k views

How to automatically hyphenate within \texttt?

This question was phrased as a bug report for LaTeX and I thought it would be helpful to be presented here (including an answer). The person had a lot of "common words" in typewriter font sprinkled ...
1
vote
0answers
31 views

Change font family for captions

I am working in a proyect in which I need captions to be in a different style as in main text. The original text is Gentium and I would like captions to be in PT-Sans. However, in the caption text ...
1
vote
0answers
31 views

Can I upload a font to ShareLatex once and use in several projects?

I should write several Persian latex documents. So I need upload a Persian font and use it. Is there a way to upload the font just once. Is there another online LaTeX editor which provide this? Here ...
2
votes
1answer
31 views

Why xdvi does not correct heights from pfb files?

In your working directory: $ tftopl cmr10.tfm > cmr10.pl Change cmr10.pl n order the character A has different width and B has different height: --- cmr10.pl.orig +++ cmr10.pl @@ -466,7 +466,7 ...
1
vote
0answers
32 views

Inexplicable spaces between letters in XeLaTeX

The following code \documentclass{minimal} \usepackage{fontspec} \setmainfont[Mapping=tex-text]{Epigrafica} \begin{document} Abcde \end{document} produces the following result using XeLaTeX in a ...
5
votes
2answers
265 views

Best Practice: Package for Mathematical Documents - amsmath and Beyond

I am aware that best practice questions are not always appreciated since there there's not "one size that fits all". I am going to give a LaTeX introduction for phd students at my company. All ...
2
votes
1answer
143 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 ...
0
votes
2answers
69 views

Sans serif font with unicode support in xelatex

I am trying to find a sans serif font that has unicode support (free or paid). The following works unless I set the family to sans by un-commenting the first line: \documentclass[english]{article} % ...
4
votes
1answer
267 views

Problem with MikTex and Hebrew when using 12pt font

I'm using MikTex 2.9 (on Windows 7), together with the culmus-latex pack (I used the instructions I found here: http://www.ma.huji.ac.il/~sameti/tex/culmusmiktex.html). When working with the default ...
0
votes
1answer
68 views

Can't find LaTex font phvb on mac

I was compiling a latex document on mac osx and getting this error: This is METAFONT, Version 2.7182818 (TeX Live 2015) (preloaded base=mf) kpathsea: Running mktexmf phvb ! I can't find file `phvb'. ...
3
votes
1answer
77 views

LaTeX Equation left aligned with smaller fonts size

I have the sample below, When I compile and run, each step of the equation is left aligned with smaller fonts. What I'm trying to achieve is, each step of the equation should appear on a line by ...
0
votes
0answers
32 views

Installing Arial Font

I need to write my document in Arial font, and I have no idea how to install the font. Would anyone be able to give a step by step guide? I have tried to use other guides, but they get rather ...
0
votes
0answers
17 views

Writing Avestan and Pahlavi texts with LaTeX

I want to write Avestan and Pahlavi texts with LaTeX. I appreciate it if you introduce me any package/commands along with samples. I found this blog post ...
1
vote
1answer
83 views

How do I get a nicer Lambda?

In computer science, the use of as the letter lambda is quite recognisable as a symbol. How can I get this in LaTeX without changing the entire font of the document/math mode? I only want to ...
2
votes
0answers
35 views

Controlling vertical placement of letters

I would like to be able to control the vertical placement of letters in a word without affecting the horizontal spacing or the size of the letters, just their vertical position. I have tried using ...
2
votes
1answer
26 views

No space between letter and subscript with TeX Gyre Bonum

I'm using the TeX Gyre Bonum font with xetex, and I've found that the space between a letter and its subscript is very less. This makes things harder to read according to me. How do I fix it? For ...
7
votes
3answers
4k views

Command \texteuro unavailable in encoding T1

I want to know how does LaTeX figures out if the Eurosymbol (€) is a glyph of a given T1 font. I tried \iffontchar but it seems the value is not unique. AFAIK it's not a standard symbol of the 256 ...
0
votes
1answer
41 views

Semibold with lmodern? (Middle-bold)

I have my document ready to print, except the title. Regarding purely personal and aesthetic taste, I want it with serif with lmodern font, and a bit bold. However, for my taste, using \normalfont is ...
1
vote
1answer
29 views

Moderncv line spacing variation in different sections

I'm updating my résumé using moderncv casual, and I'm encountering a weird phenomenon: The line spacing, and font size of the description in "Master Thesis" are different than in "Experience". ...
1
vote
1answer
90 views

change font and font sizes for section and paragraph

I am migrating my organisation's documentation system to LaTeX. Parameters defined: Heading Font: Futura Bold Heading Colour: RGB{x,y,z} Font Size: 18pt, 15pt Body Font: Futura Book Font Size: 12pt ...
1
vote
2answers
56 views

How to get font family name identify usable characteristics

I have some Futura fonts with strange font names. FUCEB__.PFB FUCEB__.PFM FUTU07.TTF futubd_.ttf FUTUR.TTF FUTUR01.TTF FUTUR02.TTF FUTUR06.TTF FUTUR07.TTF FUTUR08.TTF FUTUR09.TTF When I double ...
10
votes
3answers
2k views

How to get the AMS mathbb font while using Palatino elsewhere

I'm a Latex user. I've been using Palatino for typesetting a piece mathematical text: \usepackage{mathpazo} \usepackage[scaled=.95]{helvet} \usepackage{courier} The results are good, however I ...
1
vote
1answer
49 views

change font of glossary entry (glossaries, scrreprt)

When using glossaries to display acronyms within a scrreprt document, the acronyms in the list of acronyms will be printed in bold sans serif. I would like to have the (bold) serif font, however. How ...
16
votes
4answers
11k views

When to use serif and when to use sans serif font family

This is not a technical question. However as the FAQs say this place is about people who love to create well-structured and beautifully typeset documents I take my shot. I am often confused ...
0
votes
1answer
54 views

How to change section spacing article class

I want all my section headings and body text to be spaced as per below rule. I use article class. Space before: 0pt Space after: 50–100% of text size Line spread = 135% of text size How can this ...
10
votes
1answer
91 views

Why does \setdefaultlanguage modify my fontfamily?

Please see this example code \documentclass{article} \usepackage{polyglossia} \setdefaultlanguage[spelling=new]{german} \renewcommand*\familydefault{\sfdefault} \begin{document} test \end{document} ...
2
votes
1answer
33 views

How to apply shadowtext to a whole document

I found the shadowtext package quite useful. \usepackage{shadowtext} However, it only seems to work with parenthesis and ignores line breaks: \shadowtext{Shadow text\\ no line break} How can I ...
0
votes
0answers
38 views

command for calligraphic lowercase latin and greek letters

I am wondering whether calligraphic type command exists, that supports both Greek and Latin (lowercase) characters in math-environment. Let's say that I have: \documentclass{article} ...