Toronto Math Forum

General Category => General Discussion => Technical Questions => Topic started by: Victor Ivrii on November 20, 2012, 06:14:04 AM

Title: LaTeX advices
Post by: Victor Ivrii on November 20, 2012, 06:14:04 AM
We are talking about LaTeX in full, not MathJax

1) Strongly recommended: \documentclass[]{memoir}--very flexible well maintained, can emulate book and article. It allows normalfontsize 14 pt \documentclass[14pt]{memoir} -- note how tests are typed for convenience

2) Strongly recommended: \usepackage{hyperref}--makes better pdf, clickable links (in \label--\ref, \bibitem-\cite, in table of content, index) and also bookmarks

3) Strongly recommended \usepackage{microtype}--better typesetting

4) For graphics (LaTeX drawings) \usepackage{pgf}--the most powerful (another pstricks is also great)

5) For presentations \documentclass{beamer}-- nearest competition powerdot

Title: Re: LaTeX advices
Post by: Ian Kivlichan on November 20, 2012, 12:27:54 PM
hyperref is probably my favourite package :P

For graphics (pictures), I would add \usepackage{graphicx}, but it is maybe not so relevant for math.
Title: Re: LaTeX advices
Post by: Victor Ivrii on November 20, 2012, 12:35:02 PM
hyperref is probably my favourite package :P

Look at xr-hyper (working in conjugation with hyperref to provide cross-references of different documents).

Quote
For graphics (pictures), I would add \usepackage{graphicx}, but it is maybe not so relevant for math.

graphicx is to include existing pictures -- I use it all the time. I am talking about LaTeX drawings (with "frontend" tikz)

Try this: in full LaTeX


Code: [Select]
\documentclass[12pt]{article}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\fill [red, even odd rule,opacity=.8] (0,2) circle (2.5) circle (3);
\fill [blue, even odd rule,opacity=.8] (1.732,-1) circle (2.5) circle (3);
\fill [green, even odd rule,opacity=.8] (-1.732,-1) circle (2.5) circle (3);
\begin{scope}
\clip  (.9,-.6) circle (.5);
\fill [red, even odd rule,opacity=.8] (0,2) circle (2.5) circle (3);
\end{scope}
\clip (-2.6,1.5) circle (.5);
\fill [red, even odd rule,opacity=.8] (0,2) circle (2.5) circle (3);
\end{tikzpicture}
\end{document}