2

I have a document which I want to recreate in LaTeX which has numbered subsections and subsubsections, but they have no titles, just text. How to make that in LaTeX? Currently I'm using the tufte class (which dosn't support subsubsections, but that's another problem to be dealt with separately).

enter image description here

4

2 Answers 2

3

This looks like a list with the section number prefixed to the enumeration. Such adjustments to list parameters are provided by enumitem. Here's a mockup that matches your output:

enter image description here

\documentclass{article}

\usepackage{enumitem}
\usepackage{lipsum}

\makeatletter
% To add a period after sectional unit numbering
\renewcommand{\@seccntformat}[1]{\thesection.\quad}
\makeatother

\begin{document}

\section{A section}
\lipsum[1][1-2]

\section{Another section}
\begin{enumerate}[align=left,label*=\thesection.\arabic*,labelindent=2em]
  \item \lipsum[1][3]
  
  \item \lipsum[1][4-5]
  
  \item \lipsum[1][6]
  \begin{enumerate}[align=left,label*=.\arabic*,labelwidth=3em,leftmargin=3.5em]
    \item \lipsum[2][1-2]
    
    \item \lipsum[2][3-5]
  \end{enumerate}
\end{enumerate}

\end{document}
0

Have you tried not giving them a title? If not, why not?

% subsecprob.tex  SE 653881
\documentclass{article}
\begin{document}
\section{First section}
Some text.
\subsection{First subsection}
Some text.
\subsubsection{First subsubsection}
Some text.

\section{Second section}
Some text.
\subsection{}
Some text.
\subsubsection{}
Some text.
\end{document}

--GOM

2
  • That's what I have now. It writes the section number on top of the section, not in s separate column left of it.
    – Max N
    Aug 15, 2022 at 13:46
  • I hadn't configured that; perhaps I should have looked more closely at your question.I think that the suggestions given by the commentators to your question have an answer for you. Please check them out and if one suits you ask the commentator to provide it as an answer for general use. Aug 16, 2022 at 17:54

You must log in to answer this question.

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