{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

1
vote
0answers
59 views

Decrease indentation of header text (fancyhdr) to 0.15 cm (same as \titleformat)

I'm using fancyhdr for the header. I want to decrease the indentation of the text in it (header - italic text): Now is like in the image but I would like to have the same indentation in both ...
3
votes
1answer
29 views

Changing the Hanging Indent Within a Custom Environment

The hanging indent for my sorted entries (see here) is seemingly unchangeable, I've tried placing \hangindent's and \hangafter's all over the place and nothing seems to change what looks like a half ...
1
vote
2answers
47 views

Description environment with line break and no indent in labels but indented body

I have a description list with a label that does not a fit on one line. I want a line break in the label such that the second line of the label is not indented. I still want the body text to be ...
5
votes
1answer
85 views

Make all single line paragraphs \noindent

I want to make all multi-line paragraphs with indentation and all single line paragraphs without. Similar to what is described in Turn off paragraph indention for a single line. But! I need to ...
5
votes
2answers
54 views

Adding a new line between itemized lines

I'm having a problem trying to format my homework in LaTeX: \documentclass[11pt]{article} \usepackage[a4paper,margin=2cm]{geometry} \usepackage[dutch]{babel} \usepackage{parskip} ...
1
vote
0answers
63 views

List and justified text

I'd like to indent every line of a paragraph but the first one. I found a solution here (Indent all but first lines of paragraph.) and I use the approach with the adjusted list. The only problem is, ...
2
votes
1answer
52 views

Independent hanging indent subject to word length under “Description”

When using description, how can I adjust particular indent by given wordlength for every description? Or to say, how can I get command such as \settowidth, \hangindent and \mbox to work under ...
5
votes
1answer
66 views

custom indent length

How can I apply custom length of indent by giving a "precise word length" instead of estimate numbers under trial and error e.g. x pt or x mm?
0
votes
0answers
45 views

How to fix comment indentation of code using the listings package?

My problem is that the code itself is indented correctly, but the comments (e.g. //comment) are not. In my source file, I aligned comments in one column by using tabs. In the pdf produced by LaTeX, ...
2
votes
1answer
95 views

Declaretheoremstyle headpostspace = \newline + indent?

I am having problems trying in declaring a theorem style. I would like the first row of the definition to be on a new line with the normal indent. If I try to add \par instead of \newline for ...
2
votes
1answer
54 views

Vertical spacing around custom center environment followed by \noindent

Inspired by this answer (to define a center environment with no vertical spacing): \newenvironment{nscenter} {\parskip=0pt\par\nopagebreak\centering} {\par\noindent\ignorespacesafterend} I ...
0
votes
1answer
52 views

Typesetting descriptions and computer commands

I write some introductory system administration notes for my students. Some text and some lines of verbatim Unix commands, repeatedly. I disabled indentation of text paragraphs following How to ...
1
vote
1answer
68 views

how to give chapter, section and subsection headings identical flushleft indentation in a TOC

How do I change the indentations of \section \subsection in the Table of Contents so that they line up flush left at the same indentation of the chapter heading? I am using book class format. My code ...
2
votes
1answer
121 views

indent only first line in customized enumerate

As I enumerate huge blocks of words, Latex automatically indents the entire paragraph. To save some space I want Latex to indent only the first line and leave the rest with full width. Indent first ...
6
votes
1answer
85 views

Why does `noindentafter` package cause this behavior?

MWE: \documentclass{article} \usepackage[english]{babel} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{libertine} % custom centering \newenvironment{mycenter} ...
2
votes
1answer
105 views

No indent for verbatim environment

I would like to deactivate the indent for the verbatim environment, such that left margin is the same for everything. \documentclass{article} \usepackage{verbatimbox} \makeatletter ...
0
votes
0answers
17 views

1st line is landscape mode [duplicate]

I want some text to appear as below: The code I have written for it is : \begin{landscape} Design Summary (This page shows how to use landscape format in Appendix.)\\ \texttt{---------}\\ Design ...
1
vote
1answer
88 views

Ignore indent of itemize for figures, lstlistings etc

I have a list of items where some of the items contain figures, listings, etc. How can I make these environments ignore the additional indent in an itemize environment? My code looks like this: ...
1
vote
2answers
54 views

Creating language and skill sections in resume

How is it possible to get something similar to this: Languages: Language 1 Native speaker Language 2 Fluent speaker Skills: Working knowledge Skill1, Skill2, Skill3 ...
1
vote
1answer
95 views

Hspace* at each linebreak

Here a minimal working example: \documentclass{article} \usepackage{lipsum} \parindent0pt \begin{document} \end{document} I don't want to use hspace* all the time. Is there any possibility to ...
3
votes
1answer
43 views

How to add some spaces before z = 0;?

I'm trying to do a quick example with Pascal codes. \setlength{\parindent}{0em} \begin{document} program first; \\ const\\ z = 0; \\ var\\ n,m: integer;\\ p,q: real\\ begin \\ end. \end{document} ...
2
votes
2answers
58 views

How to prevent page breaks and force indentation in inner paragraphs of a command?

I'm trying to write a diary of a journey I did in the past but I'm facing a problem with paragraph identation and page breaks. I've written the following command (\EntradaDiario) ...
0
votes
0answers
8 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
60 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
70 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 ...
0
votes
0answers
66 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
90 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
97 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 ...
1
vote
2answers
136 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 ...
1
vote
1answer
292 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
294 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
45 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 ...
2
votes
1answer
46 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
196 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
192 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 ...
3
votes
1answer
100 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
217 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 ...
2
votes
1answer
97 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
75 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
63 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. ...
4
votes
4answers
230 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
189 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

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
387 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 ...
3
votes
1answer
89 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
92 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
138 views

How could I do this indentation?

What code could I use for making the indentation in the image below?
1
vote
1answer
99 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
117 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 ...
0
votes
0answers
84 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 ...