{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

7
votes
1answer
109 views

How to make \parshape take indentation of first line into account?

In the minimal example below, I want to create an empty space to the right of the paragraph using \parshape. However, the first line is indented and spills over into the empty space. I don't want ...
0
votes
0answers
291 views

Paragraph Numbering in LaTeX and Space Increase of Indentation

Is there any easy way to do the same thing that this code does: % arara: pdflatex \documentclass[a4paper,12pt]{report} \usepackage[inner=0.75in,outer=0.65in,top=0.75in,bottom=0.75in]{geometry} ...
4
votes
2answers
159 views

Indented paragraph after word on same line

I want to do this: Term This is the definition of the word. No matter how much is typed here it should always line up like this. How do I do this? I am not sure since ...
8
votes
2answers
277 views

How to automatically keep the indentation level when a line has to be broken

I'm using the algpseudocode package with two custom commands, \Let and \LongState to handle automatic indentation of (broken) long lines in the spirit of Werner's answer, which uses \parbox to wrap ...
6
votes
1answer
348 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 ...
9
votes
0answers
238 views

Biblatex, Use of prefixnumber changes indentation of all subbibliographies

I have a problem with my three subbibliographies. I am using two styles numeric and alphabetic. In one of the subbibliographies I would like to use a prefixnumber. Unfortunately this affects also the ...
6
votes
1answer
121 views

Last displayed glossary entry's hanging indentation gets lost with index style

I'm using the glossaries package in a document and use the index style with it (because I need optional symbols to be displayed in the glossary). The weird thing is that the last displayed item's ...
2
votes
1answer
116 views

Controlling indentation document-wide

Being new to LateX (I have been playing around for less than a week), Im looking for an end-all method to format the indentation for an entire document. This would include: subsection indentation, ...
4
votes
0answers
392 views

break lines in minted code

Thanks to this question minted is able to break long source code lines. It is working really fantastic, except in one case: When already indented code gets breaked into two lines, than line two gets ...
3
votes
1answer
772 views

listings: Set tabsize while using spaces for indentation in the loaded file does not work

I am writing a report where I want to include some source code. To do so I use the listings package to load the content of the source files directly. Because of coding standards I am using 4 spaces ...
5
votes
1answer
223 views

Spacing and indentation

I have this code example: \documentclass[]{article} \usepackage{amsmath} \usepackage{amsthm} \newtheorem{exmpl}{Example} \begin{document} \begin{exmpl} \textbf{My first grammar}\\ $G = (\{a, b\}, ...
3
votes
1answer
33 views

Hyperlinks to enumeration numberings

I have a list \begin{enumerate} \item This is the first post \item This is the second post \end{enumerated} And I want to add hyperlinks to the numberings within a box. The simplest approach can ...
4
votes
2answers
266 views

Little indentation despite \noindent after tabu custom-environment

this question is about a (to me) mysterious little indent (looks like an ordinary blank...) after a custom-environment using the tabu-environment. Please compile this MWE: \documentclass[a4paper, ...
2
votes
1answer
993 views

List of Equations in standard list style

I'm using this solution to generate a list of equations. Running my minimal example below, there are two points I want to change: [A] Using the standard "list of" style, means: using the same spaces ...
1
vote
0answers
66 views

Re-formatting natbib entries?

I have a bibtex entry like this: @inproceedings{key, title={ Title }, author={ Authors }, booktitle={To Appear in the Proceedings of the ACM Long Conference Name}, conference={{Short ...
4
votes
1answer
147 views

Unwanted horizontal space right after \begin{document}

I have a package of my own loaded when a certain option is passed to a class of my own (based in turn on the memoir class). The package is devised for typesetting letters. Except for the body of the ...
14
votes
1answer
388 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 ...
3
votes
1answer
218 views

Wrap figure in theorem-environment

I'd like to wrap a figure around a theorem-environment but when I use the wrapfig or \parpic environment the text overlaps the figure. Plain text automatically wraps around a \parpic figure but the ...
6
votes
1answer
738 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 ...
5
votes
3answers
2k views

Block indentation in TeXMaker

Is it possible to indent whole paragraphs of source code in TeXMaker (or alternatively, in any LaTeX editor), so that intentation applies to all rows in paragraphs when the text is wrapped over ...
1
vote
1answer
99 views

Indented longtable [duplicate]

My ltxtable is indentated on both sides and I don't want the indents. My MWE is: \documentclass{scrreprt} \usepackage[latin1]{inputenc} \usepackage[ngerman]{babel} \usepackage{ltxtable, filecontents} ...
5
votes
1answer
84 views

Irregular position of page number in ToC

I have a problem with position of a page number in ToC, they are on the left instead of being on the right: The MWE for such behaviour (don't mind the last word, I had to play with the length of ...
3
votes
1answer
90 views

Indentation missing for algorithm package in documentclass{minimal}

I am trying to get write an algorithm in LaTeX for minimal document class. Unfortunately, the indentation is completely missing. Following is my sample code: \documentclass{minimal} ...
2
votes
1answer
2k views

Indenting and removing numbers of bibliography

I followed the instructions here on how to indent the second line of a bibliography, Indent second line of a bibliography but now I also want to remove the numbers as well. Can someone tell me how ...
3
votes
1answer
214 views

Indentation with beamer fontspec and alltt

The following document mangles the indentation of the second line of the alltt (the pipe/bar character does not occur under the equals of the previous line). \documentclass[14pt]{beamer} ...
3
votes
1answer
134 views

How can I indent part of a line of text and have subsequent lines with the same indent?

I'm trying to produce a set of questions and answers. I want the question's label and text to start on the same line, but have the text slightly indented. I then want subsequent lines of the text to ...
9
votes
3answers
332 views

align list of symbols with dash

I'm trying to make a list of symbols and I have something like this P --- pressure eta --- viscosity lambda(P,T) --- thermal conductivity ... I need to align this list with dash symbol. I tried ...
4
votes
1answer
88 views

Setpartpreamble and indent

how can I enforce an indent in a \setpartpreamble enviroment? Seems like \indent ain't working and a solution with \hspace seems to me like guessing the correct length of an indent. Any idea on how ...
10
votes
1answer
121 views

Nonstandard quotation margins

I would like to create a document with nonstandard quotation environment. The goal is that on odd pages quotations have to be indent on the left, and on even pages in opposite way (indent on the ...
3
votes
1answer
308 views

How to remove the indentation from the first line of a paragraph

I am using a template provided by our university. I have read and tried many way to remove the indent from the first line in a paragraph. I have the paragraph below: \paragraph{1. Number of Sides ...
9
votes
0answers
166 views

Is there a LaTeX formatter/beautifier (indenter, wrapper, context aware) similar to HTMLTidy? [duplicate]

Alternating work on a laptop, netbook and tablet the word wrap of a document is sometimes too long (for small screens) and too short (for large screens). This also got me thinking. Is there a tool ...
19
votes
2answers
212 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 ...
1
vote
1answer
49 views

Indent in a customized enviornment

Hullo. I have a doc, and am using a customized environment. I have tried putting the title for the next section simply as a subsection, but like the customized environment I have created. However, I ...
1
vote
2answers
2k views

Indentation after '\tabular' environments

I was filling some tables for my progress report and noticed something were odd. The following text/tables are indented. MWE: \documentclass[12pt, oneside]{book} \usepackage[ngerman]{babel} ...
1
vote
1answer
597 views

How to indent chapter headings in a TOC (memoir class)

The current formatting of my TOC is: TABLE OF CONTENTS LIST OF TABLES....................................................... Page No LIST OF ...
4
votes
1answer
304 views

List of tables and List of figures right margin

In the list of tables and figures, how to set the same right margin for all lines of all the items? As an example, the following MWE: \documentclass{article} \newlength{\largNum} ...
4
votes
0answers
92 views

Indentation of Lists in Environments

Based on the answer of Markus Scharrer, I am using the custom lstnewenvironment to get code and Section with my environment. Since I use an environment in an environment (I know it may not be the best ...
3
votes
3answers
173 views

How to produce such centred effect?

I want to put my problem description the way it is done in the image i.e. centred, justified and with a little margin on both sides. I am able to do the rest of math correctly
0
votes
0answers
46 views

Enumeration indentation [duplicate]

I don't know, how this enumeration should be indented. It gives me the enumeration closely next to the word "Practice" and it should be on the separate line (under "Practice"). ...
0
votes
1answer
218 views

Remove indent of paragraph in fullwidth and add line skip with tufte-latex

The partial answer is here - Remove indent of paragraph and add line skip with tufte-latex It does not work on fullwidth text. How to achieve that? ...
10
votes
1answer
417 views

The indentfirst package does not work with ragged2e package

I am using the ragged2e package in the article class and want the first paragraph within the justify environment to be indented. As such, I used the indentfirst package. However, this does not change ...
5
votes
2answers
2k views

How to auto indent latex code with Kile?

Is there a way for Kile to automatically correct the indentation of the latex code of an entire document? If yes, what is combination of keys (shortcut) or the menus that I should use? I made a ...
3
votes
1answer
153 views

How to make \hspace affect all paragraph lines?

I'm working on my resume, which I wrote in latex a year or two ago, and now I'm updating it and I'm a lot more rusty than I was expecting. I have a small paragraph that I want shifted over with: ...
2
votes
1answer
81 views

Problem with aligning using compactlist in tabularx

I've created a table with the tabularx package. Within the cells I use compactitem to create a list. First I had a problem with the leftmargin. To solve this I've used \setlength{\leftmargini}{0pt}. ...
0
votes
2answers
152 views

How to cancel the indentation of first line in paragraphs? [duplicate]

I just want to cancel the first line indentation in every section paragraph (include the Abstract). Thank you for any kind help. \documentclass[a4paper]{article} \usepackage{titling} ...
4
votes
1answer
326 views

How to sanely format conditionals in clrscode package?

clrscode can produce some really nice-looking algorithm texts, but if you have nested conditionals, things start to look ugly. clrscode has the peculiar preference that the \Then keyword at the end ...
4
votes
2answers
201 views

same space between number and text in chapters/sections

I have been googleing for several hours now, my goal is to have the same indent for each chapter/section. Meaning there is the number but every chapter starts for example at 3cm from the left margin. ...
3
votes
1answer
135 views

Indicating the beginning of a paragraph with a ¶ just inside the margin

How does one most easily typeset a paragraph marker inside the margin, at the beginning of every paragraph? There are different practices regarding the indication of paragraph boundaries. ...
4
votes
1answer
168 views

How to get headings indented as the first lines of paragraphs?

I would like the chapter and (sub)section headings to be indented as much as the first lines of paragraphs (\parindent value). By default using koma-script I get them aligned with left boundary of ...
1
vote
2answers
2k views

No indent in description list

I have the following text in LaTeX: I want that the second sentence of item A starts below the first word of the first sentence (So 'It is raw...' is outlined with 'Data are facts...'). I have ...