We’re rewarding the question askers & reputations are being recalculated! Read more.

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
8
votes
1answer
2k views

ToC: How to no-indent the second line of large entries?

ToC: How to no-indent the second line of large entries? I'm using the scrreprt class, typesetting a book with only 120mm of paperwidth.
7
votes
2answers
7k views

Indentation of left-aligned equations (flalign) without fleqn

I would like to have some math not centered but left aligned. So I found on this site various answers that pointed me to this: \documentclass{article} \usepackage{showframe} \usepackage{amsmath} \...
6
votes
2answers
599 views

Spacing for \listtheorems in ntheorem

Q: How do I get my theorem number and name to not overlap each other in my list of theorems? This is basically the same question as "Spacing control for listtheorems". But the solutions mentioned ...
6
votes
2answers
661 views

Aligned, hanging indents in non-monospaced code

I want to typeset a piece of code containing line breaks. New lines should indent to a specified point in the previous line. Here is a monospaced example to illustrate what I mean. Notice how 'case'...
5
votes
1answer
4k views

How to change the format of acronyms?

I use the acronym package. Please help me to change a gap between the acronym and full name of acronym and to put a dash between them like this: PG - some text HRoT - some text some text ...
4
votes
1answer
1k views

First paragraph of section becomes indented after setting \setbeforesecskip (memoir class)

I am trying to adapt my thesis draft to the format specifications of my university, which mandates among other things the number of line skips before and after section and subsection titles. I am ...
4
votes
2answers
26k views

Table caption should be left aligned

How to make table caption left-aligned. I tried \usepackage[singlelinecheck=off]{caption} but it did not work out. In other words it gives an error: \DeclareFloatFont {tiny}{\...
3
votes
2answers
926 views

Biblatex using shorthands and numeric style - label sizes

Current situation: I'm required to cite "normative" documents (read: standards and manuals) separately from articles and books etc. Using biblatex and biber with the numeric style I'm doing that by ...
3
votes
1answer
90 views

align* in varwidth seems to ignore fleqn option

I am using the \documentclass option [fleqn] (which I think is identical to \usepackage[fleqn]{amsmath}). This seems to work fine, except when using an align* within the varwidth environment: Notes: ...
26
votes
1answer
26k views

Multiline item indent

I am currently writing a set of steps for my lecture notes on circles but when the description of the step is too long, becomes multiline, the enumerated environment does not left indents properly as ...
26
votes
3answers
35k views

Remove indent when using enumerate

When we use the enumerate environment, there's an indent created as you can see in the picture: Is there a way to remove that indent so that everytime I use the enumerate stuff doesn't give me such ...
29
votes
4answers
54k views

Indenting description lists

Is there a way to change how description lists are indented? I have something like: Normal text List item List Item I would like something like: Normal text List item List Item
38
votes
1answer
98k views

How can I indent a block of text for a specified amount? [duplicate]

Possible Duplicate: Indenting a whole paragraph Write text with some fixed amount of space from the margin I would like to indent a paragraph or two for a specific amount. The quote ...
26
votes
2answers
23k views

Setting the indention of unordered lists

I'd like to set the indention of an itemize-list. How can this be done?
21
votes
1answer
11k views

algorithmicx package comments on a single line

Is it possible in algorithmicx package to have comments not aligned to the right side? For example I have code like this - \begin{algorithm}[!ht] \caption{My Algo.} \label{myalgo} \begin{...
13
votes
3answers
5k views

vim LateX-Suite indentation and line breaking

I'm now setting up Vim for use with LaTeX. This is about setting up the indentation. In the picture below, there are many things that need tweaking. Everything between \vskip .5cm and \vskip 1in is ...
8
votes
1answer
2k views

How to remove section indentation in partial ToC using titletoc?

See MWE below. How can I remove the indent in front of the section entries in the partial ToC (only there, not in the normal ToC)? \documentclass{book} \usepackage{titletoc} \usepackage{lipsum} \...
38
votes
5answers
7k views

How to prevent paragraph breaks after theorem environments?

By default, the list environments (such as itemize) have the nice property that if you add a blank line after it, it starts a new paragraph, and if you don't, the paragraph continues. So The ...
24
votes
4answers
37k views

Specifying a no-indent for a list

I have the following: This is just normal text... \begin{enumerate} \item First Item ?\\\\ This is the text of the first item \item Second Item ?\\\\ This is the text of the second item \end{...
20
votes
2answers
7k views

Automatic noindent after quote environment

I need to include block quotes in my thesis, and the line following should not be indented. I am using the memoir class with XeLaTeX. For example the following code: \begin{quote} Lorem Ipsum Dolor \...
19
votes
1answer
9k views

What is the width of the standard paragraph indent in LaTeX's article class?

If no changes has been made to the settings of indentation of an article class LaTeX document, what is the width of the paragraph indent? texdoc article in the terminal opens the Standard Document ...
18
votes
2answers
283 views

What's a quick way to align text?

I am often writing quick statements in which I would like the following lines to continue underneath the end of the first. Is there a quick way to do this (requires arrays?) this is the first ...
14
votes
1answer
7k views

Adjust the indentation whithin the algorithmicx-package when a line is broken

I have this code \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm} \caption{Minimal Working Example for my Problem} \begin{algorithmic}[1]...
11
votes
1answer
2k views

How do I make a list start at the same level than the text surrounding it (Without extra left space)?

I want my list to begin straight at the left side of my page, without the usual space to the left (which is about the length of a paragraph tabulation). I tried setting parameters from inside the list ...
8
votes
1answer
10k views

Paragraph indentation in a list

I'm trying to use LaTeX to produce my homework assignments. They're in the form of answering a question sheet, so the answers are formatted in a similar way to the questions, i.e. (a) foo (b) foo (c) ...
5
votes
1answer
6k views

Formatting new list of definitions with tocloft

Using the tocloft package in LaTeX, I created a List of Definitions. From the package documentation and some online examples I came up with: \newcommand{\listdefinitionname}{My list of definitions} \...
15
votes
4answers
4k views

Source Code Indentation

I was wondering if it is possible to indent the code like in most programming languages as shown below: \part \chapter \section \subsection etc. This would make the source ...
10
votes
3answers
17k views

No indent in description list

I have the following text in LaTeX: I want that the second sentence of item A starts below the first word of the first sentence (So 'It is raw...' is outlined with 'Data are facts...'). I have search ...
7
votes
2answers
2k views

How to indent a long sentence in an algorithm

In this algorithm format I want the the "Considering the jth...." to be having the same indentation throughout even in newline. The Code is as follows: \documentclass{article} \usepackage{amsmath} \...
6
votes
1answer
2k views

Smaller parskip than half for KOMA-Script?

I am using the documentclass scrbook. To mark paragraphs I need both vertical spacing and indentation. I know that KOMA-Script supports the option parskip or halfparskip, however, this disables the ...
5
votes
2answers
2k views

ntheorem environment with indentation

Considering this post theorem environment with hanging indentation and Stefan's answer, I'd be interested in the same approach with ntheorem. I've been through the .sty file but I have hard time ...
2
votes
1answer
1k views

What width value corresponds to the Tufte fullwidth environment?

In Tufte-LaTeX, I'd like to manually create a full-width environment using minipage rather than the package's fullwidth environment. What width value should I supply to minipage to match that of the ...
11
votes
2answers
3k views

How to get multi-line chapter name with ClassicThesis package?

I'm using the ClassicThesis by Miede for writing my thesis, the support package is Arsclassica. It's a nice template, however I got a little problem with the Chapter name, some of them can be very ...
7
votes
1answer
1k views

Is there a default / official / standard Vim indentation file for TeX, or just best practices for TeX source indentation?

If you see here, the author mentions an "official version" of an indentation script from Johannes Zellner. The link is broken and while there are traces of Zellner all over the interwebs, I can't find ...
6
votes
2answers
8k views

Indentation in TOC and Lists of Figures/Tables

I am just starting to use Latex to write a university report. It does feel like a steep learning curve, and is at times frustrating, but I guess it is because I'm very new to it. I got a question ...
5
votes
2answers
2k views

Indentation in list environment

How can I specify explicitly both the indentation of the label and the actual item's text from the left margin in a list environment. I would like to achieve the following:
4
votes
3answers
3k views

indentation of a whole paragraph

My problem is that I would like to write something like in LaTeX: But I can't seem to do it wihtout reading like: Which is pretty anoying to do all the time, in the middle of writting. Is there a ...
4
votes
2answers
117 views

Indent of members of a set in biblatex

Using a @set container (at least something similar but for this question a @set should do it) I get the following: Since this is a bit hard to read I would like to have this instead: Everything I ...
3
votes
1answer
3k views

How to indent chapter headings in a TOC (memoir class)

The current formatting of my TOC is: TABLE OF CONTENTS LIST OF TABLES....................................................... Page No LIST OF FIGURES............................
3
votes
1answer
2k views

Wrap figure in theorem-environment

I'd like to wrap a figure around a theorem-environment but when I use the wrapfig or \parpic environment the text overlaps the figure. Plain text automatically wraps around a \parpic figure but the ...
21
votes
3answers
2k views

Hanging punctuation with quotation marks in left margin?

Plain TeX has a method of creating hanging punctuation, where a punctuation mark/character immediately to the left of some text sits effectively in the margin. I want to do this with quotes, so that ...
9
votes
1answer
24k views

listings: Set tabsize while using spaces for indentation in the loaded file does not work

I am writing a report where I want to include some source code. To do so I use the listings package to load the content of the source files directly. Because of coding standards I am using 4 spaces ...
9
votes
2answers
3k views

What typographic rules are there for indenting paragraphs?

I wonder what typographic rules there are for indenting. Does it require a certain amount of lines to be justified or should it be applied per default. In my opinion, the text colour is not very nice,...
9
votes
2answers
2k views

Roman chapter numbers cause overfull hbox in titletoc-ToC

Overfull hbox in ToC after chapter numbers changed to Roman; see MWE below. With the tocloft package \setlength\cftchapternumwidth{3em} solves the problem. But: Is there any solution to the problem ...
8
votes
4answers
448 views

Calculating the the exact width of the text and a lettrine

This is one question which technically could be broken into two minor questions. I am using a lettrine and some verse text, but the calculation to determine how much to indent the text does not ...
8
votes
2answers
14k views

Enumerated list indentation

I noticed that when I use enumerated list environment it produces an extra indentation to the document. So that if I'm using \usepackage[margin=3cm]{geometry} and then the enumerated list, the left ...
8
votes
2answers
4k views

How can I extend quote's width in moderncv?

How can I extend quote's width in moderncv? I want the quote element to be wider so it would occupy less amount of lines. Here is my minimal working example: \documentclass[11pt,a4paper,sans,english]{...
8
votes
1answer
1k views

Formatting a book with scene markers

I'm laying out my wife's book using LaTeX; I'm using KOMA-Script scrbook as my document class, but I don't think that my question here is specific to KOMA. Between certain scenes, we have scene ...
8
votes
1answer
4k views

Natbib and bibhang don't get along with numbers or super

I am using natbib.sty chicago.bst as my bibtex style sheets. My natbib call looks like \usepackage[numbers,sort&compress,super]{natbib} when I try to change the hanging indent in my ...
8
votes
1answer
2k views

Come back from a subsection

I would like in a Latex document making a sub-section and then go back to the level of the section. But I can find out how to do it. So my code: \documentclass[a4paper, 10pt]{article} \usepackage[...