Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
latex [2016/01/20 12:04]
awf [All one file]
latex [2018/07/10 09:22]
awf
Line 1: Line 1:
 ====== Things I do in LaTeX which may need justifying to co-authors ====== ====== Things I do in LaTeX which may need justifying to co-authors ======
 +
 +
 +Quick things: 
 +  * In a hand-marked-up PDF, a tilde at the end of a line indicates a "tie", to keep characters bound to the word that precedes them, see https://tex.stackexchange.com/questions/9633/why-should-i-put-a-before-ref-or-cite
 +  * It is useful for version control to issue a soft newline after each full stop. 
 +  * Avoid elegant variation https://www.bartleby.com/116/302.html
  
 ====== All one file ====== ====== All one file ======
Line 13: Line 19:
 \caption{lots of lovely plots, all lovingly tikzed (pron TIK-zeed)} \caption{lots of lovely plots, all lovingly tikzed (pron TIK-zeed)}
 \label{fig:tikz-virtuosity} \label{fig:tikz-virtuosity}
-\end{figure} +\end{figure}</code>
-  </code>+
  
 ====== Inline macro definitions ====== ====== Inline macro definitions ======
Line 34: Line 39:
 ====== Misc stuff to paste in the top ====== ====== Misc stuff to paste in the top ======
 <code> <code>
 +%!TEX root = ../paper.tex
 % -*- compile-command: "texify --pdf -V --quiet main.tex" -*- % -*- compile-command: "texify --pdf -V --quiet main.tex" -*-
  
Line 43: Line 49:
  
 </code> </code>
 +
 +And see http://www-rohan.sdsu.edu/~aty/bibliog/latex/floats.html
 +
 +<code>
 +% Twocolumn marginpar, e.g. for CVPR/ICCV
 +\newcommand\authornote[2]{\textcolor{blue}{\hspace{-1pt}\rule{2pt}{2ex}\hspace{-1pt}}%
 +\marginpar[~\hspace{-12mm}\parbox{16mm}{\tiny \textcolor{blue}{#1:#2}}]%
 +{~\hspace{-4mm}~\parbox[t]{20mm}{\tiny \textcolor{blue}{#1: #2}}}}
 +</code>
 +
 +<code>
 +\def\awf#1{\textcolor{red}{\!\scriptsize $^\bullet\!$}%
 +\marginpar{\hspace{-4mm}\parbox[b]{1cm}%
 +{\rotatebox{90}{\parbox{5cm}{\textcolor{red}{\scriptsize $\bullet$ #1}}}}}%
 +}
 +</code>
 +
latex.txt · Last modified: 2018/10/31 13:24 by awf
CC Attribution 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0