{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.

learn more… | top users | synonyms

9
votes
2answers
2k views

Changing the text size is not working

I am an eighth grader that needs some help. I am a noob at anything TeX or LaTeX, and am just starting out. I am using USBTeX, just in case that matters. I cannot seem to change the text size in ...
9
votes
5answers
6k views

When I use [shrink], I lose vertical centering. How do I get my stuff shrunk and centered?

I am creating a beamer slide with a table on it. This table is too big with the normal font size, so I am using the shrink command to try to make it smaller. shrink is working, however it is ...
9
votes
3answers
12k views

How do I change \footnote font size in beamer presentation?

I tried all methods from this question: How to change font family in footnote? and none of them work for me...
9
votes
2answers
194 views

\displaystyle and \mathbf with cmbright font

I would like to use bold symbols in superscript equations. To do so, I use \displaystyle as in \documentclass{standalone} \usepackage{amsmath} \begin{document} $e^{\mathbf{A}t}=e^{\displaystyle ...
9
votes
2answers
1k views

Can I make all section headings bigger?

I want to make all section headings in LaTeX document bigger by a given scale. For example, I want all of them have 150% of size that they have now. Can I do that somehow? (Ideally using sectsty)
9
votes
2answers
2k views

Is there a “medium” \cap?

When displaying the intersection symbol in equations, e.g., $$Hom(A,B) \cap Hom(B,C)$$ I find that the "cap" is too small; its height is, in fact, subordinate to the surrounding content. On the ...
9
votes
2answers
1k views

Change typeface size after \documentclass?

I use the same tex file to create several different layouts with basically the same content. I have several switches and \ifthenelse constructs to control the layouts. Normally, I just have to set one ...
9
votes
3answers
9k views

How to change font family in footnote?

How can I change font family (and size) for footnotes? Would be great to see a small example.
9
votes
1answer
3k views

set fontsize for TikZ figure

I have made many figures with tikz and want to include them in a template. Unfortunately I used ex as a measure and the template I have to use redefines the font size. THis leads to wrong distances in ...
9
votes
3answers
18k views

Beamer: change size of figure caption

I am creating a beamer presentation and I would like to change the size of the caption under the figures. I am using the Madrid theme. I tried the obvious way: \caption{\scriptsize{Text of the ...
9
votes
2answers
766 views

Change font inside document to specific point size

Although this question has a duplicate flavor to it, the question that allegedly provides the solution, LaTeX -- specify font point size?, is hard to use since neither the question nor the answer ...
9
votes
1answer
719 views

How to change font size in Index in memoir class?

Each time I build the index with makeindex I have to insert \footnotesize after \begin{theindex} in book.ind file. I use memoir class. Is there an automatic way to do this?
9
votes
1answer
813 views

Why \leaders and \mkern works strangely in different font size?

I can hardly determine a good title for this question, I'm sorry. Minimal test code: \documentclass{minimal} \usepackage{lipsum} \begin{document} foo {\fontsize{18}{18}\leaders\hbox{$\mkern ...
9
votes
1answer
5k views

Caption package not working with beamer

I am using beamer to make a presentation. But the default caption font size seems big to me. So I tried to make the font size smaller using caption package. I tried this: ...
9
votes
1answer
474 views

Determine width of verbatim characters

I would like to determine how many characters of the verbatim font that fits on a text line. Consider: \documentclass{article} \usepackage{fancyvrb} \begin{document} \noindent\hrulefill ...
9
votes
1answer
1k views

Problems with URL's size

I would like to change the font size of the URLs in my latex document. I did: \begin{document} ... \usepackage{url} Figure 1: \scriptsize{\url{my url}}\\ Figure 2: \scriptsize{\url{my url}} ... ...
9
votes
1answer
588 views

Small text in table does not recalculate line spacing

I'm using tabu to create a table that has a couple multi-line cells (the m style). However, when I set the line spacing outside the table, it seems that the space between lines is not recalculated in ...
9
votes
2answers
4k views

How to set default font size in latex cls file?

I am using a custom LaTeX document class for my thesis which is derived from the report class. I'd like to set the default size of the font to 12pt, and still have the option to change it (to 10pt) ...
9
votes
2answers
835 views

Abbreviations for AM, PM (small caps) for use within \textbf

I have been using \textsc for the abbreviations for AM, PM, but it does not work within \textbf{}. As you can see in the image, within a \textbf{}, it reverts to the normal lower case letter. Ulrike ...
9
votes
2answers
586 views

Use same font in Lilypond lyrics as in surrounding LaTeX document

I use LaTeX and lilypond-book to create a hymn sheet. I increased the font size with KOMA script to increase the readability. Now the font sizes in the LaTeX document does not match the embedded ...
9
votes
1answer
432 views

KOMA - Set documentclass font to 9.5pt

I am using scrbook as documentclass and would like to setup the default font of the whole document to 9.5pt. Just like you do with 9pt, 10pt, ... : \documentclass[fontsize=9.5pt, DIV=calc]{scrbook} ...
9
votes
1answer
865 views

Scale .pgf image but preserve font size

Using Matplotlib, I generated a .pgf image. import matplotlib matplotlib.rcParams.update({"pgf.texsystem": "pdflatex"}) from matplotlib.pyplot import subplots, show from numpy import linspace x = ...
8
votes
3answers
335 views

How to scale all mathematics of a document [duplicate]

Possible Duplicate: Equations, change the font size How to scale math font only I am very new to LaTeX. I want all mathematics(i.e. the thing we write inside $...$ and \[...\]) of my ...
8
votes
4answers
162 views

Paragraph break only if insufficient space to end of line

I want to write source like Lorem ipsum dolor sit amet. \smallnote{Smaller.} and have it render so that if there is enough room for a \parindent plus the start of the \smallnote (the first word, ...
8
votes
2answers
4k views

Minted, setstretch and font size

I'm using minted package. My problem is \usepackage[nodisplayskipstretch]{setspace} \setstretch{1.5} line. I do need this line stretch, but I don't want it to affect code sources generated by minted. ...
8
votes
2answers
1k views

Scaling fonts document-wide

I'm looking to use lcmtt mentioned here as my default typewriter font, but the scaling is way out of proportion with the rest of the text. I've used the following commands to enable the font: ...
8
votes
3answers
5k views

Changing the chapter heading size in quotchap

I am using the quotchap package to format chapter headings in a document. Is it possible to change the default font size for the chapter headings? For example, in the document.tex file at the above ...
8
votes
4answers
9k views

font size in math mode

$\sum\limits_{\substack{locations \\ L_j}}$ The word locations is quite long - longer than the summation symbol Sigma. I would like to control the size of only the word locations, but I am having ...
8
votes
6answers
4k views

Setting a single equation in a paragraph in a smaller font

I'm trying to figure out the best way of making a single equation just a little bit smaller. Of course, I could try and break up the equation into pieces and proceed that way, but I'd like to ...
8
votes
1answer
139 views

LateX: text going smaller and smaller

I guess this is an unusual question as I have not found anything related (then again, maybe I searched poorly). So what I would like to do is having an enumeration (in a beamer slide) go smaller and ...
8
votes
2answers
1k views

tikzDevice is not getting sizes right (knitr)

I am using OSX, pdflatex, R (cran), tikz/tikzDevice and knitr to create my documents. My problem is that the font sizes of the produced tikZ-file do not match the LaTeX document font sizes. Result / ...
8
votes
1answer
18k views

Changing the font size of document title

A publication I am submitting to has the rather annoying requirement of needing the document title to be size 16pt (and the regular text size being 12pt, which I know how to do). I have absolutely no ...
8
votes
3answers
12k views

Space between lines

I try to typeset title pages and use LARGE and bold for this. The problem is that the lines seem to be too close to each other. I think it looks bad. Is this the way it is supposed to be? Is there a ...
8
votes
3answers
260 views

Defining a Length that Scales with Fontsize Changes

I noticed a behavior regarding lengths under fonstsize changes, which I'm hoping there is a way to circumvent. Consider this MWE: \documentclass{article} \begin{document} \newlength\mylength ...
8
votes
2answers
513 views

Trouble changing font size in figure legends

I'm trying to set the font size smaller in the legends for all of my figures and tables. The way I was trying to do this was using \AtBeginEnvironment but that doesn't seem to do anything at all. This ...
8
votes
1answer
1k views

Top aligning text contents of two parboxes or minipages

I'd appreciate help top aligning the contents of \parboxes containing texts of different sizes as shown in the following graphic. Because one of the texts has a different size it appears to hover ...
8
votes
1answer
277 views

Using multiple system fonts

I'd like to use 3-4 different specific system fonts (e.g., Georgia, HelveticaNeui Light, and Lucida Sans) with certain font sizes for different sections of a page. How would I do this? Edit: Thanks ...
8
votes
1answer
149 views

What does the font size documentclass option actually do?

When using e.g. the [12pt] option for a document class like \documentclass[12pt]{article} what does (Xe)LaTeX actually do/set? I noticed that for example a multicols environment behaves different ...
8
votes
1answer
651 views

How can I raise an item symbol?

I don't like the appearance of standard \textbullet. It's too big. I decided to shrink it using \footnotesize{}. Unfortunately, the bullet is not at the center of a line (It's a little lower). How can ...
8
votes
5answers
4k views

Change font size in tables document-wide

Using scrartcl as my document class, tables are set in a slightly larger font size than my normal text (12pt vs. 11pt I suppose). How can I change the font size for tables document wide? At the moment ...
8
votes
2answers
819 views

Is it possible to use 12 pt font size in the achemso package?

I am typesetting a report using the achemso package, because it is required that my report be in American Chemical Society (ACS) format. However, I am not submitting to an ACS journal. It is required ...
8
votes
4answers
6k views

how to make subscripts automatically choose font size

Would it be possible to make subscripts in math mode automatically choose a smaller font when a subscript is in uppercase? E.g., if I have sA, the "A" would appear quite big. Is it possible to tell ...
8
votes
1answer
175 views

Why two forms for annotating style of text?

When I want text to be large I say: {\Large lorem} When I want text to be bold I say: \textbf{lorem} Why the inconsistency? What's the implementation detail or philosophy behind these two ...
8
votes
2answers
116 views

How can I prevent LGR encoding from switching font size?

I am using 12pt fonts with what is essentially the article class. (That is, I'm using a custom class which is parasitic on article.cls.) In order to set an appropriate headheight for fancyhdr using ...
8
votes
1answer
155 views

Fontsize determination

We usually point out explicitly or not normalfont size in \documentclass[11pt]{article} etc. 11pt may be absent here explicitly. Which variable contains this 11 or 10, 12pt?. I need get it in a ...
8
votes
1answer
645 views

Why does \relsize{-1} in normal size not result in \smaller?

This is maybe just me being unable to find the corresponding part of the manual, but I'd expect relsize's \smaller or \relsize{-1} to have the same effect as using \small inside normal-sized text. ...
8
votes
1answer
301 views

fontspec: Load an italic text font so that it has the same x-height as the “main” (roman) text font

Suppose that one likes the "upright" shape of the font Sabon Next LT Pro, but prefers the "italic" shape of the font Garamond Premier Pro over the italic shape of Sabon Next. (Both fonts are ...
8
votes
1answer
2k views

Altering fontsize in equations globally

I am trying to typeset all formulas in an article using \small font. If I use \DeclareMathSizes{9}{8}{6}{4}, then the size of in-line math in regular text is also changed. However, I want to redefine ...
8
votes
1answer
2k views

Change font size of \texttt globally?

I'm using TeX Gyre Pagella as the main font of a document which is typeset using a font size of 10pt. For the technical terms, I want to replace the default Computer Modern Typewriter with Bera Mono ...
8
votes
1answer
848 views

Changing size of footnote symbols in titlesec-formatted chapter titles

I am using titlesec to define the formatting of Chapter titles. At present, footnote symbols within these titles appear in the same format, but my author would like them to be somewhat smaller. The ...