Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

LaTeX Indentation within Section and Subsection

  1. Sep 25, 2009 #1
    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?
  2. jcsd
  3. Sep 28, 2009 #2
    Hi there,

    Have you tried with the \parindent command???

  4. Sep 29, 2009 #3


    User Avatar
    Gold Member

    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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - LaTeX Indentation within Date
LaTex and MathJax Feb 27, 2018
Latex help needed, about indentation Mar 4, 2014
Indenting text in LaTeX Apr 29, 2012
LaTeX Paragraph Indenting Nov 12, 2008
No indenting in latex? Oct 15, 2008