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 6256 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- 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