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.

Possible Duplicate:
Resuming a list

i want to create a list which has arbitrary sized paragraphs in between:

screenshot of document as it should look like

How can i do this? (what i have now is done with centering and there is no automatic numbering)

share|improve this question

marked as duplicate by lockstep, Count Zero, barbara beeton, Harish Kumar, tohecz Aug 8 '12 at 14:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 4 down vote accepted

enter image description here

\documentclass{article}

\def\a{One two three. }
\def\b{\a\a Four five. \a}
\def\c{\b\b Red green blue. \b \a}
\def\d{\c\c}

\newcounter{hyp}

\newenvironment{hyp}
{\refstepcounter{hyp}\trivlist\itshape\centering\item[(\thehyp)]}
{\endtrivlist}


\begin{document}

\begin{hyp}\label{ha}
Something or other is better than that other thing
\end{hyp}

Some text about hypothesis \ref{ha} \d


\begin{hyp}\label{hb}
Black and white.
\end{hyp}

Some text about hypothesis \ref{hb} \d


\end{document}
share|improve this answer

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