diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/apprends-latex/exemples/tikz.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/apprends-latex/exemples/tikz.tex | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/apprends-latex/exemples/tikz.tex b/Master/texmf-dist/doc/latex/apprends-latex/exemples/tikz.tex new file mode 100644 index 00000000000..47912aa2f66 --- /dev/null +++ b/Master/texmf-dist/doc/latex/apprends-latex/exemples/tikz.tex @@ -0,0 +1,15 @@ +\begin{tikzpicture} + +\draw[->] (0,0) -- (6,0) node[right] {$x$} ; +\draw[->] (0,0) -- (0,5) node[above] {$y$} ; + +\filldraw[fill=gray!30] + (1,0) node[below] {$a$} + -- (1,2) + cos (5,4) node[right] {$f(x)$} + -- (5,0) node[below] {$b$} + -- cycle ; + +\draw (3,1) node {$\displaystyle \int_a^b f(x) \, \mathrm{d}x$} ; + +\end{tikzpicture} |