Questions tagged [sans-serif]
{sans-serif} fonts are those that do not have the small projecting features called "serifs" at the end of strokes.
280
questions
1
vote
2
answers
98
views
How to use sans-serif italic greek letter in math mode?
I am typing \mathsf{\eta X \eta^\top} to represent 3 matrices multiplying together. I choose to use sans-serif fonts as matrices, but the greek letter \eta cannot be displayed as sans-serif fonts.
I ...
1
vote
1
answer
54
views
Specific difference between \math<xx> and \text<xx> in math mode
In the process of moving almost entirely to OpenType fonts for text and math, but trying to retain MathTime Pro II as the math font, I am realizing that some of these commands may not actually do what ...
0
votes
2
answers
113
views
Greek letters within \mathsf, \mathsfit, \mathbfsf, and \mathbfsfit without using unicode-math
There are now a number of OpenType math fonts (or font families) available with Greek sans serif letters in all combinations of upright/italic and regular/bold. Stix 2 is a prime example (although at ...
0
votes
1
answer
48
views
\textsf or \sffamily have different font than \section{}
This code
\documentclass{scrartcl}
\begin{document}
\section{Test}
\textsf{Test}
{\sffamily Test}
Normal Font
\end{document}
renders as this picture below. Why the text in sffamily is formatted ...
4
votes
1
answer
78
views
How to typeset micrometer (µm) using Arev font and SIUnitx
I have tried both of the following but the micro symbol is still incorrect since its serif whilst arev is a sans serif font:
\sisetup{detect-all}
\sisetup{math-micro={\usefont{T1}{phv}{m}{n}\text{\...
1
vote
1
answer
52
views
what is the proper command to format the names of big mathematical theories like ZFC/PA etc
The answer to this question is gonna to be very short:
what is the proper command to format the names of big mathematical theories like ZFC/PA/RCA etc. I.e. set theory and Peano arithmetic.
I believe ...
0
votes
1
answer
123
views
What exactly is the difference between \usefonttheme{professionalfonts} and \usefonttheme[onlymath]{serif} in beamer?
When writing slides using beamer, the commands \usefonttheme{professionalfonts} and \usefonttheme[onlymath]{serif} are useful.
In texdoc beamer, I quote:
… onlymath is a short-cut for selecting all ...
4
votes
2
answers
167
views
\bm command affects other macros
I want to use bold sf-fonts to designate a special kind of variable. I do this by using the bm package and then wrapping \mathsf in \bm.
Unfortunately, this approach has the side effect that somehow ...
0
votes
0
answers
29
views
newtxmath: an upright roman right subscript of a sans-serif upright math stands too close to it
Feeding
\documentclass{article}
\pagestyle{empty}
\usepackage[helvratio=.9]{newtxtext}% Scale the sans font at 90% to somehow match the main serif font.
\usepackage[slantedGreek,subscriptcorrection]{...
1
vote
1
answer
45
views
Sans Serif and Roman Sigma with Source Sans Pro and Charter
Consider the following MWE:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%------------------------------
% FONTS
%------------------------------
\...
3
votes
1
answer
105
views
micro-mu in Kurier font shows up as tcedilla
I changed the font of my document to Kurier. Works fine, including the math-option.
Only problem seems to be the upright mu. \micro seems to be mapped to the wrong character?
I included a MWE below:
\...
1
vote
1
answer
107
views
Parentheses don't display wth libertine/newtxmath and sansmath
I'm trying to make an environment that uses sans-serif math by default inside the environment, but not outside of it. To do this I'm using the sansmath package.
The problem is that, when used with \...
2
votes
1
answer
129
views
Use mathsf for entire block/environment
Basically, I want to definite a flalign environment where all the math uses mathsf by default.
I can't just wrap the whole thing in a mathsf command because there might be line breaks and & ...
0
votes
1
answer
46
views
How to make the lowercase font in Math Sans font in pdfTeX, LaTeX
I want to make this font with LaTeX:
For example, to show you: that is 𝞋, 𝞭
1
vote
1
answer
159
views
How to use sans serif font in math mode?
It is rather common to typeset theories (that is a set of statements) such as ZFC in a sans serif font family.
I tried the following:
\font\ss=ecss1000
\def\ZFC{\ss ZFC}
\ZFC
$\ZFC\models\exists X\...
0
votes
0
answers
22
views
How to redefine \max? [duplicate]
I want to redefine \max.
The original definition gives:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[\max_{i\in I} a_i\]
\end{document}
My new definition is
\documentclass{article}...
0
votes
0
answers
101
views
(Sans serif) math font that goes well with Montserrat Light as regular text font
I want to use Montserrat Light as the main font for my document and its semibold version to render LaTeX bold. According to https://tug.org/FontCatalogue/montserratlight/ and http://mirrors.ctan.org/...
7
votes
2
answers
465
views
How do I change the sans serif font in my document?
I am writing a document in Latex using the class scrbook and I have changed the main font to Palladio. The problem is that now I don't like the default sans serif font, and I would like to change it. ...
0
votes
0
answers
39
views
How to have some math variables and subscripts/indices in serif and the rest of variables in sans serif?
I am writing a paper in which 99% of the variables involved are in frequency domain (not related to the question) and the rest of them are in time domain. I used the regular serif font for the ...
0
votes
2
answers
206
views
Should I Use Sans Serif Fonts for Section Headers and Monospace Fonts for URLs
The font I use is Latin Modern.
I want to know if I should use sans serif family for the section headers.
Some people suggest to use sans serif for section headers but to me it looks a bit weird and ...
0
votes
1
answer
276
views
How do I make the section text in capital letters?
How to format the section with capital letters and leave the TOC text in normal format.
I want to use this command:
\section{Section Text}
with the result similar to this:
\section[Section Text]{\...
0
votes
0
answers
129
views
Examples of sans-serif fonts for commercial use and with mathematical support
I'm a designer and I'm designing a visual identity for a client, but he requested that the fonts have a wide math support. He uses LaTeX, and I would like to know some free fonts for commercial use ...
0
votes
1
answer
113
views
How to use \mathsf or \symsf in kpfonts
We know that kpfonts has a sans-serif math font, but the \mathsf and \symsf seem to use the CM fonts.
\documentclass{article}
\usepackage[bold-style=ISO,sans-style=italic]{unicode-math}
\usepackage{...
1
vote
2
answers
227
views
State of sans serif maths fonts
I'm looking for a comprehensive sample of specimens from current, known to be up and running, sans serif fonts for (displaystyle) maths.
In particular, I would like to know how one can know whether a ...
2
votes
1
answer
130
views
Unitalicized capital Greek with sansmath
In my PhD thesis, the main text is in Times, and all of my figures (and their captions) are set in Helvetica. I've created the following MWE that shows how I can can toggle between Times and Helvetica ...
3
votes
1
answer
153
views
The font package tgheros affects lmodern
Consider the following MWE:
\documentclass[10pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{tgheros}
%\usepackage{helvet} % see explanation
\begin{document}
Let's ...
0
votes
3
answers
132
views
Changing operator font for only one operator
I want to declare a custom operator op that is supposed to use sans-serif font.
No other operator (\sin etc.) shall use sans-serif.
I tried to use \DeclareMathOperator which yields correct spacing ...
1
vote
1
answer
84
views
Bold number in siunitx column with SF font
I would like to achieve exactly the same thing that was questioned and answered here but with SF font.
This works:
\documentclass[11pt]{standalone}
\usepackage{siunitx}
\sisetup{detect-weight,
...
2
votes
1
answer
120
views
Sans serif math mode parentheses not scaling
I am using the implementation I found from this website to write a document in the Calibri font, including the math mode. It looks wonderful, however there is one major flaw: the "large" ...
2
votes
1
answer
144
views
Circuitikz: using sans-serif fonts for text
I want to make all the text on my circuit diagram to be in a sans-serif font. Does anyone know how I would do this? THanks
\documentclass[twoside,12pt]{article}
\usepackage[a4paper, left=1in, top=1in, ...
11
votes
2
answers
1k
views
Good combination of sans serif font text and math mode using beamer class
Starting from this MWE,
\documentclass[10pt]{beamer}
\usetheme{Warsaw}
\usecolortheme[RGB={063,098,031}]{structure}
\usepackage[utf8]{inputenc}
\usepackage{mathtools}
\usepackage{cmbright,...
1
vote
1
answer
563
views
All section heading sans serif font overleaf
I'm using overleaf and trying to get the body to use the serif version of Alegreya, but the titles and headings to use the sans. Quite a few questions about this, but didn't find the solution. Looked ...
0
votes
1
answer
152
views
Sans serif title in amsart
I want to write a title of an amsart document using (bold) sans-serif, and I tried
\title{\textsf{My Title}} and the result is good modulo the fact that the header is in sans serif and I want a ...
5
votes
2
answers
135
views
New siunitx font specifications
For personal reasons, I like when my paper is written in sans font while my math and units are written in serif. I recently updated to version 3 of the siunitx package and have no idea of how to reset ...
3
votes
1
answer
215
views
How to set the font of a table to sans serif, but keep the standard font for the caption?
Currently I have a latex table on which I want the font type to be sans serif (I do this by placing \sffamily inside the table environment). The only problem with this is that it also changes the ...
0
votes
0
answers
40
views
Beamer bold face using mathbf [duplicate]
Beamer is not rendering bold fonts in math mode. This is (somewhat) new behavior; in spring 2020 it was working as expected. Previously, $\mathbf{u}$ would yield a sans serif, bold face letter. ...
2
votes
1
answer
143
views
siunitx renders numerical value in different font than unit
I am trying to render figure captions in a sans-serif font.
I have gotten as far as setting up the caption package to use the sf font for text (easy) and math (via the sansmath package).
I am ...
1
vote
0
answers
46
views
widehat not fully working with sans serif fonts
I'm using a sans serif font. Weirdly, widehat doesn't seems to work well with sans serif fonts (I tested with different sans serif fonts (defaut latex one, cmbright, kurier, iwona) and the problem is ...
0
votes
0
answers
23
views
\DeclareMathAlphabet does not work on beamer? [duplicate]
I am trying to use Helvetica for \mathsf in a beamer presentation. For that, I have
\DeclareMathAlphabet{\mathsf}{OT1}{phv}{m}{n}
on my preamble. This is what I use in another LaTeX document of mine ...
1
vote
1
answer
268
views
Beamer: use helvetica only in \textsc
I am using beamer and I would like to use \textsc but with Helvetica. Adding
\usepackage[scaled=.92]{helvet}
to the preamble does the job. Problem is, this changes too all the text of the slides to ...
2
votes
1
answer
603
views
LaTex serif fonts not working on Pandoc
I have some documents in markdown that I'm trying to convert to PDF using the default latex-engine, pdflatex. This is on a CentOS 7.9.
In the markdown minimal example file, I have a yaml header which ...
0
votes
1
answer
531
views
The font "IBMPlexSerif-Light" cannot be found
I try to use “IBM Plex Sans Light” font then I just try to follow what describe here. So my MWE is the given LaTeX source founded in that page. I just put in my MWE’s directory the plex-otf packages.
...
1
vote
2
answers
152
views
How can I use sans math font limited to a given environment?
I have written a document in serif as the base font for math as well (libertine).
In this document I have defined a coloured environment which is sans (josefin sans).
Now within that sans environment ...
1
vote
1
answer
214
views
Which grotesque sans-serif fonts are available in TeX Live for the use with pdflatex?
So far I found:
Archivo - https://tug.org/FontCatalogue/archivo/
Droid Sans - https://tug.org/FontCatalogue/droidsans/
Roboto - https://tug.org/FontCatalogue/roboto/
TeX Gyre Heros - https://tug....
2
votes
0
answers
66
views
I can finally get non-bold sans serif Greek, but is there another way?
I am trying to make a package that fully implements ISO 80000-2 notation recommendations for use in a physics book I am planning to write. These recommendations call for sans serif letters to ...
0
votes
1
answer
282
views
sansmathfonts makes regular text serif when compiling with XeLaTeX
I have the following document:
\documentclass{beamer}
\usepackage{sansmathfonts}
\begin{document}
\begin{frame}{}
Test $ a\sigma $
\end{frame}
\end{document}
If I compile it with ...
5
votes
1
answer
244
views
OpenSans package doesn't affect title (scrartcl)
I intend to set Open Sans as the entire document's font.
However, if I use the opensans package with the default option it doesn't affect the title and headings of the scrartcl class.
MWE:
\...
1
vote
0
answers
111
views
Fibeamer mathserif option
I'm using the fibeamer package (https://www.ctan.org/pkg/fibeamer) with fonts option, but this makes the math equations sans-serif. I would like to have my equations as in usual math articles (serif).
...
3
votes
2
answers
554
views
Helvetica-matching math-version
I have the strong conviction that I have only understood 1% of how LaTeX selects (math) fonts, so I guess that most of my problems come from that, apart from the lack of a proper math font matching ...
3
votes
1
answer
785
views
Accessing *all possible* math styles of the STIX font
I have been using xelatex plus unicode-math for too long, and I forgot how to use pdflatex. As far as I heard, the STIX fonts are proposed as a free replacement of the fonts of Times family. They have ...