{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

4
votes
2answers
2k views

Right aligning a quote with extra indentation

I want to insert a quote into a document, have it aligned to the right, italic, with some extra indentation from the right margin, this is what i've managed so far: \documentclass{book} \usepackage{...
2
votes
1answer
38 views

How can I indent an example environment?

I am making some presentation material using beamer. Because I am not used to using Latex, and this is the first time to use beamer, I am very not good at grammar of Latex and beamer. :( Please let ...
21
votes
5answers
6k 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 ...
4
votes
3answers
6k views

In LyX, how do I indent the paragraph right after an lists (itemize/enumerate) environment

See the example above, I want to indent the second paragraph. The generated .tex file is %% LyX 2.0.4 created this file. For more info, see http://www.lyx.org/. %% Do not edit unless you really ...
2
votes
2answers
28 views

Footnote indentation 1.25cm of multiple lines footnotes

I am trying to indent multiline footnotes 1.25cm after and including the second line. This is the code fragment that my template uses to set-up footnotes, which needs to be adapted: \...
0
votes
1answer
87 views

Indenting in a description environment margin problem

I have a problem with the solution in this post if I don't want bold text for the items. I changed the code as described below. But the text of the item (e.g. Animal1:) is now in the left margin of ...
1
vote
1answer
34 views

Using blank line as indentation: some sections it works, others it inserts a white line

I have a problem. It used to work perfectly, but right now it changed and I can't figure out why. So, the first section (for example 1.1) I used blank lines. These blank lines were converted to ...
1
vote
1answer
18 views

Indentation comments algorithm2e

I am trying to use algorithm2e for my pseudocode. I am having a weird behavior with the comments. I want them to appear right after the code, on the right, while there seems to be a random (quite ...
2
votes
2answers
95 views

Can I remove the word “algorithm” from the header and keep only the caption,also I “want for loop” to be indented after step 3

\begin{algorithm}[h] \begin{algorithmic} \caption{Math algorithm} \STATE \textbf {Step 1} $\rightarrow $ gather the data \STATE \textbf {Step 2} $\rightarrow $ estimate matrix \STATE \textbf {Step ...
0
votes
0answers
30 views

Horizontal space for subsection header

I want horizontal space between section and subsection as shown in the picture. Please help!!
3
votes
2answers
29 views

How to indent a long sentence in an algorithm

In this algorithm format I want the the "Considering the jth...." to be having the same indentation throughout even in newline. The Code is as follows: \documentclass{article} \usepackage{amsmath} \...
11
votes
1answer
7k views

How can I get proper paragraph handling in itemize environments?

I'm using the itemize environment to answer a list of questions, because the output is compact and neat. However, when I need more than one paragraph in one item, the second one is not indented, as it ...
20
votes
7answers
3k 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} \...
2
votes
2answers
37 views

Minipage reset indent. How can i set again to standard?

I have the following code. \documentclass[a4paper, titlepage, 11pt]{article} \begin{document} \section{Introduzione all'astrofisica} \begin{minipage}{12cm} In astrofisica, differentemente ...
2
votes
2answers
29 views

Indent itemized list with custom item names

How would I reproduce the typesetting in the screenshot below? In particular, I'm interested in the nicely indented list of hypotheses with the following features: The item names (H1, H2, H3) don't ...
0
votes
0answers
27 views

Using paragraph hanging inside itemsize

I am making a CV on overleaf and I want to do paragraph hanging inside an item. \item \parindent=0pt \parskip=\medskipamount \hangindent=7em \hangafter=1 paragraph start: First Line ...
2
votes
0answers
26 views

How can I get rid of indentation before my code? [duplicate]

My Javascript code has a large amount of whitespace in its block in the output pdf file. How do I get rid of this without un-indenting my latex code? Thanks in advance. \documentclass{article} \...
2
votes
1answer
17 views

Left indent in tcblisting code

In this MWE \documentclass{beamer} \usepackage[most]{tcolorbox} \newtcblisting{myexample}{ width=1.01\linewidth, sharp corners,% beforeafter skip=0.5\baselineskip,% sidebyside gap=2mm,% ...
3
votes
2answers
69 views

Unwanted outdent in the first paragraph of a section

for the first paragraph of some of my sections I have an unwanted outdent as the following picture: I used noindent after the section, but has no effect. There is also no extra hidden character ...
2
votes
2answers
36 views

Using enumerate with no indent

I have a enumerated list that start on the left of the text margin. How can I remove this so the word "Step 1" start on the same left margin like the rest of the document? \documentclass[paper=a4, ...
3
votes
2answers
53 views

how to start a new line after inserting a figure without indentation at the beginning of this new line?

\section{last paragraph} Here are some words in the last paragraph. Now a figure is inserted below. \begin{figure}[H] \centering \includegraphics[width=5cm]{...jpg} \caption[Example .]{.,,} \label{...}...
37
votes
5answers
13k 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 ...
2
votes
0answers
43 views

First line exceeding margin

I am writing my thesis, and I have a problem with indentation. The first line of the following paragraph exceeds the margin, and I don't understand why. This is the code: \documentclass[12pt]{report} ...
2
votes
1answer
59 views

How do I get a space or line break between paragraphs rather than an indent? Parskip is not working [closed]

So when I first started out with my file I had gaps between paragraphs and no indent, as I was using the parskip package as listed below in my pre amble. At some point for a reason unbeknown to me ...
0
votes
0answers
22 views

Add an indentation in a fbox

I'm trying to create an abstract for my report and I would like use \indent to indent the first line in a \fbox, but it doesn't work and I don't find any solutions... My code is : \fbox {\parbox [t]{...
2
votes
2answers
61 views

\indent doesn't work as expected in custom nested environments

I have a custom environment that I use as follows: \documentclass[12pt,draft]{memoir} \usepackage[dvipsnames,usenames]{color} \definecolor{shadecolor}{gray}{0.85} \newenvironment{Myenv} {\begin{...
5
votes
2answers
157 views

Indentation superfunction LaTeX

There are a lot of questions on here that are about indentation and I feel like what most people are looking for is something similar to the following. It would be nice to have some sort of function ...
2
votes
2answers
126 views

Suppress paragraph indentation after tcblisting environment?

I am writing a document containing lost of snippets of code, and I've defined an environment using tcblisting from the tcolorbox package to do this. The environments work fine. What I want to do ...
6
votes
2answers
960 views

Align numbered and unnumbered entries in ToC (Koma-Script)

In Koma-Script I use \addsec{.} to add section without numbers. However, with respect to my ToC this gives undesirable results, as the unnumbered section-title is aligned with the beginning of the ...
3
votes
1answer
122 views

Indentation of tabular-like environments in AUCTeX 11.88

AUCTeX 11.88 introduced a new style of indentation for tabular-like environments. I understand this is implemented in LaTeX-indent-tabular. Is there an easy way to revert to the old style?
0
votes
0answers
12 views

Alignment of long item labels [duplicate]

I tried looking for this but I honestly could not find anything for my particular issue. I am designing a poster in LaTeX and I sometimes use custom list items. The thing is, as these get wider, they ...
1
vote
2answers
429 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 ...
1
vote
1answer
36 views

Insert indent in algorithm at line break of the same \State

I have the following code: \documentclass[12pt,a4paper,twoside]{book} \usepackage{graphicx} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm*}[t!] \caption{...
2
votes
1answer
290 views

How to Change tabsize in tabbing-environment?

I did a lot of Google searches, but I did not found any ideas how to change the tabsize (~~ the indent) for a tab in the tabbing-environment. I think the indent is set to around 4 characters. But how ...
8
votes
2answers
1k views

Leftmargin problem at the bibliography

I have some trouble with the bibliography alignment. It's similar to References to align with the rest of the text, but that solution doesn't work for me. Here is MWE: \documentclass{article} \let\...
0
votes
0answers
34 views

Indent the footnotetext of author affiliation

I use authblk package to manage the title block and authors. In the corresponding author address in the footnote I want to write: Corresponding author at: Institute address ... The address is so long ...
19
votes
2answers
8k 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 ...
4
votes
3answers
107 views

amsmath equation identation wrong with text

I have a problem creating an equation, where I first want to write it as text and then resolve it to numbers. This is a minimal example: \documentclass[headings=small,12pt,a4paper]{scrartcl} \...
2
votes
1answer
78 views

Adjust space between acronym and glossary-mcol description

To save page space I additionaly use \usepackage{glossary-mcols} to get the acronyms printed in two columns. The same space trick from here (Nicola answers) unfortunately doesn't work after calling \...
2
votes
2answers
52 views

List and minipage indent problem

Some times I need to enclose a list of questions in a minipage to put a picture on the right. When the minipage starts with a list there is an indent problem, when there is somme text before it works ...
1
vote
2answers
65 views

Blank page before titlepage using indented sections

I'm trying to indent all my contents except for all headings. I tried using the method described in this method for indenting all the normal text. However, if I combine it with either a \title command ...
3
votes
2answers
59 views

Issue with natural indentions for enumerate

Following this post, I have attempted to remove the natural indent for enumerate/itemize. To my dismay, it's not entirely removing the indent. How do I fix this? The following is a minimal working ...
2
votes
2answers
16 views

Stop automatic indenting of tabular in apa6e with p type

In apa6e, tabular environments indent automatically. This does not match APA's guidelines. How can I stop the indenting of tabular environments (without using the work-around)? The solution in Stop ...
2
votes
2answers
47 views

Indentation and lacking space when using gb4e with minipages

The normal behavior of a gb4e example environment is seen in (1) in the MWE below. But when I want two examples side by side, using minipage, the example is indented, and there is no space before or ...
0
votes
1answer
41 views

Changing the width of second page and so on in friggeri cv, keeping first intact?

Lots of people are interested in this at different places, but I couldn't find a direct solution. One can use the template from here. A part of it is answered here and a simple tweak would be to ...
1
vote
1answer
36 views

Supressing indent on the following paragraph

I have made a environment that formats some example text in a box that sets it apart from the main text of the book. It becomes a sort of a figure that the other text refers to. There is plenty of ...
2
votes
2answers
65 views

How to indent for loop

I would like to write the following pseudo code : data_points.foreach { point => for(i <- point.size()) { do something.... } } But when I try to use \For \EndFor I loose ...
2
votes
1answer
29 views

Section Title indents too much at the start of a new page

I have an issue where my consecutive sections when added are being alternatively indented in or out. \documentclass[12pt, a4paper, twoside, titlepage]{article} \title{Bla \\ Bla\\ Bla } \author{Bla ...
1
vote
1answer
39 views

Customizing Memoir Class's \fancybreak

In response to No indentation after empty line @jon supplied the following \fancybreak macro lifted from memoir.cls: \makeatletter \newcommand{\fancybreak}{\@ifstar{\@sfbreak}{\@fbreak}} \newcommand{\...
2
votes
1answer
35 views

Hanging indent in expex preamble

expex has a great way of displaying long glossed lines with a hanging indent by defining \glhangindent globall via lingset. I would like to achieve this also for preamble (\glpreamble) and free ...