Page Layout ⇒ Marginal Note at vertical Center of Paragraph
-
- Posts: 3
- Joined: Fri Jan 31, 2014 11:32 pm
Marginal Note at vertical Center of Paragraph
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Marginal Note at vertical Center of Paragraph
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
-
- Posts: 3
- Joined: Fri Jan 31, 2014 11:32 pm
Marginal Note at vertical Center of Paragraph
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
}