Learning LaTeX
LaTeX is a powerful tool for writing. You only focus on content, and let LaTeX take care of the appearance. This repository serves as a reference for all LaTeX related things.
Table of contents
Installation and Setup
All things LaTeX can be done through an online editor like overleaf. However, this repository focuses on a local setup. The primary editor used is VSCode and the extension James-Yu.latex-workshop is very helpful.
Windows
On a windows system, do the following steps
- Install
MikTeX
to handle everythingTeX
- Install miktex for Windows.
- Choose to install missing packages on the fly (preferably install with prompt).
- Open
MikTeX Console
and clickCheck for Updates
. Then go toUpdates
->Update now
which will install updates. - Go to
Packages
and installlatexmk
(which allows making LaTeX files),chktex
(for semantic checking). - Add the path of
MikTeX Console
(usually is%USERPROFILE%\AppData\Local\Programs\MiKTeX\miktex\bin\x64
) to thePath
user variable (underEnvironment Variables
). This is to find all the executables from command line.
- Install Strawberry Perl for Windows and add path to the
Path
variable (underSystem Variables
). Add the path for Perl and C binaries, usually isC:\Strawberry\c\bin
,C:\Strawberry\perl\site\bin
andC:\Strawberry\perl\bin
. This is for Perl dependency which MikTeX doesn't package. - Install the James-Yu.latex-workshop extension on VSCode.
Contents
The contents of this repository are divided into folders listed below
S. No. | Folder | Description |
---|---|---|
1 | Hello World | First steps in LaTeX. Contains a simple TeX file. |
2 | Concepts | Concepts in LaTeX. Contains folders for individual concepts. |
3 | Templates | Simple reusable templates to prevent reinventing the wheel every time. |
References
- CTAN: Comprehensive TeX Archive Network
- Learn on Overleaf
- Equations using codecogs
- Lorem Ipsum from here
- Some useful packages