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
1 vote
1 answer
21 views

How do I align the start of each \item in an enumerate environment with left-aligned labels?

Here's my MWE using LuaLaTeX and the scrbook KOMA-Script class: \documentclass[% % draft, twoside, headings=openany, % parts/chapters start on any page whether it's odd or even DIV=15, % division ...
user avatar
0 votes
0 answers
15 views

Mdframed. First line jf block with negative indent

I use mdframed as so \documentclass[twoside, 12pt, openright]{extbook} \usepackage[a5paper, outer=15mm,inner=15mm,top=20mm,bottom=15mm,footskip=1.5em,headsep=4pt,headheight=1em]{geometry} %\usepackage[...
user avatar
1 vote
3 answers
61 views

How to define a LaTeX shorthand for nested indentation "contexts"

I am looking for a convenient way to code nestable "contexts" whose extents are displayed through indentation. Each context consists of a sequence of "statements" (i.e. lines) and/...
user avatar
  • 769
0 votes
1 answer
29 views

Indenting text from '\enumerate'

I am trying to write a document that has the same question in two places. So, I've written that question down in a seperate tex file, and used the \input command in both places to copy the question. ...
user avatar
0 votes
0 answers
28 views

Floats in text with indents

In an effort to make this as concise and clear as I possibly can, I will format this in the form of lists. 1. What I aim to achieve Being able to properly place floats within a text with shifted left ...
user avatar
  • 1
0 votes
0 answers
39 views

Unwanted indentation in bibliography [closed]

I get an unwanted indentation in my bibliography, the first source is where it should be but all the others are indented like in the attached immage. I don't get any errors when i compile, i've tried ...
user avatar
  • 1
0 votes
1 answer
15 views

Increase minipage indentation inside titlepage

I am having some trouble with minipages: I would like to have two minipages side-by-side, to get an output ressembling that of the linked image. The supervisors and reading committee columns are not ...
user avatar
1 vote
0 answers
65 views

How can I cancel the unpleasant indentation of the enumerate environment?

I want to change the default indentation of the enumerate environment, so I use the enumitem package. Here is my code: \documentclass{article} \usepackage{enumitem} \usepackage[default-range=1]{lipsum}...
user avatar
0 votes
0 answers
45 views

Specifying a Second Line Indentation When addtocontents Entries are Long

This post asks a more general question than Formatting the Display of Multi-Lined addtocontents Entries. Consider: \documentclass{book} \begin{document} \Large \addtocontents{toc}{\protect {\textbf{I....
user avatar
1 vote
0 answers
42 views

Formatting the Display of Multi-Lined addtocontents Entries

In the following MWE \documentclass{book} \begin{document}\large \addtocontents{toc}{\vskip 10pt} \addtocontents{toc}{\protect {III. The words of this sentence are quite a few; I would like the ...
user avatar
1 vote
1 answer
46 views

How can I "indent a full row" in a table

I don't even know how to ask this. I've been using longtable in order to create invisible tables so that I can do the following explanation of formula parameters(if there's a better way of doing this ...
user avatar
1 vote
1 answer
30 views

hangindent hangafter document-wise settings

I'm after paragraphs where lines after the 1st are indented (the 1st line isn't), e.g. Text ... this is the 2nd line this is the 3rd line Setting \hangindent & \hangafter in the preamble doesn't ...
user avatar
  • 23
1 vote
1 answer
25 views

Help in indenting second line under tabular environment

\begin{tabular}{ @{} >{\bfseries}l @{\hspace{1ex}} l } Programming Languages: \ & C, Python \\ Simulation And Modelling Software: \ & GROMACS, VMD, PyMol \\ Bioinformatics Tools: \ & ...
user avatar
  • 11
0 votes
0 answers
47 views

How to indent minted code blocks?

I'm using org-mode to generate the pdf and set the code backend to minted. The org source is shown as below: Some text. #+begin_src c #include <stdio.h> int main() { printf("Hello, ...
user avatar
0 votes
1 answer
67 views

Indentation problem

For a lexicon I am working on, I created the following command: \newcommand{\deriv}[2]{\newline \setlength{\parindent}{10pt}\indent{\footnotesize{• #1} \textit{#2}}}. It works perfectly, but if the ...
user avatar
2 votes
1 answer
35 views

Trying to modify the appearance of a description environment

I have to do something like this but I don't know how to do it. I tried with \newcommand and \newenvironment but it seems that it's the wrong solution if you have any idea please tell me.
user avatar
  • 21
0 votes
0 answers
14 views

Show dot in section and subsection number in table of contents

\documentclass{book} \usepackage{amsthm,titlesec} \usepackage{tocbasic} \newcommand*\chapternumwidthintoc{7em} \newcommand*\chapterprefixintoc[1] {\MakeUppercase{\chaptername}~#1\enskip} \...
user avatar
0 votes
1 answer
51 views

Indenting the paragraph by .5 inches

I am using the indentfirst package. This will only let me indent it by .25inches. How can I indent it by .5 inches? any help would be great
user avatar
  • 161
1 vote
1 answer
33 views

indent entire item block in enumerate

I have the following MWE: \documentclass{article} \usepackage{lipsum} \begin{document} \newenvironment{tight_enumerate}{ \begin{enumerate} \setlength{\itemindent}{-1.5em} \setlength{\itemsep}{...
user avatar
0 votes
0 answers
13 views

How to add indentation in table of content subheading/subsection?

I have the following code for my dissertation cls file: thesis.cls I was trying to put indent to my table of content. I am not sure how to fix this using the .cls file. I can see \vskip but not sure ...
user avatar
3 votes
1 answer
138 views

Changing format of paragraph skip for a 400-pages document

I am writing a long LaTeX document using the book documentclass, and after having typed already almost 400 pages, I have decided I want to change the format for new paragraphs to be more similar to ...
user avatar
0 votes
1 answer
46 views

Glossaries - how to change the left indent of child entry names?

I'm trying to build a hierarchical glossary with relatively long, multi-paragraph descriptions. I'd like the descriptions to start on the line following the name of both, the parent and child entries (...
user avatar
  • 87
0 votes
0 answers
13 views

Indent for Item lost when using Multicol

am new to Latex and am struggling with some of the simple things and this has me stumped. Below is a part of my code, and the output. As you can see I am making a multiple-choice question template. ...
user avatar
1 vote
3 answers
75 views

Author Footnote Indentation

How do you set the footnote margin for footnotes included in \title, \author, or \date? \documentclass[11pt, a4paper]{article} \usepackage[hang, flushmargin]{footmisc} \title{Title} \...
user avatar
  • 591
1 vote
1 answer
50 views

How to indent paragraphs within a block quote?

I have to do a block quotation that spans across one paragraph into the next. The 17th edition of the Chicago manual of style seems to advise (in 13.22) that indents should be used for new paragraphs ...
user avatar
2 votes
1 answer
55 views

What's the cleanest way to set \emergencystretch only for one list item?

Feeding pdflatex with \documentclass{article} \pagestyle{empty} \usepackage[USenglish,latin]{babel} \babelprovide[hyphenrules=nohyphenation]{latin} \usepackage{enumitem}%%% the same problem occurrs ...
user avatar
1 vote
0 answers
39 views

Looking for a Comparatively Simple Way (without Enumitem) to Not Indent Enumerate Items

Consider the following simple code which by itself, nicely displays the enumerate items without indentation: \documentclass{book} \usepackage{enumitem} \begin{document} \thispagestyle{empty} \Large \...
user avatar
  • 4,907
0 votes
1 answer
44 views

How to remove indent for fbox?

The following is my Latex code in Overleaf: \noindent\large\textbf{Title}\\ \rule{0pt}{3ex} \noindent\normalsize\fbox{\textbf{Theorem:} \normalsize 2 + 2 = 4}\\ \rule{0pt}{2.5ex} \textbf{Proof:} ...
user avatar
0 votes
2 answers
34 views

Nomenclature Indentation for an Additional Column

I am listing some nomenclature with the following part of code: \documentclass[12pt]{article} \newlength{\nomenlabelindent} \setlength{\nomenlabelindent}{4em} \newenvironment{nomenclature}{% \...
user avatar
  • 147
1 vote
1 answer
143 views

Latex indentation

I'm writing an article in LaTeX and in most cases, I do not want to have space at the beginning of the paragraph. Thus, I used the \setlength\parindent{0pt} command in the preamble. However, there are ...
user avatar
  • 77
0 votes
0 answers
6 views

Possibility of \newdualentry with multi-paragraph descriptions having indents?

I'm wondering whether there is a way to print multiple-paragraph \dualentries with the glossaries package, having indents? While producing indented multiple-paragraphs works perfectly fine with \...
user avatar
  • 87
1 vote
2 answers
52 views

Long table additional caption indentation

When the caption is too long to fit in just one line, I want something like this: Table 1: whateverj lakjsdfñ lkjasdfl kjasñdlf j wastathahtaht Table 1 (cont.): ...
user avatar
  • 1,139
1 vote
1 answer
30 views

Two split environments have different indents

\documentclass[tikz,border=10pt]{standalone} \usepackage{amsmath} \begin{document} \begin{equation*} \begin{split} \sin(B\hat{A}M) & =2\sin(15)\sin\left(135-B\hat{A}M\right)...
user avatar
  • 159
0 votes
0 answers
32 views

Whitespace rendering + selectable indentation spaces for python/yaml/etc code snippets

I have three related issues here and I wonder, which approaches/libraries/built-in utilities may help me achieve the following: First There are many programming languages and file formats which depend ...
user avatar
  • 11
1 vote
1 answer
38 views

Reledmac - Extra space when using options nonum / nosep in footnotes

I would like to solve the following problem with reledmac. In my critical edition (poetry), I have to include some readings for the titles, too. Since these titles are not lines of the poems, they are ...
user avatar
  • 111
0 votes
0 answers
36 views

How to bring back indents in the whole document after using minipage?

I used minipage to create two tables next to each other by using minipage environment. Unfortunately, the text after these two tables don't want to get any indents - it happens like that in the whole ...
user avatar
  • 1
1 vote
1 answer
79 views

indentation in Koma-script table of contents

I would like to indent the chapter lines of the table of contents (it includes parts and chapters) but apparently I am not able to do it. I understand that the Koma-script I am using (scrbook) should ...
user avatar
0 votes
0 answers
25 views

Formatting citation in a bibliography: remove the indent after first line of authors (and decrease margin)

I have a document where I would like to format a bibliography for a CV First I would like to remove the indenting after the first lines of author of one citation (circle pointed by the red arrow) ...
user avatar
  • 779
6 votes
2 answers
145 views

Create enumerate like indented nesting environment

I want to create an environment that will have indentation to all the content inside it. Similar to \begin{enumberate}- \end{enumerate} but without need of writing \item I tried doing it like this \...
user avatar
  • 413
1 vote
1 answer
37 views

Indentation with custom labels

I need help please with indentation within a description list where custom labels are being used. The mwe below shows my problem. Thanks! \documentclass{article} \usepackage{enumitem} \setlist[...
user avatar
  • 31
2 votes
2 answers
63 views

Is there a way to remove indents for question parts>

For the example above, how can I remove the indent from the parts so (a), (b), (c), (d) all line up with "Question 1"? \documentclass[addpoints, 12pt]{exam} \usepackage[a4paper, total={6in, ...
user avatar
  • 191
2 votes
1 answer
77 views

How can I make text look like this?

My output should look like this. I know I have to use hangindent or sth., but I can't figure out how to achieve it that between the indent and the new line there is no space. When I try it with ...
user avatar
1 vote
0 answers
45 views

memoir Template for APA style

I typically use Chicago style, but a student of mine is interested in doing APA (which I know only peripherally). I've created a template using memoir class, which almost does what is required. Not ...
user avatar
0 votes
0 answers
22 views

Creating custom environment for normal paragraph formatting

I am using a template which plays a lot with the formatting, I need to include a section with an abstract ripped from some other work that is formatted as a "normal" paragraph with the ...
user avatar
3 votes
2 answers
86 views

Including an optional answer in an exam paper

I would like to include answers in an exam paper so that the paper could be compiled in two different ways: with and without the answers. The way this is usually done in British universities (or at ...
user avatar
  • 69
1 vote
3 answers
49 views

indent individual \item in enumerate

I want to be able to indent individual items in an enumerate environment. I know about {\setlength\itemindent{25pt} \item Text}, but this fail when the content of the item breaks into a new line: MWE:...
user avatar
  • 101
2 votes
1 answer
59 views

Indent unnumbered sections in TOC for ams classes

I would like unnumbered sections (more specifically unnumbered subsubsections) to appear in the table of contents, indented to their appropriate depth (i.e. as if they were numbered). I am using the ...
user avatar
  • 1,133
0 votes
0 answers
88 views

Automated customized indentations in first line by different levels of titles

I’m trying to create a Latex template to write my thesis. As usual, my university impose some formatting rules. I managed to implement all but this. The thesis can have 5 levels of titles. First one ...
user avatar
  • 1
2 votes
1 answer
44 views

How to make a uniform indent for a list of parameter as the following?

I want to make a list of parameters, where the name of the parameter is on the left, and the parameters are on the right-hand side but is on the same indent for each line (exactly like the following ...
user avatar
0 votes
1 answer
53 views

How can I use \raggedright with indent of 1.27 cm? I saw a post about this somewhere but it did not work

\documentclass[a4paper, 12pt]{article} %Paragraph jumps and indentation \setlength{\parskip}{1.6em} \setlength{\parindent}{1.27cm} %Border \usepackage[left=1in, right=1in, top=1in, bottom=1in]{...
user avatar

1
2 3 4 5
38