我怎样才能添加对内部特定块的引用tikzpicture
。
例如,在下面的 MWE 中,我想在工作“线圈”旁边添加一个引用。我尝试使用\footfullcite{.}
,但没有成功
平均能量 (在 tikz 中添加下支撑)
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{patterns,snakes}
\begin{document}
\begin{tikzpicture}
\tikzstyle{ground}=[fill,pattern=north east lines,draw=none,minimum width=0.3,minimum height=0.6]
\node (wall1) [ground, minimum height=2cm] {};
\draw (wall1.north east) -- (wall1.south east);
\node [draw,minimum width=0.5cm,minimum height=0.5cm] (mass) at (2,0) {m};
\node (fix) at (0,0) {};
\draw [
snake=coil,
segment amplitude=5pt,
segment length=5pt
] (wall1.east) -- (mass);
\draw [
thick,
decoration={
brace,
mirror,
raise=0.5cm
},
decorate
] (wall1.east) -- (mass)
node [pos=0.5,anchor=north,yshift=-0.55cm] {coil};
\end{tikzpicture}
\end{document}
答案1
在 内引用作品tikzpicture
。脚注比较棘手,需要用\footnotemark
和分隔\footnotetext
。
\documentclass[a5paper,landscape]{article}
\usepackage{tikz}
\usetikzlibrary{patterns,snakes}
\begin{document}
\begin{tikzpicture}
\tikzstyle{ground}=[fill,pattern=north east lines,draw=none,
minimum width=0.3,minimum height=0.6]
\node (wall1) [ground, minimum height=2cm] {};
\draw (wall1.north east) -- (wall1.south east);
\node [draw,minimum width=0.5cm,minimum height=0.5cm] (mass) at (2,0) {m};
\node (fix) at (0,0) {};
\draw [
snake=coil,
segment amplitude=5pt,
segment length=5pt
] (wall1.east) -- (mass);
\draw [
thick,
decoration={
brace,
mirror,
raise=0.5cm
},
decorate
] (wall1.east) -- (mass)
node [pos=0.5,anchor=north,yshift=-0.55cm] {coil \cite{coil}\footnotemark};
\end{tikzpicture}
\footnotetext{The footnote}
\begin{thebibliography}{9}
\bibitem{coil}The Author, \textit{The Title}, 2016.
\end{thebibliography}
\end{document}