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.

Is there any package for LaTeX that performs sectioning using environments, where doing something like

\begin{section}[Section Title]    
\begin{section}[Subsection Title]  
\begin{section}[Subsubsection Title]  
\begin{section}[Subsubsubsection Title]    
\end{section}  
\end{section}  
\end{section}  
\end{section}

does the obvious thing (please infer from the stuff in the []'s!)?

share|improve this question
    
Just out of interest, may I ask what is your need? –  ℝaphink Sep 4 '11 at 22:38
    
Well, let's not confuse needs with wants! –  Harry Gindi Sep 4 '11 at 22:39
5  
Have a look at tex.stackexchange.com/questions/12001/…. –  lockstep Sep 4 '11 at 22:40
1  
@Raphink — the general idea with markup like this is that you can move chunks of documents without having to adjust the section levels manually (e.g., all \section -> \subsection, and so on). –  Will Robertson Sep 5 '11 at 2:26
    
@Will: thanks, that explains. –  ℝaphink Sep 5 '11 at 5:24

1 Answer 1

As mentioned in an answer to the question @lockstep linked above, I have some non-maintained code to attempt this here: http://github.com/wspr/newsec. (Run the .dtx through LaTeX to get the .sty file and the documentation.)

If you do find this useful or otherwise have comments, let me know and I'll consider putting it on CTAN. (Depending how long it takes to tidy up.)

share|improve this answer

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.