Installation:
Ubuntu
1
2sudo apt-get install texlive-full
sudo apt-get install texmakerWindows
- Install Miktex: https://miktex.org/download
- Install texmaker or texstudio
Extension:
- Latexdiff
- Install perl: http://www.perl.org/get.html
- Download latexdiff.zip package from https://ctan.org/pkg/latexdiff
- Unzip the latexdiff files and copy them to the Perl\perl\bin folder
latexdiff draft.tex revision.tex > diff.tex
Math input:
Include the definition.tex file with macro definition.
\input{definition}
in the main text.Mathpix Snip can convert images to LaTeX.
IguanaTex allows you to insert LaTeX formulations in PowerPoint.
Tips:
Refer to this for commonly used symbols
Set color:
\usepackage{xcolor}
and\textcolor{red}{}
Setlength: set the indentation in paragraphs
\setlength\parindent{0pt}
; set the separation between paragraphs\setlength{\parskip}{10pt}
; set column width in table\setlength{\tabcolsep}{12pt}
; set the space below table/figure\setlength{\textfloatsep}{2pt}
Math annotation: expectation
\usepackage{amsfonts}
and\mathbb{E}
; not imply:\usepackage{amssymb}
and\nRightarrow
Encoding error: try adding
\UseRawInputEncoding
or\usepackage[utf8x]{inputenc}
or\usepackage{newunicodechar}
\newunicodechar{fi}{fi}