Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fonts]

{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}.

0
votes
0answers
29 views

TeXLive 2019 and Libertine: OpenType feature warnings

Since I upgraded to TL2019, I get a lot of opentype feature warnings. For example for \documentclass{book} \usepackage{libertine,fontspec} \begin{document} ads \end{document} I get OpenType ...
2
votes
1answer
24 views

Change Montserrat bold font

I want to use Montserrat ExtraLight as the main font of my report and because the default bold style is too bold, I would like to use Montserrat Regular as bold style. I am using \usepackage[T1]{...
0
votes
0answers
15 views

Creating \simrightarrow with ooalign

I would like to have a command \simrightarrow, that is, a \rightarrow with a \sim over it. Stealing code from @egreg, I got: \documentclass{article} \usepackage{unicode-math} \newcommand{\...
1
vote
2answers
28 views

Set font with setmainfont to something other than regular and use textbf

I have a font which comes in many different styles. Ive got Light Medium Regular Bold Thin .... Now i would like to choose the "Light" version as main font for my document. I have done that with ...
8
votes
1answer
259 views

Greek theta instead of lower case þ (Icelandic) in TexStudio

I am trying to use Icelandic characters in TexStudio. My preamble looks like this: \documentclass[12pt,a4paper]{article} \usepackage{geometry,float} \usepackage[icelandic]{babel} \usepackage[T1]{...
2
votes
1answer
23 views

How to conveniently use textmode brackets in a mathmode \ce command (XeLaTeX)?

I'm preparing a thesis for publication, and the publisher requires the use of a font with old style numerals in textmode. This results in old style numerals being used when I use the \ce command. No ...
3
votes
1answer
59 views

Calligraphic and script fonts with both upper and lower case?

What do I need to do to define a \mathscr which can handle both upper and lower case letters and a \mathcal which can handle both upper and lower case, with the latter staying as close to the default \...
2
votes
2answers
77 views

Times New Roman PS font not rightfully rendered by ConTeXT

I downloaded the Times New Roman PS font for using by ConTeXT (luatex). Running mtxrun --script font --list --all pattern=timesnewroman* gives me the following result: timesnewromanbold ...
0
votes
0answers
32 views

Zapf dingbats for use with pdftex option to hyperref package?

I'm trying to use pdflatex to process the ex0001.tex example file that comes with the pdf-forms-tutorial (https://ctan.org/tex-archive/info/pdf-forms-tutorial?lang=en). I hit the fatal error: ...
0
votes
1answer
78 views

How to use oldstandard package properly?

I have just downloaded the OldStandard.sty package avaible on CTAN. Reading the user's manual it seems the font should be ready for the math mode too. However, in the mwe below you can see the ...
2
votes
1answer
30 views

Aggregate package problem: textgreek, lmodern, and kpfonts

documentclass{article} \usepackage{textgreek} %\usepackage[notext,noamsmath,notextcomp]{kpfonts} %\usepackage{lmodern} \begin{document} \textit{\textGamma\textgamma} \textbf{\textGamma\textgamma} \...
0
votes
0answers
20 views

How can I set the listings caption fontfamily in the appendix?

EVERYTHING in my document is Arial (because it is a requirement for the document to be accepted). However when I add a caption in my appendix, the "D.1" for example is Times Roman instead of Arial (...
1
vote
0answers
26 views

Latex font package used here [duplicate]

I am trying to figure out what package/font was used to typeset this example and I cannot really recognise it. I figured I'd ask some of you as you'd probab
1
vote
0answers
50 views

Can an OTF font, without relying on anything else, render complex TeX formula? [closed]

OTF fonts a have a number of features such as: Variants Ligatures Swashes Alternates etc. Is it possible to use a combination of these features to render complex math formulae without depending on a ...
0
votes
1answer
63 views

Why fallback option from combotest package isn't working here?

Following a comment here I'm playing with combofont package currently. But I have some questions about it. The first thing I would like to know is why the fallback option isn't working in my code. I ...
6
votes
1answer
76 views

Hook to add code when switching font faces?

The xeCJK package provides a key-value option xCJKecglue which sets the horizontal space when transitioning between CJK script and Latin script. This transitional space usually ranges from 1&...
1
vote
1answer
39 views

Can't remove italic format from my text with either \normalfont or \textnormal

$$\textit{Some italic and {\normalfont non italic} text}$$ $$\textit{Some italic and \textnormal{non italic} text}$$ My LaTeX block above is supposed to generate text like this (the first line): But ...
6
votes
1answer
84 views

How to find the tex encoding of specific fonts?

While encoding for common fonts is easy to find, encoding for less common ones are fairly hard to obtain. I know that the encoding for cmr is OT1 and the encoding for cmmi is OML. However I can't find ...
13
votes
1answer
298 views

Libertine font numbers have a different height than text

Currently I am writing my thesis and I want the libertine font because for example the Capital "ß" and other stuff. Following to my question, is it possible to set the numbers height on the same ...
0
votes
1answer
70 views

How to install Arial in TeX Live 2019 in Windows 8.1 (64 Bit)

I hope someone has the kindness and endurance to help me out with installing uarial in TeX Live, I would be really grateful for that. I have tried so much for a few days now and for me it is quite ...
0
votes
0answers
33 views

Can I set inter word space and letter space for Awesome CV?

I was using the template Awesome CV (https://www.overleaf.com/latex/templates/awesome-cv/dfnvtnhzhhbm). However, the spacing between letters or words are too narrow. I was wondering if there is a way ...
0
votes
0answers
44 views

How to make a new pdfLaTeX font family (package)?

I know how to make a simple .sty file and use my custom package inside my document. However, I also know of some packages like times or inconsolata which provide many different font families to use ...
0
votes
0answers
92 views

I use Miktex2.9. I have some problems with choosing a document-wide font size

I use Miktex2.9. I have some problems with font size. I have written \documentclass[a4paper, 14pt]{extarticle} but it doesn't work.
0
votes
0answers
48 views

ConTeXt fails to display `` correctly? [duplicate]

Instead of turning `` into quote marks, ConTeXt just outputs individual backticks. This occurs whether or not typescripts are used. However --- properly outputs as an em-dash and so on. How do I get ``...
3
votes
1answer
82 views

Is there a way to render a TeX formula in pure HTML/CSS using Open Type fonts? [duplicate]

Is there a way to convert a TeX document into HTML that instead of relying on JavaScript, SVG, HTML Canvas, or images for rendering formulae to solely rely on HTML, CSS, and OTF fonts? In [Which ...
1
vote
0answers
88 views

Why do small caps on $\XeLaTeX$ have incorrect kerning? [closed]

This is the Adobe Garamond Pro small caps as appeared on the official Adobe spec sheet: This is what I got from XeLaTeX with \setmainfont and \textsc{}: \documentclass{article} \usepackage{fontspec}...
2
votes
1answer
38 views

Setting beamer text font

I want to set the font of the text inside a frame, and also the ones inside a block to FranklinGothic. I downloaded the .ttf files for this font, and I put them on the local path, and also installed ...
1
vote
1answer
28 views

Resize the text and keep the color box the same size

Hi I have a gray box that contains my python code, I want to reduce the size of the code, but keep the grey box the same size. This is my latex code: \lstset { %Formatting for code in appendix ...
0
votes
0answers
45 views

How to install the three font at GitHub? [duplicate]

https://github.com/sebschub/FontPro I want to use the fonts provided here, My TeX system is TexLive-2018 under Windows7, the installation method in the introduction seems to be irrelevant to my ...
0
votes
0answers
52 views

How to get correct content from PDF copying/pasting with Source Han?

I installed the “Language-specific OTFs” version of Source Han Sans from Adobe Font’s Release page, e.g., SourceHanSansSC-Regular.otf, which sets the default ideographs suitable under Simplified ...
1
vote
2answers
70 views

LuaLatex, how to use calibri font even in math mode?

I'm writing a letter in LuaLatex using the calibri font. To set up I use these commands: \usepackage{fontspec} \setmainfont{calibri}[Ligatures=TeX, SmallCapsFeatures={Letters=SmallCaps,LetterSpace=...
2
votes
3answers
71 views

How to globally set the font for all MetaPost drawings in ConTeXt?

When I add labels to MetaPost drawings in ConTeXt, it does not use the fonts for the rest of the document but appears to be using either a math font or the default fonts used by ConTeXt. I can set the ...
1
vote
1answer
29 views

Font issue with legacy 8-bit fonts + fontspec

Some kind souls mentioned in some of my past questions that my using \usepackage{fontspec} is wrong. One of them suggested that I use \setmainfont[Scale=1.0, Ligatures={Common, Rare, TeX}]{Palatino ...
0
votes
1answer
27 views

Concrete text font not found on Ubuntu 18.04

I installed the following Ubuntu packages on Ubuntu 18.04: texlive texlive-bibtex-extra texlive-fonts-extra texlive-generic-recommended texlive-lang-german texlive-latex-extra texlive-xetex In my ...
0
votes
1answer
28 views

Natbib hook for italicised captions

Identical to Citation within caption => avoid italics (biblatex) just for natbib: Captions are italicised, how can I enforce \cite{ref} in a caption to behave like \textup{\cite{ref}} (other than ...
2
votes
1answer
25 views

How to get the font size parameter passed to the main standard classes?

For complex length manipulation (see here), I would need to get the font size that was passed as an option to the document class: \documentclass[12pt]{article} \newlength{\mainfontsize} \setlength{\...
0
votes
0answers
40 views

Defining fallback fonts for entire Unicode ranges

Is it possible to automatically define fallbackfonts for specific Unicode ranges? I know there are packages to do this such as xeCJK for CJK fonts as in this answer But that's limited to those ...
1
vote
2answers
62 views

Square bullet in same font

How can I get the filled square bullet in same text font, assume the text font should be AGaramond, AdobeTextPro, etc. Note that I am using OTF type fonts and MikTeX 2.9, and dvips to generate the ...
0
votes
1answer
38 views

XeLaTeX typesets characters in some Lato fonts on top of each other

When I try to use the Lato-Regular ttf font and Lato-Bold ttf font XeLaTeX produces a pdf in which some of the characters are set on top of each other, but when using eg. Lato-Italic, Lato-BoldItalic, ...
1
vote
1answer
26 views

Escaping the “^” character causes formatting error

Escaping "^" after \tt is causing formatting error in the following code. All words after \^{} is being affected by \tt. Code: \item Use the {\tt linspace} command to create a vector $\mathbf{x} \in ...
0
votes
1answer
118 views

Problem with É; À; È with charter font

I'm using charter as my font for my thesis. I just found out that the É, À and È have problem with their accents. The accents are too low and superpose the letter itself. I think it is due to the ...
0
votes
2answers
42 views

Font switching for defined parts of document

I am lost in a maze of little twisty Fonts, all different. I need to use a different face (font family) for small portions of my novel, possibly retaining possibility to use bold/italic modifiers. I ...
1
vote
2answers
36 views

Raising errors when using fontawesome5 and XeTeX in Debian

I have been trying to compile my CV using the command xelatex cv.tex on a Debian-based TeXlive. I normally run it successfully on a MacOS with MacTex using the package fontawesome5. However, when I ...
0
votes
0answers
22 views

Font question (MIT) [duplicate]

I'm not sure if I'm on the right forum for this. I've been a TeX user for awhile now, and I like to play around with different fonts. I was wondering what font they are using in the link below, and if ...
2
votes
1answer
39 views

How to change the color of a specific character

I'm writing a paper for one of my classes that is on the Catalan numbers and I wanted to include an example about how they match up with the number of ways to "legally" arrange n pairs of parenthesis. ...
0
votes
0answers
48 views

Embed (or remove) T3 fonts when creating PDF [duplicate]

My printing company is complaining about some T3 fonts in a PDF I created (using "PDFTextify" in WinEDT). The image below shows how Acrobat DC reports these fonts: Running the "pdffonts" command on ...
1
vote
1answer
31 views

Changing the font of dirtree

How can I change the font of dirtree to the roman family (i.e. \textrm{}) MWE \documentclass[a4paper,12pt]{article} \usepackage{dirtree} \begin{document} \dirtree{% .1 Hardware. .2 Devices. .3 ...
1
vote
2answers
38 views

Can't make font (of different family from main) bold in new environment

My document's main text is set as follows: \renewcommand{\familydefault}{\sfdefault} % sans serif to default \usepackage[defaultsans,osfigures,scale=1]{opensans} % change main font here So ...
2
votes
1answer
54 views

Smallcaps disappearing in tex4ebook compilation

I am using smallcaps to mark certain direct speech (essentially uttered by non-human entities). I use it almost exclusively through the following macro: \usepackage{quotmark} \newcommand{\gqt}[1]{\...
-2
votes
0answers
50 views

How to get “c++” symbol in Latex, namely original font of c++? [duplicate]

How can I write "c++" with the original font in LaTeX? Thank you in advance. EDIT: here the official logo: