Skip to content

Commit

Permalink
Updated Author commands
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesC authored Jan 5, 2024
1 parent 5aa1da0 commit cf0ee1e
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,16 @@ Add in the preamble the following to easily find a weird unicode in Overleaf.
\newcommand{\defineauthors}[1]{
\foreach \x [count=\xi from 1] in {#1} { \expandafter\xdef\csname\x\endcsname####1{\noexpand\textcolor{\ColorList[\xi]}{[\unexpanded\expandafter{\x}: ####1]}}%
Personal commands for comments are:
\begin{itemize}
\foreach \x [count=\xi from 1] in {#1} {
\item \textcolor{\ColorList[\xi]}{\textbackslash\unexpanded\expandafter{\x}\{\}}
}
\end{itemize}
\foreach \x [count=\xi from 1] in {#1} {
\expandafter\xdef\csname\x\endcsname####1{\noexpand\textcolor{\ColorList[\xi]}{[\unexpanded\expandafter{\x}: ####1]}}%
}
}
\makeatother
Expand All @@ -87,6 +96,9 @@ Add in the preamble the following to easily find a weird unicode in Overleaf.
\defineauthors{all, gilles, emma, ozlem, lianet, nicola}
```

![image](https://github.com/DRAMCO/writing-scientific-papers-in-latex-tips-and-tricks/assets/8626571/41b378a5-7219-4988-a46a-e7e4288ca9ba)



## Math

Expand Down

0 comments on commit cf0ee1e

Please sign in to comment.