Stack Exchange Network

Stack Exchange network consists of 174 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}.

13
votes
3answers
183 views

Are there cases where fontenc + luatex (or xetex) cause problems?

According to the luatex docs, you shouldn't use fontenc with luatex. People swear up and down that fontenc is incompatible, but I haven't been able to find an example where loading the package causes ...
8
votes
1answer
145 views

What is the difference between \text, \textt and \texttt?

LaTeX has a number of different commands which begin as \text and then end in a differing number of letter ts. What do each of the following commands do? \text \textt \texttt
1
vote
1answer
80 views

Looking for a curly script capital A

A math book I'm studying uses a symbol and I'd like to be able to reproduce it. I used detexify to search for it, but was unsuccessful. Most likely it is the letter 'a' in some font I'm not familiar ...
2
votes
1answer
31 views

Why is the superscript math not bold? [duplicate]

I'm trying to get bold vectors in a superscript, but for some reason this won't happen when using the cmbright package (I like the font). Is there a way to get it to behave? Code: \documentclass[...
1
vote
1answer
40 views

Creating bold and italic text not working with a custom font?

\textit{\textbf{Text here}} and \textit{Text here} is my code. I am using the font which can be downloaded for free from: https://sansforgetica.rmit/ However creating bold and italic text for ...
3
votes
2answers
69 views

How to install font Tex Gyre Termes

I installed TexLive 2018 from https://www.tug.org/texlive/quickinstall.html Consider this script: \documentclass{article} \usepackage{fontspec} \setmainfont{Tex Gyre Termes} \begin{document} \end{...
2
votes
1answer
76 views

Times New Roman and small caps

Consider the following code: \documentclass{report} \usepackage[utf8]{inputenc} \usepackage{fontspec} %compile with xelatex %\setmainfont{Times New Roman} ...
5
votes
1answer
59 views

How to fix scrlayer-scrpage / microtype kerning issue?

I am experiencing a weird interaction between scrlayer-scrpage package from Koma Script and a custom microtype setting. I am using scrartcl class together with Minion Pro font and scrlayer-scrpage. I ...
1
vote
1answer
80 views

How to use other fonts in plain tex using MikTeX?

I've been reading Donald Knuth's Computers & Typesetting and in chapter 4 the author says that one can specify a font using \font\cs=<external font name>. What I would like to know is how ...
1
vote
2answers
61 views

How to install Bickham font or similar font

I want to write something like Bickham script for "V". So I have tried to install it but after following steps of this post and compiling the following code: \documentclass[11pt]{article} \usepackage[...
0
votes
0answers
21 views

Error in simultaneous using of newtxtext, txfonts, and mathabx packages

I have a sample code and want to generate a file with Times or New Times Roman font for the text and formulas (hence I used bothnewtxtext, txfonts). Also, I like the symbols shapes that are generated ...
5
votes
1answer
108 views

Where and how does fontspec.sty specify the default font (Latin Modern Roman)?

When doing \usepackage{fontspec}, where and how is the default font name specified? On my TeX Live 2019, I see this font filename on the console log of the lualatex compilation: /usr/share/texmf/...
1
vote
1answer
34 views

Change font for the \paragraph command

If I add something like \paragraph{Title} Paragraph text to my LaTeX document, "Title" will have a bold font. I want to change it to \textit. How can I do it for \paragraph{} and \paragraph*{} ...
3
votes
1answer
87 views

How to use math mode and siunitx with arial

I have to use arial within the whole document. My code: \documentclass[ngerman]{scrartcl} \usepackage[T1]{fontenc} \usepackage{ lmodern, babel, uarial,%from https:/...
1
vote
1answer
18 views

Using OCR-B as default TT font with T1 fontenc

I would like to use the OCR-B font provided by the ocr package as the default mono font in my document. Because of other font choices, I would also like to use the T1 fontenc. The below MWE compiles ...
2
votes
0answers
55 views

What name to use when citing a font in LaTeX?

I have conceptual question regarding the fonts packages available for pdfLaTeX. Which is the most appropriate name to use when citing the typeface? Do you use the name of the LaTeX package, or do you ...
0
votes
0answers
24 views

“Local” use of \usepackage[T1]{fontenc}

Using \usepackage[T1]{fontenc} facilitates the use of bold small caps, but it comes with the disadvantage of blurry text. Is it possible to use those bold small caps (as opposed to say those resulting ...
1
vote
1answer
45 views

Does the specific Bodoni font, “Bodoni Book Pro”, exist for use in LaTeX anywhere?

I'd like to use the specific font: Bodoni Book Pro. I haven't yet seen any LaTeX compatible distrubutions of this font. I have found the font here I'm certainly willing to pay for the font, but I'm ...
0
votes
0answers
28 views

What font is this (taken from a specific pdf)? [duplicate]

What is the name of the font on the second page of this pdf used for the word "preface"? (reproduced below in case the link dies eventually) I've already tried automatic font finders, to no avail.
1
vote
1answer
40 views

Make font size smaller in remark systematically

My LaTeX begins with \documentclass[9pt,a4paper,reqno]{amsbook}. I want the font size of "Remark" even smaller, is there a way to do this systematically? (But the other parts keep unchanged.) And ...
3
votes
3answers
115 views

Best way of using the full range of full fonts/styles/faces for Latin Modern Roman?

The following is what I've put together as a way of making sure the full(est) range of fonts/styles are available when using Latin Modern as the mainfont using fontspec, including bold smallcaps, ...
1
vote
1answer
38 views

Font encodings T1 and T5 coexist?

I have a file that needs characters from both font encodings T1 and T5 (it has both Vietnamese and Icelandic characters). How do I turn them both on? Do I need to turn them on one at a time? The ...
4
votes
1answer
125 views

Equivalent of fontenc in LuaLaTex

I'm writing a paper, and have recently switched to LuaLaTex. In pdfLaTex I've used \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} now how should I replace these, ...
3
votes
0answers
57 views

How to scale horizontally every character in listings code?

I want to scale horizuntally every character in listings code, making it narrower. The basewidth option is not what I want, since it doesn't scale characters. Any way to achieve this? \documentclass{...
3
votes
0answers
86 views

XeTeX + \overline: Which \fontdimen’s are used?

Edit: This question has been thoroughly reedited to highlight the problem at hand. I am trying to mimic \overline to create similar symbols. According to Overline thickness on TeX.SX, and ...
0
votes
0answers
53 views

Problem with LuaLaTeX and OTF font

I have a problem using a special symbol font in OTF format with LuaLaTeX. The font itself is correctly installed and found during compilation. But the LOG file states that chars are missing (in fact ...
0
votes
0answers
42 views

Import a single letter from a different font (and use it in text mode)

There are many questions about import symbols form other packages to use them in math mode. But there is nothing about import symbols (letters) from other font families and use them in the text. In ...
4
votes
2answers
56 views

How to use different font families for the same unicode block in ucharclases?

Here is an MWE: \documentclass{article} \usepackage{fontspec} \usepackage[Sinhala,Latin]{ucharclasses} \newfontfamily\FooBarr{Noto Sans} \newfontfamily\sinhala{Noto Sans Sinhala} \newfontfamily\...
2
votes
2answers
123 views

How to use Fira font and mathpazo within the metropolis theme?

I am trying to use the Fira font within the metropolis presentation theme for the text and the mathpazo font for the math mode. How can I do this? My MWE is as follows: \documentclass{beamer} \...
3
votes
1answer
59 views

Sups in ConTeXt

In LuaLaTeX I can use the realscripts package to use superior figures as footnote marks. How can I use superior figures as footnote marks in ConTeXt?
2
votes
0answers
73 views

Minion Pro problem on ConTeXt

I am having a rather strange problem using Minion Pro with ConTeXt. The following example breaks at {\em Gesammelte Schriften}. There are some lines that I can comment out in order to make the example ...
5
votes
5answers
159 views

font or tikz to draw tally counting symbols (///)

In a book I have the following to illustrate the traditional counting symbols used for hand tallying. They were drawn using PPT and saved in a PNG image, but look ugly and when I try to use one in ...
4
votes
1answer
141 views

How can I select one No-unicode symbol from one font?

I am using Asea font http://users.teilar.gr/~g1951d/Textfonts.zip From http://users.teilar.gr/~g1951d/ And I want to pick some characters that are not encoded in unicode, but are present in the font,...
1
vote
2answers
59 views

Defining a macro to output a Greek symbol

I'm writing a document with a lot of Greek letter combinations like . I'm tired of having to type \gamma^{\mu} or similar every time. I wanted to define a macro which would produce the same result. If ...
0
votes
2answers
49 views

Searching for a special package to describe strings

I am quite new in LaTeX and at the moment I am looking for an opportunity to describe strings (or URLs) like this: Do you know a package I could use for something like this? Thank you for your help!
4
votes
2answers
166 views

How do I select the style of a lowercase gamma?

It is traditional in Physics to use a lowercase gamma that looks like a Y. Without going into the question of whether that tradition is wrong, how do I differentiate in math mode Latex markup between ...
0
votes
0answers
55 views

“Font T1/cmr/m/n/12=ecrm1200 at 12.0pt not loadable” error when compiling

I have problem in executing LaTeX files by terminal in Mac due to missing files and unknown modification of TeX directory. As I am new user, I don't want to make too changes in system files and ask ...
0
votes
0answers
104 views

What is the name of this font? [duplicate]

I need to know the name of this font because I like the style of the integral and the sum
6
votes
2answers
116 views

Print specimen of a given font

Is there a package witch allow the printing of a “specimen”¹ of a given font? I don’t search to print just a neutral table like what \xfonttable{} do. But something more human readable, witch will ...
2
votes
1answer
61 views

Borrow symbols with style

This example shows know how to import a symbol from MnSymbol. I find the code quite long and complex and wonder if some more elegant way exist. Also, possibly, a way that does not require “wasting a ...
1
vote
0answers
18 views

Changing the verbatim font of Latex document to Inconsolata [duplicate]

I have long pieces of \LaTeX code given to me which look lie the following. \begin{flushleft} \small \begin{minipage}{\linewidth}\label{scrap1}\raggedright\small \NWtarget{nuweb13}{} \verb@"../main....
0
votes
0answers
108 views

Is there a new problem with mathrsfs?

A problem arose after updating today, and I traced it to the package mathrsfs. This file works fine with \usepackage{mathrsfs}commented out, but fails when \usepackage{mathrsfs} is put back in \...
-1
votes
0answers
44 views

Why do Fonts work with one editor (texmaker) but not another (Sublime Text 3)?

After installing an unrelated program (if it matters: it was Jupyter Lab), I noticed problems when compiling my tex files using Sublime Text 3 and LaTeXTools. Files that previously compiled without ...
7
votes
1answer
131 views

ConTeXt: How to use font optical sizes

I have a font with some optical sizes which I want to use. I tried two solutions (below), without success. How can I use optical sizes of a local font? The solutions I tried: Using \definefontfamily, ...
0
votes
0answers
85 views

Lettrine package

Hi¡ I want to use the package Lettrine. More specifically, I want to produce a text like this: I take the image from another question and the code is \documentclass{article} \usepackage[utf8]{...
2
votes
1answer
61 views

How to achieve Arial Narrow in bold face

I am not quite understanding why I am not able to achieve bold face Arial Narrow font with the following mwe. \documentclass{article} \usepackage{titlesec} % N.B. typeset with lualatex.exe % ...
6
votes
1answer
96 views

ConTeXt: Using Emoji Fonts without Color

For example, I'd like to use the Twemoji font[1]. Fedora provides a TrueType variant[2] built using Google's Noto Emoji tooling[3]. Then there is a COLR/CPAL version provided by Mozilla[4]. I can't ...
1
vote
1answer
48 views

Use code-style font

Just a quick question, I want parts of my document to be on this particular font which resembles a code, like this with mclust and FactoMineR: How can I do this?
3
votes
0answers
52 views

fontspec can not find the font file to work on Mac OS

I am using texlive2018 and trying to make a simple tex file using xeCJK to work on Mac OS, but the fontspec can not find the font file even I am using a western character set font file. The test.tex ...
3
votes
1answer
46 views

Bold face the author superscript

I have the following piece of code : \documentclass[12pt]{article} \usepackage{newtxtext,newtxmath} \usepackage{authblk} \usepackage[margin=1in]{geometry} \renewcommand{\Authfont}{\bfseries\...