How do I put a title on the following pie chart? I tried using \stackon.
\documentclass[10pt]{amsart}
\usepackage{mathtools,systeme,array}
\usepackage{tikz}
\usepackage{adjustbox}
\usepackage{mathtools}
\usepackage{array}
\usepackage{makecell}
\usepackage{stackengine}\setstackEOL{\cr} %EOL is abbreviation for "end of line."
\begin{document}
%\setlength\extrarowheight{2pt}
%\stackon{%
\begin{tikzpicture}[every node/.style={align=center}, pin distance=5mm]
\coordinate (O) at (0,0);
\draw (O) circle (3);
\draw (O) -- (0:3);
\draw (O) -- (90:3);
\draw (O) -- (216:3);
\draw (O) -- (234:3);
\draw (O) -- (288:3);
\path (O) -- node{Food \\ 25\%} (45:3);
\path (O) -- node{Rent and \\ Utilities \\ 35\%} (153:3);
\path (O) -- node[pin=225:Clothing \\ 5\%] {} (225:5);
\path (O) -- node{Other \\ 5\%} (261:3);
\path (O) -- node{Car \\ 20\%} (324:3);
\end{tikzpicture}
%}{\bfseries\Longstack{David's Monthly Expenses}}
\end{document}

\stackoncommand only apply to tables? – user74973 May 28 '15 at 00:17tagto put on it? – user74973 May 28 '15 at 00:22tablestag ;-) – May 28 '15 at 00:23pgfplotsdo. If you like to have name of picture as part of picture, than simple add one node in which you put picture name. But usual for this people usecaptionas part of float with picture. In case, that the your picture is directly in text, then again is normally use for its name derivative ofcaption(i.e.:\captionof, if you usecaptionpackage for this). – Zarko May 28 '15 at 00:31