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.

I'd like to number theorems as 1.i (2.i) within specified continuous block of paragraphs of a text which is not defined as section or something like that. How to create such theorem numbering?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted
\newcounter{theoremblock}
\renewcommand{\thetheoremblock}{\roman{theoremblock}}
\newtheorem{btheorem}{Theorem}[theoremblock]
\renewcommand{\thebtheorem}{\arabic{btheorem}.\thetheoremblock}
\newenvironment{theoremblock}{\par\refstepcounter{theoremblock}}{}

\begin{theoremblock}
The following theorem will be our main premise.
\begin{btheorem}
All men are mortal.
\end{btheorem}
The next theorem is the secondary premise.
\begin{btheorem}
Socrates is a man.
\end{btheorem}
From these we can draw our conclusion.
\begin{btheorem}
Socrates is mortal.
\end{btheorem}
\end{theoremblock}
share|improve this answer
    
This is what I needed. Thank you. –  Oleksandr Bondarenko Apr 12 '11 at 17:33
add comment

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.