{indentation} is about the first-line indentation of normal {paragraphs} as well as about the indentation of, e.g., {lists}, {quoting} environments, {captions}, and the various elements (sectioning numbers, titles, ...) in a {table-of-contents}.

learn more… | top users | synonyms

98
votes
5answers
8k views

Is there an easy way to have my whole document with a space between paragraphs rather than indentation?

I would like to have my whole document showing a blank line (or space) between paragraphs and no indentation. I know how to do it line by line, but is there a way to change that with just one or a few ...
66
votes
1answer
125k views

Remove Indentation for a Single Paragraph

Is there a way to remove the indentation at the beginning of a paragraph for a single paragraph. I know I could do \setlength{\parindent}{0cm} This is my paragraph. Blah blah blah. ...
59
votes
1answer
53k views

itemize, removing natural indent

When you itemize items you usually have the entire list indented. This is expected when you have a title or description of what you are listing. I want to itemize but not have the natural indent. I ...
51
votes
3answers
54k views

No indent in the first paragraph in a section?

I am just curious that the following format looks good to you or not? The preamble I used is just \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} ...
48
votes
4answers
63k views

Have new line between paragraphs, no indentation [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I am sure that this must be a dup, but I can't find the right ...
47
votes
6answers
2k views

Starting a line where the previous line finishes

I have been using LaTeX for standard things like letters and scientific reports. I recently came to visit my grandmother who writes some poetry and told her I could make a nice pdf from her ...
43
votes
2answers
41k views

How to disable automatic indentation on new paragraphs?

I'm using a template that I can't/shouldn't modify. This template forces that every time a new paragraph begins, there is an indentation added. In some rare cases this is just looking really ugly and ...
42
votes
7answers
41k views

Indenting a whole paragraph

How do I indent a whole paragraph at the same distance from my left margin, with the simplest command or environment?
41
votes
6answers
30k views

How can I change the margins for only part of the text?

Sometimes the margins need to be changed for a particular page, paragraph, or other section of text. For example, if I'm writing a letter and want the left margin to be almost at the right side of ...
37
votes
4answers
12k views

How can I get rid of indentation after an equation?

I'm a total newbie to LaTeX and I get very annoyed about this. Every time I write an equation, the text following the equation has some indentation but I don't want it to be there! Look at the ...
36
votes
3answers
7k views

LaTeX code sniffer and/or beautifier?

I'm looking for a LaTeX code sniffer and/or code beautifier, because I'm creating a CI server for my LaTeX books and I wanted a few things. :D
32
votes
5answers
10k views

How can I change the indentation in quote and quotation environments and commands?

I need to change the indentation that the quote and quotation environments and commands employ. I assume that there is some length I need to set, but I've googled around, and cannot find what I am ...
31
votes
3answers
25k views

What is the \rule equivalent to \hrule?

I've tried to put a rule long as the text in this way: \rule{\textwidth}{0.4mm} but I obtain a rule slightly smaller that the text width. How to obtain the same effect as \hrule?
30
votes
2answers
16k views

Changing left margin in itemize environment of beamer class

I can't figure out how to line up the symbols of an itemize environment in beamer with the left part of the main text. In other words, I would like to supress the left margin in beamer itemize lists. ...
29
votes
5answers
2k views

Using indentation to automatically begin and end itemize environments

This is a question one might answer with "Why the hell would you want to do it?!", sort of an experiment. What I am looking for is a way to write lists with many levels of nestings (notes for school) ...
27
votes
2answers
90k views

Set noindent for entire file [duplicate]

Possible Duplicate: How to disable automatic indentation on new paragraphs? Is there a way to set noindent for all paragraphs gloablly in latex, so that I do not have to manually do ...
26
votes
2answers
2k views

Reliable code for automatic \noindent after specific environments?

This question led to a new package: noindentafter There are a number of environments which I never want to follow up with an indented paragraph. itemize, enumerate, theorem, definition, etc. I ...
26
votes
1answer
834 views

Non rectangular page geometry

I am interested in using non-rectangular page geometries for my flipbook idea (in fancyhdr with image and flowing text). The page geometry that I'm after is that the text has a little rectangle ...
23
votes
2answers
2k views

Opposite of \parindent

I want to do the opposite of normal paragraph indentation, meaning: Have no indent on the first line of each paragraph, but Indent each subsequent line in the paragraph. Currently I'm using the ...
22
votes
2answers
9k views

Indent a code listing in LaTeX

For a little LaTeX document I am writing I would like to insert source code fields (in SQL) into my paper. I found out that I can use the listings package for this, which works well so far: ...
21
votes
5answers
3k views

How can I indent the paragraphs which follow a heading?

I am trying to write a text where the first line of each paragraph has an indent(tab). But for some reason, in a chapter or a section or subsection, except the first paragraph, the rest of the ...
21
votes
3answers
12k views

Include a line break in algorithmic while maintaining indentation

I have this code: \DeclareCaptionFormat{algor}{% \hrulefill\par\offinterlineskip\vskip1pt% \textbf{#1#2}#3\offinterlineskip\hrulefill} ...
20
votes
3answers
161k views

How to add indentation

I am writing my Thesis report using LaTeX, I need to add indentation because every thing is right but only thing is every new paragraph is starting at initial stage but I need to add some indentation. ...
20
votes
5answers
3k views

How to prevent paragraph breaks after theorem environments?

By default, the list environments (such as itemize) have the nice property that if you add a blank line after it, it starts a new paragraph, and if you don't, the paragraph continues. So The ...
19
votes
3answers
660 views

Hanging punctuation with quotation marks in left margin?

Plain TeX has a method of creating hanging punctuation, where a punctuation mark/character immediately to the left of some text sits effectively in the margin. I want to do this with quotes, so that ...
19
votes
2answers
4k views

Cancel/undo a \setlength{\parindent}{3ex}

Assume I want to have a section within an article with different indentation/parskipping. Is there a way to undo that command at the end of the section so the next section behaves again as if I never ...
19
votes
2answers
234 views

What's a quick way to align text?

I am often writing quick statements in which I would like the following lines to continue underneath the end of the first. Is there a quick way to do this (requires arrays?) this is the first ...
18
votes
2answers
14k views

Setting the indention of unordered lists

I'd like to set the indention of an itemize-list. How can this be done?
18
votes
3answers
2k views

How to set superscript footnote mark in the text body but normalsized in the foot?

I want the footnote mark to be superscripted in the text body (e.g. Footnote mark²), but normalsize in the foot, to be shown like: ________________ 2. Some footnote text Also, it would be nice if ...
18
votes
3answers
4k views

Description-like environment with fixed labels width

Which is the right way to do something like 'description' list but with customizable and fixed-width labels? I.e. something like this: Label: Text text text text text text text ...
18
votes
1answer
13k views

How to remove indentation for all paragraphs?

I am finding this very inefficient, every time I type up something MiKTeX just indents for me and I have to enclose everything in \noindent{...}. Is there a quick way of going past this?
17
votes
4answers
7k views

Layout of multiple lines footnotes

I have a question about footnotes with LaTeX: I would like the multi-lines footnotes to look like: 1 This is the first line of the very, very long footnote and this is the second line of the ...
17
votes
4answers
3k views

How to automatically skip leading white spaces in listings

This question led to a new package: lstautogobble (lstaddons bundle) For my programming lecture slides I heavily use the listings package with \lstnewenvironment to typeset source code. It's a ...
17
votes
6answers
2k views

Roman numerals become “too wide” in table of contents

Following minimal document: \documentclass{report} \begin{document} \renewcommand*\thechapter{\Roman{chapter}} \tableofcontents \setcounter{chapter}{6} % Problem starts at chapter 7 \chapter{Seven} ...
17
votes
5answers
18k views

Not indent the first paragraph of a LaTeX document

In the standard LaTeX article class (and probably others as well), paragraph indentation follows standard American publishing norms of not indenting the first paragraph after a \section{} or ...
17
votes
3answers
19k views

Specifying a no-indent for a list

I have the following: This is just normal text... \begin{enumerate} \item First Item ?\\\\ This is the text of the first item \item Second Item ?\\\\ This is the text of the second item ...
17
votes
5answers
17k views

Change hanging indent in description list

I'm trying to get a description's list hanging indent to lie flush with the first line of text. I have a description list such as the following: \begin{description} \item[Label the first] Lorem ...
17
votes
3answers
29k views

Indent an entire paragraph / section?

I am writing a document with some odd spacing. I am copying another document, and therefrore the layout must be almost exact. I have sections divided by letters below, and some paragraphs in each ...
17
votes
4answers
1k views

can someone please explain the enumitem horizontal spacing parameters?

I am still struggling with enumitem. I don't understand the horizontal spacing parameters at all. I have indeed read the documentation, and numerous answers to numerous questions, but despite all that ...
17
votes
2answers
396 views

Why do I have to put the center environment in a group for \@afterindentfalse\@afterheading to suppress indentation?

Consider the following two macros, the only difference being that one has the environment inside a group: \documentclass{article} \makeatletter \newcommand\thisworks{% {\begin{center} $\ast$ ...
17
votes
3answers
18k views

How to limit the figure caption width?

Figure captions seem to wrap at the page width. How could I make them wrap at the figure width instead? Currently, they can easily be mistaken for normal text. \begin{figure}[!htb] \begin{center ...
16
votes
1answer
10k views

Multiline item indent

I am currently writing a set of steps for my lecture notes on circles but when the description of the step is too long, becomes multiline, the enumerated environment does not left indents properly as ...
16
votes
2answers
5k views

Difference between setting parindent and hangindent

Is there a difference between setting \parindent to 1em and to setting \parindent to 0em, \hangindent to 1em, and \hangafter to -1 that shows in practical use? The nodes created by TeX are ...
16
votes
1answer
29k views

How can I indent a block of text for a specified amount? [duplicate]

Possible Duplicate: Indenting a whole paragraph Write text with some fixed amount of space from the margin I would like to indent a paragraph or two for a specific amount. The quote ...
16
votes
1answer
9k views

How to define the size of paragraph indent?

\documentclass[12pt]{article} \begin{document} Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim ...
16
votes
1answer
368 views

Unexpected interaction between microtype and \parindent

The microtype package (or more likely the pdfTeX microtypographic extensions) have a strange interaction with \parindent that bit me. \documentclass{article} \usepackage{microtype} \begin{document} ...
15
votes
2answers
5k views

\raggedright removes paragraph indentation

This code \documentclass[]{article} \usepackage{lipsum} \begin{document} \raggedright \lipsum[1-3] \end{document} produces three paragraphs with a ragged right edge and no paragraph ...
15
votes
2answers
4k views

\llap (or \rlap) at the begining of an indented paragraph

If I use a \llap{text} command at the begining of an indented paragraph, the text is not indented and is put on the line above the paragraph. \documentclass{article} \begin{document} \parindent=2cm ...
15
votes
2answers
5k views

adding space before each item in itemize

I would like to add some space before each \item in begin{itemize} When i try doing something like this \begin{itemize} \item \hspace {5cm} Sweden \item \hspace {5cm} Germany \end{itemize} The ...
15
votes
2answers
4k views

Automatic noindent after quote environment

I need to include block quotes in my thesis, and the line following should not be indented. I am using the memoir class with XeLaTeX. For example the following code: \begin{quote} Lorem Ipsum Dolor ...