0

How can i get this result? img

The subsection number is a part of subsection title and it begins from par indent. If subsection title is to long it continues from new line as normal text (It is not aligned to the left side as in normal TeX document).

1
  • Welcome to TeX.SE! Please help us help you and add a minimal working example (MWE) that illustrates your problem. Reproducing the problem and finding out what the issue is will be much easier when we see compilable code, starting with \documentclass{...} and ending with \end{document}. Especially in your case, as different document classes provide different ways to customize the style of (sub)sections.
    – marquinho
    Commented Nov 19, 2021 at 11:01

1 Answer 1

0

Try this, which works for English and the article class.

% subsectitleprob.tex  SE 623138

\documentclass{article}

\makeatletter
%% block paragraph for divisional titles (instead of hanging)
\renewcommand{\@hangfrom}[1]{\noindent #1}
\makeatother

\begin{document}
\section{Not too long section title}
Some cectional text.
\subsection{This is a subsection title that takes more than a single line to print}
Some subsectional text.
\end{document}

enter image description here

1
  • It works fine with russian! Thank you.
    – Maxim S.
    Commented Nov 21, 2021 at 8:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .