Questions tagged [leftmargin]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
115 views

Align the left margin of a tabular environment with the left margin of the paragraph

There seems to be a small left indent to a tabular enviroment, which offsets the left margin of the tabular (first column) from the left margin of the enclosing paragraph. I would like to know how to ...
Blair's user avatar
  • 137
3 votes
2 answers
143 views

How to add a squiggle in the margin next to a paragraph in Plain TeX?

I am trying to reproduce the following in Plain (Xe)TeX (with more oscillations if possible): That is to add a squiggle in the margin next to a given paragraph. I was thinking of the following API: \...
user avatar
1 vote
0 answers
46 views

Leftmargin for theorems with thmtools-package [duplicate]

Is there an easy way to set a left margin with the thmtools-package? \documentclass[ngerman, parskip=full]{scrartcl} \usepackage{amsthm} \usepackage{thmtools} % \declaretheoremstyle[% spaceabove=...
Ulrich's user avatar
  • 917
2 votes
1 answer
71 views

Dramatist package: Reduce left indent before verse / speaker's lines

I want to move the lines spoken by the characters to the left like indicated in the image. Minmal working example: \documentclass[12pt, a5paper, twoside, ngerman]{scrbook} \usepackage[autostyle=true, ...
qwesix's user avatar
  • 25
0 votes
0 answers
63 views

LaTeX Formatting - Left Margins for Vocab Words

I recently started working with LaTeX. I'm currently using it to take notes from an old math text. I like the formatting here with the vocab word in the left margin before its definition. I was ...
hylobates's user avatar
1 vote
1 answer
52 views

Enumerate Environment with Item Numbers in Left Margin and Item Textwidth = Page Textwidth

MWE--- \documentclass[12pt]{book} \usepackage{enumitem,lipsum} \begin{document} \thispagestyle{empty} \lipsum[3] \begin{enumerate}[wide,labelwidth=6pt,labelindent=-15pt] \item \lipsum[13] \item \...
DDS's user avatar
  • 8,796
0 votes
1 answer
64 views

\themysection numbers in left margin (scrbook)

I would like to make chapter/section numbers appear in the left margin of a scrbook document. While the following code is doing this for chapter/section numbers, it is not doing it for \themysection ...
Christopher's user avatar
0 votes
1 answer
58 views

make user-defined labels and items aligned left

I hope to make a unordered list aligned left, i.e. the user-defined labels and items are aligned to the left. For example: \begin{itemize}[leftmargin=*, labelsep=*, align=left, itemsep=-0.1cm, font=\...
Meghan's user avatar
  • 1
0 votes
0 answers
73 views

Declared itemize list of enumitem package prints labels in the left margin. How to fix it?

I have borrowed a way for creating dialogues from the answer of this question: Create a dialogue. The code in this page works fine but when I added it in my document which uses geometry package the ...
miltos's user avatar
  • 2,480
0 votes
0 answers
515 views

Change leftmargin in itemize environment

I have some problems with the itemize environment. I want to change the symbol in an existing environment and for it to look good also change the indents. But there it only changes the indents of the ...
Sebastian's user avatar
1 vote
1 answer
58 views

How to Push a Secondarily Defined Lettrine Out of the Margin of the Page

I am working on a document in which I would like to incorporate a secondary lettrine outside of the one which is mainly used. Consider the code \documentclass{book} \usepackage{fontspec} \usepackage{...
DDS's user avatar
  • 8,796
0 votes
0 answers
70 views

Why does my table of contents not apply leftskip?

I want to use \leftskip in my document to achieve a specific layout effect. Note I'm using titlesec to format headings separately (I don't want leftskip on these). But how can I get the \...
Finley's user avatar
  • 1
2 votes
0 answers
126 views

captionsetup works for one table but not the other

I've adjusted my question below: \documentclass[man]{apa7} \usepackage{array} \usepackage{float} \usepackage[singlelinecheck=false]{caption} \restylefloat{table} \renewcommand\thesection{\Alph{...
LCheng's user avatar
  • 121
0 votes
1 answer
3k views

Adjust overleaf Page Margins

I want to set my page margins as follow "The margins on each sheet must not be less than 40mm on the left-hand size, 20mm on the right-hand side, 30mm at the top and 20mm at the bottom to allow ...
asiddiq's user avatar
  • 11
1 vote
0 answers
168 views

Reverse marginpar keeping marginparsep and marginparwidth with geometry

I have the following MWE: \documentclass[a4paper, 12pt]{report} \usepackage[utf8]{inputenc} \usepackage[bitstream-charter]{mathdesign} \usepackage[showframe]{geometry} \geometry{ includeall, ...
ulilaka's user avatar
  • 111
2 votes
1 answer
102 views

Mark (highlight) a paragraph (\item{…}) with a squiggly line across several pages

I'm studying the nice code from Gonzalo Medina in from Mark (highlight) a paragraph (\item{...}) with a squiggly line for later attention . I love it! It will be very useful to me. However, I have ...
StephaneC's user avatar
2 votes
1 answer
214 views

Align section, subsection and paragraph number in left margin in left in report

I want to align section, subsection and paragraph number in left margin in left. This is my code: \documentclass[12pt]{report}\makeatletter .... \renewcommand\paragraph{ \@startsection {paragraph} ...
Francesco's user avatar
1 vote
2 answers
109 views

Line with left margin and vertically centered text from environment using mdframed package

I am using the mdframed package to put vertical lines in some paragraphs. But I want the text to have a 2cm left margin and all the text to be centered vertically. Neither is working. How could I do ...
A. Cedano's user avatar
  • 453
2 votes
0 answers
298 views

Left margin set different for every /section /subsection

I need to set certain margins for every chapter, section... so each block appears to be 'in his own level'. Not only for the titles but for the whole text in each section. I need it to be ...
Álvaro Ferrero's user avatar
1 vote
1 answer
439 views

How do I move the left margin further to the left to give more room to type?

The default margin is too far over in my opinion which doesn't leave much room for typing out my long proofs I sometimes have to do. Is there a way to move the margin over to the left more?
user228313's user avatar
1 vote
2 answers
97 views

Justify box at the left margin while keeping \parindent glue/obeying \noindent if present

How to define a command which takes two arguments and from the first argument makes a new paragraph where the right margin of a box containing the second argument is justified at the left margin of ...
Marsupial Wallaby's user avatar
0 votes
2 answers
262 views

Make `llap` respect bottom margin

I'm using \llap in a custom environment to write some text in the document left margin, aligned with a code listing (code listing is done using lstlisting). Whenever the code listing is at the bottom ...
hbot's user avatar
  • 117
1 vote
2 answers
257 views

Query left margin of page

Obviously, TeX does know the horizontal position of the paragraphs on the paper. It is what geometry calls left. How can I access it? I suspect there is (or one can define) a simple length register, ...
H. Weirauch's user avatar
1 vote
2 answers
260 views

How to add extra leftmargin only for the body in an environment?

How to add extra left-margin only for the body in an environment? The extra margin should be of same space as the environment-head occupies. For example, what I am getting is this: And what I want is ...
Subhajit Paul's user avatar
1 vote
2 answers
454 views

Resizing marginfigure to the side of a margin?

I want to resize a marginfigure in twoside margin Here is my MWE \documentclass{caesar_book} % -- use dummy graphics \usepackage{mwe} %auto generate the bib file \usepackage{filecontents} % -- ...
Maryà's user avatar
  • 4,830
2 votes
1 answer
130 views

How can I put text in the left margin using enumerate

I'd like to use\begin{enumerate} to create a list of numbered problems, but I want to place text to left of the numeral, in the margin, like this: Any suggestions?
Kendall's user avatar
  • 21
2 votes
2 answers
2k views

How to change margins for a table defined in tabularx environment?

I would like to move my table \documentclass[a4paper, 12pt]{article} \usepackage[top=2.5cm,bottom=2.5cm,left=3.5cm,right=2.5cm]{geometry} \usepackage{ltablex} \begin{document} \begin{tabularx}{\...
Roloka's user avatar
  • 203
0 votes
2 answers
254 views

problems with margins in textual minipages

I'm writing a restaurant menu and i have problems with the left margins of this page, in particular in the paragraph 'Wine'. If I omit \vfill, the code overlaps the two paragraphs but it puts them ...
S Moini's user avatar
  • 53
2 votes
1 answer
5k views

How to set the left margins of enumerate items and itemizes items separately in global ways?

A minimal working sample is as follows: \documentclass{amsart} \begin{document} \begin{enumerate} \item maybe \item maybe \item maybe \end{enumerate} \begin{itemize} \item maybe ...
M. Logic's user avatar
  • 4,115