0
\documentclass[12pt]{article}
\usepackage{tikz}
\usepackage{lipsum}
\begin{document}
\begin{tikzpicture}
\draw [fill=orange,orange, rounded corners] (0.1,0.1) rectangle (2,7);
\end{tikzpicture}
\lipsum[4]
\end{document}

How I make the rectangle more curved something like this: enter image description here

The code above generates me the following output:

enter image description here

Now How do I write text inside the rectangle (vertically letter by letter) and I want to move it to right middle margin for right end pages of the book and left middle margin for the left pages. The text in lipsum must be at the beginning as every other page and I want the rectangle on every page of the article. For writing text in the rectangle I would like to use this font:

enter image description here

1
  • You are asking for tons of different things at the same time. Break your question into different parts so that someone even considers answering it. – Turion Feb 11 '14 at 15:46
2

You're asking multiple questions at the same time. I'm answering your first one. I strongly recommend you reading section 16 of the pgfmanual.

\documentclass{article}

\usepackage{tikz}
\usepackage{lipsum}

\begin{document}
    \begin{tikzpicture}
        \node[fill=orange,rounded corners=1cm,text width=0.2\textwidth,inner sep=0.4cm] {\lipsum[2]};
    \end{tikzpicture}
\end{document}

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.