{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}.
54
votes
4answers
3k 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 ...
43
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 ...
32
votes
3answers
11k 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}
...
28
votes
4answers
5k 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 ...
25
votes
3answers
717 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) ...
22
votes
1answer
638 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 ...
21
votes
3answers
8k 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?
21
votes
6answers
5k 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 ...
21
votes
3answers
1k 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
20
votes
5answers
4k 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 ...
19
votes
4answers
15k 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 ...
18
votes
1answer
8k 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.
...
16
votes
6answers
6k 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?
16
votes
1answer
26k views
Remove Paragraph Indentation
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.
...
16
votes
1answer
2k views
How to modify the indentation before sectioning titles in the table of contents?
I'm preparing a document using the book class. In the table of contents, the indentation before the subsection title is too long. How to reduce it?
16
votes
2answers
279 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$
...
16
votes
1answer
318 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
2k 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 ...
14
votes
5answers
592 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 ...
14
votes
2answers
228 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
2k 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 ...
14
votes
2answers
711 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
3answers
1k 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 ...
13
votes
4answers
339 views
I want to indent the next line by an exactly specified position
I am typesetting an entire math lecture script, where readability often requires me to indent just a line or two for a certain amount, which is ALWAYS different. I would like to have some way of ...
13
votes
4answers
2k 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 ...
13
votes
2answers
7k 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 ...
13
votes
3answers
3k 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}
...
12
votes
2answers
6k views
Setting the indention of unordered lists
I'd like to set the indention of an itemize-list. How can this be done?
12
votes
3answers
1k 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 ...
12
votes
1answer
592 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? ...
11
votes
4answers
11k 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 ...
11
votes
6answers
2k views
How to switch between two different marginparwidth size?
I like this book layout stewartcalculus, so I want to mimic some of its layout.
In this topic I want to start from the page number 5.
The following is the screenshot: (hopely don't break the copyright ...
11
votes
2answers
742 views
Proper indentation in acronym package
I am using the acronym package in the thesis. This is the first time I am using this so don't know much. But I did something like this.
\begin{acronym}
\acro{2G}{2nd Generation}
\acro{3GPP}{3rd ...
11
votes
1answer
1k 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 ...
11
votes
1answer
888 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 ...
11
votes
1answer
214 views
A zero \parskip and an unusual \paragraph result in overlapping paragraphs
I'm trying to debug a class provided by some journal. From times to times, the text appears completely garbled, or does not appear at all (I believe it is printed somewhere but probably out of the ...
11
votes
2answers
4k 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
...
11
votes
3answers
3k views
Theorem environment with hanging indentation
I would like to define a theorem environment with custom layout. In particular, I want the body of the theorem to be indented, like this
Text body. Text body. Text body.
Theorem 1 (Pythagoras).
...
11
votes
3answers
710 views
whitespace/brace/indentation conventions for LaTeX programming
This question is not about formatting the text/markup of a document. I'm really focused on the programming aspect of LaTeX. I'm working on a fairly large set of document classes and packages, and ...
10
votes
4answers
975 views
Why do I need to use \paragraph{} after a \section{} to get correct indenting whereas a blank line suffices for subsequent paragraphs?
I have noticed that whenever I start a new section, subsection, etc., I need to preface my text block with \paragraph{} to get correct indentation for the first paragraph. In subsequent paragraphs, ...
10
votes
2answers
535 views
No indentation after empty line
Indentation can be selectively suppressed using \noindent or completely with the option parindent=full to the KOMA document classes. Books (fiction) are usually structured using paragraphs, indented ...
10
votes
2answers
4k 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:
...
10
votes
3answers
582 views
When to indent a paragraph?
I use indentation of the first line for paragraphs. When a new paragraph starts after a code listing (or some other figure), this looks a bit unpleasant to me. What is the typographical convention for ...
10
votes
4answers
3k 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 ...
10
votes
5answers
1k views
How do I indent ALL lines of a paragraph so that it looks like a blockquote?
I understand that there is a \quote (correct me if I'm wrong) macro to do this; but I'm using this for something else (not prose). I also want it to obey the right margin. My minimal working example ...
10
votes
1answer
939 views
How to switch between two margin sizes?
This question led to a new package:
fullwidth
This is a followup to a similar question. The idea is to switch between two different margin sizes. The answer provided by @godbyk work very well. ...
10
votes
2answers
424 views
Can't get my head around enumitem's spacing parameters
Maybe it's my terrible lack of sleep but I can't get my head around enumitem's horizontal spacing parameters.
What I want is a decription enviroonment in which the first line of each item (where the ...
10
votes
3answers
401 views
Creating a new environment for multiple choice questions
I am trying to create a new environment for multiple choice test questions. I want to make sure that every question has a number and has a constant indentation:
1. Lorem ipsum
dolor sit amet.
...
10
votes
1answer
148 views
No indent in the first paragraph in a section in Plain TeX
I have checked no indent in the first paragraph in a section? but I think my question warrants a new thread, because my question is about Plain TeX.
I am using Plain TeX. I would like to write a ...
10
votes
4answers
1k views
Is there a general command to disable indentation of paragraphs after figures and tables?
I am typesetting a manual, that uses normal indentation for paragraphs. The pages have a lot of figures and tables and I would like to have the paragraph after tables and figures to have no ...

