LaTeX Indentation within Section and Subsection

  • Context: LaTeX 
  • Thread starter Thread starter Saladsamurai
  • Start date Start date
  • Tags Tags
    Latex Section
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 17K views
Saladsamurai
Messages
3,009
Reaction score
7
I am very new to LaTeX (outside of PF). I am trying to write up a basic Template to use as a reference.

Most issues I have been able to find documentation for. However, I am haveing trouble finding this one.

I am using \documentclass{article} and cannot seem to get my lines to indent within a \section or \subsection

Any thoughts?
 
Physics news on Phys.org
Hi there,

Have you tried with the \parindent command?

Cheers
 
you can define those:

\def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus
-.2ex}{2.3ex plus .2ex}{\bf }}
\def\subsection{\@startsection{subsection}{2}{\z@}{-3.25ex plus -1ex minus
-.2ex}{1.5ex plus .2ex}{\it }}

And adjust accordingly.