Stack Exchange Network

Stack Exchange network consists of 175 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.

0
votes
0answers
23 views

Trouble changing font size - using documentclass article

Writing a paper, trouble with fonts. The font seems small to me - so I have tried a) changing it from 10 to 12 or 14 (see below), and b) trying to use extra larger font size (also below). I'm focusing ...
0
votes
1answer
28 views

How to change overall font size of minted? [duplicate]

While using minted I can change font size (Change font size in minted) on each individual place using the fontsize=\footnotesize: \begin{listing} \inputminted[fontsize=\footnotesize]{javascript}{file....
0
votes
1answer
33 views

Adjusting font size

Currently using a template from my university that uses this to define font: \def\titlefont{\rmfamily} AND \setsansfont[ Path = fonts/, Extension = .ttf, BoldFont = *-Bold, ...
1
vote
1answer
34 views

How do I make a term more proportionate?

The following code: In order to find $A_{0}^1$: \begin{equation} A_{0}^{1} = \lim_{z \rightarrow -1}\dfrac{d^0}{dz^0}\Bigg[\dfrac{(z+1)z}{(z+1)(z-2)}\Bigg]=\lim_{z \rightarrow -1}\dfrac{z}{(z-2)}=\...
0
votes
0answers
22 views

Create a template for thesis report with custom fonts

I want to write my thesis report using latex. I want to create a template for this so anybody in my class can use this easily. I these font sizes 11 [Chapter Body] 12 14 16 [Chapter Title] 18 What ...
2
votes
3answers
89 views

Characters won't fit in table

I'm using Overleaf to make a uni work and I need to make a table which at first was too long, and now the characters won't fit in the cells. As I see it's demanded in other posts, I'll paste the ...
0
votes
0answers
36 views

lstlisting basicstyle with color and fontsize

I have a setting of lstlisting as shown below. I would like to change to font size of the listing. I know that I can do that with basicstyle=\tiny or similar, but that loses the basicstyle=\color{...
1
vote
1answer
75 views

glossaries: how to typeset the list of page numbers in \textsmaller and reduce the vertical gap

I use glossaries-extra to typeset the list of symbols in a book I edit. Since the book is large, the list of page numbers for each entry is long, making the whole glossary occupy too much space. I ...
2
votes
1answer
36 views

How to change fonts while keeping the contents of each page?

How can I change the fonts and possibly margins of a document, while keeping the contents of each page the same? An example is this site(https://econtheory.org), which provides “view” and “print” for ...
1
vote
1answer
46 views

Environment to get degressive text size like optic’s chat-like text

The goal is to get with the following MWE \documentclass{book} \begin{document} \begin{degressive} Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus ...
3
votes
3answers
22 views

Fontsize not affecting some bbm symbols

Stemming from a very similar question I asked previously, I was surprised to see the following symbol from the bbm package is not being scaled correctly. The offending symbol MWE Based on this ...
0
votes
2answers
42 views

Change font size of section title in document without messing table of contents and headers

I know this is technically wrong and I shouldn't even be attempting to do it... Nevertheless, I have a document which has section header sizes set up as Large and works fine everywhere except for one ...
1
vote
1answer
50 views

Searching for a specific font size for titles

I must write an article with a specific size for titles: 14 pt and 12pt for the text. How could I do that? This is my MWE : \documentclass[12pt,twoside,openany]{article} \usepackage[utf8]{inputenc} \...
0
votes
0answers
32 views

How to accurately set the font size for different lines?

I need to create the cover page for my thesis. The university provides the specifications like this: ‐ Univerity logo. ‐ Faculty name: Palatino Lynotipe, 16pt, capitalized. ‐ Department: Palatino ...
2
votes
1answer
19 views

How change the size the title 'Dedicatory'

i have this code, and want change the size the title 'dedicatory' 20pts \documentclass{article} \usepackage{ragged2e} \newenvironment{dedication} {\clearpage % we want a new page \...
0
votes
1answer
28 views

How to access `\ninerm` (and some others) font in pdfTeX?

I can only use \tenrm\, \sevenrm, and \fiverm fonts; there are no \ninerm or \sixrm. I would appreciate if you share how to make ALL of those font sequences work.
1
vote
1answer
51 views

How to keep font size in document and table same [duplicate]

I am writing a paper in acmart (ACM SIGCOMM provided style). In the paper there is few tables. But font inside the tables are of variable size. Sometime they are large sometimes small. Is there any ...
1
vote
2answers
39 views

How can I get a table to exceed left and right margin equally without changing its font size?

When I use adjustbox to modify the width of a table, even the font size changes. How can I increase the table width but let it exceed both margins equally? My MWE \documentclass{elsarticle} \...
0
votes
1answer
21 views

How to set any font size for nodes in a “global” mindmap

I did not find an issue that would attempt to define a setting for the font size (including any font size) here at tex.stackexchange.com. There is a probability that I am posting an issue that will ...
0
votes
0answers
19 views

Issues changing font size and formatting

I have tried various methods posted on stackoverflow to set font size of my chapter headings to 14 but was not able to do so. Secondly I tried to bold all section headings but I have two issues in ...
2
votes
1answer
66 views

How to change the font type and size of chapter title?

Right now I am getting my chapter title in the following font that is big-sized and bold: However, I want to change it to the following format, which is regular size, normal text, with regular font ...
1
vote
1answer
19 views

Text size modifier extending from a item to another

I was wondering why is the large size modifier is extending from the first item to the end of the itemize, when it should stop on the closing bracket. This is what I mean: \begin{itemize} \item B2 ...
0
votes
1answer
29 views

Space between lines gets added when I change the font size

Iʻm making a summary of an Algebra class. For the Derivation of the quadratic formula, I have the following code: \huge \begin{center} Derivation of the Quadratic Formula \end{center} \begin{...
0
votes
1answer
19 views

Table of Contents in middle of the page and in larger font size?

How to display the contents page in middle of the page and in large size than the other font size within the article? I have used the command \tableofcontents. The output is as follows:
1
vote
1answer
42 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
53 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
49 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
31 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
760 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
53 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
30 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
27 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
42 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
46 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
47 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
340 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
42 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
98 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
151 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
169 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
51 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
165 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
32 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
47 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
80 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
41 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
27 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
37 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
81 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
96 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. ...