Stack Exchange Network

Stack Exchange network consists of 175 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

Hanging indent in an amsthm theoremstyle [duplicate]

I'm aiming to have a theoremstyle which has hanging indentation, where all lines after the first line are indented by some amount of space. I've searched for previous answers to similar questions, but ...
0
votes
0answers
13 views

Remove indent after optimization problem using optidef

Can any help me remove the indentation of the text after defining an optimization equation using the optidef package? \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage[...
0
votes
1answer
14 views

Indent 2nd line of multi-line header \paragraph

Writing a text in the article class, there are levels of headers until \subsubsection. However, for the next lower header type, \paragraph needs to be used. If this is a multi-line header, it is not ...
3
votes
1answer
40 views

Formatting - minipage restore indent

I've some minipagein my document and the parindent reset automatically in this environment. After some research, I've found a solution in this topic that I want to improve. My goal : Redefine ...
0
votes
0answers
25 views

Add indent to first paragraph in report section

Consider this script: \documentclass{report} \makeatletter \renewcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi ...
1
vote
1answer
52 views

Why are some paragraphs indented and others aren't

I've got this little problem. Page one shows my paragraphs the way I want them to look but starting from the second page, they all start to indent for some reason and I don't want that. How can I fix ...
1
vote
2answers
35 views

How can I manually indent a paragraph inside an enumerate environment?

I would like to manually insert an indentation on some lines inside an enumerate environment but not others. I am using the enumerate environment to number examples, but then inserting line breaks ...
3
votes
2answers
64 views

Why does indent disappear in lists?

Consider this small document: \documentclass{article} \usepackage{blindtext} \begin{document} \blindtext \blindtext \begin{enumerate} \item% \blindtext \blindtext \end{enumerate} \end{document}...
2
votes
1answer
25 views

Add text inside itemize and enumerate without indent

I have this MWE: \documentclass{article} \newcommand{\toleftmargin}[1]{?????} \begin{document} \toleftmargin{This text should be on the left margin and already is} \begin{itemize} \...
2
votes
1answer
36 views

Use \marginnote without affecting spacing?

In a large document, I have been using annotation commands based on \marginnote{}. Now I have noticed, that marginnote has unintended effects on spacing, e.g. by causing the first paragraph of a ...
2
votes
2answers
325 views

Latex does not go to next line

I am working on a document for school, trying to make some equations lines. However, the double dollar command for making equations omits the next line command. $$ S(k+1) &= \sum(a[i]\cdot a[...
2
votes
1answer
24 views

Quote indentation problem

I wanted to make a quote and now there are two problems. I don't want the indent at the beginning LaTeX seems to ignore my ~, but I want this line to have an indentation \documentclass[11pt]{article}...
0
votes
1answer
50 views

Figure captions line breaks

So I'm working on a TeX document and everything's fine until at some point I realize the captions are doing something weird: whenever the caption spans over multiple lines the new lines start after ...
1
vote
1answer
25 views

How to indent a part of quotation?

I have a paragraph, in a quotation, I want to add more indentation than the rest of the quotation. How can I do this? I don't want additional space before and after the more indented paragraph. I ...
5
votes
1answer
65 views

About indentation in LaTeX

Is there any LaTeX command allowing to indent a whole paragraph but its first line ? I tried by compiling the text then, knowing where starts a new line, inserting a \quad. However, for long ...
5
votes
1answer
186 views

Indent with parallel text Hebrew/Yiddish–Latin/German

I'm having trouble with making a parallel version of a bilingual play. Each dramatis personae should have a own indent. Based on the dramatis package I use: \newcommand\einzugjid{\hangindent=5mm\...
2
votes
1answer
36 views

How to include \noindent to a proof environment

I'm using amsthm to get the proof environment and xpatch to modify it a bit: \usepackage{amsthm} \usepackage{xpatch} % we need to substitute . with a generic command \xpatchcmd{\proof}{.}{\...
1
vote
1answer
59 views

\hangindent and RTL text

while \hangindent works perfectly for left to right text, it does not work for RTL text, with bidi. Cf this example running with xelatex \documentclass{article} \usepackage{polyglossia} \usepackage{...
3
votes
1answer
79 views

Indentation after a title using `alternative=text`

I am using ConTeXt 2018.04.04 from TeXLive 2018. When I use the alternative=text option in \setuphead, the second paragraph after the title is not indented. I cannot find in the manual how to get it ...
0
votes
0answers
37 views

Hanging footnotes with flexible indent

I'm trying to modify the code of Andrew's answer here, which implements a solution to get a hanging footnotes where the indent of the text increases with the footnotemarker. What I am trying to ...
2
votes
2answers
57 views

How do you get rid of the extra space that bold or large face characters make?

\documentclass[letterpaper,10pt]{article} \begin{document} \textbf{ \Large Blahblahblah} \end{document} For some reason \textbf or \Large creates this extra unwanted space from the left margine. How ...
1
vote
1answer
22 views

Add an indent to appendix line in ToC for included appendix

I asked how to add an indent to a toc line for an appendix here. In my real structure I am including the appendices: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \...
1
vote
0answers
42 views

Fullwidth solutionorgrid with exam-class

The exam-class provides a convenient environment for typesetting either a specified kind of space for students to solve the question or the solution to that question, based on given class options. My ...
0
votes
1answer
22 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
72 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
31 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
47 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
49 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
29 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
30 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
68 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
72 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
129 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
198 views

LaTeX Exam package: Align choices with oneparchoices [duplicate]

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
144 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
34 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
34 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
349 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
32 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
38 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
56 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
48 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
51 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
52 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
16 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
19 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
34 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
43 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
35 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.