{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

11
votes
1answer
105 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
4answers
9k 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 ...
11
votes
2answers
11k 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
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
1answer
376 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
12k 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
1k 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
1answer
23k views

Font size of Figure Caption Header

My question is about changing the font size. I have to insert two figures side by side. Coming to inserting the captions for the figures individually: Figure 3: blah blah.....................Figure ...
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
831 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
2answers
3k views

Different font sizes for different rows

I want to put different sizes of fonts (smaller) into different rows of my LaTeX table. I found that it is possible to have different font sizes for different columns of this post. Is there any simple ...
10
votes
3answers
339 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
1k 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
2answers
17k views

Decrease font size in a listing

Hi I am trying to include a short code snippet into one of my beamer slides However one of the lines is not fitting into the slides. Please let me know how to decrease the font size to make the ...
10
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 ...
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
371 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
5k 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
2k 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
363 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
4k 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
3k 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
188 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
46k 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
506 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
5answers
4k 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
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
889 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
2answers
463 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
8k 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
313 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
693 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
294 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
724 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
383 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
619 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
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
295 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
734 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: ...
8
votes
3answers
4k 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
6answers
3k 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
115 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
624 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)
8
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.
8
votes
2answers
794 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
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 ...