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

Changing contents of a table to verbatim

As per title, I would like the text in a specific table to be written in verbatim. Being able to change the font of specific rows in a table would be a bonus. Currently what I have is as follows: ...
6
votes
2answers
62 views

Problem with \pgfmathparse and font style of array elements

There are probably other ways to do that, but I was happy I've found this code working just fine for my needs: \documentclass{article} \usepackage{tikz} \newcounter{grpcnt} \def\groups{grp1, grp2, ...
3
votes
2answers
47 views

Decreasing font size in verbatim

How can I modify the following command to make it work? \newcommand{\code}[1]{\begingroup \fontsize{10pt}{10pt}\selectfont \begin{verbatim} #1 \end{verbatim} \endgroup} I currently get the ...
3
votes
0answers
146 views

How can I use Helvetica Light or Neue in moderncv?

I have gotten Helvetica working in Xavier Danaux's moderncv by placing in the following lines in banking.sty to typeset my cv.tex file. I'm using texShop on OSX. \usepackage[scaled]{helvet} ...
3
votes
1answer
94 views

fontspec and xeCJK conflict: tie (\t{}) over Latin character displaced one position

I want to create a tie over ng by typing: \t{ng}: The following minimal example causes the tie over ng to be displaced one position to the right, so that it appears over the g and empty space. The ...
3
votes
1answer
108 views

Make entire document look heavier using pdfrender package

\documentclass[paper=a4]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{pdfrender,xcolor} \begin{document} ...
7
votes
1answer
60 views

Why does \text only affect next charater, but \cal affects all that follow

I am sure this is indicative of a more general idea, but I noticed that if I put in $$\text hello$$ $$\text {hello}$$ $$\cal OU$$ $$\cal {OU}$$ to my tex and compile I get the following ...
8
votes
1answer
135 views

How can I use times fonts in Plain TeX?

I'd like to use Times fonts in Plain TeX. What would be the Plain-TeX equivalent of the LaTeX command \renewcommand{\rmdefault}{ptm}?
0
votes
0answers
39 views

Could anyone tell what's the font used in picture? [duplicate]

Could anyone tell what's the font used in the picture below?
5
votes
2answers
699 views

How to get this M?

I want to get this M in LaTeX: I don't get this style using \mathcal{M}, \mathbb{M} nor \mathfrak{M}. How can I get it? I don't want to change the font of the whole document, I just want to insert ...
4
votes
1answer
87 views

Failed pre-flight: How do I repair .notdef and incorrect glyphs?

I am trying to get a document that is written with XeLaTex printed as a book by a professional printer. The PDF I sent to the company did not pass their pre-flight check, however. Their tool ...
1
vote
1answer
35 views

Beamer sidebar font problem [duplicate]

I write a presentation in Hungarian. It often occurs that section title contains special Hungarian letters \H{o} or \H{u}. It is OK within the frame, but in the sidebar they appears as simple letters ...
4
votes
1answer
65 views

midsigma not varsigma

\documentclass[12pt,a4paper,twoside,openright]{book} \usepackage[utf8x]{inputenx} \usepackage[LGR,T1]{fontenc} \usepackage[english,german,greek,italian]{babel} \usepackage{textcomp} ...
5
votes
2answers
179 views

How can I install font T1 from ecrm1200 using Tex Live Manager (tlmgr)

I'm using TexLive on OSX and having trouble compiling my TeX file with the error: ! I can't find file `ecrm1200'. ... fontenc.sty:100: Font T1 /cmr/m/n/12=ecrm1200 at 12.0pt not loadable: Metric ...
8
votes
1answer
96 views

Subscript spacing in newtxmath (comma issue)

I've found a strange behavior of newtxmath package. Using my code with documentclass[12pt]all commas are glued to the next letter, which can be hard to read: When I changedocumentclass[11pt] ...
1
vote
0answers
62 views

Problem using locally installed font

I installed a font locally under $HOME/texmf, and after running texhash everything seems to be in place: > kpsewhich mtpro2.map /home/mafp/texmf/fonts/map/dvips/mtpro2/mtpro2.map > kpsewhich ...
2
votes
1answer
256 views

How can I install a Chinese font in a Ubuntu 13.10 in a way that xelatex can see it?

I am trying to make the second example from the answer here work. It is copied here below: % Compile with xelatex % UTF-8 encoding \documentclass{article} \usepackage{xeCJK} \setCJKmainfont{SimSun} ...
0
votes
0answers
59 views

Using fonts - latex

Can anyone explain me why I can't have an output like this using this code? Code, thanks @Bernard : \documentclass[12pt,french]{report} \usepackage[utf8]{inputenc} ...
3
votes
3answers
126 views

Fit equations as same size of the text fonts

An inline equation is written with the sentence appears, It can be noticed the line spacing has been locally increased for that particular sentence containing the variable E. How to shrink the ...
2
votes
2answers
123 views

Making the abstract's font looks better

How do I to make this Abstract's font written in Frensh looks better? Any brilliant idea, please ? For example, this font-style that I can't find how to make it: Its related code: ...
3
votes
1answer
55 views

Specific font for specific characters with mathspec package

I am trying to manipulate the font, font size and thickness of the mathematical characters individually. I came into this solution at stackexchange; XeTeX/mathspec punctuation issue ... \makeatletter ...
3
votes
2answers
161 views

\usepackage[scaled]{helvet} fails on Mac with BasicTeX

I have a short latex program that fails to compile when I use the following: \usepackage[scaled]{helvet} I suspect that this is an issue with using BasicTeX on the Mac because I have seen this ...
4
votes
1answer
74 views

KOMA-Script: Making Preface Page Like Chapter

I am finishing setting up my thesis LaTeX document using scrreprt class. I am trying to add the final touches which include a List of Acronyms. Now I want it to look exactly the same as the ToC does ...
0
votes
0answers
27 views

Change from Times New Roman to Arial [duplicate]

pr. 3 sg. bhavati. 3 pl. bhavanti I am using Times New Roman as the main font in a XeLaTeX doc, wherein lines like the previous occur. But after some discussion, I now need to put just some ...
9
votes
1answer
119 views

Generating a table of all glyphs – including meta data like name, Unicode etc

The answers to Generating a table of glyphs with XeTeX cycle through character positions in the font and output a glyph (and its ordinal number) if one is assigned to that position, which is only ...
11
votes
1answer
316 views

Open source fonts in LaTeX

Which LaTeX fonts are open source? Someone told me they are all, but I am not sure...
4
votes
1answer
50 views

Changing the font size of all the sections or sub sections

\documentclass[10pt]{article} \usepackage{lmodern} \usepackage{lipsum} \begin{document} \section{Hello World} {\fontsize{20}{24}\selectfont \lipsum[4] } \lipsum[1] \end{document} Here I can modify ...
1
vote
0answers
88 views

I cant get mathptmx to work:

I have wasted one whole working day trying to get mathptmx to work. In texmaker I get this error when doing a quick build or pdflatex: ! I can't find file `rsfs10'. <*> ...:=ljfour; mag:=1; ...
2
votes
2answers
53 views

Caveats of newtxmath and fontspec together

I'm able to typeset a ~50 page set of lecture notes with heavy math using \usepackage{libertine} \usepackage[libertine]{newtxmath} with both PDFLaTeX and XeLaTeX. I know that the libertine package ...
0
votes
0answers
59 views

Using different fonts in a latex document [duplicate]

The present state is: I get two ttf fonts, say font1.ttf and font2.ttf. I used autoinst tool to convert the both into latex usable fonts. In my document preamble, now I'm able to use: ...
2
votes
0answers
31 views

Question about using package babyloniannum

I'm trying to use package babyloniannum, here's my file \documentclass{article} \usepackage{fontspec,babyloniannum} \begin{document} \babylonianfont{Santakku} \babyloniannum{8} \end{document} I ...
5
votes
1answer
110 views

A “math font error” I fixed but, don't know what was wrong

I was typing my homework and got this error: ! LaTeX Error: \mathfrak allowed only in math mode. Recently I added some macros to my macro file that gives mathfrak text when used so, I figured I must ...
6
votes
1answer
80 views

What is the defaults font in \documentclass{slides}?

Because beamer is more powerful, I am learning to use it to prepare my presentation. But, I prefer the default font style in \documentclass{slides}. So, I have two questions: What is the defaults ...
0
votes
1answer
43 views

minted : changing fontfamily to support UTF8 chars

I'd like to print out the output of a "/usr/bin/tree" command. For instance : /etc/puppet/hieradata/ ├── common.yaml └── virtual ├── false.yaml └── true.yaml My idea was to put this in a ...
6
votes
2answers
80 views

Does Kerkis font work with xelatex?

I'm a confused on whether xelatex and kerkis font can be used together. I'm using Ubuntu 13.10, Tex Live 2013/Debian, and I have the kerkis font installed. Though, if I try to compile the following ...
1
vote
0answers
42 views

How can I get TeXShop to pick up the right font, and sharply? [closed]

I am running TeXShop on a Mac, and formatting a document for Electronic Communications in Probability. I have used their tex source to produce their sample document, available in step 1 here. I ...
2
votes
0answers
54 views

Font management, i.e. problems with StandardSymL-Slant_167

my Illustrator doesn't know about the font "StandardSymL-Slant_167", which seems to be used in a picture that I createted with gnuplot+pdflatex. At the moment Illustrator is replacing it with another ...
1
vote
0answers
95 views

Troubles installing MathTime Pro 2 (MacTex)

I follow the directions here: $sudo texhash warning: kpathsea: configuration file texmf.cnf not found in these directories: /opt/local/etc/texmf. texhash: Done. But I can fix this by doing ...
11
votes
4answers
251 views

Making variations of \boxed

I have to typeset certain formulas, and the notation involves stretchable boxes, pretty much like \boxed{X} makes, but occasionally I need to add a hat below and/or above, as the picture shows: ...
3
votes
2answers
158 views

Change \ttfamily font for entire document

I'd like to change the teletype (\ttfamily) font that I'm using in my document. (I'm using the scrartcl class.) I've searched on stackexchange and Google, but all I can find are answers to how to ...
3
votes
2answers
91 views

LuaLaTeX: german special character ß with `newpxtext`

I use the font Palatino from the package newpxtext in combination with LuaLaTeX. With this package it is not possible to set the german special character ß directly: % Magic comments for TeXstudio % ...
0
votes
0answers
102 views

font in MATLAB figures (type1 / type3)

I have some figures generated in MATLAB. I want to include the figures in a tex file. First I save the figure as eps format. and then I include the eps file in the latex. The default font of the ...
2
votes
1answer
191 views

greek encodings under lyx

In my newly installed linux machine (Fedora 19), editing a formerly working document under lyx, I get: Package fontenc Error: Encoding file 'lgrenc.def' not found and in fact I see that the dir ...
6
votes
1answer
91 views

Libertine + newtxmath gaps in big brackets

I have a problem when combining Libertine with newtxmath. When using large brackets in equations the brackets have strange gaps. \documentclass[fontsize=12pt,DIV=12,oneside,a4paper]{scrreprt} ...
2
votes
1answer
140 views

Install MyriadPro on MacOS/Texlive 2013 [closed]

I tried to install MyriadPro using FontPro (FontPro). Everytime I try to compile a latex document with pdflatex I get the following error: kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag ...
2
votes
1answer
96 views

What is this math font and how do I access it?

I'm reading a paper that uses a font that looks like this for equations: It looks a bit like Times New Roman. In my file, I use \usepackage{newtxtext,newtxmath} and get the following really ugly ...
1
vote
1answer
74 views

Harvmac, Amstex

I am writing a file with Plain TeX using the harvmac macro. I have always used LaTeX until now. Two related questions about harvmac Vs. mathematical fonts: I tried adding \input amstex to get the ...
1
vote
0answers
165 views

Make All fonts embedded in WinEdt

I have received the following comment from publisher on my paper: "Please create a good pdf with all fonts used embedded. If you are unable to create a good pdf with all fonts embedded. Please see: ...
5
votes
1answer
74 views

change fontshape for lewis dot in chemfig chemmacro

I wish to draw a chemical reaction showing a radical chain reaction. I am using chemfig and chemmacros and beamer. beamer uses sans serif fonts which is good for display and less fussy. When I write ...
3
votes
1answer
142 views

Changing only text font to Times New Roman but keep maths symbols in default font

In my document, I have math symbols/equations, as well as plain text, the text has to be in Times New Roman font, so I use \usepackage{pslatex}. However, this also changes the font of the maths ...