latex cheat sheet
-
Tables can be generated outside of latex in a gui, and then the code can be copied over. This is a great website to generate tables for latex: http://www.tablesgenerator.com/.
-
Finding latex symbols: you can draw here and find the latex code for the symbol: http://detexify.kirelabs.org/classify.html.
-
Degree symbol in latex
Glass transition temperature (\textit{T}g) for polystyrene is 94$^\circ$ C.
- If you’re writing supplementary information using Revtex, you may need to change Figure captions - Figure 1 to Figure S1 or Supplementary Figure 1
– To change from Figure 1 to Figure S1
\usepackage[english]{babel}
\renewcommand{\thefigure}{S\arabic{figure}}
– To change from Figure 1 to Supplementary Figure 1
\usepackage[english]{babel}
\addto\captionsenglish{\renewcommand{\figurename}{Supplementary Figure}}
- Latex to word. – Sometimes, even if you really love LaTeX, you would need to create word files for co-workers or for editing purposes. I used LaTeX to RTF converter, which worked quite well. Although it will not give you a perfect conversion, the generated files are pretty workable. The settings I used are shown below. Usually, the figures are added as links rather than embedded in the word file. Also, if you’re using the article class with twocolumn enabled – disable that, and provide a single column file for conversion (two columns didn’t work for me).
Last modified: 2017-12-31