117 lines
4.0 KiB
TeX
117 lines
4.0 KiB
TeX
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% writeLaTeX Example: A quick guide to LaTeX
|
|
%
|
|
% Source: Dave Richeson (divisbyzero.com), Dickinson College
|
|
%
|
|
% A one-size-fits-all LaTeX cheat sheet. Kept to two pages, so it
|
|
% can be printed (double-sided) on one piece of paper
|
|
%
|
|
% Feel free to distribute this example, but please keep the referral
|
|
% to divisbyzero.com
|
|
%
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% How to use writeLaTeX:
|
|
%
|
|
% You edit the source code here on the left, and the preview on the
|
|
% right shows you the result within a few seconds.
|
|
%
|
|
% Bookmark this page and share the URL with your co-authors. They can
|
|
% edit at the same time!
|
|
%
|
|
% You can upload figures, bibliographies, custom classes and
|
|
% styles using the files menu.
|
|
%
|
|
% If you're new to LaTeX, the wikibook is a great place to start:
|
|
% http://en.wikibooks.org/wiki/LaTeX
|
|
%
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
|
|
\documentclass[10pt,landscape]{article}
|
|
\usepackage{amssymb,amsmath,amsthm,amsfonts}
|
|
\usepackage{multicol,multirow}
|
|
\usepackage{calc}
|
|
\usepackage{ifthen}
|
|
%\usepackage[document]{ragged2e}
|
|
\usepackage{helvet}
|
|
\renewcommand{\familydefault}{\sfdefault}
|
|
\usepackage{wrapfig}
|
|
\usepackage[fontsize=8pt]{fontsize}
|
|
|
|
\usepackage[landscape]{geometry}
|
|
\usepackage{echodefs}
|
|
\geometry{a4paper, landscape, margin=0.25cm}
|
|
\usepackage[colorlinks=true,citecolor=blue,linkcolor=blue]{hyperref}
|
|
\usepackage[
|
|
protrusion=true,
|
|
activate={true,nocompatibility},
|
|
final,
|
|
tracking=true,
|
|
kerning=true,
|
|
spacing=true,
|
|
factor=1100]{microtype}
|
|
\SetTracking{encoding={*}, shape=sc}{40}
|
|
%%Packages added by Sebastian Lenzlinger:
|
|
\usepackage{enumerate} %% Used to change the style of enumerations (see below).
|
|
\usepackage{tikz} %% Pagacke to create graphics (graphs, automata, etc.)
|
|
\usetikzlibrary{automata} %% Tikz library to draw automata
|
|
\usetikzlibrary{arrows} %% Tikz library for nicer arrow heads
|
|
%%End
|
|
%\microtypecontext{spacing=nonfrench}
|
|
|
|
\ifthenelse{\lengthtest { \paperwidth = 11in}}
|
|
{ \geometry{top=.5cm,left=.5cm,right=.5cm,bottom=.5cm} }
|
|
{\ifthenelse{ \lengthtest{ \paperwidth = 297mm}}
|
|
{\geometry{top=0.3cm,left=0.3cm,right=0.3cm,bottom=0.3cm} }
|
|
{\geometry{top=0.5cm,left=0.5cm,right=0.5cm,bottom=0.5cm} }
|
|
}
|
|
\pagestyle{empty}
|
|
\makeatletter
|
|
%% Renew default font
|
|
\usepackage{units}
|
|
\renewcommand{\section}{\@startsection{section}{1}{0mm}%
|
|
{0.1mm}%
|
|
{0.0001mm}%x
|
|
{\normalfont\normalsize\bfseries}}
|
|
\renewcommand{\subsection}{\@startsection{subsection}{2}{0mm}%
|
|
{0.0001mm}%
|
|
{0.00001mm}%
|
|
{\normalfont\small\bfseries}}
|
|
\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0mm}%
|
|
{-1ex plus -.5ex minus -.2ex}%
|
|
{1ex plus .2ex}%
|
|
{\normalfont\small\bfseries}}
|
|
\makeatother
|
|
\setcounter{secnumdepth}{0}
|
|
\setlength{\parindent}{0pt}
|
|
\setlength{\parskip}{0pt plus 0.5ex}
|
|
|
|
% -----------------------------------------------------------------------
|
|
|
|
\title{Pattern Recognition}
|
|
|
|
\begin{document}
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
% Custom Commands
|
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
\renewcommand{\l}[1]{\mathcal{L}(#1)}
|
|
\newcommand{\s}{\Sigma}
|
|
\newcommand{\then}{\rightsquigarrow}
|
|
\renewcommand{\empty}{\varnothing}
|
|
\newcommand{\any}{$\forall$}
|
|
\newcommand{\some}{$\exists$}
|
|
\newcommand{\predux}{$\leq_p$}
|
|
\newcommand{\tin}{$\in$}
|
|
\newcommand{\ntin}{$\not\in$}
|
|
\newcommand{\ffrom}[1]{\stackrel{(#1)}{\Rightarrow}}
|
|
\raggedright
|
|
\footnotesize
|
|
\microtypecontext{spacing=nonfrench}
|
|
\begin{multicols*}{4}
|
|
\setlength{\premulticols}{0.1cm}
|
|
\setlength{\postmulticols}{0.1cm}
|
|
\setlength{\multicolsep}{0.1cm}
|
|
\setlength{\columnsep}{0.1cm}
|
|
\input{patterns/topics/ingeredience}
|
|
\input{patterns/topics/knn}
|
|
\end{multicols*}
|
|
\end{document} |