{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

7
votes
3answers
331 views

Is there a way to set distance between bottom of one line and up of other?

This is my minimal working code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english,french,russian,swedish]{babel} \begin{document} \selectlanguage{french} ...
7
votes
3answers
1k views

Font switch in ConTeXt mkiv

I am struggling to switch the fonts in ConTeXt accordingly and feel that I am missing something basic. I try to mimic \RequirePackage{fontspec} % Use Neo Euler as math font ...
7
votes
2answers
6k views

Problem formatting a subscript in math mode

$\nu_{\rm FWHM}$ prints FWHM too large. But when I try: $\nu_{\mbox{\tiny FWHM}}$ the size is okay but the kerning looks wrong. What is the best way to make a compact little FWHM subscript tag ...
7
votes
2answers
2k views

Redefining quote environment with tiny font and double quote signs?

I want to redefine the quote environment in such a way to get the output of the following code. \begin{quote}{\tiny\textquotedblleft Text \textquotedblright}\end{quote} I also want to fix the line ...
7
votes
2answers
207 views

typesetting the document which fits into marked fixed lines

I have a to typeset the article such that, the output should be printed on the fixed marks that are 1.36 cms apart. In other words, printing sheet has marked lines which are 1.36 cms apart. I have ...
7
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. ...
7
votes
3answers
257 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] ...
7
votes
2answers
771 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 ...
7
votes
2answers
8k views

Changing font size of list items and subitems

I've noticed that when I change the font size of a list, the font size is not automatically changed for its sublists. Is there a way to change the font size for a whole list? \documentclass{beamer} ...
7
votes
3answers
11k views

How to use \footnotesize with longtable command?

I am using \longtable command in a thesis preamble. My problem is that my data are large numbers, and I need to reduce the size of the table to footnote size. I tried using ...
7
votes
2answers
613 views

Change index font size with imakeidx

I know I can change the index font size combining the imakeidx package with the idxlayout package like this: \usepackage{imakeidx} \usepackage[font=footnotesize]{idxlayout} However I was wondering ...
7
votes
1answer
153 views

What is the height above the baseline to the middle of an open bracket?

So I have a rule pointing at the middle of the following text. I have achieved this with the following code: \newlength{\Fraiseheight} \setlength{\Fraiseheight}{1ex} ...
7
votes
2answers
534 views

Change \pgfplotstabletypeset font size

I have a table with strings and fixed numbers. I need to set \footnotesize only to typeset it using \pgfplotstabletypeset. How can I change font size ?
7
votes
1answer
14k views

How to change fontsize in lstlisting without losing bold syntax highlighting?

If I load the listing package to set nice code and change the font size (like suggested there: Shrinking monospace style for listings package), I lose the syntax highlighting, because the font does ...
7
votes
1answer
729 views

When should we use \DeclareMathSizes, \xxxstyle and font size changing macros (\tiny, \small, etc)?

Could you give me a complete overview when we should use \DeclareMathSizes, \xxxstyle (such as \scriptstyle, etc), and font size changing macros (\tiny, \small, etc)? I want this answer to be CW so ...
7
votes
1answer
269 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 ...
7
votes
1answer
1k views

Is there an easy way to change the font and size for Chapter Heading in Memoir?

I'm a total TeX newb - please be nice! :-) How can I change the font and size of Chapter headings? I don't mind where it's placed on the page - but would like it to be a sans-serif font and perhaps ...
7
votes
1answer
610 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 ...
7
votes
1answer
3k 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 ...
7
votes
2answers
120 views

Environment that applies sizeN.clo

My document has a base font size of 12pt, but I want the figures to be typeset as if the base font size were 10pt (some of the figures use graphics packages that hardwire font size commands rather ...
7
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..., ...
7
votes
2answers
750 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 ...
7
votes
2answers
115 views

possible memoir bug with font sizes and \tightlists

It looks to me like memoir is not honoring \tightlists for certain font sizes (nor firmlists, btw). A picture is worth a thousand words: The source code for the screenshot is included below. You ...
7
votes
1answer
217 views

Why is my prime symbol too low? And: Why are my subscripts not scaled accordingly when I use \scriptsize?

I have two (maybe simple) questions concerning the following LaTeX document \documentclass{scrartcl} \usepackage[ansinew]{inputenc} \usepackage[T1]{fontenc} ...
7
votes
1answer
200 views

Understanding how a TOC is generated

I'm trying to understand, in some detail, how a toc is generated. But now I'm thoroughly confused and perplexed after examining the .toc file before and after making a ``slight'' modification. I hope ...
7
votes
1answer
2k 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
7
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}}} ...
7
votes
1answer
242 views

\big delimiters not working with scrartcl?

I noticed that sometimes the \big delimiters stop working. One example is when scrartcl is the document class. \documentclass{scrartcl} \begin{document} \begin{equation} (\frac{1}{2}) ...
7
votes
1answer
688 views

Bibliography backref on new line with smaller font size

At the moment I use \usepackage[style=authoryear,dashed=false, abbreviate=false, natbib=true,backref=true,backend=biber]{biblatex} \setlength\bibitemsep{1.7\itemsep} ...
7
votes
1answer
17k views

How does one change the math font size? [duplicate]

Possible Duplicate: how to scale math font only Similar to how to change math font only, is there a way to change the size of fonts in math formulas? EDIT -- DUPLICATE OF how to scale math ...
7
votes
1answer
9k views

Which font should be used for diagrams/graphs/flow charts?

I'm using the standard serif fonts in KOMA script for typesetting my thesis, 11pt for normal text. What font and font size would be recommended for use in graphs, diagrams and flow charts? The same ...
7
votes
1answer
557 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 ...
7
votes
2answers
2k views

Specify font and font size for equations and math mode? [closed]

I am using a class file that defines commands to change the font and font sizes for normal text for different sections of the document, but it leaves the math mode and equation font and font sizes ...
6
votes
2answers
9k views

How do I change the default font size?

How can I change the default font size throughout the LaTeX document? Is this even possible?
6
votes
3answers
465 views

How do I enforce a font size on a newly-defined symbol while using it in math mode?

I've defined the following new commands: \newcommand{\atoi}{\mathrm{\rotatebox[origin=c]{180}{$\iotaup$}}} \newcommand{\scriptatoi}{{\scriptsize{\mathrm{\rotatebox[origin=c]{180}{$\iotaup$}}}}} to ...
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
435 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
263 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
535 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
3k 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
454 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
423 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
167 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
2answers
371 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
853 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
4answers
385 views

Font size (in pt) of references using amsplain

I have the following document: \documentclass[12pt]{amsart} \usepackage[leqno]{amsmath} \usepackage[margin=1in]{geometry} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amssymb} ...
6
votes
2answers
424 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
1answer
3k 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
2answers
319 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
267 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 ...