From 4a38233d09574ac7e185ecefef5965d7cb74475e Mon Sep 17 00:00:00 2001 From: Henrik Skov Midtiby Date: Tue, 2 Nov 2010 18:42:20 +0100 Subject: [PATCH] Give fontsize to Tikz node object. Updated origin. --- todonotes.dtx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/todonotes.dtx b/todonotes.dtx index 7dc866d..1088239 100644 --- a/todonotes.dtx +++ b/todonotes.dtx @@ -156,6 +156,7 @@ % \changes{0.9.4}{2010/09/26}{Make the disable option work on a local scale.} % \changes{0.9.5}{2010/09/26}{Code simplification by extracting functionality to % smaller macros.} +% \changes{0.9.6}{2010/10/28}{Give fontsize to TikZ. Patch by Benjamin Kellermann.} % % \GetFileInfo{todonotes.dtx} % @@ -1401,7 +1402,7 @@ \draw node[inlinenotestyle] {};\end{tikzpicture}\par}% \else% {\par\noindent\begin{tikzpicture}[remember picture]% - \draw node[inlinenotestyle] {\@todonotes@sizecommand \@todonotes@text};% + \draw node[inlinenotestyle,font=\@todonotes@sizecommand] {\@todonotes@text};% \end{tikzpicture}\par}% \fi}% % \end{macrocode} @@ -1422,8 +1423,8 @@ \end{tikzpicture}% \else% \begin{tikzpicture}[remember picture]% - \draw node[notestyle] (inNote)% - {\@todonotes@sizecommand \@todonotes@text};% + \draw node[notestyle,font=\@todonotes@sizecommand] (inNote)% + {\@todonotes@text};% \end{tikzpicture}% \fi}% % \end{macrocode}