You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
TeX
46 lines
1.3 KiB
TeX
% Mis comandos para revisión Marx
|
|
\usepackage{ulem} % Para tachado (\sout)
|
|
\usepackage{soul} % For text highlighting
|
|
\usepackage{todonotes}
|
|
\usepackage[most]{tcolorbox}
|
|
|
|
|
|
|
|
% Define custom TODO commands
|
|
\newcommand{\marx}[2][]{%
|
|
\todo[color=orange!30, linecolor=red!70, fancyline, #1]{#2}%
|
|
}
|
|
|
|
% Define the \add command
|
|
\newcommand{\add}[1]{\textcolor{blue}{#1}}
|
|
|
|
% command \replace
|
|
\newcommand{\replace}[3]{%
|
|
\textcolor{red}{\sout{#1}} % antiguo
|
|
\textcolor{blue}{#2} % nuevo
|
|
{\ensuremath{#3}} % Fórmula
|
|
}
|
|
|
|
% Define the \remove command
|
|
\newcommand{\remove}[1]{\textcolor{red}{\st{#1}}}
|
|
|
|
|
|
% Define review legend
|
|
\newcommand{\reviewlegend}{
|
|
\begin{tcolorbox}[title=Legend for Review Markup, colback=gray!5!white, colframe=gray!75!black]
|
|
\begin{itemize}
|
|
\item \textcolor{red}{\sout{old text}} — text marked for removal or replacement.
|
|
\item \textcolor{blue}{new text} — suggested new or added content.
|
|
\item Orange boxes — reviewer comments or todos, added via the \textbf{$\backslash$marx} \LaTeX{} command.
|
|
\end{itemize}
|
|
\end{tcolorbox}
|
|
}
|
|
|
|
% Define review notes
|
|
\newcommand{\reviewnotes}{
|
|
\begin{tcolorbox}[title=Todo List, colback=white, colframe=blue!50!black, fonttitle=\bfseries, title filled]
|
|
\listoftodos
|
|
\end{tcolorbox}
|
|
}
|
|
|
|
%%%%%% |