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

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

\Footnotes that go over one line are indented? [duplicate]

When using a simple \footnote tag, if the citation goes over one line then the second line becomes unindented to not sit flush with the rest of the footnotes. Any help greatly appreciated!
1
vote
1answer
31 views

Moving entire item rather than just indenting item

I'm working with a custom class file that defines a subsection environment. The subsection environment includes the following: \begin{list}{$\cdot$}{\leftmargin=0em} \itemsep -0.5em \vspace{-0.5em} }...
0
votes
0answers
22 views

Custom text to the left of the left margin

I'd like to write some custom text (e.g. "hello world" in grey) to the left of the left margin, and it should follow the same spaces amongst the lines and should have the same font and size ...
-1
votes
0answers
17 views

More rigid right and left through freer hyphenation [duplicate]

I'm sure this is something simple but - I'm trying to have a central text surrounded left and right by commentary (see the diagram to show the shape I'm after; it's meant to be redolent of a page of ...
0
votes
1answer
30 views

Indentation within a minipage, and \noindent doesn't help

I am getting an unwanted indentation within a minipage (marked with arrow in the image). How can I get rid of it? The \noindent doesn't help here. MWE: %XeLaTeX \documentclass[11pt]{scrbook} \...
0
votes
1answer
27 views

Make the table and figure caption in one document is align to colon (:) in greater or equal second line

\documentclass{article} \usepackage{graphicx,caption} \captionsetup{ indention=1.6cm } \begin{document} \begin{figure} \centering \includegraphics[scale=0.5]{example-image} ...
2
votes
2answers
48 views

Indent the last line of a paragraph

In a typical paragraph, the first line is indented by some amount (let's say, 1em). For some optical effect, I would like the last line of each paragraph to be also indented by, say, 1em. The rest of ...
0
votes
1answer
23 views

Indent needed after \section \paragraph, the text to start in next line indented and reduction of vertical space

\documentclass[a4paper, 12pt]{report} \usepackage{anyfontsize, times, siunitx, ragged2e, setspace, titlesec} \usepackage{enumitem} \usepackage{lscape, tabularx, booktabs} \usepackage{rotating} \...
0
votes
1answer
34 views

Inconsistent Indentation for Table of Contents

I'm getting inconsistent indentation for longer TOC entries. MWE: \documentclass[10pt,a4paper]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} \tableofcontents \chapter*...
0
votes
1answer
51 views

Section Styles: Spacing, Font and Paragraph-Indentation

I am using sectsty to configure my section styles. I have read that perhaps titlesec is more powerful. A solution to my question below using titlesec is completely satisfactory. Currently I am setting ...
0
votes
1answer
36 views

Unwanted indentation in first column of tabular

I have a strange indentation of the first column I just can't get rid of. Anyone has ideas whats wrong? \documentclass{article} \usepackage{multicol} % define a multicols ...
0
votes
1answer
32 views

\lstset does not respect line breaks and indents with Cyrillic symbols

I'm trying to output some code along with translated comments but the listing does not respect indentation and line breaks if first symbol in a line is Cyrillic: \documentclass{book} \usepackage{...
0
votes
1answer
12 views

Change indentation within List of Figures (with tocloft package used)

As suggested with https://tex.stackexchange.com/a/576577/231568 I use tocloft to adjust the format of the list of figures. But as can be seen in the following picture (or also in the attachted picture ...
0
votes
1answer
31 views

List of figures alignment with caption over multiple lines

Currently there is a little "issue" in the list of figures as can be seen in the image below ("Figure 2"). If the caption text of the figure is to long for one line, the text is ...
2
votes
0answers
22 views

Indentation of a broken line in beamer interacts with bib latex style [duplicate]

I've created the following MWE: \documentclass[aspectratio=169]{beamer} \usepackage[citestyle=authoryear-comp,bibstyle=authortitle]{biblatex} \begin{document} \begin{frame} \begin{itemize} \item ...
2
votes
3answers
73 views

Text indent command

Good Morning. I would like to build a code to get what you see in the picture, creating a single command for "Lorem" and one for "Ipsum". Is this possible? Thank you.
0
votes
0answers
43 views

Remove indent on \paragraph{…} block

How do I remove the indent from the beginning of a \paragraph{} block? \noindent does not work for me.
2
votes
2answers
31 views

Remove vertical indentation above itemize list

When I make a bullet point list in a table, the first bullet point does not line up with the text in the adjacent cell. How do I remove this indent so the line up horizontally? \documentclass[a4paper]{...
1
vote
3answers
34 views

Appendices in Table of Content (TOC): remove indentation

I'm writing my thesis, and I need to include my appendices in the table of contents (TOC). So, I wrote some code in latex and I got the following result: The problem is that I don't want my ...
0
votes
0answers
21 views

Remove indentation when using \begin{enumerate}

I want to remove indentation when using the enumerate function. Like illustrated with iii.owners and not like I. society I use \usepackage{enumitem} \begin{enumerate}[label=\textit{\roman*.}] \item ...
1
vote
1answer
31 views

How can you remove the parindent in IEEEtran?

I am currently writing a paper using the IEEEtran package. I already read the IEEEtran How to? and studied the demo files but I just could not find a way to remove the parindent. I know this is ...
0
votes
1answer
36 views

Text formatting, indent

How can I remove the indent after 'itemize'? I want 'algorithm 1...' to be written from the same place as header and first sentence. Is there a better way than \qquad to format lines after 'Inputs:' ...
4
votes
1answer
58 views

How to get the same amount of space before each arrow?

I'm trying to reproduce a format of a list in latex and I can't find how to always have the same amount of space before each arrow even if there is some text. How to get automatically the same amount ...
0
votes
1answer
38 views

Remove indentation at the beginning of subsections (using amsbook)

Is there a way to get rid of the indentation at the beginning of subsections when using the documentclass amsbook? See the attached image for an example (where the problematic indentation is marked ...
2
votes
1answer
24 views

Prevent Natbib from inserting newline after \hbox immediately after \bibitem

If I use a \hbox to \dimen right after \bibitem, natbib seems to invoke a par break.Is there a way to avoid this or any other way to align the text after the em-dash with the other bibitems? MWE: \...
-1
votes
1answer
35 views

add hanging indent to list of tables [closed]

How can I adjust the entries in the List of Tables (in a book document class) so that each entry has a hanging indent? I'd prefer not to use a package if possible, but will accept answers that rely on ...
6
votes
1answer
81 views

Allowing paragraph continuation after a tcolorbox

I am using tcolorboxes and sometimes want them to be part of a larger paragraph, that is I want the text after the tcolorbox not to be indented. However, both \noindent and \@afterheading show some ...
2
votes
1answer
61 views

How to make latexindent align columns in nested environments?

The following MWE is the result of running latexindent with default settings: \documentclass[border=1in, preview]{standalone} \usepackage{amsmath} \usepackage{mathtools} \usepackage{nicematrix} \...
2
votes
1answer
36 views

Changing indentation in exam class

I'm currently writing an exam and require specific indentation on the left to match the following: I have been using exam class and have now sorted out the right margin and exam marks but my left ...
1
vote
1answer
29 views

How to set \parindent for side heading?

I am making tables with NiceTabular environment from nicematrix package and S-type columns from siunitx package. These tables have multi-line side headings. In accordance with guidelines for tables ...
0
votes
1answer
46 views

Making the indentation of a multi-line paragraph equal to the indentation of the first line

I have the following input that I receive from a third-party program: START OF SECTION This is a long sentence; really long that when rendered by PDFLatex it becomes a paragraph that spans a ...
3
votes
2answers
127 views

Group of equations together - middle one getting unexpected indentation

Here I am want to create three lines of equations together so that they will get the same equation numbering for all three equations. However, when I use aligned or split, I get an unexpected ...
0
votes
0answers
24 views

Class exam + marginnote: How to explain this indent problem?

I use the class exam and I want to use the marginnote package to put notes in the margin of some questions. When I use the last optional argument to change the vertical offset, it adds some indent at ...
1
vote
1answer
46 views

Using color in a self defined command causes an unexpected indent

Today i came across a strange issue when using color in a self defined command with one optional argument. When i use the command with the optional argument an indent happens for the following ...
0
votes
0answers
30 views

How to eliminate the indent in reference

I'm using IEEE as my referencing style. Here is the document class of my article \documentclass[conference]{IEEEtran} Then I applied \bibliographystyle{IEEEtran} \bibliography{IEEEabrv,ref} But I ...
0
votes
2answers
42 views

Keeping indentation and left alignment consistent

I would need to reproduce a chart similar to the one in the image. I need to keep left alignment and indentation consistent, also the horizontal and vertical lines are important. Would appreciate any ...
3
votes
1answer
61 views

Troubles with indentfirst packages with xelatex and lualatex

In theory, the indentfirst package allows us to modify the usual behaviour in the standard classes without having to manually add an \indent command after each heading. It's an extremely brief and ...
3
votes
1answer
49 views

Strange indentation of tcblisting inside itemize

\documentclass{article} \usepackage[listings]{tcolorbox} \newtcblisting{mylisting}{ listing only, size=fbox, } \newtcblisting{mylistingb}{ listing only, size=fbox, hbox, } \begin{...
0
votes
1answer
43 views

Wrong indentation after the fourth reference

Even if I change #4 or #5 to something else, it still the same, #5 indentation is always wrong. It's an IEEE template.
2
votes
2answers
83 views

On the behavior of the enumerate environment

I have defined a very simple custom environment for homework problems, which is basically just enumerate but without the indents: \newcounter{hwprob} \newenvironment{hwprob}{\refstepcounter{hwprob} \...
3
votes
2answers
124 views

How to do no indentation on next paragraph? (`\noindent` only work on this paragraph)

I want to create a macro for section type that starts with a date. I have gotten this far: \documentclass[a5paper, 11pt]{memoir} \usepackage{ebgaramond} \usepackage{lipsum} \setsecheadstyle{\Large\...
1
vote
1answer
39 views

Adjust minted code inside Minipage environment

I'm trying to show an equation on one side and its algortihm on the other. I tried using two minipages (one for equations and the other for algorithms) but it doesn't look beautiful; howerver, with ...
0
votes
2answers
34 views

Problem with indentation and margins using \multicolumn in tabularx

I would like to format something using tabularx where the first row has a column starting at the left margin and one starting at the right, and the following rows being only one column spanning the ...
0
votes
0answers
34 views

Indent the word 'Proof' without using xpatch?

I can't figure out how to work around this problem. I need to indent the word 'Proof' in the proof environment of amsthm without using the xpatch (xpatch is described in here Indent the word “Proof” ...
1
vote
2answers
44 views

Adding indentation after setting \setlength\parindent{0pt}'

I am looking for a way to add an indentation after setting \parindent to 0. I tried a suitable amount of search, but none really seemed to meet my needs. I tried to change the command \indent by ...
0
votes
1answer
45 views

Indenting an item between number and text

There are already many similar questions, unfortunately mine is slightly different. I'd like to indent between the item marker (number, bullet...) and the text. This is easily done with e.g. \item \...
3
votes
1answer
30 views

How to remove the indentation from the address field in amsart

I don't know if this behavior is common to other document classes, but the address line at the end of the pdf in amsart begins with a kind of indentation. Here there is a MWE that should highlight ...
0
votes
1answer
24 views

How to use \openautoquote that must not be in a env in a env?

I was trying to improve this answer to make it fully compatible with csquotes. Consider this example: \documentclass{article} \usepackage{csquotes} % hanging indentation for quotes, https://tex....
4
votes
2answers
98 views

Unwanted indentations ONLY in the first row of longtable

I have a lot longtables in my work and I figured it out that ONLY the first row of the first column is indented. It doesn't occur in the rest of rows. I saw that with another type of tables (like ...
2
votes
1answer
89 views

LaTex Hanging Indent Question

I'm new to LaTex but currently trying to rewrite my resume in LaTex since its easier for formatting and version control. As of right now, it's going well except for one small problem. I can't seem to ...

1
2 3 4 5
36