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}.
2,045 questions
2
votes
1
answer
40
views
How to indent longtblr
I'm trying to indent the longtblr, but it seems that \noindent has no effect on longtblr. How can I make it work?
Thanks a lot!
Here is what I've tried:
\documentclass{article}
\usepackage{tabularray}...
2
votes
3
answers
70
views
Table/figure notes environment: single-line centering, multi-line left-aligned
I am trying to define a custom tablenotes environment for adding notes below a table (or another float, like a figure). I want the notes to use the entire \textwidth as needed. The environment should:
...
0
votes
1
answer
20
views
indenting a whole minipage including its footnotes
Following Indenting a whole paragraph I am trying to indent a whole paragraph in a minipage (I use the latter because I want to control the fontsize and actually use some more commands inside, that do ...
2
votes
1
answer
40
views
Is there a way to remove indentation from footnotes in the novel document class?
I'm using the novel document class for typesetting my novels in German for self-publishing with a print on-demand service. Everything works well (Thank you, @rallg, for this great package!), and I am ...
0
votes
0
answers
44
views
org-mode export to latex/pdf: Indent text depending on heading level?
Would it be possible for elements under a heading (text, lists, tables, images) to be indented depending on level of an org mode heading? E.g. text under heading level 1 would be most to the left and ...
0
votes
1
answer
37
views
Define section to have hanging indents
I'm attempting to layout a short stay play, using the sides class which I've customized a bit. I'd like to indent lines after the first line by 100pt and struggling to do that. My tweaked class is ...
2
votes
1
answer
46
views
AUCTeX: disable indentation but keep filling
I want to disable indentation of a couple of specific environments in AUCTeX, but to keep the normal filling rules. Is this possible?
First I thought that LaTeX-indent-environment-list had something ...
1
vote
1
answer
31
views
How to remove indent and increase vertical space inside a chapter of memoir class?
I am writing the acknowledgment in my thesis
\documentclass{memoir}
\begin{document}
\chapter*{Acknowledgment}
\noindent
I would like to thank A
\vspace{0.3cm}
\noindent
I would like to thank B
\...
0
votes
1
answer
29
views
Configuring @thmnoarg and @thmoptarg to change the indentation of the text inside a theorem in thmtools
In my LaTeX document, I want my "Proof" command to indent the material in the proof. So I used the following code to do so:
\documentclass[openany, 10.5pt]{book}
\usepackage{thmtools}
\...
4
votes
1
answer
61
views
Paragraph indents dissapeared suddenly
At some point my paragraph indents dissapeared... I cannot recall when. Why is this happening? Here is a MWE that does not work for me
MWE:
\documentclass[a4paper,12pt]{report}
\usepackage[document]{...
2
votes
1
answer
45
views
Confusion: Indentation for some lines, but none for other for Corollary
Here's the image:
I'm not sure why there is an indentation before some lines, but none for other. I didn't use \corollary but rather used textbf{Corollary...}.
Here's the whole code if it's helpful.
\...
0
votes
0
answers
15
views
How to Align a Long URL within a Bibliography Entry Using BibLaTeX in Nature Style [duplicate]
I'm currently working on a bibliography using the BibLaTeX package in LaTeX with the nature citation style. My bibliography contains an entry with a long URL, and I'm having trouble formatting it so ...
1
vote
1
answer
66
views
Indentation and text wrapping in lists
I intend to create lists where the list index is indented, but the text is flush with left and right margins, and further text wraps around the list index. Currently, this is what happens using ...
0
votes
0
answers
21
views
Indent all paragraphs (except the first one!) with eledpar
Who knows how to indent all paragraphes in the greek and latin text, except the first one?
There're two facing pages with foot- and sidenotes (eledpar).
Thank you.
%LuaLaTex
\documentclass[a4paper,12p]...
7
votes
2
answers
182
views
MetaPost: Get text width in a narrower environment
Background
Using MetaPost, I'd like to account for a \framed environment being nested inside of a \startnarrower environment. When outside the narrower environment, the MetaPost code renders as ...
2
votes
0
answers
66
views
Add indent in subsubsection header
I wish to add a fixed indent in every \subsubsection header in my thesis (only the title, not the content of the section).
I tried using the code explained in this question but i can't make it work: ...
0
votes
1
answer
23
views
Keeping hang with custom caption format
This question is similar to the one asked here: Hang with custom Declare caption Format
My issue is, that i can't make my customized captions appear with the indentation that 'format=hang' normally ...
1
vote
1
answer
44
views
How do I "negatively indent" one line of a list? [duplicate]
Suppose we have the following code:
\documentclass[reqno]{amsart}
\usepackage{geometry}
\geometry{margin=1in,top=3cm}
\usepackage{amssymb}
\usepackage{enumitem}
\begin{document}
\begin{enumerate}[...
2
votes
2
answers
106
views
Alignment of multi-line footnotes with margin [duplicate]
I have the following simple example with a multi-line footnote. I want the footnote number to be aligned with the margin and the second line to also be aligned with the margin, i.e., essentially ...
1
vote
1
answer
50
views
How can I make a table take all space inside a tcoorbox so the it leaves no margins?
I'm trying to use this code to make a box with two differently coloured sections inside:
\documentclass{article}
\usepackage{tcolorbox}
\usepackage[table]{xcolor}
\begin{document}
\begin{...
5
votes
3
answers
174
views
why does RaggedRight and indentfirst cause over and underfull problems?
THere is a document that I am playing around with that has the following code that does not produce errors.
\documentclass[12pt,letterpaper]{article}
\usepackage[
american
]{babel}
\usepackage{...
0
votes
1
answer
45
views
Indentation of text inside a \newtheorem environment for multiple versions of \newtheorem
MWE
\documentclass[a4paper, 12pt]{exam}
\usepackage{amsthm}
\usepackage{thmtools}
\begin{document}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
%\newtheorem{proof}{Proof}
\...
2
votes
1
answer
29
views
Compatibility issues between indentfirst and lettrine packages in latex
I am working on a book in latex and I want the first paragraph of each section indented in addition to dropcaps/lettrines. I have came across the indentfirst and lettrine packages. In the absence of ...
1
vote
0
answers
40
views
Memoir class - I would like to have footnotes without indentation on the first line, but no formatting options seem to work
I am using the memoir class and I am trying to get rid of the space before footnote marks. I would like to have the whole paragraph as a block, without indentation on the first line.
I tried changing ...
2
votes
1
answer
80
views
How do i get a new poetry line to be hanging indented .25 inches yet in a custom blockquote format ,5 inches away from margins?
Im trying to get this doc environment which has everything in a blockquote form without hanging indentation and that will be used in a double spaced doc to get the functionality of a picture:
\...
0
votes
0
answers
21
views
How do I get auto indentation of text that is after MLA sections?
I'm trying to make an MLA template that can automatically have text that goes after sections be indented .5 inches, but even when I manually indent, nothing works.
\documentclass[12pt, letterpaper]{...
0
votes
0
answers
22
views
How to get rid of indentation with trivlist continuing in a new page [duplicate]
Newbie to LaTeX.
I've used \trivlist to list out my items, but as the list expands to a new page, there is some indentation which throws off the entire format of the list. Can someone please help me ...
6
votes
1
answer
66
views
Extra indentation added in enumitem after item 10
I am creating a legal document with numbered clauses. To get this I am using an enumitem. I have the desired format and indentation I want, but when the number of items reaches 10 or higher, extra ...
2
votes
1
answer
40
views
Numbered paragraphs with same text indetation on differrent levels (for legal clauses)
I'm trying to create a legal document with clauses and sub-clauses essentially I want it to look like this:
I have tried to get this effect using enumitem like so:
\documentclass[10pt,a4paper]{...
1
vote
1
answer
51
views
numbering indents
I want to do some variant of the exam on an A4 sheet. So, in another question I asked how to make numbering in a frame. But I found out one problem that when I use “\\” to move the text, the ...
2
votes
2
answers
47
views
Indentation problem inside the description environment
I have the following simple code
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{enumitem}
\begin{document}
\begin{...
4
votes
4
answers
184
views
Text in captions not indented after a line break when using ragged2e (caption, tabularx)
I have a problem with the packages ragged2e, caption and tabularx. Maybe someone can help me?
tabularx is used to create tables that should be horizontally centred, display centred table cells and ...
1
vote
1
answer
46
views
Automatically aligning Roman numerals with other text within the document
I began typing my pdf file using overleaf. The material I have consists of Math MCQs. I faced many problem and decided not to continue typing before I fix these things first.
However, as commented in ...
3
votes
3
answers
145
views
How to make the separation between bibliography label and entry auto-adjust (BibLaTeX)
I am working in an {article}-class document with BibLaTeX used.
EDIT 240526: I am working in Overleaf.
I am failing to apply an automatic recalculation of my \biblabelsep. A screenshot of what I have ...
0
votes
1
answer
49
views
Latex paragraph indentation missing
I am using \setlength{\parindent}{1cm} and \setlength{\parskip}{0cm} in preamble for consistent paragraph indentation, however when rendering file in pdflatex I have no indentations visible in my ...
5
votes
1
answer
74
views
Why does the enumerate margin change when specifying item format?
In a nested enumerate environment, I want to specify the format of the items using the [a)] syntax. I noted that the indentation of the left margin changes when explicitly specifying the item format.
\...
2
votes
1
answer
131
views
Automated parskip after formulas
I understand that English people generally want to delete paragraph indentation everywhere... This is not the french custom, and I there is very few tips on how to add indentation in LaTeX. Hence my ...
0
votes
2
answers
67
views
Remove the indentation for one line or paragraph within enumeration environment
See the blue box in the screenshot. I have a paragraph INSIDE an enumeration. I want to remove the indentation for that so that the paragraph will be aligned to the left WITHOUT indentation.
Below is ...
1
vote
2
answers
51
views
tikzpicture environment makes \noindent have no effect
See this MWE please:
\documentclass[a4paper]{article}
\usepackage{tikz}
\usepackage[showframe]{geometry}
\usepackage{ulem}
\setlength\fboxsep{0pt}
\begin{document}
% \begin{tikzpicture}[remember ...
0
votes
1
answer
85
views
Problems with text alignment in paragraphs when creating a LaTeX template in RMarkdown
Although I have a lot of experience with R, I'm fairly new to LaTeX, and it's proving to be quite a challenge. I work as a biologist and my current project is to automate the creation of labels for ...
4
votes
3
answers
184
views
Indentation of verbatim environment result in additional empty line before the following content, why?
At first, I added an indent to the verbatim environment, code is shown below:
\documentclass{article}
\begin{document}
Some text before the verbatim environment.
\begin{verbatim*} % <--...
2
votes
1
answer
52
views
Indent ExPex examples that are not numbered
ExPex offers \exdisplay to create linguistic examples without numbers (usually in combination with \noexno to prevent the counter being incremented).
However, according to the manual (pg. 71), ...
0
votes
2
answers
67
views
How to use hang indent to write this paragraph?
I want to write a paragraph like the one in the picture and indent all the lines but the first one. How can do this?
0
votes
0
answers
28
views
Starting a new line in an item inside enumerate environment without the undesired vertical spacing produced
I have the following code
\documentclass[12pt,a4paper,openany]{book}
\usepackage{enumitem}
\usepackage{mathtools}
\DeclareMathOperator{\im}{Im}
\DeclareMathOperator{\id}{Id\,}
\newcommand{\...
1
vote
1
answer
60
views
Use negative indent for my references in a scientific paper [closed]
I'm trying to use negative indent in my reference, to make them more clear. Like in this image:
When I use \setlength{\parindent}{-1em} in a paragraph, the results don't respect the original format ...
0
votes
0
answers
38
views
Sections being indented for no reason
I'm trying to draft a resume and I used this template. However, as you notice, there is indentation of each section heading for no reason:
I have no idea why this is happening. I tried disabling ...
1
vote
1
answer
39
views
How can I remove the left indent in a longtblr?
How can I remove the left indent in a longtblr?
\documentclass{article}
\usepackage{tabularray}
\usepackage[a4paper,margin=2mm]{geometry}
\begin{document}
\DefTblrTemplate{firsthead, middlehead,...
2
votes
1
answer
88
views
Quote with left indent only [duplicate]
I would like to use quotes with left indents only. The standard \quote command creates both right and left indents. I have been using instead the following: \begin{enumerate}\item[] "place ...
1
vote
1
answer
600
views
LaTeX Workshop - latexindent.pl not finding indentconfig.yaml on Windows (VS Code)
I'm using LaTeX Workshop on Visual Studio Code on Windows and encountering an issue with the latexindent.pl script. I'm getting the following message:
latexindent.pl didn't find indentconfig.yaml or ....
0
votes
1
answer
92
views
remove space after newpage
In this article:
\documentclass{article}
\begin{document}
a
\newpage
b
\\c
\end{document}
b is spaced weirdly.
\raggedbottom didn't help
How can i fix it and slap it on the left?