Questions tagged [sans-serif]
{sans-serif} fonts are those that do not have the small projecting features called "serifs" at the end of strokes.
302 questions
0
votes
1
answer
41
views
lstlistings package: Replacing a character
I would like to copy/paste SQL queries from the PDF file while keeping the underscore character to be able to execute them on a terminal. I use sans-serif font for the listings since I cannot use ...
0
votes
0
answers
22
views
Change font style figure number
I'm sorry if this question sounds a bit naive, I'm quite new to LateX. I'm using \autoref to cross-reference figures. I've used this command to personalize the appearance of it:
\renewcommand{\...
0
votes
1
answer
28
views
How to make the entire TOC of class memoir in sans-serif and in `light_blue`?
I have a tex file in class memoir
\documentclass{memoir}
\usepackage{hyperref,xcolor}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=red,
citecolor=magenta,
...
2
votes
1
answer
71
views
How to make the title "Chapter 1" in class memoir sans-serif and `light_blue`?
I have a tex file
\documentclass{memoir}
\usepackage{xcolor,hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=red,
citecolor=magenta,
bookmarksopen=true,
...
2
votes
1
answer
44
views
How to change the font of TOC in class memoir to sans-serif?
I have a tex file
\documentclass{memoir}
\usepackage{xcolor,hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=blue,
urlcolor=red,
citecolor=magenta,
bookmarksopen=true,
...
1
vote
1
answer
35
views
How to replicate the sans-serif fonts (text and math) from `beamer` into `memoir`? [duplicate]
I have a beamer tex file:
\documentclass{beamer}
\begin{document}
\begin{frame}
This is a Fokker-Planck equation:
$$
\partial_t \mu_t=\gamma_t \operatorname{div}\left(\mu_t \nabla V\right)+\Delta \...
2
votes
2
answers
114
views
Complex table to make
I'm trying to reproduce this array in LaTeX but I don't have exactly the same thing.
What I tried :
\documentclass{article}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage[utf8]{inputenc}
\...
2
votes
1
answer
66
views
Complex Ligatures in CMU Serif
Currently my LaTeX font (CMU Serif) only gives me the common ligatures (ie: fi, ff, fl, ffi, and ffl).
But I want the discretionary ligatures to appear in my file (ie: fb, fj, st, ct, tt, Th, and many ...
2
votes
1
answer
102
views
Getting sans-serif math only in sans-serif mode
I know how to get sans-serif math for the whole document—that is easy. My question is how do I get sans-serif math only when I am in a sans-serif mode? I would like the math font to be serif normally, ...
1
vote
2
answers
251
views
Custom chapter numbering and format with vertical line
I am currently formatting my thesis and need a specific format for my chapters. I want all my chapters to be in sans serif font, with each chapter beginning with a vertical line followed by the ...
3
votes
5
answers
498
views
How to display `\hat` when using sans-serif?
I applied sans-serif font both in text and math, but then I got the problem with \hat. How to solve it?
Here is a MWE:
\documentclass[12pt, letterpaper, twocolumn]{article}
\usepackage[scaled]{helvet}...
2
votes
2
answers
126
views
How to apply Sans Serif to all text and math
I spent a lot of effort recently to apply sans-serif font to my text and math as well. I always have at least one of the problems:
Units are not displayed in the same font family as text.
Greek ...
0
votes
0
answers
43
views
Sanserif Font for some group of text
Need some group of text in Arial font, for this, tried with the code:
\documentclass{article}
\usepackage[no-math]{fontspec} % For specifying fonts
\usepackage{unicode-math}
\setmainfont{Times}
\...
0
votes
1
answer
76
views
Using inter font like usual suddenly produces an error in lgrenc.def and prohibits roman family
All of a sudden (for me), the usual font setup I use does not work anymore.
Not only does the line with inter produce the error
(/usr/share/texmf-dist/tex/latex/inter/inter.sty
Package: inter 2023/11/...
0
votes
1
answer
46
views
Inconsistent symbols in slides documentclass
Problem description
I like how the slides document-class typesets most of the maths, which I crop and use in a WYSIWYG slide editor.
First, I'm not sure how to set the font to 10pt, so that the new ...
0
votes
0
answers
30
views
Using Tufte-LaTeX sfsidenotes option, how do I use the normal title style and how do I use sans-serif math in the side notes?
I'm using the Tufte Handout package's sfsidenotes option, which displays the sidenotes in a sans-serif font. Unfortunately, it also displays the title in sans-serif font. So it displays the first ...
1
vote
2
answers
116
views
LuaLaTeX sans serif math font unicode greek
I know there are a lot of posts about this here on tex.stackexchange but all I can find are pretty old (almost ~ 5-10 years old by now) and I'm not sure if they still apply.
So is there a way to use a ...
0
votes
0
answers
35
views
Suitable font for work with Moodle
I do quizzes in Moodle and sometimes the questions have to include an illustration. I have decided to create these images in LaTeX and have thought about everything except which font to use so that ...
0
votes
0
answers
98
views
What shoud be the sans font for NewTX in math mode?
Related to How to reduce the height of the capitals in the sans math font in newtx version ≥ 1.724?:
Running pdflatex followed by pdffonts on
\documentclass{article}
\pagestyle{empty}
\usepackage[T1]{...
3
votes
1
answer
134
views
How to reduce the height of the capitals in the sans math font in newtx version ≥ 1.724?
Running pdflatex on
\documentclass[ngerman]{article}
\pagestyle{empty}
\usepackage[T2A,T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage[slantedGreek,subscriptcorrection,helvratio=.9]{newtx}% I ...
2
votes
0
answers
158
views
The "L" of \ln in mathsf
I have redefined \ln with a sans-serif font but I am afraid that students misread "ln" as "In".
Do you know if there is another sans-serif font that I could use (maybe only for the ...
2
votes
1
answer
33
views
Use sffamily in threeparttablex' table body
I would like to use \sffamily for all elements of threeparttablex' ThreePartTable---the caption, the body and the notes---as I do below for a regular threeparttable. I've managed to change the caption ...
0
votes
1
answer
155
views
XeLatex typeset the document with Segoe UI
I try to change the font of my document with \setmainfont{Segoe UI}. The point is that it should work on other machines also, without installing extra fonts. Latex packages are no problem.
I tried \...
1
vote
2
answers
302
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
96
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 ...
1
vote
2
answers
412
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
258
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
212
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
71
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
635
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
190
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 ...
1
vote
1
answer
168
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
124
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
169
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 \...
3
votes
1
answer
437
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
71
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
293
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
23
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
185
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
607
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
56
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
568
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
659
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
180
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
201
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
303
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
247
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
323
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
182
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
99
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,
...