{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

82
votes
5answers
7k 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 ...
50
votes
1answer
91k 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. ...
46
votes
6answers
1k 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
3answers
38k 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} ...
40
votes
4answers
45k 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 ...
38
votes
1answer
33k 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 ...
36
votes
6answers
19k 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 ...
36
votes
2answers
27k 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 ...
33
votes
4answers
9k 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 ...
33
votes
3answers
5k 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
6answers
26k 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?
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
13k 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. ...
26
votes
3answers
19k views

What is the \rule equivalent for \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?
26
votes
1answer
776 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 ...
25
votes
5answers
8k 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 ...
22
votes
2answers
862 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 ...
21
votes
2answers
1k 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 ...
19
votes
5answers
2k 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 ...
19
votes
2answers
66k 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 ...
19
votes
2answers
220 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 ...
19
votes
4answers
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 ...
18
votes
2answers
7k 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: ...
17
votes
3answers
438 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 ...
17
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 ...
17
votes
2answers
361 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
8k 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} ...
16
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 ...
16
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 ...
16
votes
5answers
16k 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 ...
16
votes
3answers
16k 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 ...
16
votes
3answers
3k 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 ...
16
votes
1answer
353 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
4answers
6k 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 ...
15
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} ...
15
votes
3answers
109k 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. ...
15
votes
3answers
23k 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 ...
15
votes
2answers
4k 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 ...
15
votes
1answer
6k 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 ...
15
votes
3answers
13k 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 ...
15
votes
1answer
615 views

More condensed version of \parshape

\parshape can handle arbitrary paragraph shapes. One extreme is contained within How to layout irregular paragraph shape, where it can handle setting paragraphs like this: However, a simplified ...
14
votes
2answers
500 views

How does \\ suppress spurious spaces while \par\noindent doesn't

I'm trying to build a description-list-with-header-line by using a macro. In the non-MWE, the macro adds additional value like index entries and margin notes, but here I have the simplest case ...
14
votes
2answers
12k views

Setting the indention of unordered lists

I'd like to set the indention of an itemize-list. How can this be done?
14
votes
2answers
2k 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 ...
14
votes
2answers
3k 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 ...
14
votes
4answers
560 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 ...
14
votes
2answers
3k 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 ...
14
votes
1answer
21k 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 ...
14
votes
1answer
354 views

Can the listings package automatically indent source code?

The listings package automatically highlights keywords in source code and makes it look nice. Is it possible to automatically indent the program? For example, in listings, if the following code is ...
14
votes
1answer
782 views

How to change \hsize in the middle of a paragraph at pagebreak, especially for two-column?

The original question is: How to get two columns with different width in LaTeX? I know this older question: How can I create a two-column layout with different widths (and texts) for the two columns? ...