Processing math: 100%

Monday, April 26, 2010

Record some useful command for the environment tikzpicture.


  • \begin{tikzpicture}[>=stealth,
    execute at end picture=%
    {
    \begin{pgfonlayer}{background}
    \path[fill=yellow,rounded corners]
    (current bounding box.south west) rectangle
    (current bounding box.north east);
    \end{pgfonlayer}
    }]
    %drawing command here
    
    
    \end{tikzpicture}
  • \begin{tikzpicture}[remember picture,overlay]
    \node [scale=10,text opacity=0.2]
    at (current page.center) {Sample};
    \end{tikzpicture}
  • \begin{tikzpicture}[remember picture,overlay]
    \node [xshift=1cm,yshift=1cm] at (current page.south west)
    [text width=7cm,fill=red!20,rounded corners,above right]
    {
    text
    };
    \end{tikzpicture}
  • \usepackage{tikz}
    \usetikzlibrary{calc,through,backgrounds}
    \usetikzlibrary{decorations.pathmorphing}
    \usetikzlibrary{decorations.text}
    \usetikzlibrary{decorations.shapes}
  • Introduction to 3D-plotting.
    http://www.fauskes.net/nb/introduction-to-sketch/



\usepackage{tikz}
\usetikzlibrary{calc,through,backgrounds}

\usetikzlibrary{decorations.pathmorphing}

\usetikzlibrary{decorations.text}

\usetikzlibrary{decorations.shapes}


2 comments:

  1. Do you have any easiest/quickest tutorial for TikZ?

    ReplyDelete
  2. 應該沒有吧...,作者所寫的那份五百多頁的教學很好很強大,幾乎都沒有替代品了。

    ReplyDelete