3
votes
1answer
37 views

how to extend header over the page margins?

I have defined the page margins and header as appears in the codes bellow, but I want the header to cover the page margin width too, in the pages after page 2 (all pages except the first page). I ...
0
votes
0answers
14 views

Define color in margin notes [duplicate]

When I define colored margin notes, the place of the note disturbs. what should I do to make it correct? Please note that I want only some texts be colored, not all the text in the margin. % % ...
2
votes
1answer
26 views

Right aligned left side margin notes on same line as content

I'm trying to write a command that I can use to set up right-aligned left margin notes easily, and not be worried about the flow of content. Basically I would like the margin note to be on the same ...
1
vote
1answer
17 views

Put longtable caption in marginpar and keep compatibility with caption package

After some research I found a way to place the caption of a longtable (ltablex) into the left marginpar, aligned with the top of the table. Therefore, i adapted this solution stackexchange.com: ...
6
votes
1answer
47 views

Footnote taking width of *both* body and margin note

I am wondering how can I adjust geometry parameters (or using other packages) to make the layout of footnote taking the width of BOTH body and margin note. Thanks,
1
vote
1answer
61 views

How to use margins to center a table

I want to realize something like in this two pictures. I want to use a part of the margins for notes (draw even tables!). I want that the margin change from odd page to even page (I think it's simple ...
1
vote
0answers
44 views

Horizontal placement of graphic in left and right margins

I want to place small graphics in the outer margins of my 2-sided document. I've been using, e.g., \marginpar[{\hfill \includegraphics[scale=.3]{figures/ivy-univ.png}\hspace{8 pt} }]{ ...
0
votes
0answers
27 views

Make left-hand pages' `\marginpar` text right-aligned [duplicate]

\marginpars only appear on the right margins of right-hand pages of my manuscript. For left-hand pages, they are are so far to the left that they aren't even on the page. The reason is because the ...
2
votes
1answer
182 views

Tikz horizontal alignment

I have a prepared page margin but i require alignment three Tikz graphics horizontally, the three graphics width is more what \textwidth but minor what \textwidth + marginpar. How i can position ...
3
votes
1answer
64 views

\marginnote misalignment in \begin{split}

When I use \marginnote in \begin{equation}\end{equation}, it seems to work fine, but if I try to place a margin note inside a multiline equation (at least when I use \begin{split}\end{split}), there ...
6
votes
2answers
145 views

Exclude line numbers from margin width

I am using the lineno package to add linenumbers on my twosided document. However, I have a restriction to leave a margin of 2.5cm inner and 4cm outer margin. This has to be completely free space. ...
3
votes
2answers
323 views

How to remove margin notes space in book class?

By default, the "book" class produces a layout with a big space for margin notes. One consequence of this behavior is the binding side has a smaller margin than the other side (with the twoside option ...
3
votes
1answer
198 views

Lost control with \marginpar

I want to include marginal notes only on the left side of a large document. (For your information, I have included all the packages listed in the preamble of the document in the following minimal ...
4
votes
1answer
220 views

\marginpar trick: not considered as float

I've found on the net a useful trick that does exactly what the title says. This is the code: \newcommand{\mymarginpar}[1]{% ...
1
vote
1answer
261 views

Set custom page text/line width in memoir for sidepars

I wish to lay out a page using the memoir package so it has dimensions something like this: # <-- 21.6cm (Letter stock) --> # # Margin | Content | | Note | Margin # ...
6
votes
3answers
172 views

\listings environment inside \marginnote?

Is it possible to use \listings or similar environment inside \marginnote or in margins in general? \marginnote{ \begin{lstlisting} test \end{lstlisting} } If not, what would be a ...
5
votes
1answer
353 views

Implementing marginfigure

sorry for the absolutely beginner question here. I've been looking at the tufte-latex class, specifically the tufte sample book. It makes use of marginfigures, which I believe are provided by the ...
2
votes
2answers
161 views

Add vertical line margin-aligned from a given point through subsequent pages

Using the memoir package, I would like to have a vertical line on my margin like this: Some leading content ... vertical space ... ---------------------------------- XYZ | Content A | ...
2
votes
2answers
189 views

how to control font and paragraph formatting in margins

i'm having a hard time to figure out how to control the exact appearance of margin text (such as is output by the \marginpar command). i'm using XeLaTeX with packages such as geometry, fontspec, ...
5
votes
1answer
465 views

Asymmetrical layout in two-sided document

I use two-sided document mode in Book class KOMA Script. It works well in the sense that the ToC, chapters, titles starts from the odd pages. Exactly we I need in a book. In a recent book I need to ...
5
votes
2answers
3k views

Margin notes on both left and right?

I've been trying to put margin notes in both the left and the right margins at the same time. My attempts have gone something like: Lorem{\reversemarginpar\marginpar{Left}} ipsum ...
5
votes
2answers
925 views

Why does the \marginpar not appear on the left page?

I am working on a book right now and the margin notes are not appearing on the left-side pages. I tried using mparhack but it made no difference. Is my geometry, fancy style or another package ...
2
votes
1answer
642 views

margin note left of an equation? [closed]

How is it possible to place a margin note left of an equation? I'm using scrartcl from KOMAScript. I set \reversemarginpar, then I tried with \marginnote from the package marginnote and also with ...
14
votes
2answers
610 views

Inserting a line to separate the text and the margin note

How can I insert a vertical line through a whole page to separate the text and the margin notes?
12
votes
2answers
997 views

How to create twoside book with oneside margin?

I want to make a twoside book with oneside margin such: odd pages: even pages: full header, with margin figure(or table): I used tufte-book class, but cannot set margins as i need. It's margins ...
1
vote
1answer
292 views

Change marginpar for each page

I want to be able to change the marginpar and right values for each page, depending if the page has notes or not. MWE: \documentclass{article} \usepackage[top=3cm, bottom=3cm, left=3cm, right=8cm, ...
9
votes
2answers
829 views

Sidenote formatting

I want to have sidenotes (alternate footnotes) in the margin. I found this code on the Latex Community website. \newcommand{\sidenote}[1]{% ...
15
votes
2answers
425 views

Periodic word count in margin

I need to have a continuous word count for an assignment. This is either in the form of a note in the margin or one parenthesised in-text every 100 words or so. For instance, ----- TEXT ------|- ...
4
votes
0answers
239 views

Wrapping Margin Notes [closed]

I'm writing a small list of things and want to insert a small kind of box into the margin on right side of the list. I'd like it to behave more or less like this: If it fits into the margin fine. If ...
2
votes
1answer
709 views

Aligning margin note with line spacing different from main text

I have a main text column with margin a line separation of 1.05 (\setstretch{1.05}), and margin texts generated with a tighter line separation with the following macro: ...
10
votes
1answer
505 views

How to make all figures float on the outer margins of two-side document?

I want to make a double-sided problem booklet that contains several questions. Each question has a distinct number and may have zero or more figures. Each figure has a caption and floats on the outer ...
7
votes
1answer
511 views

Adding something automatically to every paragraph in an environment

I'd like to know if it's possible to have something added automatically to any paragraph in a given environment. I use LaTeX mostly for doing fill-in-the-blank worksheets at the school where I work. ...
8
votes
2answers
2k views

How to get marginnote to use the whole margin space?

I'm typing up a document where I'd like to add notes to myself on the side margin. I'm using marginnote and using the geometry package for specifying customized margins, I've allocated 5 cm for the ...
1
vote
2answers
1k views

How to avoid getting cropped marginpar?

I'm using the fixme package to add notes to various parts of my thesis draft. However, if I set the margins using the geometry package, I notice that the fixme notes are not formatted correctly (with ...
8
votes
3answers
2k views

Layout with captions in margin and margin notes

Questions summed up below! I want to convert a number of old (read: ugly self-coded html) tutorials into pdfs. They are still read by people, so I think it's worth the effort. The other reasons: ...
11
votes
3answers
869 views

Making one margin bigger to allow margin notes in KOMA script

I want to add margin notes using KOMA script's \marginline. I don't want to get into the tricky business of manually setting a lot of typearea lengths myself, I just want to make the outside margin a ...
4
votes
1answer
366 views

Marginnote with geometry package

In my document i'm using the packages geometry and marginnote. The problem ist the following: If I use a newgeometry, the marginnote will stay on odd pages at same horizontaly position as by the ...
14
votes
2answers
5k views

Caption of figure in marginpar and caption of wrapfigure in margin

I'm writing my master thesis and have run into trouble with the layout of captions in relation to the margins. I have two main questions: How can I make the caption text of an figure placed in a ...
16
votes
2answers
4k views

How can I get todonotes in the left margin

I want to use the package todonotes. Standard, the package prints the todo's in the right margin, while I want to have them in the left margin. Funny is, that in the manual itself they are placed in ...