Author Topic: LaTeX advices  (Read 20033 times)

Victor Ivrii

  • Administrator
  • Elder Member
  • *****
  • Posts: 2607
  • Karma: 0
    • View Profile
    • Personal website of Victor Ivrii
LaTeX advices
« 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

« Last Edit: November 20, 2012, 12:35:17 PM by Victor Ivrii »

Ian Kivlichan

  • Sr. Member
  • ****
  • Posts: 51
  • Karma: 17
    • View Profile
Re: LaTeX advices
« Reply #1 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.

Victor Ivrii

  • Administrator
  • Elder Member
  • *****
  • Posts: 2607
  • Karma: 0
    • View Profile
    • Personal website of Victor Ivrii
Re: LaTeX advices
« Reply #2 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}
« Last Edit: November 20, 2012, 01:24:46 PM by Victor Ivrii »