{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
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
84 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
52 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
51 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
61 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
108 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
84 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
98 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
16 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
81 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
51 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
90 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
56 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
58 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
68 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
64 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
85 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
93 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
132 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
265 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
255 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
44 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
42 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
167 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
156 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
90 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
215 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
93 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
67 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
58 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
225 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
179 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
33 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
328 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 ...
2
votes
1answer
83 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
85 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
88 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
115 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
82 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 ...
5
votes
1answer
119 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: ...
0
votes
1answer
90 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
253 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
105 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 ...
2
votes
1answer
393 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} ...
0
votes
3answers
80 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 ...
3
votes
1answer
49 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.
1
vote
2answers
69 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 ...