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

Difficulty with getting fonts embedded in pdf files produced by XeLaTeX

I'm using MiKTeX 2.9 with TeXWorks 0.4.5 on Windows Vista. When typesetting, there are several choices (e.g., pdfLaTeX and XeLaTeX). I've been using XeLaTeX, which produces a pdf file as the output. ...
1
vote
0answers
47 views

xits-mathbold.otf: Some ugly symbols

I do not know how to get equations completely in bold without mistakes with Xits-boldmath. Here is my MWE: \documentclass{article} \usepackage{amsmath} \usepackage{fontspec} ...
5
votes
2answers
68 views

ConTeXt MarkIV : Arabic Letters are disjointed and reversed in headers and margin

I am trying to get Arabic Chapter Name in the header and some arabic text in the margins using ConTeXt MarkIV Here is the MWE: \mainlanguage[arabic] \setupdirections[bidi=global] \definefontfeature ...
2
votes
1answer
68 views

How to use the real letters in a pdf?

Firstly, I write a grammar about a language. Secondly, I use \usepackage{tipa} to represent letters LaTeX (TeXmaker) can't represent by itself. If for example I want a ɢ or χ, I use \;G and X ...
4
votes
1answer
55 views

calligra font - apostrophe position

As you can see in the picture, the apostrophe is placed in a WRONG position, when I use calligra font. Is there a workaround, or a very similar font which doesn't have such problem? ...
3
votes
1answer
80 views

What is the default font used in table environment?

I use the following preamble: \usepackage[T1]{fontenc} \usepackage{libertine} \usepackage[scaled=1]{beramono} \usepackage{amssymb,amsmath} I'm pretty new to latex and was wondering whether or ...
4
votes
2answers
87 views

Making a new font family based on the default font

I'm running XeLaTeX on a Mac, and I'm getting into a lot of trouble with finding fonts. Here's my code (taken from here: Revisiting TIPA and Fontspec) \documentclass[12pt]{article} ...
5
votes
1answer
122 views

Why output of dvipdfmx looks better than output of pdftex?

When viewed on screen, look of document processed via dvipdfmx is better, than that of produced via pdftex. This happens with absolutely any document, even with plain format. I tried with these ...
6
votes
1answer
169 views

Proper typewriter font for math symbols (∀, ∃, →), e.g. in verbatim environment

I have a listing to be used in verbatim (acutally Verbatim) that uses unicode characters such as ∀, ∃, →, ∨. Using \DeclareUnicodeCharacter{2203}{\ensuremath\exists} they do appear in the listing, ...
2
votes
0answers
28 views

How can I have pdftex with dvi output expand CM fonts with high quality?

The following output pdftex > dvi > ps shows the problem: This comes about as follows. First, I use the file \pdfoutput=0 \hsize=5truein \tenrm \pdffontexpand\tenrm 20 20 20 \pdfadjustspacing=2 ...
0
votes
1answer
138 views

Font not loadable: metric data not found or bad

Okay, I'm having the following issue that resembles an issue other people have reported. But, I haven't seen any problem that is as simple as mine or any solution that's for my operating system. I am ...
4
votes
2answers
33 views

TexLive2013/OSX : updmap-sys and pdftex error after setting LW35 ADOBE

I am in the process of printing my PhD thesis and the company had some issues with the NimbusRomNo9L fonts that were not embedded. After some Google-ing I understand that this is an alias for the ...
0
votes
0answers
29 views

Changing the type font of the whole document

I need to change the current font style that have this .tex \documentclass[11pt,a4paper,sans]{moderncv} % Font sizes: 10, 11, or 12; paper sizes: a4paper, letterpaper, a5paper, legalpaper, ...
1
vote
1answer
48 views

Sweave R code chunk default colors in vignette

Typically, if I create a .Rnw file and add R code chunks to it, and then convert it to .pdf file, the R code text will have default color and font than the rest of the document text. An example ...
2
votes
0answers
46 views

latex \fontsize{12}{18} equals to MS Word 12pt and its linespace 1.5?

I use \fontsize{12}{18} in latex for 12pt and its linespace 1.5 in MS Word. But I think not equals. Why? And what is correct option in \fontsize{?}{?} ?
2
votes
1answer
65 views

font() pen only works once, then falls back to default font

I'm trying to draw a bunch of labels with a custom font, installed in ~/Library/Fonts. To do this, I create a pen using font() and then use that pen with label(): pen font_pen = font("DejaVuSans", ...
2
votes
0answers
59 views

How to set cambria math as math font for pdflatex

How can I make pdflatex use cambria for math fonts and uarial for the body font?
3
votes
1answer
57 views

Change Math fonts

I am trying to change the standard Latex fonts to TexGyreSchola for the entire document. I have done so successfully for the main text by including \usepackage{tgschola} \usepackage[T1]{fontenc} ...
3
votes
1answer
47 views

No bold, italic and small caps with XeLaTeX

I switched my working document from pdfLaTeX to XeLaTeX. I have a problem with the font, because now Computer Modern Roman doesn't display bold, italic and small caps text (it works only in one page ...
1
vote
1answer
26 views

How to fix size with fix-cm command?

I need to put the size of a word or some words to be 90pt, and I need to use fix-cm command, but I'm not quite sure how to do it. Any help?
1
vote
0answers
55 views

Font Problems using XeLaTEX

Hello I'm using the following settings on my standard.lco, I have downloaded the font EB GARAMOND from Google Fonts. I downloaded the zip file and installed correctly on my windows 10. A snip from ...
3
votes
1answer
65 views

How do I determine current font style in ConTeXt?

I want to define a macro that behaves differently within different font families. How do I determine the current font family used in ConTeXt? Is there something like \f@family variable?
5
votes
4answers
57 views

Change Content Font in tabular Environments

I am trying to change the font in the content of all of the tables in a document from a serif font to a sans-serif font. Specifically, I need something that can be applied to tabular and tabular* ...
5
votes
1answer
67 views

Change shape of all items inside \begin{itemize}

I currently have this: \begin{itemize} \item \textsc{foo} \item \textsc{bar} \end{itemize} Is there a way to avoid writing \textsc multiple times? I.e. change the shape of all items only inside ...
1
vote
1answer
86 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 ...
0
votes
0answers
16 views

How to use several fonts in the passage with one main font set? [duplicate]

Say the main font is Georgia in entire passage. I want to insert a sentence in Optima, another sentence in Trajan. What can I do in XeLaTeX?
1
vote
0answers
20 views

How to use the ornamental fonts locally? shall we have a possible list for the future use? [duplicate]

we come across the ornamental fonts, in most of the cases, especially in designing the title pages and chapter titles, parts, sections etc., How to identify the fontfamily name(or how to use the ...
1
vote
1answer
48 views

Writing in OCR-B, size 1

I have a specification stating that I need to write in OCR-B, size 1. I am currently using the package ocr, but using the macro \ocr{0123} results in a font way to large, compared with a test PDF I ...
3
votes
2answers
47 views

mathsf font in both text and math

I want to define a \newcommand that produces the same font in both text and math modes. For example, \newcommand{\abc}[1]{???#1} Then \abc{varName} is blah blah blah $ \abc{varName} = 4 $ I ...
3
votes
1answer
57 views

How can I set normal text and math labels to Helvetica in a diagram?

I need to know why the characters in this diagram are not all set in the same font. I would like all the text to be set in Helvetica as "cm" is. \documentclass[margin=10pt]{standalone} ...
2
votes
0answers
46 views

LuaLaTeX changes font smoothing with polyglossia or fontspec (and math looks weird)

I’m using LuaLaTeX to typeset some mathematical documents in Polish. I use the lmodern font family, along with polyglossia and fontspec to get diacritical characters. However, whenever I add ...
3
votes
1answer
52 views

How to output vectorized Concrete in math mode with Beamer

The following MWE, when processed with pdflatex in TeX Live 2014, outputs an equation with a 'w' in Computer Concrete, vectorized. (I assume the character is vectorized since it can be scaled without ...
1
vote
1answer
65 views

Sharelatex with texlive and special fonts

I installed the docker image of sharelatex community edition and installed texlive scheme-full with the tlmgr command within the docker container. When I try to compile one of my projects, there is ...
2
votes
1answer
29 views

Find out if en dash \textendash is properly available

I'd like to write some code that properly renders in any font (and I cannot use UTF8 input). Is there a way to find out if \textendash is properly defined for the current font? With \ttfamily, -- ...
1
vote
1answer
60 views

Latin Modern Math font?

I've installed the basictex package in OSX and it mentions that it includes the "Latin Modern" fonts. It contains AMSTeX, the Latin Modern Fonts, the TeX Live Manager to add and update packages ...
3
votes
3answers
319 views

What are compact fonts for which I can easily set the font size to 11.75?

As the title already says, I am looking for a nice font, which is also appropriate to write formulas in. It would be nice to be able to set the font size to 11.75 (I am a little bit short of space).
2
votes
0answers
40 views

Garamondx does not work for me anymore

I updated to MacTex 2015 from 2013 and I cannot use the garamondx font. Here is an example: \documentclass[12pt]{article} \usepackage[T1]{fontenc} \usepackage[urw-garamond]{mathdesign} ...
1
vote
0answers
31 views

Tamil Fonts other than wntml10, 12, 17

Can we use Tamil Fonts other than wntml10, 12 and 17 when we use itrans53.2 in Latex?
5
votes
0answers
52 views

non-printing characters in the OpenType layout of LuaLaTeX [closed]

And while we are at it, there is another probable bug in the LuaLaTex OpenType layout code: a couple of non-printing characters (such as 200c, 200d, 200e 200f and so on) do in fact show up in the pdf, ...
10
votes
1answer
188 views

Missing Arabic Ligature due to diacritical marks in ConTeXt MarkIV

I am having an issue with Arabic Font Ligatures showing discrepancy between ConTeXt and XeLateX, when using the same font namely Scheherazade. The issue is not present when using XeLateX but only ...
6
votes
0answers
71 views

letters and spacing in Arabic — bug in OpenType layout of LuaLaTeX

I perceive the following unwanted outcome: Two issues: In the first line, the last word on the right has a small gap between the second and the third letter from the right that is not supposed to ...
3
votes
0answers
43 views

How can Bengali v.2 (bng2) be used to typeset Bengali with XeTeX?

This is a follow-up to this question about typesetting Bengali. As explained in both answers there, XeLaTeX can typeset Bengali given a suitable font using polyglossia and fontspec. For example, ...
3
votes
2answers
52 views

How can I use Bengali script in an English document?

I am a Linguist and I need to use Bengali script inside an English article which is predominantly English. I have found many answers but they only seem to be useful when the whole document is in ...
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'. ...
6
votes
1answer
70 views

Strange output with LuaTeX’s fontloader library

I am trying to debug a much larger problem, but the smoking gun is some (apparently) strange behavior with LuaTeX’s fontloader library. Minimal Example Here is file backmap.tex: \directlua { ...
1
vote
0answers
59 views

Warning message with fonts: Label(s) may have changed. Rerun to get cross-references right

Why do XeLaTeX return this warning message: Label(s) may have changed. Rerun to get cross-references right. when using some fonts as Amiri and how one can get out of this warning message. I need ...
2
votes
0answers
32 views

tracking of fonts in small capital with frenchb from babel+ microtype

I have a problem in enabling tracking of small caps [whether the font has small caps or not] when I load french babel plus microtype. The problem appears only in my titles for the section and only ...
0
votes
0answers
40 views

What font is being used in the document? [duplicate]

Can someone tell me what font is used in the following document? I assumed that it is lmodern but the output doesn't look like that. The spacing is more 'dense' in this output. Also can someone ...
2
votes
1answer
195 views

How do I make a 7 with a horizontal line through the middle? [duplicate]

I've been trying to create the 7 I'm used to writing by hand in LaTeX with a horizontal line through the middle. This seems like it should be a simple thing to do, but I don't see any native support ...
0
votes
0answers
74 views

(Possible?) How to embed a specific font (not from LaTeX package) to the output PDF?

Say I have a specific font myfont.ttf on my own computer. I have a PDF file created by another software, which uses this font. Then I use beamer (PDFlatex) to include this PDF file the final output ...