Introduction
Introduction Statistics Contact Development Disclaimer Help
tput functions into package, rename template - scibeamer - quickly create scien…
git clone git://src.adamsgaard.dk/scibeamer
Log
Files
Refs
README
LICENSE
---
commit 7ecf51a90ab393774845f0addb6368164e232239
parent c7ae67605c02d0887449b15229acb9d165b03a7a
Author: Anders Damsgaard Christensen <[email protected]>
Date: Wed, 13 Jul 2016 08:29:15 -0700
put functions into package, rename template
Diffstat:
M Makefile | 5 +----
D scibeamer.pdf | 0
A scibeamer.sty | 65 +++++++++++++++++++++++++++++…
D scibeamer.tex | 218 -----------------------------…
A template.tex | 161 +++++++++++++++++++++++++++++…
5 files changed, 227 insertions(+), 222 deletions(-)
---
diff --git a/Makefile b/Makefile
t@@ -1,4 +1,4 @@
-NAME=scibeamer
+NAME=template
default: pdf
all: dvi eps pdf
t@@ -13,9 +13,6 @@ view: view-pdf
edit: $(NAME).tex Makefile
$(EDITOR) $^
-upload: $(NAME).pdf
- scp $< [email protected]:~/public_html_cs/
-
$(NAME).eps: $(NAME).dvi
dvips -o $@ $<
diff --git a/scibeamer.pdf b/scibeamer.pdf
Binary files differ.
diff --git a/scibeamer.sty b/scibeamer.sty
t@@ -0,0 +1,65 @@
+\NeedsTeXFormat{LaTeX2e}[1994/06/01]
+\ProvidesPackage{scibeamer}[2016/07/13 scibeamer]
+
+%\RequirePackage{lmodern}
+
+
+% Do not show horizontal line above footnotes
+\renewcommand\footnoterule{}
+
+
+%% Citation commands
+
+% \fcite{arg1}{arg2}
+% Add a citation as a small footnote in the current slide. `arg1` will be
+% stylized as regular text, followed by `arg2` in emphasized style.
+% Example: \fcite{Author year}{Journal}
+\newcommand{\fcite}[2]{\let\thefootnote\relax\footnotetext{\footnotesize{#1 \e…
+
+
+%% Frame templates
+
+% \titleframe{arg1}
+% Add a plain frame with large centered text.
+% Example: \titleframe{Conclusions}
+\newcommand{\titleframe}[1]{\begin{frame}\begin{center}\huge{#1}\end{center}\e…
+
+% \plainimageframe{arg1}{arg2}
+% Add a plain frame with a single full-frame image `arg1`, scaled relative to
+% frame width multiplied by `arg2`.
+% Example: \plainimageframe{image.png}{1.0}
+\newcommand{\plainimageframe}[2]{\begin{frame}\begin{center}\centering\include…
+
+% \plainimageframeheight{arg1}{arg2}
+% Add a plain frame with a single full-frame image `arg1`, scaled relative to
+% frame height multiplied by `arg2`.
+% Example: \plainimageframeheight{image.png}{1.0}
+\newcommand{\plainimageframeheight}[2]{\begin{frame}\begin{center}\centering\i…
+
+% \imageframe{arg1}{arg2}{arg3}
+% Add a frame with title `arg1`, containing a single full-frame image `arg2`,
+% scaled relative to frame width multiplied by `arg3`.
+% Example: \imageframe{An example frame}{image.png}{1.0}
+\newcommand{\imageframe}[3]{\begin{frame}{#1}\begin{center}\centering\includeg…
+
+% \plainimageframeheight{arg1}{arg2}{arg3}
+% Add a frame with title `arg1`, containing a single full-frame image `arg2`,
+% scaled relative to frame height multiplied by `arg3`.
+% Example: \plainimageframeheight{An example frame}{image.png}{1.0}
+\newcommand{\imageframeheight}[3]{\begin{frame}{#1}\begin{center}\centering\in…
+
+% \plainimageframe{arg1}{arg2}
+% Add a frame with title `arg1`, containing a single full-frame image `arg2`
+% that is not scaled relative to the frame size.
+% Example: \plainimageframe{An example frame}{image.png}
+\newcommand{\imageframenoscale}[2]{\begin{frame}{#1}\begin{center}\centering\i…
+
+% \imageframecite{arg1}{arg2}{arg3}{arg4}{arg5}
+% Add a frame with title `arg1`, containing a single image `arg2`, scaled
+% relative to frame height multiplied by `arg3`, including a citation to
+% publication authored by `arg4`, published in `arg5`.
+% Example: \imageframecite{An example title}{image.pdf}{1.0}{Author year}{Jour…
+\newcommand{\imageframecite}[5]{\begin{frame}{#1}\begin{center}\centering\incl…
+
+
+\endinput
diff --git a/scibeamer.tex b/scibeamer.tex
t@@ -1,218 +0,0 @@
-%% Beamer document class
-\documentclass[11pt]{beamer}
-% Available font size options:
-% 8pt, 9pt, 10pt, 11pt (default), 12pt, 14pt, 17pt, 20pt
-
-% Make printable version
-%\usepackage{beamerarticle}
-
-%% Language, fonts and encoding
-\usepackage[english]{babel}
-\usepackage[latin1]{inputenc}
-\usepackage[T1]{fontenc}
-%\usepackage[light,math]{iwona} % Math font w/o serifs
-\usepackage[final]{microtype}
-\usepackage{lmodern}
-
-%% Links, colors, citations
-%\usepackage{showkeys} % Show labels in pdf
-
-%% Graphics
-%\graphicspath{{./\jobname-graphics/}}
-%\usepackage{subfig}
-\usepackage[scriptsize]{caption} % Caption text style
-
-%% Drawing
-\usepackage{tikz}
-\usetikzlibrary{shapes,arrows,3d,calc,decorations.pathmorphing}
-
-%\usepackage{movie15}
-\usepackage{multimedia}
-
-%% Layout
-%\usepackage{multicols} % n columns with \begin{multicols}{<n>} ... \end{multi…
-%\setlength{\columnsep}{5pc}
-
-%% Beamer-specific layout and style
-%\usepackage{beamerthemesplit} %Activate for custom appearance
-%\usetheme{Berkeley}
-%\usetheme{CambridgeUS}
-\usetheme{Singapore}
-\usecolortheme{seagull} % Gray color theme
-%\usecolortheme{beetle} % Complete Color Theme
-%%\usecolortheme{orchid} % Inner color theme
-%%\usecolortheme{whale} % Outer Color Theme
-\xdefinecolor{AUblue}{rgb}{0.0,0.3,0.5}
-%\setbeamercolor{sidebar}{bg=AUblue}
-\setbeamercolor{frametitle}{fg=AUblue}
-%\setbeamercolor{logo}{bg=AUblue!80!black}
-%\setbeamercolor{normal text}{bg=white!20}
-\setbeamercolor{section in toc}{fg=AUblue}
-\setbeamercolor{title}{fg=red!50!black}
-
-%\usefonttheme{serif} % Serif fonts
-
-%% Mathematics, scientific and chemical notation
-\usepackage{amssymb,amsmath,amsfonts}
-%\usepackage{mathtools}
-%\usepackage{booktabs} % \toprule, \midrule and \bottomrule in tabular
-\usepackage[detect-all]{siunitx}
-%\usepackage[version=3]{mhchem} % chemical notation
-
-%% Code typesetting
-\usepackage{listings}
-
-% Do not show horizontal line above footnotes
-\renewcommand\footnoterule{}
-
-
-%% Citation commands
-
-% \fcite{arg1}{arg2}
-% Add a citation as a small footnote in the current slide. `arg1` will be
-% stylized as regular text, followed by `arg2` in emphasized style.
-% Example: \fcite{Author year}{Journal}
-\newcommand{\fcite}[2]{\let\thefootnote\relax\footnotetext{\footnotesize{#1 \e…
-
-
-%% Frame templates
-
-% \titleframe{arg1}
-% Add a plain frame with large centered text.
-% Example: \titleframe{Conclusions}
-\newcommand{\titleframe}[1]{\begin{frame}\begin{center}\huge{#1}\end{center}\e…
-
-% \plainimageframe{arg1}{arg2}
-% Add a plain frame with a single full-frame image `arg1`, scaled relative to
-% frame width multiplied by `arg2`.
-% Example: \plainimageframe{image.png}{1.0}
-\newcommand{\plainimageframe}[2]{\begin{frame}\begin{center}\centering\include…
-
-% \plainimageframeheight{arg1}{arg2}
-% Add a plain frame with a single full-frame image `arg1`, scaled relative to
-% frame height multiplied by `arg2`.
-% Example: \plainimageframeheight{image.png}{1.0}
-\newcommand{\plainimageframeheight}[2]{\begin{frame}\begin{center}\centering\i…
-
-% \imageframe{arg1}{arg2}{arg3}
-% Add a frame with title `arg1`, containing a single full-frame image `arg2`,
-% scaled relative to frame width multiplied by `arg3`.
-% Example: \imageframe{An example frame}{image.png}{1.0}
-\newcommand{\imageframe}[3]{\begin{frame}{#1}\begin{center}\centering\includeg…
-
-% \plainimageframeheight{arg1}{arg2}{arg3}
-% Add a frame with title `arg1`, containing a single full-frame image `arg2`,
-% scaled relative to frame height multiplied by `arg3`.
-% Example: \plainimageframeheight{An example frame}{image.png}{1.0}
-\newcommand{\imageframeheight}[3]{\begin{frame}{#1}\begin{center}\centering\in…
-
-% \plainimageframe{arg1}{arg2}
-% Add a frame with title `arg1`, containing a single full-frame image `arg2`
-% that is not scaled relative to the frame size.
-% Example: \plainimageframe{An example frame}{image.png}
-\newcommand{\imageframenoscale}[2]{\begin{frame}{#1}\begin{center}\centering\i…
-
-% \imageframecite{arg1}{arg2}{arg3}{arg4}{arg5}
-% Add a frame with title `arg1`, containing a single image `arg2`, scaled
-% relative to frame height multiplied by `arg3`, including a citation to
-% publication authored by `arg4`, published in `arg5`.
-% Example: \imageframecite{An example title}{image.pdf}{1.0}{Author year}{Jour…
-\newcommand{\imageframecite}[5]{\begin{frame}{#1}\begin{center}\centering\incl…
-
-
-%%%% AUTHOR, TITLE, AFFILIATION
-\title{\texttt{scibeamer}\\ a template for scientific presentations}
-\author[A. Damsgaard]{Anders Damsgaard}
-\institute[SIO]{Scripps Institution of Oceanography\\[2mm]
-{\small \url{[email protected]}}}
-\date{\small Unmodified template, 2016-07-12}
-%\logo{\includegraphics[width=30px]{logo1.pdf}}
-%\logo{\includegraphics[width=30px]{logo2.pdf}}
-
-\begin{document}
-
-\begin{frame}[fragile]
- \begin{centering}
- \framesubtitle{Scripps Institution of Oceanography, UCSD}
- \titlepage{}
- \end{centering}
-\end{frame}
-
-% Optional slide with table of contents
-%\begin{frame}[fragile]
- %\tableofcontents
-%\end{frame}
-
-\section{Introduction}
-
-\begin{frame}{Usage}
-
- \texttt{scibeamer} is a flexible template containing functions for quickly
- creating high-quality scientific presentations using \emph{beamer}.
-
- \vspace{1em}
-
- The functions in the \texttt{scibeamer} template are useful for including
- images scaled to frame size with optional references to image source
- publications.
-
-\end{frame}
-
-\begin{frame}{Building presentations}
-
- Add images to the folder containing \texttt{scibeamer.tex} and change the
- \texttt{scibeamer.tex} to include the desired content, using the provided
- functions or standard \emph{beamer} commands.
-
- \vspace{1em}
-
- The included \texttt{Makefile} allows quick output PDF generation by typin…
- \texttt{make} from the command line.
-
-\end{frame}
-
-
-\section{Examples}
-
-\titleframe{Examples}
-
-\plainimageframe{graphics/fig1.pdf}{1.0}
-
-\plainimageframeheight{graphics/fig1.pdf}{0.5}
-
-\imageframe{An example image frame using \texttt{\\imageframe}}
-{graphics/fig1.pdf}{0.5}
-
-\imageframenoscale{An example unscaled image frame using \texttt{\\imageframen…
-{graphics/fig1.pdf}
-
-\imageframecite{An example image frame using \texttt{\\imageframecite}}
-{graphics/fig1.pdf}{0.8}%
-{Damsgaard et al. 2013}{J. Geophys. Res.-Earth}
-
-
-\section{Conclusions}
-\begin{frame}{Conclusions}
- \begin{itemize}
-
- \item \texttt{scibeamer} adds to \emph{beamer} functionality by
- providing functions for quickly creating image-based slides.\\[3mm]
-
- \item Output files can be built as \texttt{pdf} (default), \texttt{dvi…
- or \texttt{eps} using the provided \texttt{Makefile}.\\[3mm]
-
- \item \texttt{scibeamer} is available at
- \url{https://github.com/anders-dc/scibeamer}.
-
- \end{itemize}
-\end{frame}
-
-
-%%%% APPENDIX
-%\titleframe{Appendix}
-
-%\begin{frame}
-% Optionally include appendix content here.
-%\end{frame}
-
-\end{document}
diff --git a/template.tex b/template.tex
t@@ -0,0 +1,161 @@
+%% Beamer document class
+\documentclass[11pt]{beamer}
+% Available font size options:
+% 8pt, 9pt, 10pt, 11pt (default), 12pt, 14pt, 17pt, 20pt
+
+% Make printable version
+%\usepackage{beamerarticle}
+
+%% Language, fonts and encoding
+\usepackage[english]{babel}
+\usepackage[latin1]{inputenc}
+\usepackage[T1]{fontenc}
+%\usepackage[light,math]{iwona} % Math font w/o serifs
+\usepackage[final]{microtype}
+\usepackage{lmodern}
+
+%% Links, colors, citations
+%\usepackage{showkeys} % Show labels in pdf
+
+%% Graphics
+%\graphicspath{{./\jobname-graphics/}}
+%\usepackage{subfig}
+
+%% Drawing
+\usepackage{tikz}
+\usetikzlibrary{shapes,arrows,3d,calc,decorations.pathmorphing}
+
+%\usepackage{movie15}
+\usepackage{multimedia}
+
+%% Layout
+%\usepackage{multicols} % n columns with \begin{multicols}{<n>} ... \end{multi…
+%\setlength{\columnsep}{5pc}
+
+%% Beamer-specific layout and style
+%\usepackage{beamerthemesplit} %Activate for custom appearance
+%\usetheme{Berkeley}
+%\usetheme{CambridgeUS}
+\usetheme{Singapore}
+\usecolortheme{seagull} % Gray color theme
+%\usecolortheme{beetle} % Complete Color Theme
+%%\usecolortheme{orchid} % Inner color theme
+%%\usecolortheme{whale} % Outer Color Theme
+\xdefinecolor{AUblue}{rgb}{0.0,0.3,0.5}
+%\setbeamercolor{sidebar}{bg=AUblue}
+\setbeamercolor{frametitle}{fg=AUblue}
+%\setbeamercolor{logo}{bg=AUblue!80!black}
+%\setbeamercolor{normal text}{bg=white!20}
+\setbeamercolor{section in toc}{fg=AUblue}
+\setbeamercolor{title}{fg=red!50!black}
+
+%\usefonttheme{serif} % Serif fonts
+
+%% Mathematics, scientific and chemical notation
+\usepackage{amssymb,amsmath,amsfonts}
+%\usepackage{mathtools}
+%\usepackage{booktabs} % \toprule, \midrule and \bottomrule in tabular
+\usepackage[detect-all]{siunitx}
+%\usepackage[version=3]{mhchem} % chemical notation
+
+%% Code typesetting
+\usepackage{listings}
+
+\usepackage{scibeamer}
+
+%%%% AUTHOR, TITLE, AFFILIATION
+\title{\texttt{scibeamer}\\ a template for scientific presentations}
+\author[A. Damsgaard]{Anders Damsgaard}
+\institute[SIO]{Scripps Institution of Oceanography\\[2mm]
+{\small \url{[email protected]}}}
+\date{\small Unmodified template, 2016-07-12}
+%\logo{\includegraphics[width=30px]{logo1.pdf}}
+%\logo{\includegraphics[width=30px]{logo2.pdf}}
+
+\begin{document}
+
+\begin{frame}[fragile]
+ \begin{centering}
+ \framesubtitle{Scripps Institution of Oceanography, UCSD}
+ \titlepage{}
+ \end{centering}
+\end{frame}
+
+% Optional slide with table of contents
+%\begin{frame}[fragile]
+ %\tableofcontents
+%\end{frame}
+
+\section{Introduction}
+
+\begin{frame}{Usage}
+
+ \texttt{scibeamer} is a flexible template containing functions for quickly
+ creating high-quality scientific presentations using \emph{beamer}.
+
+ \vspace{1em}
+
+ The functions in the \texttt{scibeamer} template are useful for including
+ images scaled to frame size with optional references to image source
+ publications.
+
+\end{frame}
+
+\begin{frame}{Building presentations}
+
+ Add images to the folder containing \texttt{scibeamer.tex} and change the
+ \texttt{scibeamer.tex} to include the desired content, using the provided
+ functions or standard \emph{beamer} commands.
+
+ \vspace{1em}
+
+ The included \texttt{Makefile} allows quick output PDF generation by typin…
+ \texttt{make} from the command line.
+
+\end{frame}
+
+
+\section{Examples}
+
+\titleframe{Examples}
+
+\plainimageframe{graphics/fig1.pdf}{1.0}
+
+\plainimageframeheight{graphics/fig1.pdf}{0.5}
+
+\imageframe{An example image frame using \texttt{\\imageframe}}
+{graphics/fig1.pdf}{0.5}
+
+\imageframenoscale{An example unscaled image frame using \texttt{\\imageframen…
+{graphics/fig1.pdf}
+
+\imageframecite{An example image frame using \texttt{\\imageframecite}}
+{graphics/fig1.pdf}{0.8}%
+{Damsgaard et al. 2013}{J. Geophys. Res.-Earth}
+
+
+\section{Conclusions}
+\begin{frame}{Conclusions}
+ \begin{itemize}
+
+ \item \texttt{scibeamer} adds to \emph{beamer} functionality by
+ providing functions for quickly creating image-based slides.\\[3mm]
+
+ \item Output files can be built as \texttt{pdf} (default), \texttt{dvi…
+ or \texttt{eps} using the provided \texttt{Makefile}.\\[3mm]
+
+ \item \texttt{scibeamer} is available at
+ \url{https://github.com/anders-dc/scibeamer}.
+
+ \end{itemize}
+\end{frame}
+
+
+%%%% APPENDIX
+%\titleframe{Appendix}
+
+%\begin{frame}
+% Optionally include appendix content here.
+%\end{frame}
+
+\end{document}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.