New answers tagged

2

You could take that line out of Preamble.tex and put it in the main document. Which is more useful, if you want to share the preamble code with other documents. Incidentally it would be more idiomatic latex if you called your file preamble.sty rather than Preamble.tex then you could use \documentclass{article} \usepackage{preamble} \title{my title} ...


2

Assuming that \TODO has an optional argument for specifying possible other options to \todo and a mandatory argument, which you want to truncate only in the list of todos, here's a way: \documentclass{article} \usepackage{xparse} \usepackage{todonotes} \ExplSyntaxOn \NewDocumentCommand{\TODO}{ O{} m } { \seq_set_split:Nnn \l_tmpa_seq { \\ } { #2 } ...



Top 50 recent answers are included