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

Issue with \bar accent and fontspec

Consider the following MWE: \documentclass[png,border=2pt]{standalone} \usepackage[no-math]{fontspec} \usepackage{sfmath} \begin{document} $\bar 1$ $\vec 1$ \end{document} This produces in ...
6
votes
1answer
111 views

Special Unicode characters with XeTeX

Most of the modern fonts out there are encoded in Unicode, but provide only a subset of the whole range of glyphs defined in Unicode. Most lack the Latin Extended Additional range ...
2
votes
1answer
33 views

LateX - Font issue with OT1pcr.fd file [duplicate]

I'm trying to compile a tex file using TexMaker but I got the following error LaTeX Font Info: Try loading font information for OT1+pcr on input line 220. ...
3
votes
2answers
197 views

Using Lato Light Font Throughout a Document

The command for using the lato light font is given to be \fontseries{l}\selectfont but this command produces no change to my document when compiled with pdflatex. I would like to use the light ...
0
votes
1answer
49 views

standard or recommended font for vocabulary or gloss terms

I'm writing notes for my students and in the present section, the bulk of the content is defining terms. To help make the notes more practical, I put the technical terms being defined in bold so that ...
4
votes
0answers
111 views

Fonts: Is there any scientific proof about the choice? [closed]

It is common knowledge that the more you work with TeX, the more likely you are to make changes in the basic format so as to fit it in your needs. Of course, one of the most important things that ...
0
votes
0answers
29 views

TeXlive on ubuntu - fonts in Plain TeX

I've reinstalled my system recently (now I use ubuntu 12.04) and have problem with fonts in Plain TeX I use texlive and texlive-lang-czechslovak. Apparently with UTF-8 encoding (pdf)csplain is not ...
1
vote
1answer
24 views

Including brackets inside text function [duplicate]

I am having a programming function with name WorkFunction_(). I am trying to highlight this function using \texttt{}, something like \texttt{WorkFunction_()}. However this ends in error. Could anyone ...
2
votes
2answers
41 views

switch greek lowercase for times.sty to upright?

I need to "similarize" my latex output to web browser serif display. I would like all math to be switched to upright and mimick html browsers, too. \usepackage{mathastext} \usepackage{times} ...
6
votes
2answers
99 views

\Underbar changing the style of font but \bar not, why?

The x alphabets should be of the same size and style. You can see below an ugly change in the style of x. How can I keep the font profile such as the size and style the same? Ugly example where the ...
4
votes
2answers
105 views

ZephGreek and ZephText

Greetings to all TeX lovers! I have been reading Xenophon's "Cyrus' Anabasis" these days in my free time. The book is from the Loeb Classical Harvard Library. Usually I use Garamond to write my ...
5
votes
3answers
92 views

Greek capital letters with Latin Modern and TeX

Copying the plain TeX format, my formatting file contains the lines \font\tenrm="[lmroman10-regular.otf]:mapping=tex-text" \textfont0=\tenrm \def\rm{\fam0 \tenrm} to load a unicode font. However, ...
2
votes
0answers
63 views

Plot with same font of journal

I am preparing some graphics for a paper using GNUPLOT and LaTeX so at the end I have text, label and legend with the standard LaTeX font. Now I would like to change this font in order to uniform the ...
8
votes
4answers
535 views

why are math fonts (traditionally) italic/slant? and Greek non-italic?

why is it usually the case that mathfont = italic/slant? [in my post, I am not distinguishing between slant and italic. I believe the two can be different, but let's not distract from my real ...
1
vote
0answers
61 views

Render text upright in math mode

I am looking for a way to have LaTeX render strings of more than one letter as upright (in math mode). For example, I want it to render $Hom$ as $\mathrm{Hom}$, $apple$ as $\mathrm{apple}$, $apple ...
3
votes
2answers
84 views

XeLaTeX Double closed path integral? [duplicate]

How can I write a double closed path integral? I have searched and I have found only single closed loop integral.
9
votes
2answers
217 views

3D font in LaTeX

This is an unusual question regarding rendering of a font with a specific 3D-esque style in LaTeX, XeLaTex, or any other TeX flavor. I was looking at some fonts the other day and I came across one of ...
5
votes
0answers
112 views

Characters missing when embedding PDF with pdftex

I have the feeling this must have been asked before, but I couldn't find it with search... When I run the following test file \documentclass{article} \usepackage[T1]{fontenc} % ...
6
votes
1answer
104 views

Simplefonts works, but definefontfamily does not?

I want to use \definefontfamily, and according to contextgarden.net, it should be included by default: As of December 2013, the functionality of the Simplefonts module has been included into the ...
2
votes
0answers
17 views

Nested fonts not working [duplicate]

I'm trying to get some words in bold and typewriter styles together but only typewriter is been applied. I saw in other question one not should use \bf while nesting, so I tried: ...
8
votes
3answers
214 views

Inline math or \textit for author defined math constants?

Wondering if people here have a thought on what the best practice is here (if it matters). I used to use baskerville (well, the baskervald package) as my main font and charter as my math font (since ...
2
votes
0answers
35 views

How to set the resolution of bitmap fonts in XeTex?

I would like to use the Calibri font for text and the concmath font for math. The latter is a bitmapped font and therefore it is rendered with rough edges by default. In pdflatex, one can set the ...
4
votes
1answer
94 views

Beamer bullets with Alegreya Sans

I find Alegreya Sans especially readable for presentations, in part because it has real italics and not just an oblique shape. However, itemization is problematic. Although the default, triangular ...
4
votes
1answer
54 views

Changing font does not work

I would like to change to a font with sans serif (for example Helvetica or computer modern sans serif). The following code does not change the font: \documentclass{article} ...
5
votes
3answers
148 views

Fonts issues in xelatex

I would like to know what is the right way to define all the text font as a specific size. I use \documentclass[20pt]{article} but it won't change the font size in xelatex. And these symbols (" and ') ...
0
votes
1answer
47 views

How to change the font of a URL from \ttfamily to Euclid? [duplicate]

I would like to include a clickable URL in a text written in LaTeX. For that I included the package hyperref. The result obtained by \url gives a clickable link written in \ttfamily (the default ...
1
vote
0answers
41 views

Font for sheaves in Hartshorne [duplicate]

What is the font used in Hartshorne's Algebraic Geometry book for sheaves? I originaly thought it was \mathscr as $\mathscr F$ looks very much like the symbol for a sheaf F there. But that can not be, ...
0
votes
0answers
45 views

how to only increase line-space for 'cventry' command in moderncv

I use modercv template to compile my resume,but i have two troubles. First I want increase line space between texts in 'cventry' command Second i need change part text font,only effect part ...
24
votes
3answers
701 views

How to have upside down text in body?

I have environments Question (described in To clearly separate block inside a chapter) and Answer blocks. I want the Answer block be the same as as Question block but the text upside down in it. ...
5
votes
1answer
82 views

ConTeXt: Font change shifts column content

Background I would like to place balanced itemized lists inside a two-column layout. Problem Changing the font affects the balanced layout; the fonts are: Chivo Gentium Basic Code The ...
7
votes
1answer
98 views

How can I set the chapter titles in EB Garamond?

I am using the font EB Garamond but I don't succeed to get the chapter and section titles to be set right. The package ebgaramond does not have all the features I want, and when looking for the font ...
2
votes
1answer
95 views

Using \frak with context

I am trying context out and cannot get \frak to work. Should the following work? \starttext {\frak The quick brown fox jumps over the lazy dog. 1234567890} \stoptext I did a cut and paste of the ...
2
votes
1answer
46 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
60 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
44 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
127 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
103 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
59 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
134 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
83 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
64 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
139 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
94 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
56 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
219 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} ...