How Do You Notate Subsections in LaTeX?

  • Context: LaTeX 
  • Thread starter Thread starter Juggler123
  • Start date Start date
  • Tags Tags
    Latex Notation
Click For Summary

Discussion Overview

The discussion revolves around the appropriate notation for referencing sections and subsections in LaTeX documents. Participants explore how to correctly use the \S symbol for different hierarchical levels of sections, including subsections.

Discussion Character

  • Technical explanation

Main Points Raised

  • One participant suggests using 'in \S 2' for sections and questions whether to use 'in \S\S 4.2' or 'in \S 4.2' for subsections.
  • Another participant proposes a method that avoids manual numbering by using \section and \subsection commands, allowing for automatic referencing with \ref.
  • A third participant clarifies that only one \S symbol should be used for subsections, indicating that \S\S is reserved for referencing multiple sections, similar to how page numbers are referenced.
  • A later reply expresses appreciation for the clarification provided.

Areas of Agreement / Disagreement

Participants have differing views on the correct notation for subsections, with some advocating for a single \S symbol and others suggesting the use of \S\S for clarity in referencing multiple sections. The discussion remains unresolved regarding the best practice for subsection notation.

Contextual Notes

There are assumptions about familiarity with LaTeX commands and the context in which these notations are used, which may affect the applicability of the suggestions made.

Juggler123
Messages
80
Reaction score
0
So to write 'in section 2' I would say 'in \S 2'

for 'in subsection 4.2' would I then say 'in \S\S 4.2'?

or just 'in \S 4.2'?

Thanks
 
Physics news on Phys.org
You're much better off doing something like this so that you don't have to keep track of the numbering yourself:
Code:
\section Stuff

\subsection additional stuff
\label{sec:stuff}

A whole bunch of text and possibly additional sections follow here. 

Now, referring back to \S \ref{sec:stuff}, we see that there is a great deal of stuff in it.
 
Ah, but your question seems to be more about the *notation* used to indicate sections. To answer your question, I think you would use only ONE \S symbol, even for a subsection. Two symbols : \S\S is use to refer to *multiple* sections. E.g. You might say something like: \S\S 4.2-4.6. It's the equivalent of writing p. 46 to indicate a particular page and pp.46-63 to indicate a range of pages.
 
Makes perfect sense, thank you.
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
9K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 11 ·
Replies
11
Views
8K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K