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

1
vote
1answer
14 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
17 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{...
1
vote
2answers
34 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
25 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
34 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
35 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
34 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
38 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
31 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 ...
0
votes
0answers
14 views

Text not wrapping in a manually created hanging indent reference list in Lyx

I'm attempting to turn an already created Word reference list into a standard hanging indent list in Lyx. As suggested in answers to other questions, I have used the \usepackage{hanging} \begin{...
3
votes
2answers
70 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
29 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
2answers
151 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
51 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
27 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
22 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
48 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[...
0
votes
0answers
24 views

Indent caption when text above is also indented by itemize or enumerate

This is the current behaviour: How it should behave: All I want to achieve is, that when I use a listing in an itemize, the caption should also be indented by the same amount the itemize indents the ...
1
vote
1answer
25 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
44 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
24 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
59 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
50 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
78 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
51 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
35 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 ...
0
votes
0answers
12 views

Why does my proof not indent new paragraphs? [duplicate]

Sorry if this is a repeated question - I have been unable to find a solution on stackexchange. Here is my code \documentclass[12pt]{article} %\usepackage[margin=1.5cm]{geometry} \usepackage{...
3
votes
2answers
138 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 ...
0
votes
0answers
17 views

itemize in resume class

i have a document resume class . in that i want \begin{rsection}but i dont want \begin {rsubsection}. so when i itemize without \begin{rsubsection} my item will be different from those of inside \...
2
votes
2answers
47 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
34 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 ...
0
votes
1answer
32 views

Paragraph indentation after using `\ensuremath`

I have created a macro that writes the progressive number of the exercises in an exam sheet. The macros works in normal mode and in math mode, so that I am able to write something like this: \...
0
votes
0answers
29 views

How to fix the glossary style/ spacing between abbreviation and full form

And my glossaries look something like the attached figure. How do I create a decent spacing and alignment in my glossaries? MWE is as follows: \documentclass{report} \usepackage{datatool-base} ...
2
votes
1answer
77 views

In bibliographies, how to present each work by an author after the first as a subindented paragraph with hanging indentation?

I'm trying to achieve, in a BibTeX- or BibLaTeX-produced bibliography, a style used in scholarly books in conjunction with author-date citations that is exemplified by the following: The first entry ...
1
vote
0answers
21 views

No indentation in local ToC

I do not want indentation on the local ToC. I am using the titletoc package, also I use titlesec and titleref packages. \documentclass[twocolumn]{book} \usepackage[english]{babel} \usepackage{...
0
votes
2answers
40 views

Latex Table help with indentation

How do I create a table like this one:
3
votes
2answers
29 views

How can I fix this overflowing parbox issue?

I am trying to use an indented parbox, but the \textwidth command in the width parameter doesn't account for the indentation, and so the text overflows outside of my margin. How could I fix this? ...
0
votes
0answers
23 views

table - rows not indented equally

Using this code \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{multicol} \usepackage[ngerman]{babel} \usepackage[margin=1in]{geometry} \begin{document} \begin{table}[!htbp] \...
9
votes
2answers
880 views

When does LaTex add indentation at the start of a paragraph?

Sometimes a paragraph starts with an indentation (which could be turned off with \noindent) but sometimes it does not. For example, I have currently an article where the section content is not ...
1
vote
1answer
126 views

How to make a local indent in LaTex?

When we are writing code, editors will usually make an local indent for a logic block (shift rightwards uniformly in this block), for example, if...else..., or for (...){ } However, I also want to ...
0
votes
1answer
28 views

enumerate is not indenting correctly

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{enumerate} \begin{document} \begin{enumerate}[i] \item $|\langle v, w \rangle| \leq \norm{v} \norm{w}$ \item \norm{v + w} \leq \...
1
vote
0answers
62 views

How to make sure the lines don't start with some space? [duplicate]

I am formatting a document in LaTeX. I have the following code: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \...
2
votes
1answer
27 views

Misalignement and interword spacing with mono font

I'm making a document with XeLaTeX and I would like to use a mono TTF font (Liberation Mono) and a special (reversed) indentation for my paragraphs. I don't understand some things about words spacing ...
0
votes
1answer
32 views

exam: How to add a vertical skip to the question head and remove its body indentation?

For the following MWE, \documentclass[addpoints]{exam} \begin{document} \setlength{\parindent}{0pt} \qformat{\textbf{\underline{Question (\thequestion) [\totalpoints\ Marks]}}\hfill} \...
1
vote
1answer
54 views

Indent unnumbered chapter in TOC with multitoc (in presence of tocstyle)

I'm having a problem mixing multitoc with tocstyle. What I want is my unnumbered chapters in the TOC to be indented (in this case \addchap{Introduction}). I figured out that \usepackage[...
1
vote
1answer
37 views

Custom enumerate margin

I would like to use the enumerate environment in such a way that all the text in the listed items is fully aligned to the left, in such a way that labels are aligned to the left, and aligned to the ...
0
votes
1answer
57 views

How to center and indent a particular paragraph in LaTex?

I just want to centre and indent a particular paragraph. Everything else shall stay the same? How can I do this in LaTex?
0
votes
1answer
83 views

How would you typeset the following

\documentclass[12pt]{article} \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{enumerate} \newenvironment*{exercise}{} \newcommand{\R}{\mathbb{R}} \begin{document} \begin{exercise}{1.10.} ...
1
vote
1answer
36 views

How to remove minted indentation level with correct latex indentation?

When writing with minted code snippets I dislike to remove indentation in latex source, so correct results are generated. Is there a way to substract latex indentation-level from minted indentation? I ...
1
vote
0answers
21 views

flushleft by using gb4e.sty [duplicate]

My tags are follows: \documentclass{book} \usepackage{showframe} \usepackage{gb4e,qtree,skull} \begin{document} \begin{exe} \ex\emph{Superiority-obeying and Superiority-violating multiple \emph{...