{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

10
votes
1answer
5k 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
1answer
4k views

What leading size should I set for 18pt font size?

I use \fontsize{18pt}{20pt}\selectfont comand because I want 18pt fontsize. Does rule fontsize+2 always apply? Say for 20pt font leading will be 22, 32 for 30 and so on.
10
votes
1answer
202 views

Problems using lmodern with very small font sizes

Due to page restriction from my university I had to optimize my formulary sheet by writing more compact. Therefore I switched from the default Computer Modern Roman font to Latin Modern but now I get ...
10
votes
5answers
5k 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 ...
10
votes
1answer
7k views

How to change title font size in moderncv?

How can I change the title font size (First name, Family Name) in a resume written using moderncv package?
10
votes
1answer
877 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?
10
votes
1answer
7k 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
3k 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 ...
10
votes
1answer
881 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 ...
10
votes
2answers
3k 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
1answer
319 views

Antykwa Torunska font: How to get correct \hbar in LuaLaTeX

I'm using TeX Live 2014 with lualatex. Using the font Antykwa Torunska (anttor) for math, \hbar is not displayed correctly. The default LaTeX settings do not give good results at all scales: ...
10
votes
2answers
6k 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) ...
10
votes
1answer
643 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
11k 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
236 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 ...
10
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 ...
9
votes
2answers
1k 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 ...
9
votes
4answers
17k 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 ...
9
votes
5answers
7k 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
2k 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
3k 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
1answer
5k views

How to change the font size only in one column of a table/tabular?

Is there any way to reduce the font size in a table/tabular but only in one of its columns without repeating the size command in each cell of that column? Thanks.
9
votes
3answers
10k 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
310 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
2k 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
1answer
150 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 ...
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
1answer
4k views

KOMA-script scrreprt: Chapter Heading Size Customisation

This is a continued question from my previous thread I am setting up LaTeX to write my thesis using scrreprt. I have implemented with success all the advised and suggested solutions and have tried to ...
9
votes
1answer
2k 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 ...
9
votes
3answers
7k views

How to change font size of longtable-lines without changing font size of caption?

I'd like to change the font size of all contents of a longtable to footnotesize. However the rest of the document and also the caption (!) shall be (stay) in normal size. (pdflatex is used) How can I ...
9
votes
2answers
5k views

Reduce font size of bibliography; overfull bibliography

I am using Biber (backend of biblatex) to make the bibliography. I have two questions about the bibliography. I want to use a reduced font ONLY for the bibliography (not the citation in the text, ...
9
votes
2answers
1k 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
350 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 ...
9
votes
4answers
8k 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 ...
9
votes
1answer
802 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 ...
9
votes
1answer
2k 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
888 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
586 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
2answers
32k views

How can I change the font size of the authors and the affiliation in Latex?

I have something like this: \documentclass[11pt,a4paper, twocolumn]{article} % 11pt for all the article \begin{document} \font\myfont=cmr12 at 16pt \title{{\myfont MY TITLE}}%Title in 16pt \author{MY ...
9
votes
2answers
1k 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
1answer
3k views

algpseudocode font size

I want to change the default font size of the algorithm in algpseudocode environment to small. This is because my algorithm is lengthy and i have page limitations. Please help
9
votes
1answer
631 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
731 views

Redefine the default depth of superscript and subscript document-wide

The behavior of subscript and supscript operator _ and ^ is like a blackbox to me, I am curious if I could redefine the behavior of them globally for a document. I searched the forum and found ...
9
votes
1answer
1k 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
367 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
252 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
6k 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
2answers
1k views

Scrbook: Using fallback calculation to setup font sizes

When using the class scrbook and customizing the font size prior the usage of \printbibliography I got these warning (and in big documents I got them several times): Class scrbook Warning: Using ...