Tag Info

Hot answers tagged

38

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 ...


29

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... ...


24

One basic possibility using TikZ (process using xelatex): \documentclass{article} \usepackage{xparse} \usepackage{fontspec} \setmainfont{Humor Sans} \usepackage{tikz} \usetikzlibrary{shadows} \usepackage{lipsum} \definecolor{myyellow}{RGB}{242,226,149} \NewDocumentCommand\StickyNote{O{6cm}mO{6cm}}{% \begin{tikzpicture} \node[ drop shadow={ shadow ...


21

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 ...


19

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 \) & \( ...


19

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 ...


17

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. ...


15

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. ...


14

You can use \setbeameroption{show only notes}


12

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 ...


12

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 ...


11

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 ...


11

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}


11

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/


11

I don't know if there is a package but I use this command \def\alert#1{\textcolor{red}{#1}} and then I simply type text here \alert{in red} and foo You can improve it to make use of some \marginpar{}.


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

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

To have the legend occupy the same width as the associated graph, one may encase both in a minipage environment, as is done in the following MWE (minimum working example). Note the use of \par at the end of the footnote-sized material. Without it -- or a trailing blank line, which is the functional equivalent of a paragraph break in Tex -- you'd get the ...


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

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 ...


8

Another option is the rather new fixmetodonotes package. It is much more lightweight than \todonotes by using \marginpar instead of tikz, but contains many of its features, plus some more: Inline and margin placement Listing all notes through \listofnote Flexible customization Automatic placement of a DRAFT watermark on any page that contains notes (can be ...


8

this differs only slightly from the answer by Sigur, but i think it's worth some small adjustments. \documentclass{article} \usepackage{mathtools} \begin{document} \begingroup \small \[ \displaystyle \underbrace{\left(-\frac{1}{2}\right)^0}_{\substack{\text{1st term,}\\ j = 0}} + \underbrace{\left(-\frac{1}{2}\right)^1}_{\substack{\text{2nd term,}\\ j = ...


8

One option using \tikzmark (since some calculations are performed for the bar placement, the code needs three runs to stabilize). The bar admits (multiple) page breaks: \documentclass{article} \usepackage[a5paper,rmargin=4cm]{geometry} \usepackage{atbegshi} \usepackage{refcount} \usepackage{setspace} \usepackage{tikzpagenodes} \usetikzlibrary{calc} ...


8

Use a multicolumn \documentclass{article} \begin{document} \begin{table} \caption{Model selection metrics} \begin{center} \begin{tabular}{l c c c c c} \hline {} & {\itshape BIC} & {\itshape AIC} & {\itshape CAIC} & {\itshape HQIC} & {\itshape Correlation}\\ \hline \hline Linear Regression & 138,210 & 138,014 & 138,236 & ...


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 ...


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

Right. This type of question is quite broad and I'll try to answer it. First of all depends whether you are doing humanities, languages, mathematics, engineering and particular sciences. More importantly depends on how many graphics, formulas you have in the notes and how quickly you are at typing those up (since typing those is the slowest of all). I ...


7

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]{% ...


7

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.


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.



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