\( \newcommand{\N}{\mathbb{N}} \newcommand{\R}{\mathbb{R}} \newcommand{\C}{\mathbb{C}} \newcommand{\Q}{\mathbb{Q}} \newcommand{\Z}{\mathbb{Z}} \newcommand{\P}{\mathcal P} \newcommand{\B}{\mathcal B} \newcommand{\F}{\mathbb{F}} \newcommand{\E}{\mathcal E} \newcommand{\brac}[1]{\left(#1\right)} \newcommand{\abs}[1]{\left|#1\right|} \newcommand{\matrixx}[1]{\begin{bmatrix}#1\end {bmatrix}} \newcommand{\vmatrixx}[1]{\begin{vmatrix} #1\end{vmatrix}} \newcommand{\lims}{\mathop{\overline{\lim}}} \newcommand{\limi}{\mathop{\underline{\lim}}} \newcommand{\limn}{\lim_{n\to\infty}} \newcommand{\limsn}{\lims_{n\to\infty}} \newcommand{\limin}{\limi_{n\to\infty}} \newcommand{\nul}{\mathop{\mathrm{Nul}}} \newcommand{\col}{\mathop{\mathrm{Col}}} \newcommand{\rank}{\mathop{\mathrm{Rank}}} \newcommand{\dis}{\displaystyle} \newcommand{\spann}{\mathop{\mathrm{span}}} \newcommand{\range}{\mathop{\mathrm{range}}} \newcommand{\inner}[1]{\langle #1 \rangle} \newcommand{\innerr}[1]{\left\langle #1 \right \rangle} \newcommand{\ol}[1]{\overline{#1}} \newcommand{\toto}{\rightrightarrows} \newcommand{\upto}{\nearrow} \newcommand{\downto}{\searrow} \newcommand{\qed}{\quad \blacksquare} \newcommand{\tr}{\mathop{\mathrm{tr}}} \newcommand{\bm}{\boldsymbol} \newcommand{\cupp}{\bigcup} \newcommand{\capp}{\bigcap} \newcommand{\sqcupp}{\bigsqcup} \newcommand{\re}{\mathop{\mathrm{Re}}} \newcommand{\im}{\mathop{\mathrm{Im}}} \newcommand{\comma}{\text{,}} \newcommand{\foot}{\text{。}} \)

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