New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
todonotes.tex in NEMO/trunk/doc/latex/global – NEMO

source: NEMO/trunk/doc/latex/global/todonotes.tex

Last change on this file was 14257, checked in by nicolasmartin, 3 years ago

Overall review of LaTeX sources (not tested completely as of now):

  • Reworking global files: main document.tex, add glossary.tex, cosmetic changes...
  • Ignore missing namelists (namsbc_isf, namsbc_iscpl and namptr)
  • Removal of references for unused indices (\hfile, \ifile and \jp)
  • Update of .svnignore and svn:ignore properties accordingly
  • Split of manual abstract into a common NEMO abs for all and a specific one for each engine
  • Shrinking variables names used in the frontmatter
File size: 1.4 KB
RevLine 
[14257]1%% =================================================================================================
2%% Notes
3%% =================================================================================================
[11187]4
[14257]5\usepackage{todonotes}
6
[11148]7\newcounter{ubcomment}
[14257]8
9\newcommand{\ubcomment         }[2][]{
10\refstepcounter{ubcomment}
11{
12\todo[linecolor=black,       backgroundcolor={green!40!},size=\footnotesize ]{
13\textbf{Fixme: UB [\uppercase{#1}\theubcomment]:}~#2}
[11148]14}}
[14257]15
16\newcommand{\ubcommentinline   }[2][]{
17\refstepcounter{ubcomment}
18{
19\todo[linecolor=black,inline,backgroundcolor={green!40!},size=\footnotesize ]{
20\textbf{Fixme: UB [\uppercase{#1}\theubcomment]:}~#2}
[11148]21}}
22
[14257]23\newcommand{\ubcommentmultiline}[2]{
24\refstepcounter{ubcomment}
25{
26\todo[linecolor=black,inline,backgroundcolor={green!40!},size=\footnotesize,
27      caption={\textbf{{Fixme: UB} [\theubcomment] #1}}                     ]{
28\textbf{Fixme: UB [              \theubcomment]:}~#2}
[11148]29}}
30
31% add support for todo in equations
32%\usepackage{marginnote}
33%\makeatletter
34%\renewcommand{\@todonotes@drawMarginNoteWithLine}{%
35%\begin{tikzpicture}[remember picture, overlay, baseline=-0.75ex]%
36%    \node [coordinate] (inText) {};%
37%\end{tikzpicture}%
38%\marginnote[{% Draw note in left margin
39%    \@todonotes@drawMarginNote%
40%    \@todonotes@drawLineToLeftMargin%
41%}]{% Draw note in right margin
42%    \@todonotes@drawMarginNote%
43%    \@todonotes@drawLineToRightMargin%
44%}%
45%}
46%\makeatother
Note: See TracBrowser for help on using the repository browser.