Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
1answer
14 views

How can I set the indent of theorem, definition, notes etc.?

I would like to set the indent of the theorem title. \documentclass{article} \usepackage{lipsum} \usepackage{amsthm} \newtheorem{lemma}{Lemma}[section] \newtheorem{theorem}[lemma]{...
0
votes
1answer
56 views

How can I set the indent of the second line in TOC, LOT, LOF, and Bibliography?

I use article document class. I would like to set the indent of the second line in TOC, LOF, LOT, and Bibliography. \documentclass{article} \usepackage{graphicx} \begin{document} { \let\...
1
vote
1answer
26 views

Indented paragraph next to a box

I am trying to indent a whole paragraph to the right of a numbered box. However, the paragraph does not appear vertically aligned with the box. I am using the below code: \documentclass[journal,...
1
vote
2answers
39 views

How to align several lists using the enumerate environment?

I'd like to align the left margin of these lists. This is what I get: This is what I want: MWE: \documentclass{article} \usepackage{enumitem} \begin{document} \quad \newline This is a list ...
0
votes
2answers
41 views

Customize itemize environment

Say \documentclass[french,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[french]{babel} \usepackage{kpfonts} \usepackage{blindtext} \setlength{\parskip}{1.2ex} \...
0
votes
1answer
25 views

New section following subsection of previous section not indenting correctly

Good day, I am trying to end the subsection Proof on line ~65 and have the following section reset its indentation to be inline with the previous section, not the subsection Proof on line ~65. I will ...
1
vote
1answer
29 views

Item automatically indenting to the left rather than the right?

When trying to use itemize, I was hoping it would give me the natural indent to the right and indent everything that I write within it. Instead its doing the opposite and indenting to the left. This ...
0
votes
0answers
13 views

Custom equation command produces not wanted indentation [duplicate]

I wrote this custom environment to save time when typing: \newenvironment{equations} {\begin{equation}\begin{aligned}} {\end{aligned}\end{equation}} However, it produces a strange ...
2
votes
1answer
51 views

Indent Whole paragraphs after subsections

Basically, I need to indent paragraphs after a subsection as shown here: Basically, I need to indent the all the content after a subsection. I already have the proper formatting for the heading of ...
1
vote
2answers
55 views

Grid width not textwidth when using fillwithgrid (exam package)

When inserting space for answers by \fillwithdottedlines the resulting lines have the same width as textwidth. When using \fillwithgrid the resulting grid is smaller on both sides: \documentclass[...
5
votes
3answers
107 views

Change the indent structure of a paragraph

Is there way to change the indent structure of a specific paragraph like shown in the picture? All the paragraphs begin with indent and no indent afterwards but the third paragraph begins with no ...
4
votes
1answer
155 views

LaTeX Exam package: Align choices with oneparchoices

I'm a fairly new LaTeX user, so please excuse me if this is a simple newbie question. I am using the exam package to create, well, an exam. I use both the \choices and \oneparchoices environments and ...
4
votes
1answer
138 views

How to layout left margin and bullets using parskip

There is a fairly typical layout style in technical manual in which headings are numbered and left justified. The text then is indented about 1cm so that it appears as if there is a larger left ...
0
votes
0answers
33 views

TeXstudio wrong indentation after certain environments

I have the impression that Texstudio struggles to indent text following the end of a list (in code, works fine when built of course). Here's what I get with auto-indentation: \documentclass{article} \...
0
votes
1answer
31 views

Titlesec package removes indents from section headers

For my text document with the book class I start each new chapter with an abstract. The format of this abstract section is designed such that the abstract header is indented with respect to the ...
0
votes
0answers
110 views

Indent a line in Tex

How would I indent the second line so that it looks like the following. *Note: Don\'t mind the change in font. I wrote that in Text Editor :) \documentclass{article} \title{This is my first document} ...
1
vote
1answer
24 views

Aligned at the same margins acronym and listofsymbols

First of all, I know, that it would be much easier to use the glossaries package. However, maybe there is still a solution to my question. Here is a short MWE: \documentclass[ngerman]{article} \...
0
votes
0answers
28 views

How to add indented TOC entry using \addcontentsline?

I am trying to manually add several subsections to my table of contents. How do I do this? When I use \addcontentsline the entries appear as sections (with no indent), not subsections. Specifically, ...
2
votes
1answer
34 views

indentation issues in algorithm2e with acmart

I am using algorithm2e package without any problem usually with "article" or some other document classes. But with acmart (sigconf) or elsevier's elsarticle styles, I am having the following ...
0
votes
0answers
46 views

Why is \tex_par:D behaving differently from \par?

As illustrated in the MWE, using \tex_par:D rather than \par within a list environment leads to unexpected side-effects. Is this intended behavior? If so, it's likely to break a lot of code. I ran ...
1
vote
1answer
37 views

How do I get indentation after automatic line break?

Some lines are too long to fit in its column and gets split into two. But to make it clear that it still one line, like in a song, I'd to have an indentation after the automatic line break. \...
0
votes
1answer
49 views

Indent of paragraph at enumerate package

I'm confused to make this paragraph below using enumerate. Actually I don't know whether I could use the package or not. And I want this for certain paragraph only, but I have no idea to do it. I did ...
1
vote
0answers
12 views

How can I ensure paragraph text in a figure has no side effects?

I want to include a centred image with a caption and a paragraph above it (on the same page). To achieve this, I've got roughly the following setup: \documentclass{article} \usepackage{graphicx} \...
1
vote
1answer
18 views

Defining my indentation environment

I define my indentation environment as follows: \newenvironment{myindentpar}[1]% {\begin{list}{}% {\setlength{\leftmargin}{#1}}% \item[]% } {\end{list}} Here is a minimal ...
0
votes
1answer
27 views

Independent paragraph indent

How can I indent a whole paragraph but omit the first word or words from indentation? Example: Preferrable solution: Abstract: \begin{adjustleftspacing}{2cm} \lipsum\[1-2] \end{...
2
votes
2answers
40 views

Indenting part numbers to the left

When I produce a table of contents in my latex document which is of the report type, with just the plain \tableofcontents command, I see the part numbers and chapter numbers are in the same column. I ...
1
vote
1answer
30 views

Is it possible to manually indent a line while having \setlength\parindent{0pt} in the preamble in latex? If so, how?

I'm aware of using \noindent instead and using linebreaks to make indents. However, I'd prefer to manually make my own indentations if possible.
1
vote
1answer
41 views

Long chapter title with graphics: indentation and no hyphenation

I was already helped to obtain the chapter title formatting that I wanted in Chapter with graphical formatting Now I have the problem of chapters with a long title, whereby I get with this code \...
1
vote
1answer
38 views

Indent of book TOC entries

I have tried several of the examples of TOC formatting that I found in this forum, using the titlesec package and \titlecontents{chapter} but I cannot get my book TOC chapter entries to indent ...
0
votes
0answers
36 views

New page appears indented (moved to the right)

When I begin a new page it seems like page x is normal but the next page x+1 is completely indented, the next page x+2 normal and the next x+3 indented, I don't find the way to solve this My code is ...
1
vote
2answers
45 views

beamer theme Madrid with biblatex style=authoryear leads to bibliography position offset (first line indentation)

I stumbled upon this, take a look: \documentclass{beamer} \begin{filecontents}{references.bib} @article{myart, author={Author, A.}, title={My Title}, journal={A Journal}, volume={123}, ...
1
vote
1answer
32 views

Hang rest of paragraph after specific point (or token)

Say I have some point in a sentence that I want the rest of the paragraph to hang after; result like this: PART / Long title that won't fit on one line that we want hanged after the slash on ...
3
votes
2answers
87 views

Indent of members of a set in biblatex

Using a @set container (at least something similar but for this question a @set should do it) I get the following: Since this is a bit hard to read I would like to have this instead: Everything I ...
2
votes
1answer
30 views

Can't figure out how to indent with the packages

I'm trying to write my personal statement, and I used some new packages to format it. I can't figure out why it won't let me indent the paragraphs. I've tried \par, \hspace, etc, but I've had no luck. ...
5
votes
3answers
185 views

lettrines, explicit linebreaks and hanging indents

I need to combine lettrines, explicit linebreaks and hanging indents for whatever chunk of text ends up being longer than one typeset line. For the sake of semiautomatic text-production I'd very much ...
5
votes
1answer
63 views

Hangindent and justfied multiline text in single cell of table

I have quite a lot of text that I want to format in a readable manner in a single cell of a table, so I want to use hangindents. But in addition to that I want to make the text justified, but this is ...
2
votes
1answer
56 views

Indentation of footnotes depending on number of digits in footnote marks on the same page

I wanted to adjust the left indentation of footnotes depending on the number of digits of the footnote mark. Thus, footnotes with one digit are aligned a the length of single \parindent (which is set ...
1
vote
1answer
29 views

Add indentation to subsection for RTL table of content on beamer

Based on this answer here "RTL table of content on beamer" I would like to add indentation to \subsection % !TeX TS-program = xelatex \documentclass{beamer} \useinnertheme[shadow=true]{rounded} \...
1
vote
2answers
100 views

Remove indentation in table of contents

I want remove the space in my table of contents of \section, \subsection and \subsubsection. This is my code: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage{imakeidx} \makeindex[...
1
vote
1answer
35 views

Hangindent in Custom Environment created with tcolorbox's many Option

I wish I could be more specific, but being that I don't understand all of the underlying stuff that's happening, my question will have to be vague (hence the awkward title, I'll edit it to be more ...
0
votes
3answers
48 views

indent of a list to the left

so my previous question got answered pretty well however I have some issues. I want to move the following list to the left(minor indent): Let $G$ be a group, and let $G = \mathbb{Z}_5 = \{0,1,2,3,4\}$...
3
votes
1answer
32 views

Item indent with paralist

I have problem with paralist and indent please see example: The code I'm using is: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[flushleft,neveradjust]{paralist} \usepackage[...
2
votes
1answer
272 views

Indentation of some paragraphs in RMarkdown / Latex when exporting to PDF

I am writing a report in RMarkdown and I would like to indent a whole paragraph. I used this Latex code before the paragraph: \leftskip30pt\parindent0em\ It works nice, but the problem is that ...
3
votes
2answers
72 views

Long chapter titles not aligning correctly in ToC

I am having trouble formatting the ToC for a book. I have long chapter titles which wrap onto two lines of ToC text. The problem is that the second line of a single chapter title is aligned with the ...
3
votes
2answers
126 views

\RedeclareSectionCommand introduces paragraph indentation

When using \RedeclareSectionCommand a paragraph indentation is introduced: \documentclass{scrbook} \usepackage{blindtext} \RedeclareSectionCommand[beforeskip=0pt]{chapter}% introduces a paragraph ...
2
votes
2answers
74 views

Escape nested list indentation

My goal is to have a list with Arabic numbering, with each Arabic number having a sub-list with Latin numbering. Each Arabic-numbered item represents a general category, with each Latin-numbered item ...
0
votes
2answers
41 views

\noindent inside a command not working

i looked a lot for a solution to my problem but i don´t seem to be able to find one. Here is the summary: in my document I have a custom command for a description and i would like this description to ...
3
votes
2answers
143 views

Getting rid of indentation of first paragraph in AMS classes

Consider the following MWE: \documentclass{amsbook} \usepackage{lipsum} \begin{document} \chapter{Test} \section{Test} \lipsum \end{document} Then a partial output is given by Thus the AMS class ...
2
votes
2answers
49 views

Indent text but not numbers using latex

So, basically, what I'm trying to do is have an ordered list describing pseudocode. But I want the numbers of each step to be aligned but the text I want indented. I'm using R-studio and am very new ...
1
vote
1answer
36 views

noindent first paragraph of subfiles

I'm using the subfiles package and would like for the first paragraph of each included subfile to have no indent. However, I'd like to do this in the main file instead of adding \noindent to the ...