Article snippet for latex-mode

35 views
Skip to first unread message

Jim Burton

unread,
Mar 9, 2010, 10:31:09 AM3/9/10
to smart-snippet and YASnippet
# contributor : Jim Burton <j...@sdf-eu.org>
# -*- mode: snippet -*-
# name: Article document class (pdf, maths packages)
# key: article
# --
\documentclass{article}
\usepackage[pdftex]{color,graphicx}
\usepackage{amsmath}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{fixltx2e}

\newdefinition{definition}{Definition}
\newtheorem{thm}{Theorem}
\newtheorem{lem}[thm]{Lemma}

\title{$1}
\author{$2}
\date{\today}

\pagestyle{plain}
\begin{document}
\maketitle

$0

\bibliographystyle{plain}
\bibliography{$3}

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:

Mitchel Humpherys

unread,
Mar 9, 2010, 11:18:24 AM3/9/10
to smart-...@googlegroups.com
Cool tex snippets. I've been building up some of my own as well. Maybe you could package them up and send them out or, better yet, start a project at github to which more people could contribute their own. Github seems like a cool way to share snippets.



--
You received this message because you are subscribed to the Google Groups "smart-snippet and YASnippet" group.
To post to this group, send email to smart-...@googlegroups.com.
To unsubscribe from this group, send email to smart-snippe...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/smart-snippet?hl=en.




--
"if i had more time i would have written a shorter letter."
--Pascal

Jim Burton

unread,
Mar 9, 2010, 3:37:15 PM3/9/10
to smart-snippet and YASnippet

On Mar 9, 4:18 pm, Mitchel Humpherys <mitch.spec...@gmail.com> wrote:
> Cool tex snippets. I've been building up some of my own as well. Maybe you
> could package them up and send them out or, better yet, start a project at
> github to which more people could contribute their own. Github seems like a
> cool way to share snippets.
>

Sounds good, but I saw that some people had posted them here so
presumed this group was the place to do it. Good idea to have one
place to search for them, don't you think?

Jim

> > smart-snippe...@googlegroups.com<smart-snippet%2Bunsu...@googlegroups.com>

Reply all
Reply to author
Forward
0 new messages