{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
2answers
107 views

Need help reformatting PowerPoint slide containing latex code

Consider the following PowerPoint slide: This was produced with the help of IguanaTex plugin, which allows you to generate pictures from latex snippets, and add them to your PowerPoint slides. ...
1
vote
1answer
47 views

changing quotation margins temporarily

I wish to change the margins of the quote environment, but just for a one-off occasion. I don't wish to change the quote environment throughout the document. I tried to do the following, but it ...
4
votes
3answers
103 views

Getting rid of bullet point and indentation in itemize

I'm writing my resume in LaTeX and am using itemize to list my employment history. Example: \begin{itemize*} \item \headerrow{\textbf{Google}}{\textbf{Cambridge, MA}} \headerrow{\emph{Software ...
2
votes
2answers
102 views

Changing indent after question exam class

A friend of me had to change her exam style, so everybody uses the same lay-out. As she works in TeX, and has no experience with Word, she needs some help. Some problems are solved: \documentclass[...
0
votes
2answers
166 views

Koma-Script scrbook remove indention of entries within lof and lot

I'm trying to remove the indention of the entries within the list of figures and list of tables. Thus that the entries (here the entry 0.1 Test) are left aligned with the header. However, I can't ...
3
votes
2answers
90 views

How to indent text within captionof?

Does someone know how to indent the text within captionof? I have a long caption that I want to make two paragraphs out of but indent does not seem to work. \documentclass{article} \usepackage{...
2
votes
1answer
78 views

Setting custom margins using geometry package results in incorrect indent style of itemize

I'm currently writing a report and the professor asked me and also other students who do that to use a specific margin. My documents uses the article document class and also \usepackage[left=25.4mm, ...
4
votes
1answer
119 views

non-indentation of the second line of bibliograpy

I would like to print my references part non-indented. I have found information regarding how to indent bib items, but not regarding my problem. I am trying to have the second line of references non-...
4
votes
1answer
55 views

Indentation in newtheorem environment

I already have a personalization of the "newtheorem" environment, as follows: \documentclass[a4paper,10pt]{article} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \...
1
vote
2answers
102 views

Remove indentation to \texttt

I'm writing my thesis using the book document class. Each paragraph is indented automatically. This is fine with me for the whole thesis except in small pieces of "code" that are enclosed between \...
3
votes
1answer
93 views

Automatically add \noindent for short paragraphs

Is there a way to activate \noindent to each line which is so small that there is no line break in the paragraph? An example: The code This is a long paragraph: Lorem ipsum dolor sit amet, ...
4
votes
2answers
135 views

Indentation of the second line in a very lone sentence after \textbullet WITHOUT itemize environment

I have a very long sentence after a \textbullet. Because it is very lone, it goes to the second line. But there is no indentation in the second line. How could I add indentation and align the second ...
1
vote
2answers
79 views

Indent many lines in Theorem environment

If I want to indent the first line in the theorem environment I just write \indent. How may I indent several lines - a paragraph - in this environment? Here is a MWE: \documentclass[fleqn]{scrartcl} ...
1
vote
0answers
69 views

How to write logs in latex without default indent

The output I want is like the following photo: We can see the middle log lines have different font type and indent compared with other plain text. I have searched a while. The font type seems ...
4
votes
3answers
108 views

amsmath equation identation wrong with text

I have a problem creating an equation, where I first want to write it as text and then resolve it to numbers. This is a minimal example: \documentclass[headings=small,12pt,a4paper]{scrartcl} \...
2
votes
1answer
61 views

Indentation not restored after \quote{}

MWE: \documentclass{article} \usepackage{lipsum} \begin{document} This is the first quote: \quote{\lipsum[1]} This sentence and the following quote should not be inside the first quote: \quote{\...
3
votes
1answer
65 views

ConTeXt \definedescription: How to get the description's label on a line of its own?

ConTeXt: How do I get multi-level descriptions? The contextgarden example does not work shows how to get nested descriptions, but each description begins on the same line as the label that it ...
2
votes
0answers
33 views

Enforce automatic breaking of long lines and and indent broken lines

I have many tex documents like that below which I want to translate with pdflatex. The files are the output of a vim-plugin which generates formatted output from vim's internal syntax highlighting. ...
1
vote
0answers
65 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
32 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
55 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
87 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 auto-...
5
votes
2answers
57 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} \usepackage{amssymb}...
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
59 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
71 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
47 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
111 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
58 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
54 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
87 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
148 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
87 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} {\parskip=1ex\par\...
2
votes
1answer
127 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 \setcounter{...
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
94 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
65 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
99 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
60 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) \newcommand{\...
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
67 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
78 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
71 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
100 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
109 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
150 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
337 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
342 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
46 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 ...