Wrapfigure (Required package: wrapfig)
\begin{wrapfigure}[16]{r}{0.6\textwidth} % [16] is optional, generally works better
\vspace{-20pt}
\includegraphics[width=0.59\textwidth]{Figure}
\caption{Figure Caption} \label{Fig:Caption}
\vspace{-20pt}
\end{wrapfigure}
Side-by-side figures
\begin{figure}
\centerinn{figure}
\centering
\begin{minipage}{.5\textwidth}
\centering
\includegraphics[width=\textwidth]{Figure-1}
\captionof{figure}{Figure 1 Caption}
\label{Figure-1-label}
\end{minipage}%
\begin{minipage}{.5\textwidth}
\centering
\includegraphics[width=\textwidth]{Figure-1}
\captionof{figure}{Figure 2 Caption}
\label{Figure-2-label}
\end{minipage}
\end{figure}
Subfig (Required package: subfig)
\begin{figure}
\centering
\subfloat[Caption 1\label{fig1}]{
\includegraphics[width=3in]{figure1}
}
\quad
\subfloat[Caption 2\label{fig2}]{
\includegraphics[width=3in]{figure2}
}
\caption{Caption of the entire figure}
\end{figure}
Change Figure Directory:
- \graphicspath{ {./Figures/} }
Rename Caption:
- \renewcommand{\figurename}{Fig.}
Include PDF File (requires package pdfpages)
- \includepdf[pages={1-},noautoscale]{PDF-page-file}
Over- and underbrackets
- \underbrace{...}
- \underbracket[LineThickness][Height]{...}
- \overbrace{...}
- \overbracket[LineThickness][Height]{...}
Font Packages
- \usepackage{times} similar to \usepackage{mathptm}
- \usepackage{fourier}
- \usepackage{palatino} similar to \usepackage{mathpple}
- \usepackage{bookman} % very wide fonts
- \usepackage{charter}
- \usepackage{newcent}
Using algorithmic package
- \IF{condition} \STATE \ELSE \STATE \ENDIF
- \FOR{condition} \STATE \ENDFOR
- \FOR{condition} \TO {condition} \STATE \ENDFOR
- \FORALL{condition} \STATE \ENDFOR
- \WHILE{condition} \STATE \ENDWHILE
- \REPEAT \STATE \UNTIL {condition}
- \LOOP \STATE \ENDLOOP
Change Floatname:
- \floatname{algorithm}{Protocol}
Using algorithm in beamer
- Problem: The algorithm floating does not work well with beamer.
- Solution: \begin{algorithm}[H]...\end{algorithm}
LaTeX Beamer
Remove beamer navigation symbols
- \beamertemplatenavigationsymbolsempty
Other Links