2

Hello this is my first question here.

Normally, if I write something like

\subsection*{a)}
 blabla

it is displaid like

a)
blabla

Now I want to achieve that this two elements are inline like

a) blabla

Is this possible?

1

1 Answer 1

4

Use \paragraph and \subparagraph:

\documentclass{article}
\begin{document}
\section*{This is a section}
\subsection*{This is a subsection}
\subsubsection*{This is a subsubsection}
\paragraph{This} is a paragraph.
\subparagraph{This} is a subparagraph.
\end{document}

Which results in:

Section and Paragraph levels

You can also number them by setting secnumdepth to 4 or 5.

\setcounter{secnumdepth}{5}

Or you could use a 'numbered' list:

\documentclass{article}
\usepackage{lipsum}
\begin{document}
\begin{enumerate}
    \renewcommand{\labelenumi}{\bfseries\alph{enumi})}
    \item \lipsum[2]
    \item \lipsum[3]
\end{enumerate}
\end{document}

Which results in:

Alphabetized List

4
  • But if the following text is longer than that first line, how to I achieve that the next line is aligned with the "start" of the text itself and not under the "paragraph counter"? Oct 21, 2012 at 12:21
  • I've updated my answer with a list in the format I think you want. It makes use of a numbered list.
    – Silke
    Oct 21, 2012 at 12:34
  • Great, that is indeed exactly what I want. Thank you! Oct 21, 2012 at 12:50
  • AMS style guide says that subsection headings should be bold with the text of the following paragraph continuing in line. Subsubsection headings should be italic with the paragraph following in line
    – Andrea
    Mar 14, 2021 at 0:22

You must log in to answer this question.

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