0
I have the following excerpt:
\section{Referencial teórico}
I want to change the font to 14pt how to do without changing the rest of the text that is with source 12pt
0
I have the following excerpt:
\section{Referencial teórico}
I want to change the font to 14pt how to do without changing the rest of the text that is with source 12pt
1
You have the option of at least two packages to change the source of sections and subsections.
Bundle sectsty
:
\documentclass{article}
\usepackage{sectsty}
% Para definir a fonte da seção
\sectionfont{\fontsize{14}{15}\selectfont}
\begin{document}
\section{Test Section}
test \newline
\fontsize{12}{15}\selectfont test \newline
\fontsize{14}{15}\selectfont test
\end{document}
Bundle titlesec
:
\documentclass{article}
\usepackage{titlesec}
% Para definir a fonte da seção
\titleformat{\section}
{\normalfont\fontsize{14}{15}\bfseries}{\thesection}{1em}{}
\begin{document}
\section{Test Section}
test \newline
\fontsize{12}{15}\selectfont test \newline
\fontsize{14}{15}\selectfont test
\end{document}
Source: https://tex.stackexchange.com/a/103290
For more details depending on the classe
of the document: https://tex.stackexchange.com/a/59727
Browser other questions tagged latex
You are not signed in. Login or sign up in order to post.
Don’t go there! in Latex the advantage is not to think about sizes or fonts -- only about concepts.
– JJoao