3

My article is written using 11 pt font, but I would like to write a line in bold using a size which is bigger than 11.

Here is the MWE:

\documentclass{article}
%
\begin{document}
\par
~
\par
\noindent
% I want to enlarge only this statement
\textbf{Analisi fluidodinamica su Stramazzo Generico}
% this is the text
Si immagini che un fluido perfetto e incomprimibile... 
%
\end{document}
  • 2
    is the line simply part of regular text, or do you know its start and end ahead of time? if it's already on a line by itself, you could use {\large\bfseries ...} to do the job. – barbara beeton Aug 6 '15 at 17:46
  • I'm thinking you'll need the soul package here??? – 1010011010 Aug 6 '15 at 19:27
  • I have just reported some code in the question – Cybex Aug 6 '15 at 20:07
  • It's not really clear why the part should be in a larger font. Are you perhaps trying to emulate \subsection or something similar? – egreg Aug 6 '15 at 20:12
  • 4
    @Cybex \subsection* – egreg Aug 6 '15 at 20:44
2

If you want to emulate \subsection, but without a number, just do

\subsection*{Analisi fluidodinamica su Stramazzo Generico}

If you just have numbered sections, but not subsections, add

\setcounter{secnumdepth}{1}

to your preamble and use

\subsection{Analisi fluidodinamica su Stramazzo Generico}

with the advantage that the subsections can go directly to the table of contents (provided tocdepth is set to 2 or more).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.