LaTeX end section or subsection

  • Context: LaTeX 
  • Thread starter Thread starter wil3
  • Start date Start date
  • Tags Tags
    Latex Section
Click For Summary

Discussion Overview

The discussion revolves around issues related to document hierarchy in LaTeX, specifically focusing on managing indentation for subsections and subsubsections. Participants explore methods to indicate the end of a subsection without entering a new subsection environment, as well as the implications of these formatting choices for note-taking.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant describes their approach to indenting subsections and subsubsections to create a "funneling" effect on the page, but encounters issues when trying to remove indentation for higher-level sections.
  • Another participant questions how the end of a subsection will be indicated to the reader, suggesting that clarity in formatting is important.
  • A participant acknowledges a misunderstanding regarding the default indentation behavior in LaTeX and expresses gratitude for clarification.
  • One participant proposes changing the indent back to the previous level as a potential solution and asks for the code used to achieve the progressive indentation.
  • A participant shares their current code for modifying subsection indentation and expresses a desire to understand the provided link better.

Areas of Agreement / Disagreement

Participants express varying levels of understanding and approaches to the problem, with no consensus reached on a definitive solution to the indentation issue or how to effectively indicate the end of a subsection.

Contextual Notes

There are limitations in the discussion regarding the assumptions made about LaTeX commands and the specific formatting requirements for note-taking. The effectiveness of proposed solutions remains uncertain.

wil3
Messages
177
Reaction score
1
hello. I'm trying to get better acquainted with\LaTeX\ but I'm having some issues with document hierarchy. I've set LaTeX to automatically indent subsections by 1 inch, subsubsections by 2 in, etc. This way progressive sections "funnel" down the right side of the page. I've already done the necessary modification to the commands, the issue involves jumping back to a higher level, ie removing the indentation.

I don't want to enter the subsection environment, so I've been using the \section{title here}, \subsection{}, and \subsubsection{} commands.

I've tried using the \begin{subsection}, etc commands, but I get this compile error:

./tensoritis.tex:98: Missing \endcsname inserted.
<to be read again>
\@@par
l.98 \end
{subsection}
?

The trick I tried is finishing a subsection, then declaring a new subsection* with no visible title information. For some reason, I end up staying within the subsection.
The application is notetaking, in which I routinely want to funnel down a topic into sections and then jump back up to the main topic being covered.

Thanks very much
 
Last edited:
Physics news on Phys.org
oops, my bad. My sub sections and subsubsections are progressively indented, so that as I use subsections I get further to the right. That's what I meant by "funnelling."

I forgot that wasn't default. Thanks.
 
Note: I've modified the original post to make this clear to anyone who comes across this. Does anyone have any clues on how to fix this issue?
 
here's what I've been using:

\let\oldsubsection\subsection
\renewcommand{\subsection}{\leftskip=1in\oldsubsection}
\let\oldsubsubsection\subsubsection
\renewcommand{\subsubsection}{\leftskip=1in\oldsubsubsection}

I'm still trying to understand that link (I'm a bit of a newbie), but I'll get back to you if that works.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 2 ·
Replies
2
Views
17K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 3 ·
Replies
3
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
3
Views
3K
  • · Replies 6 ·
Replies
6
Views
5K