{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
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} ...
3
votes
1answer
36 views

acmsmall normal font

I am using the acmsmall to do an essay; I have a custom cls and I've re-defined all of {title, author, etc}font to be more appropriate. However, I am having trouble getting the normal font to be ...
6
votes
1answer
71 views

How to determine current font style

It's quite common in film studies to print films in small caps. In my documents I use the command \film{} to do this. I currently have a document which mixes both serif and sans serif fonts. But since ...
4
votes
1answer
63 views

Customize stackoverflow like source code box using tcolorbox extrude, with constant space around word [duplicate]

I try to change font familly in my tcolorbox to have similar font than the font for source code in stackoverflow, without success. The height of line is also not correct, there is a difference ...
0
votes
0answers
41 views

Getting some latex error

I am getting the following two errors due to a line (\ref{diffin}) with $\theta(0) =\theta_0$ in my .tex file Font OT1/cmr/m/n/3.5=cmr3 at 3.5 pt not loadable Metric(TFM) file not found. \scriptfont ...
3
votes
1answer
55 views

Set Antykwa Torunska to use Old Style Numbers in body text, instead of just small caps

Is there a way to get Antykwa Torunska to use its old style numbers character set by default in body text, rather then just with small caps? I imagine there is, but the documentation is rather ...
1
vote
1answer
89 views

Beamer template setbeamerfont bfseries

I have a problem regarding the \setbeamerfont command related to alerted text. The usage is: \setbeamerfont{alerted text}{series=\bfseries} However, bfseries does not work in math mode - what can I ...
4
votes
0answers
79 views

How to obtain a heavier math font?

The current question is a follow-up to some previously asked questions, like this: It is possible to make fonts appear heavier (darker) in pdf output of Latex? and this: Make entire document heavier ...
1
vote
1answer
31 views

Using \vafont from http://www.tug.dk/FontCatalogue/va/

So I installed this, http://www.tug.dk/FontCatalogue/va/, package to use this font and I wish to use it inline for a single character. I'm not sure how to do this, please help!
3
votes
0answers
85 views

Text font matching CM Math?

I see many people ask about a math font to match their favorite text font. Here I'm asking the inverse question. When I first heard about LaTeX, I was so impressed by its super high quality output, ...
1
vote
0answers
40 views

Could you please help to to know which part(s) in my code should I change to decimal numbering [closed]

please help me with my code , I cheched this page but I also want to put my code if you would guid me which lines exactly to remove and which ones to add , cause it's a bit chaotic, thank you so much ...
1
vote
0answers
40 views

utopia font type in fourier package shrinks my document

I would like to use the utopia font found in the fourier package, but when I add \usepackage{fourier} a 5 page document shrinks quite a lot, even though I'm using the same font size! The problem ...
8
votes
3answers
422 views

How to typeset a radio button?

While it's easy to typeset a check-box (checked or not) in LaTeX (e.g., using wasysym), I did not find any way to typeset a radio button. I could of course use TikZ, but is there a more "lightweight" ...
1
vote
1answer
50 views

Errors in Gnuplot figures after converting DVI to PS/PDF

I use Gnuplot to generate my figures (with "set terminal postscript eps"). When I insert the figures into my LaTeX document and compile it using the standard compiler latex(?), everything looks fine. ...
4
votes
2answers
119 views

How can I keep the baseline for fonts with different sizes on the same line? [XeTeX]

I'd like to create a list of default font sizes. The list should not just include the point values, but the actual LaTeX commands used in achieving those sizes. Problem The baselines are not equal ...
3
votes
1answer
48 views

Remapping single Glyphs in small caps (Linux Libertine)

I am trying to remap the default style of the German sharp s (Eszett) to another Linux libertine. This works when adding U+00DF <> U+E04C to tex-text.map (and compiling this map file). The ...
1
vote
1answer
47 views

How to install Tiqwah package

I've been trying to typeset a document in Biblical Hebrew, and ran into this document describing the Tiqwah LaTeX package. However, after trying tlmgr unsuccessfully, I have not been able to find out ...
0
votes
0answers
28 views

Checking available font styles and shapes

I am using a usefont{<encoding>}{<family>}{<series>}{<shape>} command, as described here, I use it with Lato fonts \usefont{T1}{fla}{l}{n}. My question is how can I check ...
4
votes
1answer
66 views

How to adjust the font of the entry numbers in TOC?

My first LaTeX article looks ugly, see above. How to adjust the entry numbers to look more large and in bold? And, without changing the following title text? \documentclass[a4paper]{article} ...
3
votes
1answer
43 views

realscripts when sups are not defined

Many OpenType fonts, both free and commercial, have superiors for only 1, 2, and 3 and do not define the sups feature. I want to use the superiors in files with no more than three footnotes. At ...
1
vote
1answer
30 views

How to change font in lhs2tex output

Documentation for lhs2tex shows a serif font being used by default as the output from the preprocessor (http://www.andres-loeh.de/lhs2tex/Guide2-1.17.pdf): However, when I run lhs2tex --poly ...
2
votes
1answer
61 views

Using Gael Varoquaux's garamond fonts with psfrag (ideally: non-root solution)

For my thesis, I really like to use the modified Garamond fonts by Gaël Varoquaux, because I think they are exceptionally pleasing visually. While Gael does not support the fonts any more, he suggests ...
2
votes
1answer
69 views

Hat over numbers without math mode in XeLaTeX

I'm using the Alegreya font in XeLaTeX and I'm wondering if I can put a hat over numbers outside of math mode. I ask because Alegreya doesn't have math functionality, so the integers default to CM ...
1
vote
1answer
94 views

words contains ffi

i want to use marine traffic website as a reference so i used the following \bibitem{AIS} AIS \url{https://www.marinetraffic.com/en/}. The web link appear in the text just fine but when you click ...
2
votes
1answer
40 views

Locally redefining a macro within a section's short title

Background and Problem I'm using XeLaTeX to typeset a document in blackletter font, which requires the use of antiqua fonts for loan words and others. So I have created two commands to explicitly set ...
5
votes
2answers
78 views

I want to change the font in math mode for only one letter in an equation

Some has suggested this is a duplicate question, but I do not think so, because I haven't been able to do it by reading the other posts. I have something like \documentclass[a4paper,12pt]{book} ...
0
votes
0answers
19 views

Normal numbers are superscripted when using \fontspec{<font name>}[Fractions=On]

This MWE produces superscripted numbers on my Windows machine. \documentclass{article} \usepackage{fontspec} \begin{document} \noindent \fontspec{Times New Roman}[Fractions=On] Should not be ...
5
votes
1answer
152 views

How to change a single character font after writing long document?

Using classicthesis. How to change a single math caracter, say J? I know how to do it by just by adding an extra symbol: \DeclareSymbolFont{CMletters}{OML}{cmm}{m}{it} ...
0
votes
1answer
74 views

What font or symbol is this in Latex? [duplicate]

Can anybody recognize the font or symbol for this . It is used as font for alphabetic letter S, in my text. I did check almost all fonts and symbols but couldn't succeed in finding a good match. I ...
1
vote
0answers
38 views

Make \usepackage{polski} and \texttt work in the same document

I would like to use Polish language in a part of my Acknowledgements. In order to do it I introduced in the preamble: \usepackage{polski} \usepackage[polish, english]{babel} And later on, to ...
1
vote
0answers
46 views

Verbatim vs Listings for Thai Font

I have a problem about verbatim and listings. I need write some codes by using Thai font but it shows in picture \documentclass[12pt,a4paper,oneside]{book} \usepackage{verbatim} \usepackage{listings} ...
1
vote
0answers
69 views

Problem using Adobe Garamond Pro with Xelatex on MacPro

I would like to use the Adobe Garamond Pro (otf) font with mathdesign using XeLaTeX. I am running TexStudio and TexLive on MacPro. I have also added these font using Font Book: ...
0
votes
2answers
119 views

How to include lambda calculus code in LaTeX?

What is the best way to include lambda calculus code in LaTeX (like in Courier new font), especially one that allows for the use of math symbols as well like $\lambda$ throughout the environment. For ...
1
vote
0answers
59 views

Suggestion for font setup (urw-garamond)

So I've finished writing up my thesis with scrbook and I am currently exploring font options. I have already installed urw-garamond with the getnonfreefonts script and I am wondering if anyone could ...
4
votes
2answers
104 views

Is there a way to export major element styles?

pre-notice: I tried very hard to find an answer to this question and searched with various different terms. But I still have the tiny feeling that someone asked this before, because it is a very ...
6
votes
1answer
162 views

Alleged Missing Characters in Latin Modern Math

I'm using the Unicode-math package, with Latin Modern Math as my math font. Thus \documentclass[]{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} ...
1
vote
0answers
40 views

Redefine font used in \mathit

I am using the libertine package with pdflatex. For maths I use the Computer Modern font. In formulas I need longer variable names and to do get the spacing right I use \mathit. The font used is ...
3
votes
1answer
108 views

Why is XeLaTeX Pushing British English Text into the Margins?

I'm running into issues whereby TeX/LaTex/XeLaTex can't seem to calculate line breaks properly in regular paragraphs. This came about when I was experimenting with different fonts—in particular, Linux ...
4
votes
1answer
86 views

italic font in lmodern-lighttt

In a search for a good monospaced font for my code listings I found the lmodern fonts. I really like the lighttt variant of those. The difference between normal and bold version is clearly visible ...
0
votes
0answers
32 views

How do you write Munkre's topology T? [duplicate]

In James Munkres' classic topology textbook, he writes a topology T using a typeface I am unfamiliar with. I tried looking it up using detexify and checking commonly used character sets but the ...
2
votes
1answer
89 views

Use an *.otf font with fontspec

I an running Tex Live 2012 and would like to use the font Fira Sans in my documents. Unfortunately it is a relatively new font so not included in any of the packages for this version of Texlive. ...
2
votes
1answer
59 views

How to rearrange the characters of a font with virtual font

My setup: TeX Live How can I remap slot 39 to slot 13? I tried to do it by creating a virtual font: tftopl cmtt10.tfm > cmtt10.vpl patch <<EOF --- cmtt10.vpl +++ cmtt10.vpl @@ -1,3 +1,4 @@ ...
4
votes
1answer
37 views

\textasteriskcentered invisible with [garamond]{mathdesign}

Please try this MWE: \documentclass{article} \usepackage[garamond]{mathdesign} \usepackage{roboto} % or another sans serif font, e.g. the cabin package \usepackage{blindtext} \begin{document} Centred ...
5
votes
1answer
67 views

Missing colon in mathtime

I have got MathTime Fonts installed and can get the math letters correct, but several signs like :, [ and ] are missing. They appear to be declared in mathtime.sty file, but do not appear in the ...
4
votes
1answer
77 views

How can i change the shape of a letter?

I want to change the way the letter "Y" from txfontsb package appears in the main text of the document, not in math mode. It looks like this and i would like to change it with Is it possible to ...
0
votes
0answers
77 views

Fira Sans font package errors

Why do I get errors when loading the Fira Sans font package (e.g. \usepackage[thin]{FiraSans}) or when using the built-in font selection macros (e.g. \firaextrabold), except when using medium or ...