Skip to main content
9 votes

marginnote always on left side of the page

As there are tests for twoside everywhere in the code (and it affects spacing and other things), it is imho the best to locally set twoside to false: \documentclass[twoside]{book} \usepackage[...
Ulrike Fischer's user avatar
8 votes
Accepted

How to make marginenote text fully justified?

I do not recommend to justify text in such a small note. To justify the margin note you can use \renewcommand\raggedrightmarginnote{} \renewcommand\raggedleftmarginnote{} But then you will get many ...
esdd's user avatar
  • 85.9k
8 votes
Accepted

marginnote within figure caption

Fragile command in a moving argument. Either use the optional argument (without margin note) of \caption or prefix with \protect. In the latter case, the margin note will also appear in the list of ...
egreg's user avatar
  • 1.1m
7 votes
Accepted

How to align the baseline of margin notes in LaTeX with the main text?

You placed your notes between paragraphs where LaTeX was still in vmode. If you want to align the notes with the next paragraph, you should place it IN the next paragraph. You can use things like \...
John Kormylo's user avatar
  • 80.7k
6 votes
Accepted

Wrong marginnote positions inside a tikzpicture with XeLaTeX

Again, the solution from here, which is simply copying the definition from pgfsys-common-pdf-via-dvi.def. % !TEX program = XeLaTeX \documentclass{article} \usepackage{marginnote} \usepackage{tikz} \...
Symbol 1's user avatar
  • 36.9k
6 votes
Accepted

ConTeXt: Margin notes ragged right in both margins

There are two types of margin mechanisms in MkIV: margindata and marginframed. In margindata the margin text is simply set in a \vbox; in marginframed the margin text is set in \framed (technically, a ...
Aditya's user avatar
  • 62.6k
6 votes
Accepted

Braces spanning multiple tables (whole tables, not rows or pages)

\documentclass{article} \begin{document} \begin{table} $\left\{ \begin{minipage}[c]{0.45\textwidth}% \begin{center} \begin{tabular}{|c|c|c|c|c|c|c|c|} \hline a & b & c & d & e & ...
David Carlisle's user avatar
5 votes

Package marginfix swallows some margin notes

This was caused by a counter not being properly reset on new pages. I've fixed it in version 1.2 [2020/05/06], uploaded to CTAN just now, or you can download it from GitHub.
Steve's user avatar
  • 151
5 votes
Accepted

Left-side wrapfigures and marginnotes

The problem is that the outer \parshape is used inside the marginnote too and so the first line of the margin note are indented like the lines of your paragraph. marginnote imho should better use \...
Ulrike Fischer's user avatar
5 votes
Accepted

writing on the inner margin

The marginnote package will do this quite nicely. If I add \usepackage{marginnote} and make only these adjustments to your code: \newcommand{\mymark}[1]{\reversemarginpar\marginnote{#1}\...
Paul Stanley's user avatar
  • 18.2k
5 votes
Accepted

Marginnote: Vertical alignment - half length of paragraph

You can try something like this, saving the paragraph and measuring its size and the outputting the text with parameters restored. \documentclass{scrreprt} \usepackage{lipsum,blindtext} % Dummy text ...
Andrew Swann's user avatar
  • 96.1k
5 votes

Why `parskip` package makes margin notes misaligned?

In your example you are missing one of the arguments of your \degree command: It has 5 mandatory arguments but are only giving 4. Beside this, it is normally better not to issue \marginnote in ...
Ulrike Fischer's user avatar
5 votes

package marginnote doesn't type the margin note text in the margin paragraph section

If you take a local copy of marginnote.sty and modify line 364 by \rlap{% \kern-\marginparwidth% added You get But not reading Hebrew or knowing the marginnote code that well, I'm not ...
David Carlisle's user avatar
5 votes

How do I create a generic environment template with optional arguments declared inside the environment?

It really is not very clear what input forms you want or what output they should generate, but here is an environment that takes one optional argument which is a comma separated list of key/value ...
David Carlisle's user avatar
4 votes

Margin notes with the same behaviour as footnote?

I used the marginfix package (ctan-link) to fix the spacing of the sidenotes. Like the linked answer in the comments, it doesn't break sidenotes running of the page, but shifts them up to fit on the ...
Wiebke's user avatar
  • 923
4 votes
Accepted

Prevent marginnote from creating extra paragraph

It seems like marginnote really wants to be used mid paragraph, but this works: \documentclass{article} \usepackage{marginnote} \begin{document} \section[Testsection]{Testsection\marginnote{\...
David Carlisle's user avatar
4 votes
Accepted

ragged sidenotes or numbered marginnotes

\sidenote uses \marginnote when an offset is given and \marginpar otherwise. \marginnote does the \raggedleft/\raggedright stuff but \marginpar doesn't. On the other hand \marginpar tries to float the ...
Pieter van Oostrum's user avatar
4 votes
Accepted

Margin notes in an interlinear environment aligned with source text

Note: I do not have Arial or Calibri so I'm using libertine in the following example. You need marginnote release 1.2b from 22th April 2017 (or newer). Previous releases do not handle right-to-left ...
Schweinebacke's user avatar
4 votes

Two consecutive marginnotes printed over each other

From the documentation of marginnotes: Note: The margin note will be placed at the current vertical line. This means, if you are using two \marginnote commands at the same line, they will be put on ...
bmv's user avatar
  • 3,598
4 votes
Accepted

how to use `\marginnote` in `mdframed` environment? (follow up)

The \marginnote definition of the tufte-book class is based on \marginpar. This is a float and it won't work inside a mdframed environment. You can switch to the \marginnote definition of the ...
Ulrike Fischer's user avatar
4 votes
Accepted

marginnote + pagenumbering = ⚡

To recap, the issue here is not related to svmono or geometry, the culprit is \pagenumbering and the twoside option (which svmono loads). In marginnote there is a separate page counter added to the ...
daleif's user avatar
  • 55.1k
4 votes

Braces spanning multiple tables (whole tables, not rows or pages)

I provide two environments, mybraceleft and mybraceright, for conveniently bracing horizontal material. They both produce horizontal material (you can use them in the middle of a paragraph) of just ...
frougon's user avatar
  • 24.4k
4 votes
Accepted

Layout of main text with comment at the margins (talmud layout)

You can use some do some arithmetic to calculate the number of lines needs to indent for the shorter (by height) text, then use \hangindent and \hangafter to typeset the longer text, and add the ...
Udi Fogiel's user avatar
  • 4,234
3 votes
Accepted

(tcbdoc)marginnote ignores twoside option

marginnote does understand \reversemarginpar. You can automate the usage of \reversemarginpar on even pages using \ifthispageodd: \documentclass[twoside=semi,DIV=calc,BCOR=1mm,a7paper]{scrreprt} \...
Schweinebacke's user avatar
3 votes
Accepted

How do I change \marginfont size and style without changing justification?

You can access italic text via a command like \textit{<italic text>} or via a switch using \itshape <italic text> Typically the latter is used within some scope, as in <regular ...
Werner's user avatar
  • 606k
3 votes

How to make a tip about a word in the page margin?

With \marginpar, xcolor and \fbox. \documentclass{article} \usepackage[nopar]{lipsum} \usepackage{xcolor} \newcommand\makemargintip[2]{\textcolor{red}{\fbox{\color{black}#1}}% \marginpar{\textcolor{...
Steven B. Segletes's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible