Using Latex
Background
LaTeX is the dominant typesetting language for technical writing. Along with Microsoft Word files, publishers often accept LaTeX files as source documents for publication. Some accept only LaTeX. This sample LaTeX input file and its related BibTeX file show the basic usage of LaTeX and provides two references, although there are numerous online resources. When compiled using LaTeX, the source file is compiled to this output PDF file .Getting started
An easy way to get started with LaTeX is to use an online LaTeX environment such as Overleaf.Installing LaTeX on your own system
All LaTeX IDEs (see below) require an installation of the LaTeX compiling environment.Linux: LaTeX is typically installed on most Linux systems already. If not, it is available using the package manager of your flavor of Linux.
Mac: MacTeX is the standard LaTeX installation for Macs. A large but easily installed package is here
Window: MicTeX is commonly used on Windows.
Tablets: TeX Writer TeX Writer and Texpad are two well regarded apps for iOS. I am not familiar with Android versions.
Command Line Compilation of your LaTeX source
Command line environments like Linux terminal windows, Mac Terminal and Cygwin on Windows have a native LaTeX environment using the command pdflatex and bibtex. This is an efficient way to compile LaTeX source files for advanced users. Typically a makefile drives the whole process.LaTeX IDEs
Although it is possible to use a plain editor and compile LaTeX files directly (and there is some merit to this approach), many people prefer to use an integrated development environment (IDE).VSCode
My favorite IDE overall and for LaTeX is VSCode. It is free software available for Windows, Mac and Linux. It uses the underlying LaTeX compiling environment and provides lots of ease-of-use features. VSCode supports almost any programming language including LaTeX. It also has many useful extensions. For LaTeX, I use the LaTeX Workshop and vscode-pdf extensions. I also have Grammarly installed for fixing spelling and grammar issues. Finally, I have GitHub Copilot installed. Copilot is aware of LaTeX syntax and will predict what you want to type next. Copilot can also generate text content for your document. This feature is still evolving. ChatGPT extensions are also available for VSCode but (as of February 2023) none of them has emerged as a clear good choice.TeXStudio
My previous favorite LaTeX IDE is TexStudio It is free software available for Windows, Mac and Linux. It uses the underlying LaTeX compiling environment and provides lots of ease-of-use features. TeXShop: Macs have the popular TeXShop, which is also free to download. WinEdt: Windows systems have WinEdt, which is available individually as a free trial version and at a modest cost for a full license. This used to be my favorite editor until TeXStudio came along. A nice free tool for managing BibTeX references is JabRef.First Example: sample.tex
Download this zip file to your desktop: sample.zipMore Example Projects
In addition to the simple example, the following gzipped tar files contain helpful starting points:- Baseline IEEE example for submitting papers to IEEE publications.
- A paper of Dr. Heroux's
- LaTeX can also be used to develop high-quality presentations. Here is an example