Как изменить размер шрифта в latex
L A T E X выбирает подходящее начертание и размер шрифта, основываясь на логической структуре документа (разделы, сноски, . ). Иногда может быть желательно сменить шрифт вручную. Для этого вы можете пользоваться командами, перечисленными в таблицах. Действительный размер каждого шрифта определяется дизайном и зависит от класса и опций документа. Таблица показывает абсолютные размеры, соответствующие этим командам в стандартных классах документов.
Маленький, полужирный , большой, курсив .
Важная особенность L A T E X2 e заключается в том, что атрибуты шрифта независимы. Это значит, что вы можете давать команды смены размера или даже семейства шрифта, сохраняя при этом установки атрибутов наклона или насыщенности.
В математическом режиме вы можете использовать команды смены шрифта, чтобы временно выйти из математического режима и ввести нормальный текст. Если вы хотите переключиться на другой шрифт для верстки математики, то для этого существует отдельный набор команд. Смотрите таблицу.
| |
| |
| |
| |
В связи с командами смены размера шрифта заметную роль играют фигурные скобки. Они используются для построения групп . Группы ограничивают область действия большинства команд L A T E X.
Ему нравятся большие и маленькие буквы .
Команды, влияющие на размер шрифта, влияют также на расстояние между строками, но только если соответствующий абзац заканчивается внутри области действия команды. Поэтому закрывающая фигурная скобка > не должна стоять слишком рано. Заметьте положение команды \par в следующих двух примерах:
Не читайте это! Это неправда. Верьте мне!
Это тоже неправда. Но помните, что я вру.
Если вы хотите применить команду изменения размера к целому абзацу текста или больше того, то для этого лучше использовать синтаксис окружения.
How can I change the font size of the title and the font size of the authors in Latex?
I need a font size of 16pt for the title and 12pt for the authors. I’m writing an article class document in 11pt:
3 Answers 3
This will let you put whatever font you desire in the title: (just replace \myfont )
You can also use \Large or \Huge instead of \myfont, to fit the rest of the document style (this way LaTeX will only change the size of the font)
As stated in a comment above and in many other questions on this site, it is a bad practice to add formatting markup in \title , \author or any command that has a semantics meaning (including sectioning commands).
Instead to the titlesec or titling packages (that are the "standard" answer), I would suggest to load the etoolbox package and use its \patchcmd command like this (for the title, the printing in performed by \@maketitle ):
yieding : 

In order to know which replacement (here \LARGE and \large \lineskip ) one has to perform, look at the definition of the command, by using :
Changing the font size in LaTeX
Changing the font size in LaTeX can be done on two levels, either affecting the whole document or parts/elements of it. Using a different font size on a global level will affect all normal-sized text as well as the size of headings, footnotes, etc. By changing the font size locally, however, a single word, a few lines of text, a large table or a heading throughout the document may be modified.
Changing the font size on a document-wide level
The standard classes, article, report and book support 3 different font sizes, 10pt, 11pt, 12pt (by default 10pt ). The font size is set through the optional argument, e.g.:
In most cases, the available font sizes for the standard classes are sufficient.
Other font sizes
Should you require a different font size for your document, use the extsizes package. It allows for the following font sizes: 8pt, 9pt, 10pt, 11pt, 12pt, 14pt, 17pt, 20pt .
The documentclass names are slightly different from the standard classes:
The KOMA-script and memoir class
The KOMA-script and memoir classes are more flexible when it comes to font sizes. Please see the documentation for more details.
Changing the font size locally
LaTeX knows several font size modifier-commands (from biggest to smallest):

A table of the exact font sizes in points can be found on wikibooks.
A good rule of thumb is don’t use too many different sizes and don’t make things too small/big.
There are two possible ways to use these font size modifier commands, inline or as environment:
The \par at the end of the inline example adjusts baselineskip , the minimum space between the bottom of two successive lines. See the example in Rob’s comment below.
A few more options
The moresize package adds two more to the list above, \HUGE and \ssmall . The latter fills the gap between \scriptsize and \tiny .
While using \HUGE , LaTeX displays a warning saying the font size is not available for the standard font and that it was replaced by the next smaller ( \Huge ). When using another font type, such as the Adobe Times Roman equivalent available in the PSNFSS package (see example below), however, you can benefit from that font size.

Note: The figure is scaled and therefore does not show the actual font size. It illustrates the difference between the font sizes.
Still not enough?
Here is alternative, more flexible approach. The anyfontsize package scales the next bigger/smaller font size available to whatever size you like.
The two arguments to \fontsize are the actual font size and the size of the baseline-skip. The baseline-skip should be set to roughly 1.2x the font size.
The following example shows font size 50pt/5pt and compares them with \Huge and \tiny .

That’s more like it! Again, this only works with a non-standard font type. And again, it does not show the actual font size. Try it with LaTeX!
Font sizes, families, and styles
LaTeX normally chooses the appropriate font and font size based on the logical structure of the document (e.g. sections). In some cases, you may want to set fonts and sizes by hand.
The following example shows how to use the smallest available font size in LaTeX ( \tiny ) and the small caps ( \textsc <. >) font style:

The following image shows the output produced by the example above:
Font sizes
Font sizes are identified by special names, the actual size is not absolute but relative to the font size declared in the \documentclass statement (see Creating a document in LaTeX).
In the following example, <\huge huge font size>declares that the text inside the braces must be formatted in a huge font size. For a complete list of available font sizes see the reference guide.

The following image shows the output produced by the example above:
Font families
By default, in standard LaTeX classes the default style for text is usually a Roman (upright) serif font. To use other styles (families) such as sans serif, typewriter (monospace) etc. you need to use some specific LaTeX commands, as shown in the example below:
The following image shows the output produced by the example above:

You can set up the use of sans font as a default in a LaTeX document by using the command:
Similarly, for using roman font as a default:
Font styles
The most common font styles in LaTeX are bold, italics and underlined, but there are a few more.
In the following example the \textsl command sets the text in a slanted style which makes the text look a bit like italics, but not quite. See the reference guide for a complete list of font styles.
The following image shows the output produced by the example above:
![]()
If you want to go back to «normal» font style (default for the LaTeX class you are using), this can be done by using the \textnormal <. >command or the \normalfont switch command.
Putting it all together
The following example combines together the various LaTeX code fragments used in this article.