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

learn more… | top users | synonyms

0
votes
0answers
7 views

lstlisting indentation versus editor-formatting [duplicate]

Whenever I use the listings package to typeset code, I encounter the problem that the way lstlistings work collides with the formatting my editor likes (I use vim). For instance, see this code: ...
2
votes
1answer
18 views

\raggedright in footnotes with hanging indent

This answer to Layout of multiple lines footnotes shows how to get hanging indent in footnotes (extremely ugly if you ask me, but the editors want what the editors want). \documentclass{article} ...
2
votes
1answer
89 views

How to tell LaTeX/Koma-Script about preamble of book?

Example code: \documentclass[paper=a5,titlepage=firstiscover]{scrbook} \title{Nunc rutrum turpis} \begin{document} \maketitle \cleardoublepage \thispagestyle{empty} % preamble: Lorem ipsum dolor ...
2
votes
1answer
34 views

I am losing my indentations after the figure's caption

I am writing my M.Sc. thesis (biochemistry). According to the Graduate Office, full-page figures require that their description be on a different page. Here is my main.tex file (sample) with the ...
6
votes
2answers
6k views

Indenting lines of code in algorithm

I am writting algorithm which has two stages. How can I indent code for stage one and for stage two? \begin{algorithm}[H] \caption*{my algorithm} \begin{algorithmic} \STATE \textbf{Stage one:} ...
0
votes
0answers
53 views

Indenting suddenly stops after first subsection

I am writing my dissertation using TeXworks and I wanted every new paragraph to begin with an indent. This works fine for the first written subsection but then the indenting suddenly stops for the ...
0
votes
0answers
41 views

Conditional indent of paragraph

Is there a way to indent paragraphs if they follow "long lines" of text? Graphical example of what I want my text to look like Here, only the paragraph "Duis autem..." is indented, because it ...
2
votes
1answer
44 views

Ignore section hfill in table of contents

I have a document which is similar to the MWE below: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} % toc dots ...
5
votes
1answer
101 views

Special nested footnotes

I’ve had a hard time finding an adequately robust footnote system. In the interest of sparing you my bankrupt descriptions of typography, I’ve provided a (crude) Photoshop mockup of the basic idea: ...
1
vote
2answers
68 views

Any command from KOMA-Script to set part title and partnumber in one line?

Is there any command from KOMA-Script to set the part title and partnumber in one line and if the title is long enough to get wrapped, indentation would be applied to the second line (align with the ...
4
votes
2answers
8k views

How to set `leftmargin` when using the `enumerate` package?

Is it possible to set the leftmargin length when using the enumerate package? I'd like to limit the effect of leftmargin to a single environment invokation only and not set it globally.
2
votes
4answers
278 views

Indentation in footnote

I have a small Problem with indentation in LaTeX footnotes: \documentclass[draft,12pt,a4paper]{article} \usepackage[footnote,printonlyused]{acronym} \begin{document} foo\footnote{foo: ...
1
vote
1answer
52 views

How to indent first paragraph after \section using Texstudio? [duplicate]

I am using Texstudio to compose my assignment. However, I have a problem with it. After I used \section*{}, and the my first paragraph in section is indented to the very left. I want the paragraph ...
1
vote
1answer
57 views

Enumerate with \noindent

I am creating a custom macro for enumerated lists, but with this attempt, I haven't been able to eliminate the indentation of the item numbers. Every time I use \myitemize, the lists still indents. ...
4
votes
1answer
32 views

Equation tag alignment inside enumerate

I am trying to align my tag to left margin. I've seen this answer, but it did not help me muh as I don't want to change the class to ams. I have a solution (the code below), but I wonder if there is a ...
42
votes
7answers
41k views

Indenting a whole paragraph

How do I indent a whole paragraph at the same distance from my left margin, with the simplest command or environment?
2
votes
1answer
24 views

Forcing enumerated list to put words underneath the numbers

Apologies if this has been asked before, but I couldn't find it. I want to create lists in using \enumerate where, if a passage of text for a particular item is long enough, then the text runs under ...
2
votes
2answers
58 views

Compile Error: KOMA-script (scrextend) 'Command \setfootnoterule already defined'; Package clash?

I followed the instruction to indent a block of text in my document. So I added new package scrextend and simple code: \begin{addmargin}[1em] indented text text text \end{addmargin} but when I ...
2
votes
1answer
28 views

Indentation text at beamer

I am trying to indent just text in beamer, but I did not get it. I would like to indent the text at the all document. The problem is that the frame title has been indented and I do not want that. How ...
2
votes
1answer
36 views

Indent second line in table [duplicate]

This code create the table printed below: \documentclass[a4paper,11pt]{article} \usepackage{array} \usepackage{booktabs} \usepackage{tabularx} \begin{document} % outline different types table ...
2
votes
5answers
176 views

how to align words?

I have a sentence and I have a word that should go under another specific word in the sentence. Is there a way to do this without using the \hspace option (or using it with another unit of ...
4
votes
4answers
158 views

Paragraph indent in marginpar

I use memoir and defined my own version of margin notes. I would like margin notes consisting of multiple paragraphs to have each paragraph except the first one to be indented. However, I can't figure ...
2
votes
1answer
45 views

Why is there no indent to the first line in my quoted paragraph?

I wanted to indent some quoted content (both 1cm from left and 1cm from right), so I defined a new environment (MWE) as follows \documentclass[11pt,a4paper,openany]{book} \usepackage{latexsym} ...
1
vote
1answer
26 views

Can I remove the word “algorithm” from the header and keep only the caption,also I “want for loop” to be indented after step 3

\begin{algorithm}[h] \begin{algorithmic} \caption{Math algorithm} \STATE \textbf {Step 1} $\rightarrow $ gather the data \STATE \textbf {Step 2} $\rightarrow $ estimate matrix \STATE \textbf {Step ...
1
vote
1answer
30 views

indent 1cm from left second page onwards

How to indent 1cm from left margin from second page onwards? I've searched some it says below but using {description} instead of center. But I'd like to make my paragraph centered. ...
2
votes
1answer
32 views

indented bibliography w/out skipping a line between the items

There must be something wrong in the preamble % XeLaTeX can use any Mac OS X font. See the setromanfont command below. % Input to XeLaTeX is full Unicode, so Unicode characters can be typed directly ...
1
vote
1answer
71 views

indentation as displayed in the editor

Each time I tab, the entire paragraph is indented right, in the Tex editor (TeXstudio), instead of just the start of the paragraph. How do I set the options of TeXstudio to not indent the whole ...
1
vote
1answer
682 views

algorithm2e indentation / line break [duplicate]

I have the following problem: I am writing a couple of algorithms using algorithm2e. I have a bunch of longer if statements and longer if conditions. The lines are broken, but the new lines are not ...
2
votes
1answer
43 views

Indentation in numbered examples

The text of an example numbered with two digit number seems to be indented further then the text of examples numbered with single digit numbers (as in the example below). Can I control for this ...
3
votes
1answer
50 views

Hanging indent in headings

Good Evening, as I am new to this whole Tex thing, making bigger adjustments to the presets still poses a problem. Basically, I want to change the setting for the headings, so they look like this: ...
5
votes
1answer
130 views

How could I do this indentation?

What code could I use for making the indentation in the image below?
1
vote
1answer
49 views

Negative indentation for beamer bibliography

As a part of my project, I redesigned the beamer default margins to 12 mm left margin and 8 mm right margin. But, I do not want this for bibliography, where the same left and right margins are ...
4
votes
1answer
89 views

Intended Paragraphs Inside Environment

I have decided to come back to beautiful LaTeX typesetting after several years. I have just decided to hone up my LaTeX skills but have found out that it will be not easy. Here is my question: I have ...
5
votes
1answer
409 views

Paragraph indentation incorrect with picinpar package

I am using the picinpar package and don't know why the paragraph indentation is not working. The problem words are highlighted: Notes: I am not stuck to using the picinpar package, but want to ...
0
votes
0answers
55 views

the \usepackage{parskip} and \setlength{\parindent}{0pt} could not solve my problem of indentation

in one of the chapters of my thesis , after some figures, the texts starts with some Indentation and I can not correct it with none of the above and other questions that were similar didn't help here ...
0
votes
1answer
31 views

Indents in scientific articles (ACM)

I am completely new to TeX and would like to create a document building on the ACM Guidelines. Papers I've seen using these guidelines such as "Driven by Food: Modeling Geographic Choice" have a small ...
3
votes
1answer
100 views

Indentation of a longtable

I have a table without borders, spanning two pages, the text contained in which I want to start with the same indentation as my hanging footnotes. I have a rough solution, but it relies on inserting ...
1
vote
1answer
36 views

Formatting a paragraph indentation

I am using TeXStudio. Can I please ask how to apply the hanging indentation to a paragraph? For an example, Step 1. I am using TeXStudio to write a thesis. The second line wants to be aligned up ...
31
votes
3answers
25k views

What is the \rule equivalent to \hrule?

I've tried to put a rule long as the text in this way: \rule{\textwidth}{0.4mm} but I obtain a rule slightly smaller that the text width. How to obtain the same effect as \hrule?
2
votes
1answer
81 views

Tikz left margin indentation

Is there a better way to remove the indentation of a tikz figure? What I have so far is this \documentclass{article} \usepackage[top=0cm, bottom=0cm, left=0cm, right=0cm]{geometry} \begin{document} ...
9
votes
2answers
2k views

Avoid putting statements on the same line with algorithmicx

I'm writing a simple pseudocode, but I have a problem with a repeat..until block. Basically what happens is that the return statement that follows the end of this loop gets rendered on the same line ...
0
votes
3answers
57 views

creating theorem-like environments within 'notes' (see example)

I would like to create the following style to write mathematics: In fact the above I created myself but some numbers and spacing I had to set manually (and I would like this to be automatic of ...
1
vote
2answers
58 views

Indenting text in all paragraphs

I want to indent all the text in all the paragraphs in a document I am writing. Below is the method I am using to accomplish this. It works well enough but I was wondering if I could somehow put the ...
3
votes
1answer
43 views

How to indent formula in two different lines

Please see the uploaded photo. The formula is too long, so I have to let it breaks to the second line. However I want to indent the two formulas, so what should I do ? Please help me. Thanks.
3
votes
1answer
108 views

Indent letter in moderncv casual style

I'm trying to indent the first line of each paragraph in the cover letter of the moderncv template. So far I added this at the beginning of the .tex to justify it, but I haven't found a way to indent. ...
5
votes
2answers
208 views

How can I replace tabs with spaces before compiling .tex file?

I want to indent text in the verbatim environment. I want to do this with the tabulator. The problem is that verbatim does not work as advertised ("prints unmodified text"). It actually replaces the ...
4
votes
2answers
2k views

Indentation for proofs

I'm using amsbook document class and amsthm package. I want the proofs to stand out from the rest of the text by slightly indenting them, i.e. leaving some margins from left and right. How do I do ...
5
votes
3answers
99 views

How to have no indentation after \maketitle?

By default, the paragraph starts after \maketitle will be indented. But, I do not need the indentation after \maketitle. Could anyone suggest us how to control this in the template. I have attached ...
1
vote
1answer
57 views

Nested list and parbox

I am writing a paragraph with the \parbox into nested list. My problem is that I want justified the text to the number of main list, and the other hand I want that the nested list is justified to main ...
1
vote
1answer
40 views

Align items in itemize despite the diffrence

How can I align the two items in this case: \documentclass{article} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \begin{document} \begin{theorem} here is my theorem. ...