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

2
votes
1answer
34 views

What is the scope of the defined font family?

I experienced unexpected change of fonts at certain parts of my text. This was due to the fact that I did not realize that the \begin{center} and \end{center} environment has its own scope regarding ...
0
votes
1answer
34 views

Solved hyphenation, font changed

I'm writing an article in LaTex - TexMaker. I wanted to set hyphenation so, according to article on web, I've added these 2 lines: \documentclass{article} \usepackage[utf8]{inputenc} ...
8
votes
2answers
271 views

Fine tuning diacritical marks in fonts

I am about to make the paradigm-shift from the traditional way of hard-coding fonts with diacritical marks on top of them to simply using utf8. What surprised me, however, that the rendering of the ...
1
vote
0answers
34 views

Make bold non bold font [duplicate]

I have 2 fonts: isocpeur-regular.ttf and isocpeur-italic.ttf. Is there way to make bold text of that regular font in TeX? Open Office, for example, can make bold text of that regular font.
6
votes
3answers
305 views

Arial bold is nonuniform thickness

When I try to use Arial, the thickness of character parts is non uniform. For example, see how the "a" character has fat and skinny parts: Helvetica, does not have such an "issue", but I do not ...
1
vote
1answer
88 views

Package bbold not working

I've been trying to use the bbold package for the indicator function but I get the following error: Process started This is METAFONT, Version 2.7182818 (MiKTeX 2.9 64-bit) (C: ...
1
vote
2answers
37 views

Font with PSTricks and Beamer

I am creating standard beamer presentations. Moreover I use PSTricks to produce my pictures in a separate file. Afterwards I include the pdf with the pictures into the presentation. Unfortunatelly ...
3
votes
0answers
61 views

Colophon in LuaTex

Is there a way to automatically generate a colophon information in LuaTex? Ideally I would like to automatically generate a file (plain text) that will list the different font and font-families that ...
0
votes
0answers
15 views

Beamer — change font only in equations [duplicate]

Is it possible to change the font only in equations of a beamer presentation, from the standard beamer sans serif to the standard serif in Latex documents? By equations I mean environments like $$, ...
5
votes
1answer
76 views

Beamer: How to use “beamercolor” in a tikz picture

How might it be possible to change the font color of a tikzpicture element to the value of a particular beamercolor, e.g. block title?-- For example: \documentclass{beamer} \usepackage{tikz} ...
4
votes
1answer
36 views

Diacritcs problem in text mode : combining accent

I'm inventing a language requiring double accents, or diacritics. The problem is that a diacritic can't go over a special letter, and will be fixed next to it, not on. For instance, when using ...
1
vote
0answers
29 views

Problem creating font uvblo

I'm trying to compile from a template and get the following error concerning font uvblo, even though the template provides a file UVBLO.tvm. I'm using TeXStudio 2.5.2 and MiKTeX 2.9, and have it ...
0
votes
1answer
36 views

How to move the words “Nomenclature and Bibliography” at the top of the page?

I have two issues. First, I have to move the words "Nomenclature" and "Bibliography" at the top of the page. Right now these words appear 5 cm from the page border. I am using the following script ...
1
vote
0answers
40 views

How to change ampersand's font in formula?

I have the formula, which contains ampersand symbol: $x_1\&x_2$ But ampersand symbol is too bold. How to fix it? \usepackage[main=russian,english]{babel} % Загружает пакет ...
7
votes
1answer
56 views

LaTeX font for ancient Greek music notation?

is there a font which contains the signs for ancient Greek music notation (unicode range 1D200 - 1D24F)? Thanks Rudolf.
2
votes
0answers
23 views

Multiple embedded fonts in final PDF

I am using XeLaTeX with PDFs incorporated. Each PDF has its fonts embedded and my final output therefore has fonts embedded multiple times which, presumably, increases the file size. Is there a way ...
0
votes
1answer
18 views

\envitem in ltxdockit package prints curly braces in a different font

I've written a small LaTeX package and am preparing its documentation using ltxdockit package. I found a strange behavior about font. Consider the following MWE. \documentclass{article} ...
1
vote
2answers
30 views

How resize box when using subnumcase

I have the following problem. I have a system of two equations. I used the package subnumcases. Unfortunately the equations are too long and the equation number overlap the equation itself. I tried ...
0
votes
0answers
16 views

Error compiling pfdLatex Document on ubuntu 14.01.1 while using the IEEEtran.cls

Am using IEEEtran.cls in my document but every time i try to compile i get the following error message kpathsea: Running mktexmf ptmr7t ! I can't find file `ptmr7t'. <*> ...:=ljfour; mag:=1; ...
3
votes
1answer
36 views

How to set sans serif with cmbright package?

I am starting to use xelatex. I tried, as an example, to use cmbright. But I do not obtain a sans serif output. Do I need to tell something else in the prehambule ? ...
3
votes
0answers
31 views

Vertical alignment of fonts from different language groups

Dear Fellow TeX enthusiasts, Thanks very much for help with solving earlier problems with the Devanagari Package. I'm working without KOMA-Scripts for the moment in Xelatex/Xetex and am trying to ...
2
votes
1answer
22 views

Continuation of font type and font size across text environments

In the following example, I using two different text environments to generate text visualizations: texshade and adjustwidth. The code calling texshade hereby generates formatted text in a different ...
2
votes
2answers
94 views

pdfTeX error (font expansion): auto expansion is only possible with scalable fonts even with \usepackage[T1]{fontenc}

According to this question: On pdfTeX error (font expansion): auto expansion is only possible with scalable fonts, microtype package, to get rid of the error, a scalable font must be loaded. Package ...
0
votes
1answer
29 views

How to change TexStudio fonts for non-English

I have a problem with TexStudio fonts! I use it for writing Latex in Persian. To make the environment suitable for typing, I tried to change the Editor font via Options > Configure TexStudio > ...
4
votes
1answer
95 views

How to use EB Garamont Font with KOMA Script Font Size 16pt

I am using the ebgaramond package in my scrbook document. As a base font size I want to use 16pt but when I compile the document I get warnings like the following: LaTeX Font Warning: Font shape ...
0
votes
0answers
32 views

How to select monospaced numerals for tables only when using mathspec?

For one of my documents I used OldStyle numerals in regular text. For math I use Lining numbers. For tabular material I would like to use monospaced lining numbers if these numbers are math-related (I ...
1
vote
1answer
46 views

Change font size with fontspec package

What is the recommended approach to change font size with the fontspec package? I have found several ways that appear to work, but some unexpected behavior along the way. What am I doing wrong? I ...
2
votes
1answer
37 views

Change font in all sideways tables

Is there any way how to change the font in all sideways tables of the document? The following code \makeatletter \renewenvironment{sidewaystable} {\renewcommand\familydefault{mdput} ...
7
votes
1answer
113 views

What happened to DejaVu Math font?

I'm trying to identify the freely-available Opentype font sets having a consistent Opentype Math font : this kind of font, extremely easy to use with XeTeX and LuaTeX (via fontspec), can also be used ...
2
votes
1answer
31 views

Grouping and undefined control sequence error

I was trying to figure out an answer to another question, which required a change of font and size in the middle of a sentence. So I tried to use a \begingroup and \endgroup to isolate the change of ...
4
votes
2answers
75 views

Why font missing message shows up when using standalone and import packages only?

Took me long time to find the cause of this one. From some bizzar reason, when I use standlone package, the font changes in the lstlisting of my Matlab code due to Latex not finding some fonts. I am ...
7
votes
0answers
68 views

Oriental TeX and Husayni

I have recently been typesetting a Quranic Mashaf using a combination of XeLaTeX, bidi, and polyglossia. I am generally pleased with the results so far, but after reviewing Idris Samawi Hamid's work ...
0
votes
2answers
43 views

fontspec breaks loading of fonts via renewcommand

I have a custom Latex class from my employer that (besides some other stuff) loads the Fonts Charter and Frontpage (Fonts supplied with the class). It works fine with pdflatex and basically loads the ...
2
votes
1answer
52 views

Comparing the path from \int or ∫ in the .tex file to ∫ in the .pdf file with type1 and OpenType math fonts in luatex

I'm trying to understand better how math fonts are handled and, in particular, how an OpenType math font can do the same job as a type1 font with far less files. My reference engine is luatex (version ...
1
vote
1answer
24 views

textcomp \textarrow not found in font family ppl TS1 encoding

Using \textuparrow I get the following error: Package textcomp Error: Symbol \textuparrow not provided by font family ppl in TS1 encoding. Default family used instead. However, the arrows are ...
1
vote
1answer
43 views

Does one need extra files for an OpenType font to work with luatex?

Suppose I want to use (with lualatex) an OpenType font that has no TeX support (yet). Do I need .map, .enc, .fd, .tfm, .vf files and/or some adjustments at LaTeX level or will fontspec be powerful ...
1
vote
1answer
37 views

Trouble installing Letter Gothic font

I am unable to install the Letter Gothic font. I downloaded the lettergothic.zip file from the ctan website. The readme file instructed me to copy some files to certain places, which I did. However, ...
0
votes
0answers
45 views

How do I set Arial as the main font of a document with Times New Roman for math?

The title is pretty self-explanatory. I'm a beginner with Latex and would like to know if there's a code that allows Arial 11pt font to be used for the main body of an article, and Times 12pt for math ...
2
votes
1answer
36 views

Arial font baseline for letters 'i' and 'L'

I am attempting to use the uarial font in latex. But the vertical alignment of characters appears to be off. If \documentclass{article} \usepackage[english]{babel} \usepackage[T1]{fontenc} ...
0
votes
0answers
26 views

Change font background color in custom url command

I want to change the background color of a custom url command. I did not find how to. For now I use : \DeclareUrlCommand\myCustomUrl{\def\UrlFont{\ttfamily\color{green}}} But this only change the ...
3
votes
2answers
68 views

Document font instead of math font in chemical formula (mhchem package)

I would like to write all chemical formulas in my document using the mhchem package which facilitates the use of the document font. It works quite nicely so far, but it fails for the letter "x". This ...
1
vote
1answer
42 views

Saving and restoring font settings

I'm using Pandoc to generate a PDF from a Markdown source file, and passing in a custom LaTeX template (effectively a tweaked version of the Pandoc default) to change the style of the final PDF. I ...
0
votes
0answers
18 views

Changing the font as in EGA [duplicate]

I am an algebraic geometer and I fell in love with the font they use in mathematical articles published by the IHES (for instance EGA, which I assume is the most famous of all time). How would I ...
0
votes
0answers
30 views

Alegreya lining numbers

Can I use "lining numbers" in alegreya font using \newfontfamily? \newfontfamily\liningfont[Numbers=Lining]{Alegreya} does not work, but \usepackage[osf]{Alegreya} {\AlegreyaLF 1234567890} ...
4
votes
1answer
71 views

Unicode math and double factorial

I must confess that the details of font usage and related packages are pretty fuzzy to me. That said, I am under the impression that to use the TeX Gyre fonts, my document must look like the ...
0
votes
1answer
33 views

How to change font of all \structure in beamer?

How does one change the font of only the \structure{} elements globally in the preamble in a beamer class, let's say to italics? I was hoping that \setbeamerfont{structure}{shape=\itshape} does the ...
0
votes
1answer
36 views

How can I make all text the same font size (normal text, footnotes, acknowledgements etc.)?

I have to submit a manuscript to a journal, and I just realized that they want every single part of the paper to be in 12 pt font. This includes tables text, footnotes, acknowledgements etc. Is there ...
2
votes
2answers
32 views

Change default font and font weight for continuous text, headings, descriptions etc

I am trying to set OpenSans Light as the default font in my document of type scrreport, so I included the opensans package. This worked so far, as that OpenSans is now used for my continuous text, but ...
1
vote
0answers
37 views

What are the original TeX fonts installed on my computer? [duplicate]

I am trying to find the font I saw in some lecture notes. I think they are TeX native fonts but they might as well be fonts from Latex's packages? Please see attachment. Is there a place I can find ...
1
vote
1answer
31 views

Looking for the code of some specific font

I'm trying to find the command to write the following fonts I tried to use detexify but it did not work.