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
4
votes
1answer
3k views

Increase indentation of a paragraph

I am using the moderncv package for making my resume however I am new to LaTeX, so please forgive me if this has been repeated (I did search) or is too stupid! How do I increase the indent of a ...
2
votes
1answer
2k views

Automatic indentation/framing of nested theorems/proofs

I'm a fan of python, and in the sadly common case where one creates new theorems, definitions, etc within the actual proofs of other theorems, I would like the "inner theorems" to be indented. To ...
6
votes
1answer
9k views

minipage right margin

I want to start a minipage, with the regular left-indentation, but to have its right margin adjusted with regular page right margin. An example of discrepancy: \documentclass{article} \usepackage[...
3
votes
1answer
4k views

How do I add parfor in algorithmic environment?

I want to have a parfor loop in my algorithm listing (it should work exactly as standard for loop works). How to either change the displayed name of for loop or add my own loop which will keep the ...
6
votes
2answers
1k views

Unindented proof in amsbook

I am using the proof environment in amsbook. Unlike amsart, the proof is automatically indented. Is there a way of cancelling the indentation? \documentclass{amsbook} \begin{document} \noindent This ...
3
votes
1answer
494 views

Add some words before counters of enumerate environment in beamer

I want to change the default style of enumerate from item1 item2 to  Stage 1. item1  Stage 2. item2 So I use \setbeamertemplate{enumerate item}{Stage \arabic{enumi}.} \begin{enumerate} \item \...
3
votes
1answer
797 views

How to make Bourbaki's style remarks

I like my remarks comes in the fashion of Bourbaki's. Lines and the "Remark" are indented inwards equally, and the font is one size smaller. I used these simple lines of code: \newtheoremstyle{...
2
votes
1answer
1k views

Beamer and indentation with alltt

The following beamer code \begin{frame}[fragile] \frametitle{PROC TEMPLATE for a fancy graph (part 2)} \begin{alltt} rowaxes; rowaxis /label = 'Infant Mortality (\%)' ...
3
votes
1answer
571 views

Hang of List of schemes

I want to align the second line of long names in a list of schemes like in the second screenshot below. Current situation: I want it like this:
2
votes
1answer
388 views

Changing \@itemdepth value to control indentation

I would like to be able to control the nesting level of an item (so that I can align the text with text that is at a deeper level of nesting.) I have been able to read the value of \@itemdepth ...
2
votes
1answer
1k views

Re-Indent in TeXShop

Is there something as Re-Indent (in Xcode) or Smart Indent (in Matlab) for TeXShop?
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.
101
votes
2answers
304k views

Set noindent for entire file [duplicate]

Possible Duplicate: How to disable automatic indentation on new paragraphs? Is there a way to set noindent for all paragraphs gloablly in latex, so that I do not have to manually do \noindent ...
8
votes
3answers
758 views

How can I indent all text after the label in my example environment

I have built my own example environment for a paper I am working on. I have created a counter to label the resulting blocks of text. Now I want to indent the Text after the label, like so: (1) ...
2
votes
2answers
1k views

New line without paragraph indentation [duplicate]

Possible Duplicate: Define latex command to create new type of heading I have to create a new command that makes a new heading style. Here is a simplified version: \newcommand{\subheading}[1] {\...
5
votes
1answer
216 views

Testing for a blank line (“paragraph”) immediately after \begin{document}

(With this question, I hope to resolve an edge case relevant for my quoting package.) Suppose I define a customized environment for displayed text. It resembles the standard LaTeX environment quote (...
2
votes
1answer
985 views

Text area shifted right slightly using geometry package

I've just discovered the geometry package, which seems like a nicer way of doing things than manually setting a bunch of lengths, and I'd like to set all my margins to 0.75in. I thought this would be ...
4
votes
1answer
320 views

Turn off paragraph indention for a single line

Is it possible to turn off the paragraph indention for a single line? I have the following use case: I open a new section which describes the task of an exercise. Since I use the font size \large for ...
3
votes
2answers
4k views

How to set indentation within grammar environment?

I'm using mdwtools and syntax package to write BNF grammar, I wonder is there a way to set the parindent so that each production line will be center algined instead of left aligned by default? ...
1
vote
0answers
186 views

Auctex indentation with xemacs [closed]

I'm running xemacs 21.4.22 and auctex 11.66 on a win7 PC. Althought I'm quite sure auctex is loaded (e.g. I got the LaTeX menu with some AUCTeX references). I cannot get indentification to work. ...
6
votes
2answers
18k views

How and when to remove the space on the left hand of the beginning of a paragraph?

I have something like that: \section{subsection} ... \begin{figure} ... \end{figure} texttexttext ... It turns out that it does not put the "texttexttext" on the very left hand side... it leaves ...
5
votes
2answers
2k views

Why is the indentation in my alltt environment not consistent?

I am writing a paper that involves some code. I set the code using alltt because I like to use \color and that doesn't seem to work in verbatim or listings. But I am having problems with indentation....
3
votes
2answers
15k views

Customizing indentation in section and subsection headings

I would like to be able to \renewcommand\section and get LaTeX to format the section and subsection headings so that their numbers are left-justified, and the headings are exactly above the paragraph ...
3
votes
2answers
979 views

Removing the line indentation from verses and choruses in a song

Friends, consider the following code using the songs package: \documentclass[a4paper]{book} \usepackage[lyric]{songs} \usepackage{lipsum} \renewcommand{\chorusfont}{\bfseries} \newindex{titleidx}{...
4
votes
2answers
264 views

How can I reformat the lists throughout a document?

Forgive me for asking what I'm sure is such a simple question, but I haven't been able to dredge up an answer off Google. I'm working on a document which contains a series of topic descriptions ...
3
votes
2answers
2k views

Command for paragraph indentation after equations

I want to write two new commands \eqend and \eqcntd so that when I put the command at the end of an equations, The \eqend command puts a "." after the equation and forces the next paragraph to indent,...
13
votes
1answer
587 views

Suppressing indentation of the next paragraph

I'm trying to define an environment/command, with the following property: The immediate paragraph after the environment must not be indented. The following shows my attempt at defining such ...
5
votes
1answer
2k views

How can I create an indented and hanging-indented list with enumitem

I'm using enumitem v3.2 (latest on MikTeX), and want to create a list that looks like this: Some text describing my list: **Item 1**: some text that eventually wraps and hangs onto line ...
6
votes
3answers
9k views

Indentation and line wraps in TeXShop

As pointed out in this question, in TeXShop there is no way to make source paragraphs (i.e. long lines with no hard wraps) follow source indents automatically, that is, while typing. The solution ...
20
votes
3answers
23k views

Remove paragraph indent from abstract in article class

I'm just getting started with LaTeX to write scientific papers. I don't want to have paragraph indentation, so I've used the parskip package to deal with that. However, that doesn't seem to deal with ...
8
votes
5answers
932 views

Paragraph indented to absolute horizontal position.

I am in the following situation: I need to have some text on the first line of a paragraph indented to the normal paragraph indentation point, then I need further text on that same line, as well as ...
3
votes
2answers
2k views

How to define an indentation command?

I'm confused in how I might go about writing a command to create an indention in LaTeX. For example, I am making an outline, and I want the Main Points to have an \hspace of 30pt. How do I create a ...
2
votes
1answer
3k views

Glossaries: Print acronyms with indentation

hey there, when I print the glossary of the package 'glossaries' like that: \printglossary[type=\acronymtype] % acronyms I get something without indentation: A aaaskjdh BADR alksjd blaa FO text ...
9
votes
2answers
4k views

Numbered section hidden from the ToC

I'm writing a set of course notes that has an appendix containing many activities. I do not wish the activities to be shown in the Table of Contents, but I do wish them to be numbered. Here is the ...
7
votes
1answer
3k views

No paragraph indentation everywhere, except for specific paragraphs

By default, I prefer to have no paragraph indentation (which I have implemented by putting \setlength\parindent{0pt} in the preamble of my document), but for my current document I would like to be ...
1
vote
2answers
2k views

Formatting lengths of inner list environment are added to outer list environment

The code \documentclass{article} \usepackage[body={20em,100ex}]{geometry} \newcommand{\abc}{\rule{0.95em}{1ex}\kern.05em\allowbreak} \newcommand{\abcd}{\abc\abc\abc\abc\abc} \newcommand{\abcde}{\abcd\...
11
votes
5answers
3k views

How to define a parshape command with LaTeX?

I want to typeset a book with some \parshape command, for example: \documentclass{article} \usepackage{lipsum} \begin{document} \parshape=4 0.2\textwidth 0.8\textwidth 0.2\textwidth 0.8\textwidth 0....
16
votes
1answer
411 views

Unexpected interaction between microtype and \parindent

The microtype package (or more likely the pdfTeX microtypographic extensions) have a strange interaction with \parindent that bit me. \documentclass{article} \usepackage{microtype} \begin{document} 0:...
8
votes
1answer
17k views

Paragraph spacer: blank line and no indent, instead of indent [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I would like to have my paragraphs separated by a blank line, with no ...
1
vote
1answer
2k views

Figure caption indent problem

The last lines of my figure captions are indented too much or centered. I use floatrow package which usually doesn't conflict with LaTeX. Is it possible to fix this? My preambles are as follows: \...
5
votes
2answers
3k views

Define latex command to create new type of heading

I'm trying to recreate the following functionality using a custom command: \vspace{.15cm}\noindent\textsc{Low Minor Allele Frequency} \\ \noindent Basically a little heading which isn't indented ...
16
votes
1answer
7k views

Should I place \noindent after enumerations, itemization, and descriptions?

I wonder if I should put the \noindent command immediately after enumerations, itemization, and especially after descriptions. For instance: \begin{itemize} \item One morning, when Gregor Samsa ...
13
votes
2answers
2k views

Proper indentation in acronym package

I am using the acronym package in the thesis. This is the first time I am using this so don't know much. But I did something like this. \begin{acronym} \acro{2G}{2nd Generation} \acro{3GPP}{3rd ...
10
votes
3answers
26k views

How not to indent the very first line on a page in LaTeX?

If the first line on a page happens to be the first line of a paragraph at the same time, I would like not to indent it (just as if it is the first line of a section). Is there a way to do this ...
6
votes
1answer
999 views

First line of first paragraph after section/subsection is indented

When writing an essay with the article class, the first line after a section or subsection has somewhere along the way become indented. According to typographic standards (American standards, I ...
5
votes
1answer
1k views

Is there a LaTeX package that lets me explicitely show indentation on paragraphs?

I'm looking for the following sort of effect in my document: Or something like this: Is there a package that lets me do this?
10
votes
4answers
2k views

Why do I need to use \paragraph{} after a \section{} to get correct indenting whereas a blank line suffices for subsequent paragraphs?

I have noticed that whenever I start a new section, subsection, etc., I need to preface my text block with \paragraph{} to get correct indentation for the first paragraph. In subsequent paragraphs, ...
2
votes
1answer
393 views

How to correct this indention problem?

I use this makro to define a question: \def\bigfreequestion#1\par{#1\par\nobreak \begingroup\nobreak \advance\leftskip by 1pc \hrule width 0pt height 1.7\baselineskip\hrulefill \hrule ...
5
votes
4answers
2k views

How Can I Avoid Writing “\noindent” After Equations [duplicate]

Possible Duplicate: How can I get rid of indentation after an equation? Just a quick question: For clarity, in my LaTeX files I always leave a blank line after equations: $$ equation $$ <- ...
7
votes
3answers
1k views

Long paragraphs follow source indents in TeXShop

How do I make long paragraphs follow the source indents in TeXShop? This what I usually get: How do I make succeeding lines follow the indent of the first line? This is so that it would be easier to ...