Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [fontsize]

{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.

1
vote
1answer
22 views

Redefining standard font size commands when using LuaLaTeX and fontspec

How can I redefine the standard font size commands (\small, \normalsize, \large, etc.) when using LuaLaTeX and fontspec? From what I read after searching online, I did the following: \documentclass{...
2
votes
1answer
15 views

Biblatex/Biber \AtNextBibliography and \fontsize{}{}

I am tying to customly set the font size of my bibliography with biber. I found a solution here that works for the standard defined fontsizes \small, \large etc. When I use \fontsize{size}{skip} ...
1
vote
1answer
30 views

Use \scriptsize and shift a longtable to the left with revtex4

I have the following table: \documentclass[a4paper,preprint,aps, unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm, left=3.5cm,right=2.5cm]{...
0
votes
0answers
25 views

\LTleft, \LTright, and \scriptsize not working with revtex4 [duplicate]

I have the follwing table: \documentclass[a4paper,preprint,aps, unsortedaddress]{revtex4} \usepackage[top=2.5cm,bottom=2.5cm, left=3.5cm,right=2.5cm]{...
12
votes
3answers
576 views

How to set the font size to 11.5pt? [duplicate]

How do I set the font size to 11.5? 12 is too large and 11 is too small. I used \documentclass[titlepage,11.5pt]{article} but it still gives me size 11
3
votes
2answers
45 views

smallmatrix using tikzpicture

I wish to use tikzpicture instead of smallmatrix, because the former offers better control for dots via this post. However, the code $\Z^4\!\xleftarrow{ \begin{tikzpicture}[baseline=(current ...
1
vote
1answer
25 views

showlabels change of font size

I am using \usepackage[left]{showlabels} to print labels for my equations. For example, I have an equation as: \begin{equation} x = a + b \label{eqn:a_b} \end{equation} The label is printed as: ...
1
vote
1answer
21 views

How to make font size title of \chapsubhead and \section similar in Latex?

I am facing a problem in setting a font size of \section heading and \chaptersubhead heading. I have following code: \subsubsection{Geometrical Parameters} My name is John. \...
0
votes
1answer
41 views

Increase document font size while keeping default font size for some part

I am writing a project in LaTeX. I need the first part of my project in [12pt] (which I know how to do). The second part (my MATLAB code) I need in the default format, not [12pt]. How can I do this? ...
1
vote
1answer
43 views

Why is my title so squeezed? [duplicate]

I print the title of my document like this: \begin{titlepage} \centering \vspace*{\fill} {\huge\bfseries \getTitle} \vspace*{\fill} {\huge\bfseries \getTitleGer} \end{titlepage} And the ...
1
vote
1answer
43 views

Make font size smaller in remark systematically

My LaTeX begins with \documentclass[9pt,a4paper,reqno]{amsbook}. I want the font size of "Remark" even smaller, is there a way to do this systematically? (But the other parts keep unchanged.) And ...
2
votes
1answer
79 views

Font size in listing

How to set a font size in listing when I have these settings in the preamble? \documentclass[12pt,a4paper]{report} \usepackage[most]{tcolorbox} \newtcbinputlisting[auto counter,list inside=lol,list ...
1
vote
2answers
40 views

Identical math appears differently if defined in a \newcommand

My short example .tex line is: $\myCommand$ or $\boldsymbol{d}_{x}^{\textrm{word1},\textrm{word2}}$ Where I have defined: \newcommand{\myCommand}{ \boldsymbol{d}_{x}^{\textrm{word1},\textrm{...
1
vote
1answer
86 views

How to increase font using Tikz for the following dense protocol?

This figure is made with Tikz package, I need suggestions to make font more bigger and more readable. I tried many solutions such as \Large but still not able to increase the font more clear. My ...
2
votes
2answers
143 views

How can I get the desired output ie. Enlarge single letter?

I Want the desired output with X enlarged compared to A & Z but when I use the following command $^A_Z{\Large X}_N$ It doesn't show desired output. What could be the possible command to ...
5
votes
3answers
163 views

How to have 2 different sized texts on the same line?

I want to put 2 different sized texts on the same line. Below are my criteria: Right side is right justified and is normalsize left side is left justified and is large must dynamically change to fit ...
3
votes
1answer
50 views

Distance and font sizes between two minipages

Question 1: How can I increase the distance between two parts of mini page? Question 2: In the second part of mini page I found that the font size is small as compared to the first part. What is the ...
7
votes
1answer
141 views

ConTeXt: How to use font optical sizes

I have a font with some optical sizes which I want to use. I tried two solutions (below), without success. How can I use optical sizes of a local font? The solutions I tried: Using \definefontfamily, ...
0
votes
0answers
26 views

Choose size of text inside a framed box and align it with the text width

I am using a framed box to put forward some texts. I have two problems: First, I would like to minimize the text size; as we can do for the legend of a figure: \captionsetup{width=0.95\textwidth, ...
0
votes
2answers
43 views

How to adjust font size of “parts” in table of contents

In the table of contents that is being generated with the following code notice that the size of the fonts of part, chapter, section are nearly the same, and also of the same family. How can I ...
0
votes
1answer
40 views

Cannot change natbib bibliography font size [memoir class]

I am using the ucbthesis class (which is based off the memoir class) with natbib and cannot find any way to change the size of the font in my references (in the bib, not the textual citations). It is ...
1
vote
1answer
38 views

Can we only change the font size for numeric values in a latex table

How can we change the font size of only numbers in a latex table? mwe: \begin{center} \begin{tabular}{||c c c c||} \hline Col1 & Col2 & Col2 & Col3 \\ [0.5ex] \hline\hline 1 & ...
1
vote
1answer
21 views

Fontsize within tables and theads

Assuming the case that I would like to change the font-size of the table given below with adding \Large to the beginning of the table. Somehow this doesn't apply to the theads and so the font size ...
0
votes
0answers
36 views

Generalization of progressive downscaling of fontsize

Although the answers to How can I progressively scale letters? are functional in the restricted context of the post, I would like to extend it by asking for a programmatic solution to the more general ...
1
vote
1answer
71 views

Does uft8 mean size 8 font?

Does \usepackage[utf8]{inputenc} specify the font to be size 8? I don't think so, but just wanted to confirm. And if it doesn't, how do I determine the fontsize of my document when given the ...
1
vote
3answers
86 views

How to write numbers in landscape and the full width

I want to simply write the numbers 2 to 9 as large as possible, across the page, in landscape mode and centred vertically and horizontally. I would like the numbers to take the full width of the page. ...
5
votes
3answers
332 views

\tiny etc. in mathmode

I read everywhere that \tiny, etc. does not work in mathmode. When I use it in my code, I also get a warning Command \tiny invalid in math mode. But in the output it nevertheless works. At least in ...
0
votes
1answer
51 views

Multiple page table with specific size font and centred columns

I want to make a "Multiple page table with specific size font and centered columns" what I have tried until now is with longtabu, but when I set the size of the font it changes all the fonts for the ...
2
votes
3answers
775 views

set font size and line spacing

I need a font size of 12 pt and a line spacing of 1.5 lines. I try: \documentclass{article} \usepackage{lipsum} \linespread{1.5} %regulate line spacing \renewcommand{\normalsize}{\fontsize{12pt}{0}\...
2
votes
1answer
35 views

Setting up different font sizes for captions in each figure

I try to change font sizes od figures caption separately for some figures. I read that: Changing Figure caption text size. But using this solution sets it globally for whole document not for selected ...
2
votes
0answers
40 views

Genealogy tree with tikz

I am trying to use this document to produce a genealogy tree: http://ctan.cs.uu.nl/macros/latex/contrib/genealogytree/genealogytree.pdf?fbclid=...
4
votes
1answer
68 views

Change font size in matlab2tikz

I am using matlab2tikz to export my Matlab figures in order to be able include them in my LaTeX document. I think the fonts of the tick labels, axis labels, titles and legends are too big. How can I ...
2
votes
1answer
53 views

\footnotesize in output stream generates unexpected “Undefined control sequence”

I am writing styled text to an external file (using the newfile package). I can successfully style the text with many attributes, e.g., \large\mdseries\itshape. But, very puzzling to me, when I style ...
0
votes
1answer
18 views

set font for multiple paragraphs in makecell

I can set a common font for multiple paragraphs as for par 2 and par 3 in this example: \documentclass{report} \begin{document} par 1 { \tiny par 2\\ par 3 } par 4 \end{document} Unfortunately ...
0
votes
1answer
41 views

Why do I get extrafontsizes error option in memoir class?

I have this weird problem with my code in memoir class % !TEX encoding = UTF-8 Unicode % !TEX TS-program = xelatex \documentclass[25 pt]{memoir} \begin{document} \Huge text \end{document} It ...
1
vote
2answers
42 views

How to change the font size of the image caption for different images?

I am searching for a way to adjust the size of the caption. All the solution I have found deals with the caption package and uses something that changes the size globally. I wish to adjust each of ...
3
votes
1answer
42 views

Arrow position should be changed to the center of the formula line

I have another problem :) But I think for you experts it shouldn't be that hard. \documentclass{article} \usepackage{amsmath,mathtools,amssymb,array,arydshln} \usepackage[german]{babel} \usepackage[...
1
vote
1answer
41 views

I tried to set both font family and font size for caption, using DeclareCpationFont in XeLaTeX

I made a lot of research ins this forum, readjusted and tried all commands, but setting both font family and font size together, using DeclareCaptionFont does not work. 1st code, by me: \usepackage{...
2
votes
2answers
45 views

Strange behavior of \footnotesize in title page

Can anyone explain a rather strange behavior of \footnotesize in this example? The prelim2e’s bottom marker text size is bigger for title page than for further ones. Sizing commands other than \...
1
vote
1answer
37 views

Optical size font and different families font

I read some post about xelatex and optical size fonts, but generally the codex is as follows: \usepackage{fontspec} \defaultfontfeatures{Contextuals=NoAlternate} \setmainfont[Ligatures=TeX, Numbers=...
0
votes
1answer
589 views

Set font size for acmart sigconf document class

I want to set the font size to 10pt for the ACM article template. But I'm not sure what the correct way to do this is. I guess it is either: \documentclass[sigconf,fontsize=10pt]{acmart} or \...
0
votes
1answer
32 views

Resizing a part of a formula

How can I change the size of a part of a formula by analogy with the built-in formula: $$\frac{sin(nx)}{\sqrt{n}} e^{-\frac{x}{n}}$$ $\frac{sin(nx)}{\sqrt{n}}$ \Large $e^{-\frac{x}{n}}$ \normalsize
0
votes
1answer
37 views

Sticky labels with image and different font sizes

I want to create products labels. For the alignment I am using tabluar. But as soon as I place an image inside the table or change the fonts size everything gets messed up. The image moves out of the ...
7
votes
3answers
536 views

Equation size similar to text size

I am trying to write my class notes using LaTeX, and sometimes I need to explain how to get from one result to the next in the middle of an equation. To do this, I use an arrow that points to a ...
0
votes
1answer
33 views

How to make mtpro2 math font a litte bit more thick?

I want to use mtpro2 together with Souce Serif Pro, but default mtpro2 looks like too thin. MWE \documentclass{article} \usepackage[lite,subscriptcorrection,slantedGreek,nofontinfo]{mtpro2} \...
4
votes
1answer
64 views

How can I scale mono font to 90% of MatchLowercase

I would like to scale the mono font so that it's x-height is 90% of the x-height of the main font. (I think it looks too large when the x-height matches.) Is this possible? Sample code with ...
0
votes
1answer
28 views

Putting one line of an align environment in a different font size

I have to format a .tex file following certain guidelines. I have an equation which has one line which is very big, and the only way I see of making it fit into the page (other than substantial ...
2
votes
4answers
89 views

Request for methods to reduce the uppercase size

The code nonlinear {PDE} system in \scalebox{0.9}[0.9]{FDM} and \scalebox{0.9}[0.9]{FEM}. generates text below: . The text {PDE} has the size by default, while the texts {FDM} and {FEM} are ...
6
votes
2answers
130 views

Formatting numbers with smaller glyphs for decimals

I am currently writing up a coursebook in which I handle sets of decimal numbers. As the language of the coursebook is French, the decimal separator has to be a comma and the thousands separator a ...
0
votes
2answers
152 views

Small \oplus and \otimes

I would like to have commands \smalloplus and \smallotimes that prints same symbols as oplus and otimes but in a smaller size. It would look like (but in a more beautiful way and the symbols should ...