Questions tagged [indentation]

{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}.

Filter by
Sorted by
Tagged with
190
votes
1answer
417k 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. \setlength{\...
188
votes
1answer
211k 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 ...
154
votes
5answers
20k 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 ...
146
votes
3answers
184k 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} ...
133
votes
2answers
157k 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 ...
104
votes
9answers
176k 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?
103
votes
2answers
307k 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 \noindent ...
100
votes
4answers
174k 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 keywords ...
94
votes
6answers
132k 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 ...
85
votes
6answers
586k views

How to add indentation

I am writing a thesis report using LaTeX and I need to add indentations because every new paragraph starts from the initial position on the left. How do I add indentations?
66
votes
4answers
24k 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
61
votes
4answers
33k 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 ...
55
votes
2answers
35k 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. ...
53
votes
9answers
4k 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 ...
47
votes
1answer
177k views

Indentation within an Itemized List [duplicate]

I am using res.cls to write my resume. I have changed the indentation of my itemized list using: \setlength{\itemindent}{-.5in} This works great for the first line, but if the item goes onto the ...
45
votes
5answers
21k 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 ...
39
votes
3answers
49k 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?
39
votes
1answer
99k 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 ...
39
votes
5answers
41k 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} \DeclareCaptionStyle{algori}{singlelinecheck=off,format=...
38
votes
5answers
7k 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 ...
37
votes
2answers
58k views

How to disable automatic indent?

I know there are some similar questions here, but I haven't found the perfect answer for my problem. I don't like that TeX indents he first line of each paragraph and I'm too lazy to write \noindent ...
36
votes
5answers
46k 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 ...
34
votes
2answers
3k 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 know ...
33
votes
5answers
9k 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 ...
32
votes
1answer
37k 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?
31
votes
5answers
4k 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) ...
30
votes
6answers
17k 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 ...
30
votes
1answer
849 views

Indent text without using trivlist

Quite a lot environments which change margins (e.g. center, quote, addmargin from KOMA) use internally trivlist. This has some drawbacks, e.g., when the list is directly between two sectioning ...
29
votes
4answers
55k views

Indenting description lists

Is there a way to change how description lists are indented? I have something like: Normal text List item List Item I would like something like: Normal text List item List Item
29
votes
2answers
16k 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 ...
28
votes
2answers
22k 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: \...
28
votes
5answers
27k 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 ...
27
votes
3answers
49k views

Changing default width of blocks in beamer

I use a custom Beamer theme for my presentations. In my presentations I'd like to use blocks (\begin{block}…\end{block}). These blocks are rendered slightly too wide to fit into my theme. Is there a ...
27
votes
2answers
38k 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 ...
27
votes
3answers
36k views

Remove indent when using enumerate

When we use the enumerate environment, there's an indent created as you can see in the picture: Is there a way to remove that indent so that everytime I use the enumerate stuff doesn't give me such ...
27
votes
1answer
1k 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 ...
26
votes
6answers
17k views

paragraph style - how to force line break? \paragraph{} \\ - make paragraph a header?

I want to format paragraph to work as a regular title \paragraph{title} text goes here output of that is: title text goes here how can I change the output to force line break and use the usal ...
26
votes
5answers
18k 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 ...
26
votes
1answer
27k 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 ...
26
votes
2answers
24k views

Setting the indention of unordered lists

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

Indent an entire paragraph / section?

I am writing a document with some odd spacing. I am copying another document, and therefore the layout must be almost exact. I have sections divided by letters below, and some paragraphs in each ...
25
votes
1answer
30k 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 veniam,...
24
votes
4answers
7k 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 ...
24
votes
7answers
5k 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} \...
24
votes
2answers
20k views

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

If I use a \llap{text} command at the beginning of an indented paragraph, the text is not indented and is put on the line above the paragraph. \documentclass{article} \begin{document} \parindent=2cm ...
24
votes
4answers
38k 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 \end{...
24
votes
4answers
5k 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 ...
24
votes
2answers
12k views

How can I align a multiple-line footnote text right to the footnote mark?

How can I have the following "footnote layout"? Some Text Some Text Some Text Some Text² Some Text 2 FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT FOOTNOTETEXT ...
24
votes
2answers
37k views

How to change the indentation of all enumerates?

I want to indent enumerated items more. However every method I found deals with a single item in a list. How do I do this globally?
23
votes
1answer
6k views

Automatically set description list `labelwidth` based on widest label?

How do I create a description list where the item text is automatically indented to the width of the widest label? This is the same question as Description list with aligned descriptions but I would ...