Indenting a block of text in LaTeX

Posted: 15th August 2009 by Tim in LaTeX
Tags: , , , , ,

To indent a block of text, you can use the \addtolength{length_variable}{length} command. For this task, we need to add to the \leftskip value for the block of text.

For example, to indent a block of text by 5mm we would do the following:

{\addtolength{\leftskip}{5mm}

...indented text here...

}




  1. mark says:

    This does absolutely nothing.

    OBJECTIVE\\
    {\addtolength{\leftskip}{10 mm}
    To obtain an internship relevant to the field of aerospace engineering\\*
    }

  2. peter says:

    this does

    OBJECTIVE

    {\addtolength{\leftskip}{10 mm}
    To obtain an internship relevant to the field of aerospace engineering\\*

    }

  3. Bethany says:

    This also works, although you don’t have any say in how much you are indenting by. One advantage is that works in an enumerated list.

    \begin{quote}
    Text to be indented.
    \end{quote}

  4. Tim says:

    That does work, but be aware that it will increase the margin on the left and the right of the text, which may or may not be what you want.

  5. Corey says:

    Why do I have to start a new paragraph for the text I want indented?

    Fore example –
    Thing I want to describe\\*

    {\addtolength{\leftskip}{10 mm}
    \noindent Description goes here\\*

    }

    Without the blank line between the thing to describe and the description everything is indented, but with it I start a new paragraph. Can I indent this way without starting a new paragraph?