{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

12
votes
2answers
3k views

Sub-enumeration with the same font size in beamer

I have a beamer slide with a several recursive sub-enumerations, e.g.: \begin{enumerate} \item Do A \begin{enumerate} \item Have B \item Load C \item Backup D ...
12
votes
1answer
8k views

Change font size of an align environment

In a document, I'd like to change the font size of a single align environment (not globally throughout the document). What is the proper way to do this? I've been using Preceding paragraph. {\tiny ...
12
votes
4answers
10k views

Reduce size of \bullet character in lists

Example for a list using mdwlist: \begin{itemize*} \item First \item Second \end{itemize*} The bullet symbol for the first level can be redefined with: \renewcommand{\labelitemi}{$\bullet$} It ...
12
votes
1answer
7k views

Automatically resize lstlisting fontsize in a beamer slide

I have frames of the following format (code followed by an itemize): \begin{frame}[fragile] \frametitle{Blah} \begin{lstlisting} Five to seven lines of code here... \end{lstlisting} ...
11
votes
2answers
552 views

How do I control the font of the item text in an enumitem list?

\documentclass{article} \usepackage{enumitem} \begin{document} \begin{description}[style=nextline] \item[Label 1] {\sffamily\LARGE item text 1} \item[Label2] Item text 2 \end{description} ...
11
votes
3answers
342 views

How to change letter spacing / condense letters together

I'm starting up with LaTeX today in order to be able to produce better-looking PDFs for university assignments. I'm working through a list of small exercises, handed out by a volunteer professor, and ...
11
votes
1answer
299 views

TikZ: nodes with text, scale = or \large, \Large, \Huge?

If one needs to slightly increase the size of the text in a TikZ node. What are the pros and cons of using scale= in the style options instead of changing the font size with the usual LaTeX\TeX ...
11
votes
1answer
108 views

Size of indices (sub- and super- scripts)

I've been looking around for a way to change the size of indices (all through the manuscript). I found a lot of stuff, which could work, but I refuse to use without understandind. (See for example ...
11
votes
2answers
12k views

Resize/Scale equation in Beamer

I have a slide in my beamer presentation that looks like: \documentclass{beamer} \usepackage{graphicx} \begin{document} \begin{frame} \begin{columns} \column{0.6\textwidth} ...
11
votes
1answer
120 views

Disabling ligatures in section headings

I've redefined my section headings to be \Huge but I don't like the ff and fi ligatures at this size, how can I disable ligatures for sections or above a certain pt size? I'm using pdflatex with the ...
11
votes
1answer
384 views

Defining variants of \small and \large that use \normalsize's line spacing

As a partial workaround for grid typesetting, I'd like to define variants of \small and \large that behave like their standard counterparts except that they use the line spacing of \normalsize. I know ...
10
votes
3answers
14k views

Make equations large

I'm including some equations in my document, but want them to appear very large. I have them in display mode, as opposed to inline mode, but can't seem to find any way to make them larger. I've tried ...
10
votes
4answers
4k views

Change font size of the verbatim environment

I want to apply small fonts inside the Verbatim environment e.g. {\small \begin{Verbatim} 1 double x, y; 2 double z, w; 3 main(); 4 return 0; \end{Verbatim}} Before the command \small ...
10
votes
2answers
3k views

Switching to different font size(s) locally

Inside a 12pt document I like to switch in an environment to a font size of 10pt. The macros like \normalsize, \large, \small etc. should all work like in a 10pt document. I'm aware that this isn't ...
10
votes
2answers
5k views

How to make math font huge

I would like to typeset a simple-to-medium-difficulty math formula on an A4/letter paper. It needs to be huge and preferably centered and portrait. I can take care of the paper size, the orientation ...
10
votes
3answers
948 views

Vertical alignment of fonts of different sizes on same line

In XeTeX, if I have a line with two font sizes, how can I arrange to have the smaller font aligned to either the center or top of the line? e.g. ...
10
votes
3answers
469 views

Size of letters not changing in pdflatex

\documentclass[60pt,a4paper,twoside,openany]{article} \usepackage[utf8]{inputenc} \usepackage[bulgarian]{babel} \usepackage[pdftex]{graphicx} \newcommand{\HRule}{\rule{\linewidth}{0.5mm}} % ...
10
votes
2answers
2k views

How to scale all fonts (in the whole document) by certain factor or percentage?

Is there a way to scale the font size of all text in a LaTeX document by a certain factor, something like \scalealltext{factor=0.95}? Edit: Text should reflow, so as to fit (a bit) more text on a ...
10
votes
1answer
4k views

How to make proportional subscript when using smaller font in math mode?

How to make proportional subscript when using \tiny (or smaller than normal font size) in math mode? The following screenshot shows subscripts for \tiny, \scriptsize and normal font sizes. ...
10
votes
3answers
559 views

How do I make a small pmatrix?

I want a small matrix but the only command I can find is \smallmatrix which leaves the brackets out. Is there a simliar one that includes brackets?
10
votes
1answer
6k views

tikz nodes: centering with small font

I am trying to create tikz nodes with centered text, but changing fontsize. Unfortunately, while normally-sized text is nicely centered inside the nodes, the smaller text is not centered, but shifted ...
10
votes
2answers
2k views

What's the right way to globally change the font size?

Inside of a group, a command like \tiny has effect only until the group ends. One would like to be able to say \global\tiny to have it last after the group ends, but that does not work. The best that ...
10
votes
3answers
3k views

Change the title size in scrartcl

I'd like to use a smaller title. I'm using the scrartcl documentclass from the KOMA-Script bundle. I can change it's color font but not it's size. \setkomafont{title}{\normalfont\bfseries\small} ...
10
votes
1answer
396 views

“songs” package, chord size

I am trying to write an A6 songbook in latex(just getting started). For chords above lyrics I use the songs package, but the chords looks bigger than the lyrics. Can't find anything in the ...
10
votes
2answers
5k views

Matrix in small size

Does anyone have a good idea for an alternative matrix definition with a font size between the standard size used for say pmatrix and the \scriptstyle size used by smallmatrix? I have several vectors ...
10
votes
1answer
4k views

How to correctly use the palatino font (in memoir)?

I'm preparing a PhD thesis (using memoir and pdfLaTeX), and I find the palatino font a nice body font. Reading the font related questions and answers on this awesome site, I think I have pieced ...
10
votes
1answer
194 views

Mathpazo has broken \left and \right

If I use mathpazo then it seems that \left\Vert and \right\Vert generate the wrong size in one case: \documentclass[11pt]{article} \usepackage{mathpazo} \begin{document} {\Large $\left\Vert ...
9
votes
2answers
52k views

Different sizes of font available in table?

I have a table and it appears I only have two options when it comes to font size: large and small. There should be a medium option, correct? I get an error when I replace small or large with ...
9
votes
3answers
687 views

Need to 'rescale' a complex document (page size and fonts) to A5 from A4

What I'm asking might not be within my capabilities, but I'm trying to change a document to print on 74 pages of A5 instead of 74 pages of A4. I have managed to change the papersize to A5 but it ...
9
votes
2answers
1k views

Adjust font size on-the-fly

In my document I want to emphasize some key points by placing them in a box with rounded corners. This I do using the following code: \documentclass{report} \usepackage{fancybox} \begin{document} ...
9
votes
2answers
1k 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
5k 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
2answers
505 views

Define a math symbol relative to font size

Idea All characters, including the new defined symbol (here an arrow), should scale related to the current font size, e.g. here 12pt. Implementation I would like to define an arrow similar to here. ...
9
votes
3answers
9k 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
3answers
7k 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
2answers
435 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
555 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
721 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
336 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
826 views

\@setfontsize vs. \fontsize

What are the differences between \@setfontsize and \fontsize? For example, in Martin Scharrer's answer to How to create a newcommand for fontsize? he says: This is done by calling ...
9
votes
1answer
417 views

What is the difference between \fontsize{…}{some length} and \linespread{some length}?

I notice that the second argument to \fontsize and the first argument to \linespread both seem to change the spacing between lines of text. What is the difference between these? Is there one I should ...
9
votes
2answers
2k views

Subsection size in header doesn't change header height

I want to change the font size of section and subsection titles in the header. It works fine for the section title, the header automatically increases its height (as stated in the beamer manual) but ...
9
votes
2answers
657 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
3k 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
305 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
250 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
1k views

How to fake mid-caps with LaTeX? (I.e. How to stretch characters of a font?)

Background As discussed in this question, one would often like to use small caps for abbreviations, however, mixed case acronyms such as OpenMP look rather odd (see example 2 below): The problem ...
8
votes
3answers
303 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
2answers
776 views

Selecting optical size?

For some time I've seen LaTeX-produced documents that had slight differences in fonts. When you looked at them, they had the same Computer-Modern or Latin-Modern, however, they looked more stylized ...
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: ...