Hello,
I'm using the package marginnote and I would like to put my notes at the center of the paragraph (not at the beginning). How could I do this?
Thanks in advance
Anderson
Page Layout ⇒ Marginal Note at vertical Center of Paragraph
-
- Posts: 3
- Joined: Fri Jan 31, 2014 11:32 pm
NEW: TikZ book now 40% off at Amazon.com for a short time.

Marginal Note at vertical Center of Paragraph
Hi Anderson,
welcome to the LaTeX community. As far as I know you can't do that with
What is the use case you have in mind? There might be another solution (depending...)
Regards
welcome to the LaTeX community. As far as I know you can't do that with
marginnote
or rather: you can only do it manually (which is not an ideal solution).What is the use case you have in mind? There might be another solution (depending...)
Regards
site moderator & package author
-
- Posts: 3
- Joined: Fri Jan 31, 2014 11:32 pm
Marginal Note at vertical Center of Paragraph
Hi Clemens,
Thanks for the answer!
The use case is simple: I'm doing my doctorate thesis in Latex, and I would like to add some margin notes in each paragraph in order to provide like a summary of each paragraph. But it would be better if these notes could be placed in the center of the paragraph.
I'm using this code:
How could I do it manually?
Thanks for the answer!
The use case is simple: I'm doing my doctorate thesis in Latex, and I would like to add some margin notes in each paragraph in order to provide like a summary of each paragraph. But it would be better if these notes could be placed in the center of the paragraph.
I'm using this code:
Code: Select all
\newif\ifnotes
\notestrue
\definecolor{notescolor}{RGB}{0,0,80}
\newcommand{\pmp}[1]
{
\ifnotes
\marginnote{\centering \footnotesize \textsc{\textcolor{notescolor}{#1}}}
\fi
}