LaTeX forum ⇒ Text FormattingPut text into left margin Topic is solved

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

Put text into left margin

Postby megh500 » Mon Feb 13, 2017 12:38 pm

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)
867508660051221291.jpg (174.02 KiB) Viewed 2901 times


User avatar
Stefan Kottwitz
Site Admin
Posts: 9567
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Mon Feb 13, 2017 5:11 pm


here is an example with TikZ.

Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{article}
  2. \usepackage{blindtext}
  3. \usepackage{tikz}
  4. \usetikzlibrary{calc}
  5. \begin{document}
  6. \tikz[remember picture, overlay]
  7. \node [rotate=90] at ($(current page.west)+(1,0)$)
  8. {Text in the left margin};
  9. \blindtext
  10. \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 admin

Posts: 25
Joined: Tue Jan 24, 2017 5:54 am

Postby megh500 » Tue Feb 14, 2017 6:54 am


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 1 guest