File: tikz.tex

package info (click to toggle)
texlive-doc 2012.20120611-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 250,664 kB
  • sloc: xml: 18,901; perl: 13,380; makefile: 931; lisp: 394; sh: 313; awk: 205; java: 159; sed: 4
file content (15 lines) | stat: -rw-r--r-- 329 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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}