Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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}.

1
vote
1answer
30 views

noindent first paragraph of subfiles

I'm using the subfiles package and would like for the first paragraph of each included subfile to have no indent. However, I'd like to do this in the main file instead of adding \noindent to the ...
0
votes
1answer
28 views

Paragraph indentation after using `\ensuremath`

I have created a macro that writes the progressive number of the exercises in an exam sheet. The macros works in normal mode and in math mode, so that I am able to write something like this: \...
0
votes
0answers
23 views

How to fix the glossary style/ spacing between abbreviation and full form

And my glossaries look something like the attached figure. How do I create a decent spacing and alignment in my glossaries? MWE is as follows: \documentclass{report} \usepackage{datatool-base} ...
2
votes
1answer
63 views

In bibliographies, how to present each work by an author after the first as a subindented paragraph with hanging indentation?

I'm trying to achieve, in a BibTeX- or BibLaTeX-produced bibliography, a style used in scholarly books in conjunction with author-date citations that is exemplified by the following: The first entry ...
1
vote
0answers
16 views

No indentation in local ToC

I do not want indentation on the local ToC. I am using the titletoc package, also I use titlesec and titleref packages. \documentclass[twocolumn]{book} \usepackage[english]{babel} \usepackage{...
0
votes
2answers
39 views

Latex Table help with indentation

How do I create a table like this one:
3
votes
2answers
27 views

How can I fix this overflowing parbox issue?

I am trying to use an indented parbox, but the \textwidth command in the width parameter doesn't account for the indentation, and so the text overflows outside of my margin. How could I fix this? ...
0
votes
0answers
22 views

table - rows not indented equally

Using this code \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{multicol} \usepackage[ngerman]{babel} \usepackage[margin=1in]{geometry} \begin{document} \begin{table}[!htbp] \...
9
votes
2answers
827 views

When does LaTex add indentation at the start of a paragraph?

Sometimes a paragraph starts with an indentation (which could be turned off with \noindent) but sometimes it does not. For example, I have currently an article where the section content is not ...
1
vote
1answer
99 views

How to make a local indent in LaTex?

When we are writing code, editors will usually make an local indent for a logic block (shift rightwards uniformly in this block), for example, if...else..., or for (...){ } However, I also want to ...
0
votes
1answer
25 views

enumerate is not indenting correctly

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{enumerate} \begin{document} \begin{enumerate}[i] \item $|\langle v, w \rangle| \leq \norm{v} \norm{w}$ \item \norm{v + w} \leq \...
0
votes
0answers
19 views

Indenting Paragraph Beginnings in proof environment

I would like to type a proof using the amsthm proof environment that's broken into multiple paragraphs, but the indentation style within the environment is different from plain text. For example, when ...
1
vote
0answers
62 views

How to make sure the lines don't start with some space? [duplicate]

I am formatting a document in LaTeX. I have the following code: \documentclass[10pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \...
2
votes
1answer
25 views

Misalignement and interword spacing with mono font

I'm making a document with XeLaTeX and I would like to use a mono TTF font (Liberation Mono) and a special (reversed) indentation for my paragraphs. I don't understand some things about words spacing ...
0
votes
1answer
30 views

exam: How to add a vertical skip to the question head and remove its body indentation?

For the following MWE, \documentclass[addpoints]{exam} \begin{document} \setlength{\parindent}{0pt} \qformat{\textbf{\underline{Question (\thequestion) [\totalpoints\ Marks]}}\hfill} \...
1
vote
1answer
37 views

Indent unnumbered chapter in TOC with multitoc (in presence of tocstyle)

I'm having a problem mixing multitoc with tocstyle. What I want is my unnumbered chapters in the TOC to be indented (in this case \addchap{Introduction}). I figured out that \usepackage[...
1
vote
1answer
34 views

Custom enumerate margin

I would like to use the enumerate environment in such a way that all the text in the listed items is fully aligned to the left, in such a way that labels are aligned to the left, and aligned to the ...
0
votes
1answer
34 views

How to center and indent a particular paragraph in LaTex?

I just want to centre and indent a particular paragraph. Everything else shall stay the same? How can I do this in LaTex?
1
vote
1answer
55 views

Indention of article's title in LateX

I am looking for an elegant solution to indent some lines in an article. In particular, the article's title, author's name, affiliation, abstract and keywords. It appears to be simple but I just ...
0
votes
1answer
83 views

How would you typeset the following

\documentclass[12pt]{article} \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{enumerate} \newenvironment*{exercise}{} \newcommand{\R}{\mathbb{R}} \begin{document} \begin{exercise}{1.10.} ...
0
votes
1answer
21 views

How to remove minted indentation level with correct latex indentation?

When writing with minted code snippets I dislike to remove indentation in latex source, so correct results are generated. Is there a way to substract latex indentation-level from minted indentation? I ...
1
vote
0answers
18 views

flushleft by using gb4e.sty [duplicate]

My tags are follows: \documentclass{book} \usepackage{showframe} \usepackage{gb4e,qtree,skull} \begin{document} \begin{exe} \ex\emph{Superiority-obeying and Superiority-violating multiple \emph{...
0
votes
0answers
24 views

Need a way to nest line breaks in tabularx environment for Calendar

I am trying to make an academic calendar package. I know there's a veritable horde of them out there and I've looked through many of them but can't seem to find one I like. Since I am (usually) pretty ...
0
votes
1answer
32 views

Is there a way to have a constant space between the (sub)section number and the heading in the ToC

I have a document which unfortunately has a section 10.13 and a subsection 10.13.1 and I'm sure there will be many other such examples. Unfortunately, this makes for an extremely ugly table of ...
2
votes
2answers
98 views

Indent paragraph both on the left and right without any external packages

I am following the AAAI 19 Template from https://aaai.org/Conferences/AAAI-19/aaai19call/ where a text abstract is supposed to be formatted in a way that it is indented 10pt to the left and 10pt to ...
6
votes
1answer
58 views

\textit causing problems when used with enumerate

I use enumerate for making a list. The first sentence of an item should be italic. Unfortunately the first capital letter (item b) and c)) looks wrong. It looks as if it is indented. Has anyone a ...
0
votes
2answers
51 views

Toc: subsection title of first line is not aligned with its second line

My subsection title continues in the 2nd line with an indent in the beginning. I want it to be aligned with the first line of the subsection title. Any suggestions? Solution should not contain \...
1
vote
0answers
30 views

Command using lettrine affects all paragraphs

I'm completely new to LaTeX. I found a template and it creates a command using the lettrine package: %An initial of the very first character of the content \usepackage{lettrine} \newcommand{\initial}[...
2
votes
1answer
37 views

\lstlistoflistings remove indent in \documentclass{article}

In my \documentclass[12pt,a4paper,oneside]{article} I want to remove the indent of \lstlistoflistings. There is a possibility like in the following to remove the indent for LOF and LOT. Is there ...
1
vote
2answers
48 views

indentation for nested lists and short labels with enumitem

I am trying to have a nested list with a label, using the enumitem package with the "shortlabels" option. But when I add the label "Note" to the list items, the indentation is aligned with the number ...
3
votes
4answers
79 views

Remove indent of first item without producing empty line

I would like to add keywords to my article. I used \renewcommand{\abstractname}{Keywords} to create the environment in style of the abstract. If I now add keywords using \itemize, the first item will ...
3
votes
2answers
60 views

Add more indent of section and subsection in table of contents

I want to add more indent of section and subsection in table of contents, align with the name of the chapter, into this This is my code \documentclass[a5paper,11pt]{book} \usepackage{newtxtext,...
1
vote
2answers
50 views

How to make special indents for a block of text

This is what I need: Headline First item in list continuation of description of first item if first line gets full second item on list continuation of description of item 2 ...
1
vote
1answer
50 views

Indentation & Glossary

I am working on a book and I want to include a glossary at the end of it. I face a couple of issues: It seems that the glossary has a left margin (see the distance compared to the "Glossary" title). ...
1
vote
2answers
21 views

Another indentation problem within minipage using Overleaf

I will have to write my master thesis soon, so now I'm learning tex using Overleaf. I started with making resume, which I constantly have issues with indentation. I came across a lot of suggestion and ...
1
vote
1answer
30 views

Change indent of section* in cls file

I am using a custom latex class (https://github.com/quantum-journal/quantum-journal/blob/master/quantumarticle.cls). Using this class, the titles of unnumbered sections are indented slightly. However, ...
5
votes
2answers
211 views

How to remove the indentation after the optimization problem

\documentclass[conference]{IEEEtran} \IEEEoverridecommandlockouts \usepackage{optidef} \begin{document} \title{Title} \author{ \IEEEauthorblockN{Author} } \maketitle \section{Test} The ...
1
vote
1answer
44 views

Indenting paragraphs within a custom theorem environment

Issue: In my custom theorem environment I would like the beginning line of a new paragraph within the theorem environment to immediately follow the line above it and also be indented: MWE: \...
1
vote
1answer
54 views

Section and text left indentation

My MWE: \documentclass[a4paper,12pt]{article} \usepackage{showframe} \usepackage{lipsum} \usepackage{geometry} \geometry{paper=a4paper} \geometry{bindingoffset=1.5cm,hmargin={1.5cm,1....
0
votes
1answer
31 views

Set subsection (Level 3) indentation to 0.5 inches from left margin

I am using the following class to type my thesis: https://interval.louisiana.edu/thesis-class/ULL-thesis-class-explanation.html What edits should I make to the class to fix the indentation problem? In ...
1
vote
1answer
42 views

Indent texts within an enumerated list

What I want to is to get is the sentence Next follows Items 3 to 6, to be indented not with the enumerated list itself but with the normal indentation. Appreciate any suggestions. \documentclass{...
2
votes
2answers
121 views

Change amount of hanging indentation in reference list

I want hanging indentation, by half an inch, in the References section. That is, apart from the first line, subsequent lines for each entry should start at 0.5 inch from the left. My MWE consists of ...
1
vote
0answers
30 views

Indenting and justifying a paragraph [duplicate]

I would like to force the justification (after a \raggedright command) of a paragraph while also having it indented. I tried the following commands but this doesn't seem to work (only the first line ...
5
votes
1answer
69 views

How can I force `intertext` command to retain the default indentation in `align` enrironment?

intertext command seems to remove the indentation. Is there a way to get the normal indentation while in math mode? \documentclass[11pt, a4paper]{IEEEtran} \usepackage{amsmath} \usepackage{amssymb, ...
0
votes
2answers
38 views

Indenting individual elements in ToC

Sorry if this seems blatant and obvious, but I'm only beginning my adventure with LaTeX and I've run into a problem to which I cannot find a solution even among the existing questions. I need first ...
0
votes
1answer
33 views

Indentation in ntheorem with inserted picture

My question is additional to Wrapping about of a tikzpicture placed between two theorem-environments. As one can see from CTAN:Text flow, the method of wrapping figure inside theorem-like (lists,...) ...
2
votes
2answers
88 views

Graphic tree-like symbols in text

Just dont know how to properly form the question... perhaps it's easiest to show it in a picture.. I have a simple table: \begin{table}[] \centering \begin{tabular}{ll} 1 & Test1 \\ 2 & \...
2
votes
2answers
80 views

Indentation in package exercisebank

In using the package exercisebank, is it possible for "Exercise" header, "intro" material and "problem" numbers to start at the same column of the text? For example, the package prints Exersise 1 ...
1
vote
1answer
41 views

Text disappearing off page?

I am trying to put some items into a numbered list, and I know that to do this, I need to use the enumerate environment. However, when I do this with the following code, the text within the list ...
1
vote
1answer
91 views

KOMA Script tocstyle tocline, no indent on second line of large entry

How do I un-indent the second line of a large entry in the table of contents with tocstyle tocline on the KOMA Script class scrartcl? I found the same question here: ToC: How to no-indent the second ...