Questions tagged [fontfamily]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
74 views

How I can use the FiraSans font for only one word?

I have a .tex file and I want to use a particular font for a single word. So since I'm new to latex, what I'm doing is adding in the preample this \usepackage[T1]{fontenc} \usepackage[scaled=.85]{...
1
vote
1answer
40 views

Fontspec & Newcommand: Add parameter to \newfontfamily

I need help with defining an alias to a \newfontfamily command. What I need is something very similar to \textbf{aaa}, but with the command for a font family, ex. \Courier{aaa}, such that only the ...
0
votes
1answer
44 views

Unable to change font in table to qcr using `renewcommand{\ttdefault}{qcr}`

1 Suppose I load the following packages: \documentclass{article} \usepackage{calc} \setlength\textwidth{6.5in} \setlength\textheight{10in}\setlength\oddsidemargin{(\paperwidth-\textwidth)/2 - 1in} \...
0
votes
2answers
76 views

Font family name for Josefin Sans

What is the font family name for Josefin sans? I know that the font can be set by adding \usepackage{josefin} in the preamble. However, I am trying to change the chapter heading style using the ...
1
vote
1answer
58 views

ConTeXt specifying font

I wanted to know how it was possible to use the numbers of another font. Let me explain. If I want to use the greek characters of a font that is not the main one, I can make a fontfallback for example,...
0
votes
0answers
77 views

Error with phv font family

I was just testing the template that the faculty has left me to do the work when I come across a compilation error. Debugging the code, I have come to isolate the problem, which is given by something ...
0
votes
0answers
27 views

Hyperref \href no longer allows font family changes in the first argument

I have recently returned to an old LaTeX document that compiled as of about a year ago to find that it no longer compiles, giving the error TeX capacity exceeded, sorry [input stack size=5000]. The ...
0
votes
2answers
256 views

What font family is used to write RFCs? [closed]

I am wondering what is the name of the fonts that are used to write RFCs? For instance, I was reading an RFC and trying to figure out the font name used to write it. Here is a screenshot: Also, I ...
0
votes
0answers
74 views

How to find the 'font code' of adobe-utopia?

I'd like to change some paragraph or part of my text to have the font adobe utopia from here. It works if I set the whole document default to this font. But I would only need to use it like {\...
0
votes
1answer
203 views

how to use Varela Round font with MikTex

Hi I would like to specify a specific font for my documentclass, Varela Round. I am using MikTex and need to compile with PDFLaTeX only. Is this possible?
3
votes
1answer
553 views

A “big tau” used in an Italian university book

Into an Italian university book which translates an English version of Modern Quantum Mechanics J.J. Sakurai, I have finded a strange symbol that never I have seen here into this Community and other ...
1
vote
1answer
191 views

Using one xeCJK font family on English and Chinese at the same time

I've tried to use font family to change the font of text that consist of Chinese characters and English alphabets. But it seems to only affect Chinese characters. Is there any way I can change the ...
2
votes
1answer
490 views

Change Font Family of Everything Including Captions in revtex4-1

I have been having trouble changing the font of the revtex4-1 document class. Specifically, the following example changes the font of everything except the captions. \documentclass[a4paper, reprint,...
5
votes
3answers
236 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\...
1
vote
0answers
36 views

Changing and declaring fonts for parts of the document without changing the default

This might be a silly question, but I am very confused of how to declare fonts for only one sentence/paragraph. The solution I found was to use {\fontfamily{ppl}\selectfont ... } However, I am not ...
3
votes
2answers
836 views

Use Consolas font family in lstlisting (the whole document is in Vietnamese)

I am typing a document in Vietnamese about C++, so of course there will be some code. I will use lstlisting environment as it is the best choice for code. However, the \ttfamily (default monospace ...
2
votes
3answers
256 views

substitutefont result and \f@family

Is there any way to retrieve the resulting font family of substitutefont, e.g. with \f@family? It seems that \f@family is not affected by \substitutefont{<encoding>}{<family>}{<new-...
3
votes
1answer
932 views

Computer Modern Bold SF has rounded corners

When experimenting with the Beamer class I noticed that when using the default SF font (which is Computer Modern AFAIK) in boldface the corners are rounded. It looks like completely different font. (...
7
votes
2answers
3k views

\fontfamily{…}\selectfont does not work with XeLaTeX engine

The following MWE works fine with pdfLaTeX engine but does not with XeLaXeX engine. Does \fontfamily{...}\selectfont work only with some font family when using XeLaTeX engine? Is there an appropriate ...
3
votes
1answer
423 views

Why cannot I change the font type at will using `\fontfamily`?

I am trying to use \fontfamily command to insert specific kinds of fonts for specific contents in my document. Also, using the command \renewcommand{\ttdefault}{<Font Name>} does not seem to ...