## LaTeX forum ⇒ Text Formatting ⇒ Put text into left margin Topic is solved

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
megh500
Posts: 25
Joined: Tue Jan 24, 2017 5:54 am

### Put text into left margin

Hi
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 2524 times

Tags:

Stefan Kottwitz
Posts: 9552
Joined: Mon Mar 10, 2008 9:44 pm
Hi,

here is an example with TikZ.

\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 the west 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.

It needs to be compiled two times for correct positioning.

Stefan