# Tag Info

34

I am using todonotes with enlarged margins. You just enlarge the size of your document and one margin, but you keep the textwidth the same. You need to use the geometry package for that. I actually wrote a blogpost about it. A nice point about todonotes is that they are configurable (you can change the colour & background colour of your notes), that ...

25

You can have a look at the todonotes package. It has some very simple yet quite customizable commands to add notes and stuff to your document. There is also a nice feature called listoftodos that lists all the todo fields that you set in the document. Compare the MWE below: \documentclass{article} \usepackage{todonotes} \begin{document} Some text... ...

17

I use the changes package, which allows authors to mark their changes and makes them colourful and so easier to spot. There's also the latexdiff program which is a bit like running diff except that you can process the output via LaTeX and get a more useful way of displaying the differences, (see also ldiff). One tip if you're using non-LaTeX-specific tools ...

13

My 2 cents (from experience with my thesis + several papers): even if your coauthors don't use version control, use it alone for your own work. typical workflow: give the .tex to your advisor, tell him to modify the source file directly, and forget about macros to mark differences manually. Whenever you get a revised version back from him, check it in. ...

13

Another option is to use the \caption* command from the caption package: \documentclass{article} \usepackage{caption} \begin{document} \begin{figure} \centering \caption{A figure} \rule{1cm}{1cm}% placeholder for \includegraphics \caption*{A note} \end{figure} \end{document} If the notes should use separate different formatting than the one used ...

12

If you use Adobe Reader, then there is also pdfcomment. You can run texdoc pdfcomment in your terminal to read the manual. Like todnotes package, this package tries to emulate the commenting functionality found in some word processors. This sample code is taken from the example.tex file provided with the package and some of the things that it can do. ...

11

If you just want to write between the lines of text, you probably want to use combination of \raisebox and \rlap. \raisebox basically typesets the argument in a box raised, or lowered over the baseline by its given arguments. You however want TeX to make the box of virtually zero width and zero height. This is done using \rlap and arguments to \raisebox ...

10

Git has nifty options to do diffs like you want =) http://idnotfound.wordpress.com/2009/05/09/word-by-word-diffs-in-git/ Also consider this tip to store preamble as a git submodule: http://markelikalderon.com/2008/07/31/keeping-your-latex-preamble-in-a-git-submodule/

10

The easy answer here is, of course, yes - there is always room for improvement. One main observation I can make is the following: Mathmode in LaTeX is not limited to symbols and operators; you are allowed to use letters in math mode as well. For example, consider the difference in style when writing Let A = \{ x $\in$ $\mathbb{Z}$ $\|$ x $\le$ 5 \} ...

10

Without an actual example of what your table looks like it is difficult to say whether this solution will work for you. But, you could incorporate each portion within a minipage to obtain the tablenotes besides the table. Here is a before and after comparison: Before: After (with minipages): Notes: I have not been able to figure out how to get the ...

10

Yes chemifg is a great tool. But as well as almost every code to picture system the syntax is not trival. Please consider the following example. You can easily see, that chemfig syntax follows a logical and human readable syntax, but will become extremely complex for larger structures. And so far as i can see chemfig is the easiest system for chemical ...

10

I'm sure the final answer will be using tikzmarks ;-) For what it's worth, here's a simplistic pure TeX solution based on shuffling around some boxes. Edit: Now with pagebreak enabled. \documentclass{article} \usepackage{color} \newdimen\charwd \charwd=1pt \makeatletter \newbox\@tempboxb \newbox\@tempboxc \newbox\@tempboxd \newskip\@tempskipc ...

9

As a demonstration, here is an implementation using threeparttable: \documentclass{article} \usepackage{booktabs,caption,fixltx2e} \usepackage[flushleft]{threeparttable} \begin{document} \begin{table} \begin{threeparttable} \caption{Sample ANOVA table} \begin{tabular}{lllll} \toprule Stubhead & $$df$$ & $$f$$ & \( ...

9

Main file \documentclass{article} \def\noteref#1#2{\csname noteref#2\endcsname{#1}} \def\noterefSOLVED#1#2#3{} \def\noterefPENDING#1#2#3{% \expandafter\def\csname noteref-#1\endcsname{\marginpar{#3}}} \let\oldlabel\label \def\label#1{% \oldlabel{#1}% \csname noteref-#1\endcsname} \input{\jobname-notes} \begin{document} \section{intro\label{aa}} ...

8

I always have the following three on my slides: %\documentclass[notes]{beamer} %\documentclass[notes=hide]{beamer} \documentclass[notes=only]{beamer} Then I comment or uncomment them according to my needs. As should be clear, the last one prints only notes, whereas the others print everything and no notes respectively.

8

You can use the package enumitem and define a list that you can use for notes such as the following: \documentclass{article} \usepackage{enumitem} \newlist{notes}{enumerate}{1} \setlist[notes]{label=Note: ,leftmargin=*} \begin{document} Duis porttitor nisi et orci pellentesque feugiat. Aenean id turpis vel purus tincidunt sodales. Class aptent taciti ...

7

I do not know if I understand you well. Do you have the LaTeX source of the papers you read? If, as it is often my case, you can only have the PDF versions, then what you would need is a tool to annotate those. I use Jarnal and I am quite satisfied with it. I also use it to grade my student's homework, which they usually turn in in PDF.

7

This should get you started. I extended the size of the margin and used \marginpar to place the text in the margin: \documentclass{article} \usepackage{lipsum} \usepackage{xcolor} \usepackage{mdframed} \setlength{\textwidth}{4.0in}% \setlength{\marginparwidth}{2.0in}% \mdfdefinestyle{MyMarginNoteStyle}{ topline=false, bottomline=false, ...

7

The floatrow package offers the \floatfoot macro for notes in addition to a float's \caption. \documentclass{article} \usepackage[capposition=top]{floatrow} \begin{document} \begin{figure} % \centering% default with floatrow \rule{1cm}{1cm}% placeholder for \includegraphics \caption{A figure} \floatfoot{A note} \end{figure} \end{document}

6

Try using a more casual specification of document structure like Markdown; personally, I like Emacs' org-mode for taking notes. If you want to convert to Latex later, there are plenty of converters. Pandoc supports many casual document structuring formats: besides Markdown, it supports Restructured Text, which is liked by many, and Textile; it supports ...

5

You can redefine the internal \beamer@setupnote command to use an itemize environment instead of the default enumerate environment: \documentclass{beamer} \setbeameroption{show notes} \makeatletter \def\beamer@setupnote{% \gdef\beamer@notesactions{% \beamer@outsideframenote{% \beamer@atbeginnote% \beamer@notes% ...

5

I've isolated the problem down to the infolines outer theme and specifically the line: \setbeamersize{text margin left=1em,text margin right=1em} towards the end. What seems to be happening is that the note templates aren't quite configured correctly with regard to changing the margins. Some length that the itemize environment uses to figure out its ...

5

You can use a diff/merge tool to jump through each change made in a file and decide whether you want to accept that change or not. I personally use diffmerge (which is free). If the other users were to each access your source control system (or if you checked in Professor Smith's changes under an appropriate username), several source controls have a "blame" ...

5

I think the free web-based writeLaTeX is worth mention. With this tool, all authors can share documents, review, comment and edit. Since it is web-based all documents will be accessible across platforms.

5

The primitive TeX command hangindent can be used for this purpose. \documentclass{article} \parindent0pt \begin{document} Duis porttitor nisi et orci pellentesque feugiat. Aenean id turpis vel purus tincidunt sodales. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Cras semper dui et nulla feugiat at convallis ...

5

I don't know how to do it with threeparttablex, but it seems that the old threeparttable should be sufficient: the former is for longtable and you don't seem to be using longtabu (I'm afraid that one should rewrite threeparttablex for using the longtabu environment). \documentclass{article} \usepackage{booktabs} \usepackage{tabu} \usepackage{threeparttable} ...

5

threeparttable defines \tnote so that the symbol it typesets doesn't contribute to the cell's width, and that's the meaning of \TPToverlap. I suggest to leave \tnote as it is (for notes appearing at the end of a cell's text) and to define \newcommand{\mtnote}[1]{\textsuperscript{\TPTtagStyle{#1}}} for "middle notes".

5

You could use the help of mdframed and expecially its options singleextra, firstextra, secondextra and middleextra. The different options allow you to have different styles for a frame that's on a single page and a frame that is broken over two or more pages. When mdframed is used with framemethod=tikz you have access to the corners of a frame. The node on ...

4

You could use \setstretch and \parbox inside \colorbox. Here's an example, using even smaller stretch value to make the effect more visible: \documentclass{article} \usepackage[english]{babel} \usepackage{blindtext} \usepackage[svgnames]{xcolor} \usepackage[doublespacing]{setspace} \newcommand{\mymarginnote}[1]{% ...

4

You might consider using a package for parallel texts like parallel, parcolumns or ledpar instead of using marginal notes, though it isn't exactly clear what your requirements are.

Only top voted, non community-wiki answers of a minimum length are eligible