Skip to content

Commit

Permalink
Merge pull request #1 from mstankus/master
Browse files Browse the repository at this point in the history
Modified frame with footnote
  • Loading branch information
josephwright committed Oct 17, 2016
2 parents 674919c + e517366 commit 1417e32
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 6 deletions.
100 changes: 100 additions & 0 deletions Makefile_non_silent
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
################################################################
################################################################
# Makefile for 'LaTeX for Beginners' materials #
################################################################
################################################################

#.SILENT:

################################################################
# Default with no target is to give help #
################################################################

help:
@echo ""
@echo " make all - make all targets"
@echo " make clean - clean out directory"
@echo " make handouts - make student handouts"
@echo " make online - make HTML version"
@echo " make notes - make tutor notes"
@echo " make slides - make slides"
@echo ""

##############################################################
# Clean-up information #
##############################################################

AUXFILES = \
4ct \
4tc \
aux \
dvi \
idv \
lg \
log \
nav \
out \
snm \
toc \
tmp \
vrb \
xref

CLEAN = \
css \
gz \
html \
pdf \
png \
svg

################################################################
# Standard file options #
################################################################

%.pdf: %.tex
NAME=`basename $< .tex` ; \
echo "Typesetting $$NAME" ; \
pdflatex -draftmode $< ; \
if [ $$? = 0 ] ; then \
pdflatex $< ; \
fi
for I in $(AUXFILES) ; do \
rm -f *.$$I ; \
done

################################################################
# User make options #
################################################################

.PHONY = \
all \
clean \
handouts \
online \
notes \
slides

all: handouts online notes slides

clean:
echo "Cleaning up"
for I in $(AUXFILES) ; do \
rm -f *.$$I ; \
done
for I in $(CLEAN) ; do \
rm -f *.$$I ; \
done

handouts: handouts.pdf

online:
echo "Typesetting HTML"
htlatex online "online"
for I in $(AUXFILES) ; do \
rm -f *.$$I ; \
done

notes: tutornotes.pdf

slides: slides.pdf
15 changes: 14 additions & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,21 @@ The timing given in the tutor notes is approximate. Depending on the group,
something like half an hour at the end of the day for general questions seems
to work well.

For Course Developers
---------------------

If you are modifying this course and want to see possible errors, use

make -f Makefile_non_silent

rather than

make


Using this material
-------------------

This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0
Unported License](http://creativecommons.org/licenses/by-sa/3.0/).
Unported License](http://creativecommons.org/licenses/by-sa/3.0/).

10 changes: 5 additions & 5 deletions training.tex
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ \section{Getting started}
\alert<6>{\\begin\{document\}}
\alert<7>{\% This is a comment}
\alert<8>{This is a simple}
\alert<8>{document\\footnote\{with a footnote\}.}
\alert<8>{document\alert<9>{\\\alert<10>{footnote}\{\alert<11>{with a footnote}\}}.}

\alert<8>{This is a new paragraph.}
\alert<6>{\\end\{document\}}
Expand Down Expand Up @@ -308,19 +308,19 @@ \section{Logical structure}

\begin{frame}[fragile]{Lists}

\begin{block}{Order not important}
\begin{block}{List with bullets, dashes, etc.}
\begin{verbatim}
\begin{itemize}
\item This is an unordered list
\end{itemize}
\end{verbatim}
\end{block}

\begin{block}{Order important}
\begin{block}{List with numbered items}
\begin{verbatim}
\begin{enumerate}
\item This one is ordered
\item So this will have number 2!
\item This is the first item.
\item This will have number 2!
\end{enumerate}
\end{verbatim}
\end{block}
Expand Down

0 comments on commit 1417e32

Please sign in to comment.