diff options
-rw-r--r-- | header.tex | 4 | ||||
-rwxr-xr-x | pandoc-todo | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -7,9 +7,11 @@ \bgroup\markoverwith{% \textcolor{yellow}{\rule[-.5ex]{2pt}{2.5ex}}}\ULon} %\usepackage{fixme} -\usepackage[obeyDraft]{todonotes} +\usepackage[obeyDraft,shadow]{todonotes} \usepackage{marginnote} \renewcommand{\marginpar}{\marginnote} + \newcommand{\mytodo}[2]{% + \todo[fancyline]{#1}\hl{#2}} \hypersetup{breaklinks,hidelinks,draft=false} \usepackage[defaultlines=4,all]{nowidow} \def\UrlBreaks{% diff --git a/pandoc-todo b/pandoc-todo index 784b8fa..bc0590f 100755 --- a/pandoc-todo +++ b/pandoc-todo @@ -34,7 +34,7 @@ sub latex_encode { sub mark_inside { my ( $before, $it, $after, $note ) = @_; - return [ RawInline( 'latex', sprintf( '%s\\todo{%s}\\hl{%s}%s', + return [ RawInline( 'latex', sprintf( '%s\\mytodo{%s}{%s}%s', latex_encode($before), latex_encode($note), latex_encode($it), |