It looks like you're using Internet Explorer 11 or older. This website works best with modern browsers such as the latest versions of Chrome, Firefox, Safari, and Edge. If you continue with this browser, you may see unexpected results.

Selected web sites and how-to books about working with LaTeX

- LaTeX by Stefan KottwitzISBN: 9781847199874Publication Date: 2011-01-01Create high-quality and professional-looking texts, articles, and books for Business and Science using LaTeX

- Math into LaTeX: An Introduction to LaTeX and AMS-LaTeX by George GratzerCall Number: Z253.4.A65G69 1996ISBN: 0817638059Print (Check Availability)
- The LaTeX companion by Michel Goossens, Frank Mittelbach, Alexander SamarinCall Number: Hodges Library / Stacks: Z253.4.L38 G66 1994ISBN: 0201541998Print (Check Availability)
- The LaTeX Graphics Companion by Michel GoossensCall Number: Hodges Library / Stacks: Z253.4.L38 G663 2008ISBN: 0321508920Print (Check Availability)

- Beginners Guide to Writing a Manuscript in LaTeXAn interactive course from Elsevier Publishing Campus
- OverleafCloud-based implementation of LaTeX with free accounts. No installation necessary!
- DetexifyDraw the symbol you want to use, and Detexify will try to find the LaTeX symbol.
- LaTeX Search BetaLet's you search code snippets to find the equation you need. Searches Springer books only.

For R especially, there is far more to be found in the world on streamlining R with LaTeX-- more specifically in the context of R Markdown. Here we focus on generation of tables, given that is the task people will most often want to simplify when formatting results for publication.

Convenient libraries exist for outputting data in R as LaTeX tables. The below snippet is an example of the use of xtable package in **R**:

# last tested on version xtable version 1.8-4.

# install.packages("xtable")

library(xtable)

x <- 1:7

y <- 8:14

df <- data.frame(x,y)

print(xtable::xtable(df, type = "latex"), file = "sample_output.tex")

Also there are options for **Python **such as the LaTeX output features that ships with pandas :

# NOTE: Must include \usepackage{booktabs} in LaTeX file preamble!!!!

import pandas as pd # tested on pandas 1.3.4

df = pd.DataFrame(dict(pet=['Bingo','Whiskers'], species=['dog','cat'],color=['brown','tuxedo']))

with open("outputfile.tex", "w") as f:

f.write(df.to_latex(index=False))

- Last Updated: Apr 4, 2022 11:03 AM
- URL: https://libguides.utk.edu/latex
- Print Page