FrontPage FindPage TitleIndex RecentChanges UserPreferences E D R S I H C
 
LaTeX Tips
BdbPlusPlusGNUMakeFindPageClipMacroairfare-rise-358 › LaTeXTips

Great Site http://www.kronto.org/thesis/tips/



1 Symbols


1.1 [[ ]] denotational semantic bracket

2 web editor


* http://www.codecogs.com/components/equationeditor/equationeditor.php * http://www.sitmo.com/latex/
(menu button do no show up in my linux firefox or konqueror but works very well)

3 verbatim

4 viewing landscape

5 pdflatex


5.1 landscape and pdflatex

\usepackage[landscape,pdftex]{geometry}
from http://www.math.unizh.ch/index.php?id=477


5.2 paper size

pdflatex has its own veiw of papersize. letterpaper or a4paper on the documnetclass option does not work.

to configure this into letter size do
texconfig pdftex paper letter
reference: comp.text.tex [http]pdflatex page size

6 bibtex FAQ

7 Writing proof trees (and reusing subparts easily)

8 better book styles

9 book chapters starting on even number pages

10 Tables over multiple pages


If you want to layout rather simple tabularx over multiple pages you may use ltablex package instead of tabularx package.

[http]FAQ: Tables longer than a single page

11 Superscript in text mode


[http]site from google cache (the original site is vandalized at the moment I was searching)




11.1 Encapsulating math superscript as commands


If you're writing about centuries, or ordinal numbers such as first, second, third, ... you might want to consider writing the following new commands and put them in your Latex document's preamble.

\newcommand{\superscript}[1]{\ensuremath{^\textrm{#1} }}
\newcommand{\subscript}[1]{\ensuremath{_\textrm{#1} }}
so you can write

Welcome to the 21\superscript{st} century.
other such quick commands can be written with

\newcommand{\th}[0]{\superscript{th}}
\newcommand{\st}[0]{\superscript{st}}
\newcommand{\nd}[0]{\superscript{nd}}
\newcommand{\rd}[0]{\superscript{rd}}

so you can write

Carl took 1\st place. Elly, Tom and Ann came in 2\nd, 3\rd and 4\th.




Stephan Bode wrote in to tell about the \textsuperscript that allows to put superscript in text, without having to resort to our own commands. Unfortunately, there is no such thing as a \textsubscript in LaTeX's defaults ...



12 Beamer Math Fonts

13 All About Table

14 long vertical bars

15 Resume

16 hyperref

\usepackage[pagebackref=true]{hyperref}
see more info http://merkel.zoneo.net/Latex/index.php?lang=en

17 Kile


The KDE frontend for LaTeX. This ROCKS!

I had to export TEXMFCONFIG=$HOME/texmf to use texconfig with texlive in current debian unstable

18 ps2pdf

-sPAPERSIZE=letter

19 Slides

19.1 landscape and pdflatex

  \usepackage[landscape,pdftex]{geometry}
  
from http://www.math.unizh.ch/index.php?id=477

20 Muiticols and Figure


Floting objects do not go into the multicols environment. Instead you can wrap the multicol environment itself as a figure, and have several captions and labels bound to those captions.

\usepackage{multicol}

...

\begin{figure}{h}
\begin{multicols}{2}

 \begin{verbatim}
 int main(void} { return 0; }
 \end{verbatim}
 \caption{\label{col1fig} a minimal C program}

 \begin{verbatim}
 main = return ()
 \end{verbatim}
 \caption{\label{col2fig} a minimal Haskell program} 

 \end{multicols}
\end{figure}



A better way using minipage

\begin{figure}[h]
 \begin{tabular}{cc}
  \begin{minipage}[b]{.5\textwidth}
    \begin{verbatim}
      int main(void} { return 0; }
    \end{verbatim}
    \caption{\label{fig1} a minimal C program}
  \end{minipage}
  &
  \begin{minipage}[b]{.5\textwidth}
    \begin{verbatim}
      main = return ()
    \end{verbatim}
    \caption{\label{fig2} a minimal Haskell program}
  \end{minipage}
 \end{tabular}
\end{figure}


21 subfigure

...
\usepackage{multicol}

...

\begin{figure}[h]
\centering
\subfigure[hello subfigure]{ \includegraphics{msifig.1} } ~~~~~~~~
\subfigure[hello subfigure]{ \includegraphics[angle=90]{msifig.2} }
\label{fig:LangBlock}
\caption{the figure with two subfigures}
\end{figure}
last modified 2009-10-08 17:27:18
EditTextFindPageDeletePageLikePages