{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
1answer
55 views

How can I read kerning data from tfm file [closed]

I am writing dvi processor. I can get font width, height, parse dvi with one bug. TeX relies on dvi processor to insert kern between a row of chars. I do not have the kern values. They are in (...
2
votes
1answer
51 views

LaTeX: using an unusual font (astrosym) in footnote size

I have found an old piece of code of mine that takes some output from another program to produce an astrological chart using LaTeX. I tried to put the list of aspects from text form to symbol form. So ...
1
vote
1answer
19 views

defining new functions such that their names have a normal font [duplicate]

There are predefined functions somewhere such that when you use them in default theorem environments, their names appear in a normal (non-italicized) font. I want to be able to define my own functions ...
0
votes
0answers
17 views

Polyglossia + Times New Roman font : small capitals not working

I'm using the polyglossia package with Times New Roman font. Everything is working, all caracters are displayed well, except for the small capitals... I tried different fonts like Arial, Arial Unicode ...
1
vote
1answer
80 views

What is the font used?

What is the font used in this latex document?
1
vote
1answer
69 views

Why 'xelatex' fails to find the font?

I'm using xelatex the create a PDF from a tex file. Normally I use the command: \setmainfont{DejaVu Sans} \newfontfamily{\hebrewfont}{DejaVu Sans} Which successfully loads the font. Though when I ...
5
votes
0answers
71 views

XeLaTeX font rendering tend to be slightly bolder compared to PDFlatex

I noticed that there is a subtle difference of font rendering result between pdflatex and xelatex. xelatex tend to be slightly bolder compared to pdflatex. Even the file thumbnails in file manager ...
5
votes
1answer
34 views

Combining font switches in ConTeXt

I would like a set of macros to switch the font alternative in ConTeXt, to either italics, slanted, or bold, and I would like them to combine in an intuitive manner, similarly to LaTeX's \textit and \...
0
votes
0answers
26 views

fontspec error: “font-not-found” -----The font “XB Niloofar” cannot be found

I work with textlive and WinEdt. When i try to compile following piece of code \documentclass{article} \usepackage{xepersian} \settextfont{XB Niloofar} \begin{document} سلام \end{document} ...
2
votes
0answers
50 views

LuaLatex removes ligatures with LetterSpace

If I compile the following (M)WE with LuaLatex, all the possible ligatures are removed. This does not happen with the standard font or if I remove the \defaultfontfeatures{LetterSpace=1} or if I set ...
4
votes
2answers
151 views

\bold in math environment

Having forgotten the command to make text bold in math mode I naively tried $\bold{bold var goes here} these maths symbols are not bold$ and it worked! I became immediately suspicious as I know ...
1
vote
2answers
82 views

How to change the font for math

For my thesis I use the fourier font because I like it as my main font but I have one problem with it: I do not like the font that fourier uses for math. How can I change/override this? I just want ...
1
vote
0answers
19 views

math after some font will change [duplicate]

I have trouble when I use the command \cal{B} , sometime the content after this command will be change to arrow or triangle or similar unwanted symbol . this is the code:- \documentclass{article} \...
7
votes
2answers
69 views

Section Sign in italics?

How is it possible in LaTeX to make the § be displayed in italics? \textit{WGG \S\ 1 Allgemeines} is supposed to turn print like this: WGG § 1 Allgemeines but instead LaTeX gives me this: ...
1
vote
0answers
48 views

How to combine different fonts

I know it's somehow possible, but I can't figure out how: I use a font-family, that doesn't have an italic font, so I want to use an italic font of another font family. Something like: \setmainfont{...
2
votes
1answer
35 views

Cannot include courier into latex beamer listings

I have the following set up for my listings: \documentclass[russian,pdf]{beamer} \mode<presentation>{} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian]{babel} \...
1
vote
1answer
57 views

fontspec doesn't find Stylistic Variants in Gentium Basic

According to SIL, the font Gentium Basic --- which is a subset of Gentium Plus --- supports "literacy alternates". Consulting the font documentation (for Gentium plus, anyway), the literacy ...
3
votes
1answer
45 views

Using XITS with pdflatex

I'd like to use the upper integral symbol \upint. Since by default this symbol is not defined, I'd like to use the XITS font in a LaTeX document. When using the STIX font one could simply \...
2
votes
1answer
28 views

\fontsize command not working as expected

I have some tables in the middle of a document which is in written in 12pt and I'm trying to make them in 10pt. Only the tables. If I write \begin{table} \centering \fontsize{10}{12} \begin{tabular}{...
0
votes
0answers
88 views

Fonts are not rendering correctly [duplicate]

I am using xelatex for printing Malayalam fonts. This is code and it is not printing properly. In the code it is right form and in the image that produced by the code is wrong \documentclass{...
3
votes
1answer
58 views

Why does lualatex allow for tt mathmode symbols while pdflatex does not?

Consider this simple example: \documentclass[preview]{standalone} \usepackage[utf8]{inputenc} \begin{document} $\texttt{\lambda}$ \end{document} Running with lualatex works fine, but pdflatex ...
3
votes
1answer
41 views

How do I set font size of beamer items?

I am putting together a beamer theme for internal use (which has, I am afraid) to look rather like Powerpoint. One thing I can't work out how to do is to set the font size of the text that appears ...
1
vote
0answers
33 views

Help for font name

I have used the ClassicThesis model for my thesis, but it is asked to me to change the font.. Could you tell me the name of this text-body font?
8
votes
1answer
341 views

what is the differences between “\verb” and “\tt”

I am wondering the diffference between \verb and \tt. For example \verb|difference| appears the same with \tt{difference}
2
votes
1answer
44 views

How to use 'BoldFeatures' to colorize bold texts, but override that color for individual text strings?

In my document preamble I use the following code to set my desired font and at the same time to set as default text colors different gray values for italic, bold and bold-italic text: \usepackage{...
1
vote
0answers
63 views

LaTeX font missing on Windows machine [closed]

What is going on here? I'm familiar with TeX, but I don't know much about fonts.
6
votes
0answers
104 views

ConTeXt: Font weights

Is there a canonical way to access font weights other than regular and bold in ConTeXt? This does not work: \definefontfamily [myfamily] [serif][Calluna] \definefontfamily [myfamily] [sans] [Calluna ...
1
vote
0answers
38 views

Type 3 font is not embeded

I am using bbm Package for required mathbbmss font. The problem is Type1 font and subset fonts are Embedded successfully in PDF properties (For Ex: CMMI8 (Embedded subset)). But "Type 3 font F33" ...
4
votes
1answer
157 views

How do you make a big Laplace Transform symbol

\documentclass{article} \usepackage[hmargin=1in,vmargin=1in]{geometry} \usepackage{amsmath,cancel,color,mathrsfs} \begin{document} Derivation of $ \mathscr {L} \{\int_0^{t} f(\tau)\,d\tau\} $ \end{...
3
votes
1answer
67 views

Sans-serif bold math with newtxmath

I'm writing an article whose math font needs to be Times New Roman. To this end, I'm using the newtxmath package. However, it doesn't seem to support sans-serif bold in math mode. Usually I can write ...
7
votes
1answer
112 views

XeLaTeX, fontspec and printing the name of the current font

Is it possible, using XeLaTeX and fontspec.sty, to write a macro, say, \printcurrentfont, such that it would print the name of the font currently in use? I have looked through the fontspec ...
3
votes
2answers
73 views

Still want to use “ptm” in XeLaTeX

I'm using XeLaTeX typesetting Chinese fonts in my document. (So XeLaTeX is the only suitable way for me to do my stuff.) I want to use the LaTex original ptm font to typeset all English text. I know ...
1
vote
1answer
79 views

Can't load system font by name with XeLaTeX but with LuaLaTeX

I installed a TrueType font in windows 10. Now I want to use it with XeLaTeX. The font can't be loaded. The first message is Sorry, but miktex-makemf did not succeed for the following rea son: The ...
2
votes
1answer
64 views

How to keep ampersand in a different font?

\documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage[T1]{fontenc} \usepackage[math]{iwona} %nice font \renewcommand{\mathsterling}{\textrm{\textsterling}} \usepackage{hyperref} \...
2
votes
1answer
42 views

pdfTex: \operatorname with Computer Modern Roman

I am using the default font, Computer Modern Roman, and I am trying to get \operatorname to work properly. The issue is that it appears to look identical to normal text. This question: LuaLaTeX: No ...
1
vote
0answers
69 views

How to change the header in memoir

How can I do the following in page headers in memoir (without changing anything else): remove "Chapter" (and the chapter number) from page titles. (So only chapter title remains). Make the title and ...
1
vote
1answer
31 views

full stop at the end of section and subsection numbering

I am using IEEE tran journal TeX file for writing document but I am facing problem in section numbering in my document. It appears as 1, 1.1 with \documentclass[journal,compsec]{iEEEtran}. I ...
9
votes
0answers
64 views

Side effects of changing blackboard bold font with \setmathfont

I'm using Latin Modern Math as math font but, since I don't like the blackboard bold letters that come with it, I replace them with the ones from TeX Gyre Termes Math. I believe to achieve this, the ...
12
votes
3answers
1k views

How to write bold, italic and sans-serif at the same time?

My title is bold and sans-serif right now but two words in the title have to be italic in addition (scientific name of bacterium). Currently I'm using \selectfont to make the whole thing sans serif ...
0
votes
0answers
48 views

Why does texmaker not display fonts from eps images properly ?

When creating a pdf file including eps images and using texmaker, some of the characters from this image do not display properly. Here is an MWE : Create a file named mwe.eps : %!PS-Adobe-3.0 ...
2
votes
0answers
41 views

Decision based on machine wanted

I want to use the roboto font for my document. It works nice when I compile it on my development machines. On our continous integration machine (running Jenkins) there is an old distribution of LaTeX ...
0
votes
1answer
74 views

Using an OTF font with beamer and lualatex

I have recently acquired one of those very complete OTF font families (Latin / Greek / Cyrillic, with small caps and many ligatures). I managed to get it work with LuaLaTeX thanks to fontspec, but ...
0
votes
0answers
87 views

Specific font displays next letter instead of current

Problem is simple, when I write "a" it shows "b" and so on, but only for common letters (for example polish "ń" was left as it should be). Weird thing about it is that only one font in the family ...
2
votes
2answers
53 views

overlappings when texgyrepagella is used with stmaryrd

Consider running xelatex or lualatex on the following code: \documentclass[compsoc]{IEEEtran} \usepackage{unicode-math} \setmathfont[Extension=.otf]{texgyrepagella-math} %\usepackage{mleftright} % no ...
1
vote
0answers
56 views

Having the same font for both the caption and the main document [closed]

I would like to have the same font family & style for both the caption and the main body. My code for the caption is the following (note that I didn't specify to change the font family): \...
4
votes
1answer
66 views

How to make a tikz node with differently styled text and line breaks

I am trying to create a tikz node with differently styled text. Adding a line break inside a bold text breaks the rendering with: ! Undefined control sequence. \tikz@invoke@collected@onpath ......
2
votes
1answer
30 views

How to get a small letter version of \mathcal{O} inside table caption

I have used the suggestion given in How to get a small letter version of \mathcal{O}, and it worked perfectly, except when \smallO is inside a table caption. How to overcome the nuisance?
1
vote
0answers
52 views

Please Help to change font in equation [using system font]

I everyone. I'm new in this community. I'm looking for help to change font in LaTeX. I will explain it :) I write a document with Indesign and I use an OpenType police [Din 16]. I try since 2 days ...
2
votes
2answers
118 views

How can I write blackboard bold Latin capital letters in Plain TeX?

In LaTeX, you can use commands like \mathbb{C} (in amsfonts) or \mathds{C} (in mathds) to get blackboard bold letters. But how would I get them in plain TeX? I tried {\ds C} and it didn't work.
2
votes
1answer
94 views

Japanese font with good kanji coverage for xelatex on linux

Can anyone recommend a font that has good coverage of kanji characters that I can use with xelatex on Linux? My immediate problem is typesetting the name Suzuki Matoshi (鈴木眞年). I'm not sure that a ...