{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
2answers
167 views

Why does \noindent not work properly here?

I defined a new environment, similar (but not equal) to listings: \documentclass{ltxdoc} \usepackage{lipsum} \newenvironment{lines} {\par\begingroup\nobreak \vspace{3pt}\parindent0pt\hrule\kern5pt ...
1
vote
1answer
23 views

Indenting inside enumerate in Latex

I am trying to do an enumerate in Latex that ends up in the following way: First Step. Second Step Third Step Fourth Step I am trying to use \indent before an \item, but it doesn't work. Here is ...
3
votes
1answer
40 views

Indentation problem in lists using custom label

I am having a small problem using lists with a custom label for each item. When I use the following code, the list item is not indented correctly, it uses the second number after the \Rightarrow to ...
0
votes
1answer
35 views

How to indent multiline item within enumeration after new paragraph?

I use the enumerate environment with items that contain several paragraphs. How can I achieve standard indentation (all but first line) within one item? All I tried so far failed: ...
5
votes
2answers
57 views

Package geometry parameters and changing left margin

I want to make an indented paragraph, that is to indent the whole paragraph and not just the first line as happens with \par. I use geometry, so I thought that package might have a parameter that ...
2
votes
1answer
65 views

beamer: Text indentation within blocks

I want text indentation within blocks. My MWE is below: \documentclass{beamer} \usetheme{Warsaw} \usepackage[english]{babel} \usepackage{lipsum} % For global Justification \usepackage{ragged2e} ...
1
vote
0answers
49 views

Undesired \parindent in front of first label — depending on previous text

Here Manfred Sauter asked for appropriate spacing in front of the first label in a list. However, if there is no text in front of the first label, the first label will not be indented at all. How can ...
3
votes
1answer
71 views

First paragraph indentation with ragged2e and \RaggedRightParindent set

I am using the ragged2e package for my raggedright text and have set \RaggedRightParindent to 2em, as I want my paragraphs indented. But now, the very first paragraph in the document (following ...
5
votes
1answer
44 views

indenting under item

I'm trying to indent paragraphs after doing \item, for instance \item {\bf Research Question} \\ \indent The purpose of this research is However, \indent is not working when I'm using \item. Would ...
2
votes
1answer
59 views

How to move section number and section into margin with scrbook without titlesec

I need to move section number and section heading as shown in figure below. MWE \documentclass[12pt,twoside=semi]{scrbook} \usepackage{blindtext} \usepackage[showframe]{geometry} ...
0
votes
0answers
40 views

Indenting Paragraphs of Text [duplicate]

I am trying to write a paper in LaTeX. I am able to indent most of the paragraphs by using \\ at the end of the previous paragraph and adding a blank line in between the paragraphs like so. This ...
1
vote
2answers
51 views

Remove indentation from abstract environment with etoolbox

I have the abstract for my paper on a separate page, hence there is no need to have the extra indentation on either side of the abstract environment to indicate that it is an abstract. There is an ...
0
votes
1answer
52 views

Remove left and right indentation of abstract

Trying to remove the indentation which is appearing around my abstract for some unknown reason. A MWE is below: \documentclass[a4paper,oneside,10pt]{article} \usepackage[english]{babel} % formatting ...
4
votes
1answer
31 views

Figure caption within quote environment

In order to provide visual contrast, I have decided that I would like to have a certain section of a document I'm writing indented. To achieve this, I've simply been using the quote environment ...
5
votes
1answer
94 views
3
votes
1answer
43 views

Indents of section*{} name in TOC

I have some sections (e.g. References) that don't have a section number. However, I'd like to include them in the TOC with \addcontentsline{toc}. But how can this manually added section be aligned to ...
3
votes
1answer
45 views

Indent a package listitem

I'm new to latex and I understand how to indent lists, but what if they are lists items that are derived from a package. In this case, I really like the moderncv package. Here is a working example. ...
3
votes
1answer
103 views

Tufte-handout class and Indentation

I'm using tufte-handout class. I'd like to avoid indentation discrepancies in the side-notes. In particular I would like the beginning of each line in a side note to be (by default) equally indented. ...
1
vote
1answer
182 views

Itemize left margin

I'm using itemize with the option [leftmargin=5.5mm] How can I extend this option to all itemizes in the whole document? I'm on \documentclass[11pt,a4paper,book,twoside] Thanks!
1
vote
0answers
20 views

Latex inserts blank line AND indents new paragraph [duplicate]

I'm very new with LaTeX. My setup is as follows: \documentclass{llncs} \usepackage{makeidx} \usepackage{listings} \usepackage{graphicx} %the above just for the case that it is relevant to the problem ...
4
votes
1answer
65 views

Left-Aligning footnotes in Beamer

How can I align the footnote to the left, so that the 'a' from 'aligned' stands directly below the 'T' of 'This'? Using \usepackage[flushmargin]{footmisc} "eats" the footnote completely. ...
6
votes
1answer
59 views

Can listings automatically indent code? [duplicate]

\documentclass[11pt,a4paper] {article} %\usepackage{fontspec} \usepackage{listings} \usepackage{xcolor} %\setmainfont[BoldFont=黑体]{宋体} %\XeTeXlinebreaklocale "zh" %\XeTeXlinebreakskip = 0pt plus 1pt ...
1
vote
1answer
88 views

Code is a mess because I cannot indent inside a for loop in my algorithm

I have a for loop in my algorithm and I can't get latex to properly indent the pseudocode inside it. It's just a mess at the moment, it won't even put the code in the for loop on separate lines. ...
2
votes
1answer
80 views

How to indent long comment continuation in the algorithmicx pseudocode

In the MWE, I try to add line continuation indent to the answer given in Properly indent comments with no line-numbering in algorithmicx E.g. I am trying to write the \LineCommentCont . I am using ...
1
vote
1answer
72 views

Switching first paragraph indentation rules with babel

I am aware that many questions have already appeared here regarding the indentation of the first paragraph, but I did not find any on this precise problem. I am writing a document with some portions ...
4
votes
2answers
112 views

How to indent every second stanza in verse environment?

I'm trying to typeset a poem to look like this: The first line of first stanza The second line of first stanza The third line of first stanza The first line of second stanza The second line ...
4
votes
1answer
44 views

Add space between margin and footnote marker

Consider the following minimal working example: \documentclass{amsart} \usepackage[hang]{footmisc} \setlength{\footnotemargin}{1em} \begin{document} Content.\footnote{Footnote} \end{document} I ...
4
votes
1answer
68 views

Align lists with long sentences

\begin{enumerate} \item This is a really really really reall.....long sentence \end{enumerate} 1. This is a really really really .... ....long sentence I want it formatted like 1. This is a really ...
5
votes
1answer
121 views

Problem with spacing after \[…\] environment when using the \textcolor{} command

I'm getting odd spacing/indentation behavior when the \textcolor command is combined with the \[ ... \] environment. I did find a fix by putting % in a couple places, as outlined below, but I'd like ...
1
vote
1answer
118 views

How to make a new line without indenting?

How can I make a new line without it being indented? Here is what I have so far: \documentclass[11pt, oneside, reqno]{article} \usepackage{amssymb, amsthm, amsmath, amsfonts} \usepackage{bardmacros} ...
5
votes
3answers
327 views

Indenting in enumerate (TeX/LaTeX)

I'm making a numbered list with the enumerate environment. Through the enumitem package I've changed the label to [label=Caso \arabic*)]. I have set itemindent to 10.5pt to align the label start with ...
3
votes
1answer
58 views

How to achieve the indentation/spacing in this document?

I have been trying for some hours to achieve the kind of arrangement of this document. http://home.uchicago.edu/klecha/klecha_cv.pdf For instance, it seems like it has two columns, one with dates ...
2
votes
1answer
39 views

Fixed In-line Indentation [duplicate]

I want to align content that starts in the middle of a line and content that starts at the beginning of the next line (for a thesis Authorization to Submit page). E.g.: Major Professor: ...
14
votes
1answer
270 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 ...
9
votes
2answers
216 views

How to align text within a caption?

I want to give a survey on several techniques within a figure. It turned out, that there are many techniques, so I employed subcaption with subref to describe the matter. However, as there are too ...
2
votes
1answer
74 views

How to disable indentation in subsubsection using IEEEtran?

I am using IEEEtran and my sub subsections are indented. I tried using \parindent0pt but that removes the indentation of the paragraphs too. Any suggestion?
15
votes
3answers
349 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 ...
1
vote
2answers
146 views

Adjust space between acronym and glossary description

I'm using the glossaries package and I would like to get the acronym descriptions to line up with the nomenclature section above it. Tried using the column styles for the glossary, but none of those ...
5
votes
1answer
197 views

Width of \chapter section with titlesec

I use the titlesec package for styling the sectioning commands. But I have a problem with the chapter width or right margin: The width of the text should only reach to the blue line, "Organisation" ...
3
votes
2answers
85 views

Indent description

I'm having problems with indenting the label of a description. Tried to define a new environment, and set leftmargin to whatever, but the label stays put. How can I achieve what I want? This is what ...
3
votes
2answers
106 views

Unwanted Indenting

With the following code, everything from "Scenario containing 3 pirates.." and below has been indented relative to the text above. \documentclass{article} \title{Assignment \#1} \author{Giri} ...
5
votes
1answer
99 views

How to reduce indentation size within loop of an algorithm

For the following algorithm, I get four spaces for each text line inside the loop. How can I get only two or three spaces? Some of my text lines go to next line. I want to save some horizontal spaces. ...
4
votes
1answer
169 views

working with \noindent and \indent

How can I write a text with this style? Between the \section and the text, I want to place some bullets with smaller font sizes. Please note the no-indent bullets and the indentation of the first line ...
4
votes
1answer
55 views

Trouble Indenting Portion of document

This is my first time giving LaTeX a try, and I decided to have my go at it with my week's math homework. Though most of the document could probably be done in a more efficient manner, I've gone about ...
4
votes
2answers
119 views

Indent content of verbatim / lstlisting environment relative to containing environment

I want the content of \verbatim to be indented relative to the actual indent of \verbatim, not the exact number of spaces. For example, I like to indent at sections to make the LaTeX source more ...
1
vote
1answer
55 views

Unwanted right indent in document

Super noob here, so please forgive any blunders! :) My problem is that in my document (example below), the paragraph starting from the second dingbat is getting indented automatically. I don't want ...
1
vote
1answer
143 views

Indenting style of LaTeX files with Sublime Text

Here is a part of my LaTeX code and what I want it to be: ... \begin{table} \begin{tabularx}{\textwidth}{|l|l|l|X|X|X|X|} ... However, if I re-indent it in Sublime Text 3, it becomes: ... ...
5
votes
1answer
90 views

Correcting (removing) adjustwidth's vertical spacing

Consider the following example that uses changepage's adjustwidth to set a single paragraph at 80% of the text width (on the left). Compare this to the use of \parshape (on the right): ...
8
votes
1answer
54 views

Unwanted indentation in custom environment inside tabular

I created two custom environment and a custom command to easily display an overview of modules and classes they contain in tabular format. However, I end up with unwanted indentation for the the first ...
4
votes
1answer
182 views

How can I extend quote's width in moderncv?

How can I extend quote's width in moderncv? I want the quote element to be wider so it would occupy less amount of lines. Here is my minimal working example: ...