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
1answer
25 views

Paragraph Indentation in minipage

I am having some trouble with paragraph indentation in a minipage. Here is my MWE code: \documentclass{article} \usepackage{ragged2e} \begin{document} \begin{minipage}{0.8\textwidth} \...
0
votes
0answers
10 views

Quotes within numbered text: position of line numbers

I am wondering if, for an indented passage (a quote) it would be possible to shift reledmac's line numbering from the margin into the gap left by the indentation? The following MWE \documentclass{...
0
votes
1answer
15 views

Indent a problem description defined by \newenvironment

I am having trouble figuring out how to indent text in a custom environment \newenvironment{problem}[2][Problem]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}...
1
vote
1answer
19 views

setting correct indentation using tocloft and conflict between different lists

I am writing an article where I both need a list of figures and a list of Lemmas. I can create a custom list using tocloft and this works fine. However, the two lists are indented differently and I ...
1
vote
2answers
46 views

Theorem environment with hanging indentation, again

I would like to have formatting of theorem environment (and only this environment) with indentation, like this It is exactly the same question as Theorem environment with hanging indentation The ...
0
votes
0answers
46 views

Writing with a leftskip [duplicate]

My aim is to write the body text and only the body with a big left skip; theorems, titles and display math starting from the very left, without skips. I use the command \leftskip=4cm, which works good ...
1
vote
1answer
17 views

Preformatted white space inside equation

I am trying to generate an equation that looks like: ∃x∀y if P(x, y) then multiline formula else another formula I can't use verbatim be cause I need access to ...
-1
votes
0answers
34 views

Configuring block quotes on csquotes

First question here; after some research and reading the csquotes documentation; I couldn't find a proper way to configure blockquotation to my current needs, so here's the meat of the question: How ...
0
votes
0answers
34 views

How to indent a numbered list of references in R markdown as in latex?

I post this same question in stackoverflow (https://stackoverflow.com/questions/61060820/how-to-indent-a-numbered-list-of-references-in-r-markdown) and I was suggested to ask here. So, my problem is: ...
0
votes
0answers
16 views

Bold Section Lines and Indent in Local Table of Contents

I am using the package etoc and \localtableofcontents to print a table of contents for each chapter in my report file. It seems that latex by default always makes the top level bold in the main \...
0
votes
0answers
21 views

Indent Latex algorithm numbering

I am using algorithm and algorithmic package to right the algorithm. But at some point, indentation in the numbering of the algorithm got mixed up please see the code and image. \begin{algorithm}[H] \...
0
votes
1answer
32 views

Creating “Languages” sub-section of “Skills” sections in CV

I am creating my CV and I want my "Language" sub-section looks like the following example (i.e. the kind and proficiency are separated into two "columns" and align to the left). I ...
0
votes
1answer
25 views

Setting paragraph indention

How can I set include an indent for each new paragraph? I tried multiple things but I can't seem to fix it. This is my current main file: \documentclass[a4paper,man,floatsintext,natbib]{apa6} \...
0
votes
1answer
42 views

Narrow text in LaTeX [duplicate]

I strongly believe this is a duplicate but I didn't find any answers. My rather simple problem is, that I want to have some part of my text on another textwidth. As seen in the picture below.
1
vote
1answer
21 views

How can I align a text block with a header? [closed]

I created this .tex document \usepackage{titlesec} \titlespacing{\section}{-37pt}{0pt}{10pt} \titlespacing{\subsubsection}{-16pt}{0pt}{0pt} 1) header h1 A. Subheader h3 textblock B. ...
0
votes
1answer
21 views

KOMA hanging indent after long section title

Is there an automatic way to achieve the same indentation for a long section title? Automatic in the sense that I don't have to manually put \newline in the section title. MWE: \documentclass[10pt, ...
0
votes
1answer
23 views

Creating multi-line indent with hangparas

I'm trying to have all the text in a theorem or definition indented as it is usually done in books, however the hangparas environment just doesn't work for me and I have no idea why. Here is the ...
1
vote
1answer
32 views

Paragraph indentation: A contradictory request

\documentclass{article} \usepackage{blindtext} \usepackage{titlesec} \titleformat{\section} {\normalfont\scshape}{\thesection}{1em}{} \titlespacing*{\section} {0pt}{2ex plus 1ex minus .2ex}{1ex ...
0
votes
1answer
32 views

Change reference's alignment

how can I eliminate the indent in the second row of a reference? This is my MWE: \documentclass[14pt,a4paper]{extarticle} \usepackage{mutavel} \makeatletter \renewcommand\@biblabel[1]{#1} \...
1
vote
1answer
57 views

KOMA toc equal numsep with exact indentation

I'm trying to format the toc, but I stuggle with the horizontal spacing and indentation. The chapter and part headings should have a minimum numsep of 1em for the longest number while also being ...
2
votes
1answer
30 views

Glossary Customizing Woes

I'm trying to customize a glossary style from the glossaries/glossaries-extra packages called altlisthypergroup. Below is what it looks like and I have annotated the changes I'd like to make: So I ...
0
votes
1answer
15 views

problem with indentation of acronyms in table of content

I'm trying to add manually some acronyms to the beginning of a work. For that I use the acronym package. I would like to add that section to the table of content without the dots and the indentation. ...
0
votes
0answers
21 views

item indentation in resume

I have created a resume format and it looks okay for the most part, but I want to introduce indentation in some parts of it, but somehow couldn't figure out a way to do it. I tried \hspace, \...
1
vote
1answer
77 views

Is there a command which is completely ignored by LaTeX?

I'm using TeXiFy IDEA and it has autoformatting feature. However, in some cases I would like to preserve my own formatting. E.g. Very long sentence. after formatting becomes Very long ...
1
vote
1answer
34 views

Indentation in etaremune

I am using etaremune package for my CV. Below is sample code as described in: enumitem newlist with etaremune \documentclass[11pt]{article} % This is a helpful package that puts math inside length ...
0
votes
0answers
19 views

indenting the paragraphs and asterisk footnote

Question 1: How to add asterisk footnote instead of number footnote in the following code? Question 2: How to indent the keywords and the introduction as the picture? LATEX CODE \...
1
vote
2answers
31 views

Blockquote mark indentation

I would like to set the opening quotes just outside the quote margin. MWE: \documentclass[10pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} \usepackage[...
0
votes
1answer
31 views

List with arrows in two different directions

The goal is to reproduce this formatting in LaTex (in proving if and only if): where the entire paragraph is indented except the arrows. Additionally, two arrows are pointing to different directions. ...
0
votes
1answer
56 views

How to add the same indentation (beginner )

How to add the same indentation to each line of a paragraphe automatically ? Thanks
0
votes
0answers
24 views

TeXStudio code indent respective blocks

I am using TeXStudio, and I got some LaTeX code from a friend that is all aligned vertically instead of being indented at respective blocks. Is there a command to highlight all of them and indent the ...
0
votes
1answer
19 views

How do I indent after a line break command, in case the line before the line break is at least a certain length?

I want to an auto indentation after using the line break command, in case the line before the line break command has at least a certain lenght (in best case relative to my page width). Example: bla ...
1
vote
3answers
56 views

What is the best (easiest) way to indent lines of math without defining columns (think pseudocode)

All the ways I see to align things in math mode have you set columns, but I only care about where a line of math starts. I want to be able to write something like: f:A\to \mathbb{R}\\ % indent ...
1
vote
1answer
39 views

Disable indentation for one paragraph

I have written the following : \par{first paragraph} \par{second paragraph} \par{third paragraph} Now, I want to disable indentation for the third paragraph. I naturally add \noindent command as ...
0
votes
0answers
14 views

Multi-line indent command

I'd like to make a command that indents all text passed as an argument; similarly to this question, but using a command with no alteration to the text required. Something like this: \def \...
1
vote
2answers
21 views

Indent tag of equation to the left

I need an equation in which the equation itself is centered and the equation number (a custom tag) is located more to the left. \documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{...
1
vote
0answers
17 views

Exam class: Indent each question, part and subpart to that of the upper-level indent [duplicate]

I've been working with the class exam, and I have been grappling with how I can set the indents for questions and their subparts, and have so far tried every combination of \setlength{\labelsep}{}, \...
3
votes
2answers
91 views

algorithm2e vertical line indentation

I really like the vertical line feature of algorithm2e, but I ran into trouble with it when I try to indent an if statement. I used the following code. \documentclass{article} \usepackage{amssymb,...
0
votes
2answers
31 views

Creating a block such that the inside text has a specific indentation

I have a text like this: Oss: word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word word ...
1
vote
3answers
36 views

Force a one-time no indent even after a blank line

I've defined a Comment macro in the MWE below. I want it to start a new line after the comment, without an indent. If I were to remove the blank line after the macro, there would be no indent, ...
0
votes
1answer
18 views

No indentation in ongoing line in Verse environment

The verse environment looks good to me for highlighting and referencing a paragraph. However, I don't like that it automatically indents what doesn't fit in an ongoing line. I would like the overall ...
0
votes
1answer
24 views

How to remove the indentation of the section-title second line using droit-fr class?

I am using the droit-fr class, and I need only section titles not to be indented on the second line (and the following). Here is my MWE: \documentclass[a4paper,12pt,french,twoside,footnotereset=true,...
0
votes
1answer
97 views

\addcontentsline is causing indents in TOC

I am generating a document with multiple custom tables and sections that don't follow standard numbering and am using \addcontentsline to place them in the TOC as below. \documentclass[12pt]{report} ...
0
votes
1answer
13 views

Indenting a block of equations correctly

I have the following code \begin{equation*} P1: c_2=c_5;\\ P2: a_6=c_1;\\ P3: a_2=c_5;\\ P4: b_6=b_2;\\ P5: a_7+b_7=a_2+b_2;\\ P6: a_6+b_6=a_3+b_3;\\ P7: a_7=a_3;\\ P8: c_8=b_3;\\ P9: b_7=c_4;\\ P10:...
2
votes
3answers
127 views

spread across a line (minus indent)

I have a sentence I wanted to spread across a line like the following: \makebox[\linewidth][s]{XXX XXXXX XXXXX XXXXX XXXXX XXXXX XX XXX XXX XX XXXXX XXXXX}\par What really happens is because it's a ...
0
votes
0answers
28 views

How to control margin size of custom itemize

I'm working with the Deedy Resume template, which provides a custom itemize environment: \newenvironment{tightemize}{\vspace{-\topsep}\fontspec[Path = fonts/raleway/]{Raleway-Regular}\color{primary}\...
1
vote
1answer
41 views

first line indent of List of tables

I need to add the word Figure and Table to list of tables and figures. I have the code below to obtain this but my code applies extra space to the first line of the text in the list of tables. All the ...
0
votes
1answer
33 views

Footnotes : no indent, no dot

I am trying to get footnotes without indent and without dot after the number. Here is my goal : Right now, I have used this to format my footnotes : \renewcommand\footnoterule{\rule{\linewidth}{0....
-1
votes
2answers
42 views

Tabbing wrong in nested commands [closed]

So, I have two commands defined in my document class like this. \newcommand{\skillgroup}[2]{ \begin{tabbing} \hspace{5mm} \= \kill \sqbullet \>\+ \textbf{#1} \\ \begin{minipage}{\smallertextwidth} ...
2
votes
0answers
37 views

spurious indent combining standalone, french, itemize and verbatim

I have an indentation problem that I finally solved adding \usepackage{enumitem} but I can't understand the reasons why the problem happened in the first place and got solved using enumitem. I nailed ...
0
votes
0answers
31 views

amsmath equation numbering or equations in lists

I want to list equations with a bullet point in front of the equations. The two ways I thought of to make this possible are either to set the equation numbering style to a bullet point or to put the ...

1
2 3 4 5
35