16 votes
Accepted

Old mathbook's thick font

Fonts in the computer modern family are very light by design, so most other font choices are bolder, but here I have forced the Times-like TeX Gyre Termes and Stix Two Math fonts to be adjusted to be ...
David Carlisle's user avatar
7 votes
Accepted

Change size of dingbat

\documentclass[14pt]{beamer} \usepackage{bbding} \begin{document} \begin{frame} \begin{description} \item[\OrnamentDiamondSolid] Text \item[{\small\OrnamentDiamondSolid}] Text \item[{\footnotesize\...
Clara's user avatar
  • 5,714
6 votes
Accepted

Size of integral in line

Probably you have \everymath{\displaystyle} somewhere. You sometimes see this recommended on the internet, but it's almost always wrong, it destroys inline math setting, as you see.
David Carlisle's user avatar
6 votes
Accepted

Comparison not working when the variable is stored in a macro?

I suppose that you want to say: when I use \newcommand{\tinyfont}{tiny} % instead \def\tinyfont{tiny} {\setfontsize{tiny}Hello!} then it doesn't work. The reason is that LaTeX's \newcommand defines ...
wipet's user avatar
  • 69.4k
6 votes
Accepted

Font size change when I change the font?

Computer Modern -- the default (serif) font for all TeX systems I'm familiar with -- and Helvetica differ strongly across several categories. Among these are x-heights, ascender heights, stroke ...
Mico's user avatar
  • 490k
6 votes

Math and text font size not the same

The problem is that LaTeX's Unicode math sets the math Unicode font with ssty font feature by very specific way. It uses +ssty=0 for textstyle, +ssty=1 for script style etc. I used in OpTeX only ssty=...
wipet's user avatar
  • 69.4k
6 votes
Accepted

\NewEnviron for custom-scaled align* environment fails to compile with any ampersands (&)

You'll also see that \begin{align*} \scalebox{1.5}{$x &= 3$} \end{align*} fails, which is exactly what your myalign is producing. It's not the problem with really with your \NewEnviron, but ...
Werner's user avatar
  • 595k
6 votes
Accepted

Circled inline letters with minimum size to contain each single letter of the a-z alphabet

With text height={height("W")}, text depth={depth("p")}, and text width={width("m")}, you can set the height, depth, and width of your node text with the same height of W,...
CarLaTeX's user avatar
  • 61.1k
6 votes
Accepted

How to set Arial Narrow font for my entire document with font size 10.5pt?

Setting the Font First, check that you have Arial Narrow installed. TeX on Windows cannot find fonts unless they are installed for all users. To test how XeTeX looks it up, run fc-match "Arial ...
Davislor's user avatar
  • 43.1k
6 votes

Italic text is smaller than regular text when using clearpage and the scrlayer-scrpage package

Fonts with optical sizes are sometimes a bit complicated. Declare the slanted font explicitly: \documentclass[a4paper, 12pt]{scrreprt} %%%%%%%%%%%%%%% load packages %%%%%%%%%%%%%%% \usepackage{...
Ulrike Fischer's user avatar
5 votes

Font size change when I change the font?

Prepare the following input file: \documentclass[12pt]{article} \usepackage{helvet} \begin{document} \newlength{\cmheight} \newlength{\helvheight} \settoheight\cmheight{x} \settoheight\helvheight{\...
egreg's user avatar
  • 1.1m
5 votes

Changing the font size in a table

The easiest way is using \fontsize: \documentclass{article} \usepackage{anyfontsize} \begin{document} \begin{table} \fontsize{9pt}{9pt}\selectfont \begin{tabular}{cc} Knuth & Lamport \end{...
zabala's user avatar
  • 51
5 votes

How to make all math in document significantly smaller?

default (\tiny) smaller (\tiny with 4pt math 3pt scripts and 2pt subsubscripts) \documentclass{article} \usepackage{lmodern} %\tiny is 5pt % \DeclareMathSizes{5}{5}{5}{5} \DeclareMathSizes{5}{4}{...
David Carlisle's user avatar
5 votes
Accepted

\normalsize inside \author in class amsart

It's clearly bad style to put any formatting in \author as the whole point is to have the author name as text with the style specfied elsewhere in the \maketitle setup, so while probably the macros ...
David Carlisle's user avatar
5 votes

removing vertical space

Your example reports Overfull \hbox (106.53506pt too wide) detected at line 70 it is more readable if you avoid \resizebox and add some notation for sub terms \documentclass[fleqn]{book} %%...
David Carlisle's user avatar
5 votes

How to get a font-size in between normalsize and small?

Taking the average of normal and small size: \RequirePackage{fix-cm} \documentclass[12pt]{article} \makeatletter \AtBeginDocument{% \begingroup \normalsize \let\tmp@n@s\f@size \let\tmp@n@b\f@...
egreg's user avatar
  • 1.1m
5 votes
Accepted

Using LaTeX with TikZDevice in R: is it possible to set the font for Tikzfigures to 10 while 12 for the text?

Edit (Complete rewrite of the original answer since the question show code that allow a better understanding of the issues.) A) First, you have a problem with R code. It seems that you created a "...
Fran's user avatar
  • 78.8k
4 votes

Font size of title

If you want to use more or less the standard amsart commands but just modify the sizes it uses in the title and section headings, you could try patching the commands in question with something like ...
frabjous's user avatar
  • 41k
4 votes

KOMA-Script adds extra space when switching to certain font sizes

If you use a "known" size then a pre-made size-file is loaded and the log says Class scrartcl Info: File `scrsize12pt.clo' used to setup font sizes on input l ine 18. Looking at ...
David Carlisle's user avatar
4 votes

Old mathbook's thick font

Another option may be is to use pdfrender You can control the boldness/thickness and many other options as described in the documentation of the package. \documentclass{article} \usepackage{amsmath} ...
Nasser's user avatar
  • 20.1k
4 votes
Accepted

Can't change default math font size inside tcolorbox

in the preamble \f@size is 10.95 so you declared math fonts for that text size, but \f@size is 14 in your frame, so gets the standard setting. \documentclass{beamer} \usepackage[most]{tcolorbox} \...
David Carlisle's user avatar
4 votes
Accepted

How can I do math directly in LaTeX?

You can use \fpeval \RequirePackage{fix-cm} % or define a scalable font in the preamble \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node (A) at (0,0) {}; \node (B)...
egreg's user avatar
  • 1.1m
4 votes
Accepted

NewDocumentCommand for font size and style

You want to define a .choice: key. \RequirePackage{fix-cm} \documentclass{article} \usepackage{xcolor} \usepackage{verbatim} \ExplSyntaxOn \tl_new:N \l__mystyle_style_tl \keys_define:nn { mystyle } ...
egreg's user avatar
  • 1.1m
4 votes

How to resize the font size in a longtblr (tabularray)?

I slightly streamlined and definitely cleaned your code from errors. If you are going to customise longtblr, you should read the documentation, mostly the part related to longtblr. It's not so easy to ...
Celdor's user avatar
  • 8,428
4 votes
Accepted

How to resize the font size in a longtblr (tabularray)?

Considered @Miyase an @CarLaTeX comments: \documentclass[a4paper,12pt]{article} \usepackage[hmargin= 3.5cm, vmargin={2cm, 3cm}]{geometry} \usepackage{xcolor} \usepackage{tabularray} \...
Zarko's user avatar
  • 289k
4 votes
Accepted

How do I set my page numbers to the same size through the whole document?

You shouldn't be using \fontsize{13.5}{15.6}\selectfont. Instead use fontsize. With \usepackage[fontsize=13.5pt]{fontsize}, the baseline skip would be set to 16.19995pt, so it's easy to fix \...
egreg's user avatar
  • 1.1m
4 votes

How to reduce size of my equation to fit properly in my beamer presentation slide?

I suggest you make two, separate changes. First, use an environment such as multline instead of equation to make it possible to introduce a line break right before \leq k. Second, use \Bigl( and \Bigr)...
Mico's user avatar
  • 490k
4 votes
Accepted

How change Lucida font size to 8.5pt on 11.7pt?

\fontsize{8.5}{11.7}\selectfont will select that font size. You may want to redefine \normalsize to use that, and may also want to redefine \small and friends to be suitable relative sizes. eg size10....
David Carlisle's user avatar
3 votes
Accepted

Math and text font size not the same

Apparently, digits scale differently in NewCM-Math. You can assign the text font to the digits. \documentclass{article} \usepackage{polyglossia} \usepackage{fontspec} \setmainfont[ Extension = ...
egreg's user avatar
  • 1.1m
3 votes
Accepted

How to make bigger the contour integral symbol

The circle is part of the character, like the top of an 8 so the correct answer is that you are supposed to pick a font you like then trust the font designer. However this being TeX there are various ...
David Carlisle's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible