Questions tagged [fontsize]

{fontsize} is about selecting a document's standard font size (with class options like 12pt), changing relative font sizes within a document (with macros like \small or \large), and defining or modifying {macros} related to font sizes.

Filter by
Sorted by
Tagged with
2 votes
1 answer
55 views

How to automatically scale and align /tikzpicture with font size

I've created some symbols with TikZ (and for some of them used shapes.geometric) to use within text, e. g. this one: \newcommand{\kttriangle}{\tikz{\node[regular polygon, regular polygon sides=3, draw,...
seeplusn00b's user avatar
0 votes
1 answer
48 views

Using defined macro inside csdef

I have defined new font size switches using the following code. \makeatletter \newcommand{\vi@mult}{2.986} \newcommand{\HUGE}{\normalsize% \@setfontsize\HUGE{\vi@mult\dimexpr\f@size pt\relax}{\vi@...
Einreinfall's user avatar
0 votes
0 answers
29 views

\rlap in subscript leads to larger subscript [duplicate]

MWE: \documentclass{article} \usepackage{xcolor} \begin{document} $M_{\theta}$ % correct size theta $M_{\rlap{\ensuremath{\theta}}}$ % too large theta \end{document} Why does this happen? How can I ...
Jakob's user avatar
  • 919
0 votes
0 answers
28 views

manuel paper format setting

I use this MWE and it works just fine. The paper is orientated as I wish \documentclass[11pt,paper=180mm:320mm, xcolor=dvipsnames]{scrartcl} \geometry{left=25mm,right=25mm, top=25mm, bottom=20mm} \...
montarenbici's user avatar
1 vote
0 answers
18 views

Change font size inside pgfplots stacked bar figure [duplicate]

I have with great effort succeded in building a satisfactory stacked bar using pgfplots. I'm trying to finetune it and I think, because the first bars are quite small, it would be great that my labels ...
Manon Cha's user avatar
2 votes
1 answer
39 views

memoir: changing the default font size after loading the package

Let's assume I load memoir with default font size 11pt. I want to (conditionally) change the default set of font sizes (main text, headings, etc) after loading the memoir package (can't do it before),...
João Lourenço's user avatar
3 votes
2 answers
98 views

How to remove excess vertical space between tiny text in a tabular?

Excess vertical space in plain text Following MWE typesets text in \normalsize vs. \tiny and \huge (this last size just for information). \documentclass{report} \begin{document} Comment ça va ça va ça ...
Karlo's user avatar
  • 3,247
1 vote
0 answers
31 views

Reducing the size of title and author

Below you see the code of the tex file. I would like to make the following changes: How to change the size of author and title? You see there is a gap between the title and the top of the first page....
RFZ's user avatar
  • 333
3 votes
1 answer
123 views

Which fontsize does "em" refer to in Tikz?

With tikz, I set font size to \footnotesize, but text width=5em is not as wide as 5 times width of one character from \footnotesize. \documentclass{article} \usepackage{tikz,lipsum} \begin{document} \...
Y. zeng's user avatar
  • 1,801
1 vote
1 answer
59 views

how to improve titlepage. Lines too close to each others

I find the lines are too close to each others in the titlepage I am making. I am not sure the correct way to fix this. Here is MWE \documentclass[12pt,oneside]{book} \begin{document} \begin{...
Nasser's user avatar
  • 20.7k
0 votes
0 answers
20 views

Changing font size of contentsname without changing it font size in fancyhdr

How to change the font size of the content title without changing its size in the header For example, I write in code "\renewcommand{\contentsname}{\huge Table of contents}" and I receive ...
Fatima  Bogatyreva's user avatar
0 votes
1 answer
57 views

Latex References too small

Trying to submit a proposal to NSF. The outline of my document looks like: \documentclass[oneside,11pt]{amsart} \usepackage[margin=1.0in]{geometry} \usepackage{amssymb,amscd,amsmath,latexsym, ...
David Hemmer's user avatar
0 votes
1 answer
34 views

Change base font size for tikz

I copied several tikzpictures from an article with 11pt base font size to a poster with 25pt base font size. This means that the text within the tikz image is way too large, and I was not able to ...
checkThisOut's user avatar
1 vote
1 answer
35 views

How to define font to the current frame font size

I have a Beamer template I defined (to be compatible with the guidelines of my organization) and bullet points have to have the same size, whatever the list level. In the template, I went for the ...
MBR's user avatar
  • 1,337
0 votes
1 answer
23 views

Adjust font size with \patchcmd{\normalsize} not working with TL 2022

I used to slightly adjust my font size with \patchcmd{\normalsize}. Consider this code: \documentclass[11pt]{memoir} \usepackage{etoolbox,lipsum} \makeatletter \patchcmd{\normalsize}{\@xipt}{{30pt}}{}...
Iacobus1983's user avatar
1 vote
1 answer
48 views

Resizing text inside longtable environment without resizing the caption

In my document there are several tables, of varying length, that added up take a lot of space. Therefore, I decided to reduce the size of the text in each table by using the \small command before the ...
Literary Locust's user avatar
0 votes
1 answer
10 views

Redifine \aisize in authorindex package for footnotesize

I'm using the authorindex package to make a, you guessed it, index of authors. I'd like to make the fontsize smaller than the built-in command \aisize allows; it has normal (default) and small, but my ...
Robert Mitchell's user avatar
0 votes
2 answers
41 views

Locking size of character to that of another character?

I have a command for setbuilder notation, \newcommand{\set}[2]{\left\{ #1 \ \big| \ #2 \right\}} Pretty simple stuff. I have issues, however, when I want larger characters in the set, for example ...
August's user avatar
  • 23
0 votes
1 answer
44 views

LuaTeX: Change font size of mainfont without changing any other font sizes [closed]

Is it somehow possible to change only the font size of the main font without changing anything else? (The line height should also remain the same.)
keth-tex's user avatar
  • 456
0 votes
1 answer
49 views

How to make faExternalLink icon smaller in superscript?

I have the following LaTeX from fontawesome5: \usepackage{fontawesome5} % ... Foo \textsuperscript{\faExternalLink*} Here's how it looks: How can I make the superscript \faExternalLink* smaller, ...
Intrastellar Explorer's user avatar
3 votes
1 answer
53 views

Font size problem with \sfrac in figure caption

I see some very strange behaviour related to the use of \sfrac in a figure caption. The reason seems to be font size issues, but I can't figure out how to resolve them. MWE The issues appear in the ...
user279611's user avatar
0 votes
0 answers
46 views

Reduce Equation font size globally

I am writing a cheat sheet for the exam and I would like to reduce the font size of display maths equations to fit as many equations as possible. Also I would ideally like to line break long equations....
TheFibonacciEffect's user avatar
1 vote
1 answer
111 views

66 characters per line using Lawtex

I'm writing a legal brief and was hoping to use latex with lawtex . Lawtex works rather well except I'm writing a Letter Brief and need the characters in a line including spaces to be no wider than 66 ...
Ja Ri's user avatar
  • 11
0 votes
2 answers
61 views

Setting font size of amsart documentclass have no effect

Consider \documentclass[20pt]{amsart} \begin{document} Hello \end{document} No matter how I change the 20pt to anything, I cannot see any effect in the pdf output. Does anyone know how to change the ...
Ma Joad's user avatar
  • 171
3 votes
1 answer
212 views

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

I use R and ggplot to create figures, which I then import as tikz code into my LaTeX file. The publisher wants me to submit in their template, which is based on [12pt]{article}. However, whenever I ...
canIchangethis's user avatar
3 votes
1 answer
62 views

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

In The LaTeX Companion, Third Edition, page 23, the author states that the book is set in Lucida fonts with a measure of 8.5pt/11.7pt (that is, 8.5pt on 11.7pt) How does one globally set those font ...
murray's user avatar
  • 7,758
3 votes
1 answer
66 views

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

I am preparing slides using beamer. However, my equation has exceeded the page margin. I have tried several solutions given on this website, but with those solutions, my .tex file is not compiling. ...
Drimitive Watson's user avatar
0 votes
2 answers
79 views

Tabularray - resize text in rows of longtblr without resizing caption text

I need to insert a 2 columns long table in my document with a large amount of text on each cell of the second column. However, the final result has been a table covering 6 pages of the document. I ...
Luis Felipe's user avatar
0 votes
2 answers
75 views

How do I expand the table on the next page when the previous page is full?

I have a problem with the use of LaTeX tables because they are on more than one page, although the maximum number of pages is two. Moreover, the spacing between the rows is big. How can I adjust this? ...
Boushra Ali AL-Shehri's user avatar
1 vote
2 answers
256 views

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

I have some text that I want to be in between \normalsize and \small. Any way to do that?
user129393192's user avatar
0 votes
0 answers
72 views

Is font size 12 in MS Word same as [12pt]? [duplicate]

Is a Times New Roman font of 12 size in MS Word, same as doing a \documentclass[12pt,a4paper]{article}? Edit: To be clear, the question is if Word with a 12 font and \documentclass[12pt,a4paper]{...
ZeroTwo's user avatar
  • 141
2 votes
2 answers
202 views

How can I change the font and size of math mode (without changing the 'normal' text font)?

I would like to use the following fonts within my exams: Normal text: Arial (12 pt) Math text: Times New Roman Mathtype (13 pt) I use Arial with fontspec. How can I change the font and size math ...
KenAdams's user avatar
  • 127
3 votes
1 answer
99 views

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

I am using Luatex and KOMA-script. I have the issue that the italic font is consistently set to size 10pt it seems, and I don't understand it. In my M(not)WE below, the issue is present, but it isn't ...
J_mu's user avatar
  • 31
1 vote
0 answers
23 views

Table is too big for iopart format

I am trying to make a large table in a document with the iopart class. The table is too long and wide to fit on a single page. I'd like some way to decrease the width, perhaps by decreasing the font ...
ioparttable's user avatar
1 vote
1 answer
37 views

Change Font Size in Table instead of the \resizebox{\columnwidth}{!} command

I'm creating a table for my thesis but when I'm compiling it, it shrinks because of the \resizebox{\columnwidth}{!} command. I would like to know if I could make the font size bigger without making ...
Jafeth Mauricio Araya Calvo's user avatar
0 votes
2 answers
66 views

change the font size to footnote size in the entire forest environment

I have been trying to change the font size in the entire forest environment to footnote size but it doesn't seem to work. I have read the previous, related posts but the answers offered there did not ...
Barnabus's user avatar
0 votes
0 answers
35 views

How to define the size of a letter relatively to the parenthesis that follows?

I often need to write a function whose arguments are bigger than the function name itself. Is it possible to define the font size of f relatively to what follows in the parenthesis( i.e not using Huge,...
stackoverflower's user avatar
0 votes
1 answer
183 views

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

\documentclass[letter,10.5pt]{article} \usepackage[head=0pt,bottom=0.6in,top=0.8in, left=0.5in,right=0.5in, footskip=1cm]{geometry} %%%%%%%%%%% pdflatex %%%%%%%%% \usepackage[T1]{fontenc} \usepackage{...
Samia Rani's user avatar
1 vote
1 answer
58 views

How to set font size in standalone class globally or locally?

How can I set the font size for the standalone class globally or locally (as probably in some place you may need to increase or reduce size to make it fit)? I have copied the three \renewcommand from ...
emnha's user avatar
  • 445
1 vote
0 answers
52 views

Dealing with arbitrary figure sizes: achieving consistent font size

I created numerous figures (approximately 100) for a research article using various tools like TikZ, MatLab, and Visio. One mistake I made initially was not considering the paper size, column width, ...
internet's user avatar
  • 569
0 votes
1 answer
51 views

I have a 12 font size in my template, but in my work I need to make a 14 font size [duplicate]

I have a 12pt font size in my template, but in my work I need to make a 14pt font size. When I write a command \documentclass[a4paper,14pt]{extarticle} (instead of \documentclass[a4paper,12pt]{report})...
Владислав's user avatar
0 votes
0 answers
42 views

How to change the size of one font

REVISED: I am preparing an article using this template and class file, which includes mathptmx. The provided sans serif does not match the height of the Roman, as can be seen in the attached image, ...
jdc's user avatar
  • 1,225
0 votes
1 answer
23 views

How can I modify the following headline to make the letters bigger

I have the following code \documentclass[10pt]{beamer} \graphicspath{{./Figures/}} \usetheme[progressbar=frametitle]{metropolis} \setbeamercolor{progress bar}{fg=orange,bg=green} \makeatletter \...
slow_learner's user avatar
0 votes
1 answer
57 views

Change font size of a single tikzcd node

I would like to set font sizes of certain nodes in a tikzcd diagram locally. However, simply writing \small or \tiny does not seem to cut it: the text remains the same size as before. \documentclass{...
Hermetically Sealed Halibut's user avatar
2 votes
2 answers
85 views

Why the command \documentclass[n pt]{article} is not useful to adjust text size?

I have to adjust text size and to do this I use the following code having read this article but unfortunately it seems there is something does not work so that I thought to put here an answer where I ...
Antonio Maria Di Mauro's user avatar
1 vote
2 answers
91 views

removing vertical space

i have a large matrix that goes of the pdf when compliled. a suggestion to use \resizebox{0.94\textwidth}{!}{%$...$} which i followed but this causes my remaining work to have large vertical spaces in ...
Megamind's user avatar
0 votes
1 answer
71 views

Scaling TikZ picture based on text size around the environment

I'd like to scale a TikZ picture based on font size surrounding the environment. For example... \documentclass{standalone} ...
Logan's user avatar
  • 113
0 votes
0 answers
23 views

change font size globally not work [duplicate]

I want to change font size globally for full document. below code not work: \documentclass[24pt]{article} \usepackage{geometry} \geometry{ a4paper, total={170mm,257mm}, left=20mm, top=20mm, } \...
lucky1928's user avatar
  • 3,893
1 vote
1 answer
56 views

Remove Left and Right margin in order to get a bigger table

I need to enlarge this table until it touches the right and left side of the A4 page. In a nutshell I should remove the margins on the sides. It's my first time using latex and I've tried several ...
io_boh's user avatar
  • 125
3 votes
1 answer
93 views

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

\documentclass{book} \usepackage{kantlipsum} \usepackage{appendix} \usepackage{fontspec} % compile w/XeLaTeX \setmainfont{Perpetua} \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} % clear all ...
BlueIris's user avatar
  • 341

1
2 3 4 5
40