{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

6
votes
3answers
2k views

How to create a newcommand for fontsize?

I am trying to create a command to modify fontsize with one parameter, it seems that the paramater is not expanding properly: \newcommand{\mycfs}[1]{\fontsize{#1pt}{1.2*#1pt}}
6
votes
4answers
265 views

How to change the font size of a particular letter

I referred the link : How do I change the font of a letter?. But the link didn't help me out. I would like to achieve this: Here is the MWE though I know it isn't :(: \documentclass{article} ...
6
votes
3answers
191 views

Special non-standard font sizes for different types

The more I read about fontsizes in LaTeX, the more confused I've become. I don't know how to meet my requirements, which are the following: text = 11pt --> This works. footnotes = 9pt --> This ...
6
votes
2answers
408 views

Making the font size smaller in this mdframed, and turning into a reusable environment

I am very close to getting the mdframed setting that I want: \documentclass[a4paper,10pt]{book} \usepackage[paper=a4paper,twoside=true,lmargin=4cm, rmargin=4cm,bindingoffset=0cm]{geometry} ...
6
votes
4answers
2k views

How to decrease the font size of a table in an \input file

I have: \documentclass[11pt]{article} \begin{document} This is the main tex document. \input{tables} \end{document} In the tables.tex file, I only have numerical tables. I want to decrease the ...
6
votes
3answers
410 views

Why does vector graphics font not exist for a certain size?

In my understanding, vector graphics font can be shrunk or expanded without limitation. In other words, its size spans in continuous real numbers. But I got surprised after getting the following ...
6
votes
2answers
200 views

How to change the font size of all theorem environments?

I have several theorem environments: \newtheorem{theorem}{Theorem} \newtheorem{definition}{Definition} \newtheorem{proposition}{Proposition} etc. and I want to change them so that they all use ...
6
votes
2answers
142 views

Space between floats and text after special declaration of font size for scrbook

Our designer suggested a font size of 10.5. We passed this as an option to the srcbook class and everything seems to work fine except the space between main text and floats. With fontsize=10.5 much ...
6
votes
3answers
190 views

How to change font size of all text in a table?

Hi I am trying the following code but only the first row (the headings) is being changed to the specified font size. How can I make the whole table's font size change? \begin{table}[!htbp] ...
6
votes
2answers
215 views

Getting small font size in all text of a table

I want to have small font size in a whole table. I tried with \small{table code} and \begin{\small}{table code} \end{small}, but it doesn't work. Maybe, I must use a package or any method; please I'm ...
6
votes
4answers
778 views

Declaring document-wide font size outside of the document class command

I have a document, where I want two versions: one versions 10pt size and another version, 2 page to a side 12pt. So I currently have: \documentclass[10pt,a4paper,oneside,openany,article]{memoir} ...
6
votes
2answers
274 views

Bold monospace font extra-large

I would like to print very large (e.g., font size 43) monospaced bold text. The methods I know don't seem to go together: \documentclass[10pt, a4paper]{article} \usepackage{anyfontsize} ...
6
votes
2answers
523 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 ...
6
votes
1answer
3k views

a4paper ignores 14pt

I need font size = 14 in article document, but when I change \documentclass[a4paper,11pt]{article} to \documentclass[a4paper,14pt]{article} font becomes even smaller. How to change font size?
6
votes
2answers
361 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 ...
6
votes
2answers
170 views

How to make the table caption look smaller

I am new to the world of LaTeX and I am trying make my correlation table look nice. My LaTeX code is below: \documentclass{article} \usepackage{geometry} ...
6
votes
2answers
181 views

dynamic font size for hbox

I would like to create an element in TeX, that is defined as a horizontal box with fixed width and to have few lines (three in my case). Each line should align by its size to the hbox size ...
6
votes
1answer
2k views

How to get larger fonts than \Huge in nodes with tikz?

I need to write large fonts which are included in nodes of a tikzpicture. When I change scale, everything changes but not fonts. Here´s my code: \documentclass[10pt,a4paper]{book} \usepackage{tikz} ...
6
votes
1answer
114 views

Why is \Cline increasing the font size in my equations?

The Problem When I use \Cline to underline a symbol in my equation, it increases the font size of that symbol. Edit: I don't want this to happen, rather, I would like all of my subscripts to be the ...
6
votes
1answer
2k 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.
6
votes
2answers
110 views

Creating a custom character that automatically adjusts size in math mode? [duplicate]

After a lot of searching, I finally found the .pdf's for the elusive Griffiths script r character used in his ubiquitous undergraduate electrodynamics book. I made a simple package that allows me to ...
6
votes
1answer
2k views

Beamer \institute text size change to small

I am using beamer with the \institute command. I have several institutes and just want to change the font size of the institutes and not the whole document. I would like the institutes to be much ...
6
votes
1answer
13k 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 ...
6
votes
1answer
5k views

Reducing bibliography font size

I am using the thebibliography command in LaTeX to generate a bibliography under a "References" heading at the end of a paper. My bibliography is not stored in a separate TeX file, but rather is just ...
6
votes
1answer
479 views

fancyhdr plus fontsize 12pt causes varying vertical alignment of sections

Looking at the example provided in Different headers for different chapters, I noticed something strange: The vertical alignment of sections is varying. I was able to strip the effect down to the ...
6
votes
1answer
2k views

Setting default font size in \newfontfamily

When mixing fonts in XeTeX, some fonts have quite different aspects for the same size. Say, I'm using Linux Libertine as my main font and I want to use Latino Elongated for chapter headings. Latino ...
6
votes
1answer
5k views

Custom font size for itemize

I am making a checklist to print, where users can check their answers on a printed paper. For this I am using itemize and \renewcommand{\labelitemi}{\Box}, \renewcommand{\labelitemii}{\Box} etc..., ...
6
votes
1answer
2k views

Specifying font sizes [duplicate]

I am trying to change the font size of my document to 8pt. However I can not get it to take effect. I am trying it in the \documentclass declaration. Should it be specified elsewhere? I am using ...
6
votes
1answer
817 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: ...
6
votes
1answer
64 views

Different font size in footnote

I'm having a problem in my template for abstracts. I have some reasons to do my own commands instead of using only amsart class. As you can see, when I use \underline{} to identify the speaker, the ...
6
votes
2answers
238 views

Change bold font

I want to use Avenir Next Medium as the bold font for my document whenever I use \textbf. Is there a way I can use \textbf and specify a font to be used. After that, can I also customize the size for ...
6
votes
2answers
242 views

Using footnotesize in ctable package

I have a long table requiring the use of a \footnotesize. The table is made using a \ctable package as follows. \documentclass{article} \usepackage{ctable} \usepackage{booktabs} \begin{document} ...
6
votes
1answer
177 views

Why do I get these warnings with 14pt scrartcl

This is what my file looks like: \documentclass[14pt]{scrartcl} \begin{document} \Huge Hi \end{document} This is the output: Font shape `OT1/cmr/m/n' in size <35.83> not available(Font) ...
6
votes
3answers
778 views

Default article-like classes with compact bibliography

In most academic journal styles, the bibliography is typeset in a much more compact fashion than in the usual classes. Compare for instance these two: The former is obtained with siamltex.cls, ...
6
votes
1answer
1k views

Setting math font size

MATLAB has the ability to "publish" code as an html document. It can include math by taking equations keyed in LaTeX notation, processing it with latex and embedding a bitmap image into the html. An ...
6
votes
1answer
951 views

How does \footnotesize map to \fontsize{size}{baselineskip}

We can change font size using {\fontsize{size}{baselineskip} \selectfont .....} with the anyfontsize package. I want to know what size and baselineskip values the following commands result in: ...
6
votes
2answers
5k 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 ...
6
votes
3answers
2k views

Is an adjustable font in figures possible?

When I resize my pdf figures and graphs I often find that the text in these figures become too small to read. Is there a way of ensuring that the font in figures match the body text?
6
votes
1answer
2k views

Changing the font size of a bibliography using BibTeX with the amsrefs package

I am using BibTeX with the amsrefs package to create a bibliography. The output of the bibliography looks to be of a slightly smaller font size that that of the ambient document, and it's imperative ...
6
votes
1answer
153 views

Multiplication to macro argument

Since the baselineskip parameter for fontsize should better be 1.2 times of the font size, I'd like to define a macro which accepts only one argument and deduces the baselineskip from the font size. ...
6
votes
1answer
1k views

Smaller font size in quote environment relative to context

I want to have all quotes in the quote-environment in a smaller font. This is possible with the etoolbox-package and the command: \AtBeginEnvironment{quote}{\small} But if I use a quote-environment ...
6
votes
1answer
463 views

Control font size \part

I used a former question on TeX.SE to find the command \part*{}. I like everything about it but the font for it is huge. How can I tone down the size of the font for this command. ...
6
votes
1answer
1k views

Set caption font size in memoir

How do I set the default caption font in a memoir? I tried: \documentclass{memoir} \usepackage[font=small]{caption} But that gives me a warning: Class memoir Warning: You are using the caption ...
6
votes
2answers
1k views

How to increase the size of footnote counters used

I am writing a document in LaTeX for someone who is visually impaired, which means that I have to increase the font sizes for them. How do I increase the size of the font used for the footnote ...
6
votes
1answer
201 views

How to get the right \baselinskip in the annotation with authortitle-dw and smaller font

If I change the font size of the annotations in my bibliography the size changes but the baseline skip doesn’t. I know that TeX uses the last font in a paragraph to calculate the baseline skip, but I ...
6
votes
1answer
89 views

Option seemingly ignored

I'm trying to give my custom class file two options for font size, 11pt and 12pt. I want 12pt to be the default. I create the options like this: \DeclareOption{11pt}{ ...
6
votes
2answers
438 views

How do I display text at 60pt or even 600pt?

I am new to LaTeX. I am having a hard time creating a font past 40 points. Here is my code: \documentclass[letterpaper]{article} \begin{document} \fontsize{40}{48}\selectfont hi \end{document} ...
6
votes
1answer
2k views

Changing the baselineskip in marginpar

I’m adding explanations for definitions in the margin paragraph. I have a macro which looks as follows (simplified): \newcommand*\define[2]{% \marginpar{{\sffamily\footnotesize\textbf{#1}: #2}}} ...
6
votes
2answers
354 views

Changing fontsize within soul underline

This question is related to How to create a newcommand for fontsize?. I would like to change the fontsize within \ul of the soul package. For example: ...
6
votes
1answer
102 views

Libertine Font Greek Letters Size

As you can see the greek letters from pxfonts are bigger than the numbers. How can i fix the size? The numbers size is the better. \documentclass{article} \usepackage[T1]{fontenc} ...