Text Formatting ⇒ Put text into left margin
Put text into left margin
Please tell me how i can put text in the left part of the our text(border side) in latex the same as picture( downloaded at February2017)
- Attachments
-
- 867508660051221291.jpg (174.02 KiB) Viewed 6199 times
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
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
Put text into left margin
here is an example with

Code: Select all
\documentclass{article}
\usepackage{blindtext}
\usepackage{tikz}
\usetikzlibrary{calc}
\begin{document}
\tikz[remember picture, overlay]
\node [rotate=90] at ($(current page.west)+(1,0)$)
{Text in the left margin};
\blindtext
\end{document}
- the
current page
node is used for positioning, I took thewest
side
remember picture, overlay
are options for placing TikZ code in the background of the page - I used the
calc
library syntax ($(current page.west)+(1,0)$) to move (1,0) in (x,y) direction.
Stefan