Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
1  
Welcome to TeX.sx! how \subsection is formatted depends on what document class you are using. a minimal working example (MWE) would be helpful here. –  barbara beeton Oct 21 '12 at 12:19

1 Answer 1

up vote 2 down vote accepted

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

share|improve this answer
    
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"? –  Valentino Ru Oct 21 '12 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. –  Silex Oct 21 '12 at 12:34
    
Great, that is indeed exactly what I want. Thank you! –  Valentino Ru Oct 21 '12 at 12:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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