summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/sesstime
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-02 21:42:35 +0000
committerKarl Berry <karl@freefriends.org>2017-05-02 21:42:35 +0000
commit07dc3a0326b2e760470ab8635dcb16036920d5a5 (patch)
tree681d1550bea6e606bab5e85dc54191fcef82311b /Master/texmf-dist/doc/latex/sesstime
parent07e1a54a1de33e149b6dce23b5d7bc4731eefcdd (diff)
sesstime (2may17)
git-svn-id: svn://tug.org/texlive/trunk@44157 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/sesstime')
-rw-r--r--Master/texmf-dist/doc/latex/sesstime/README35
-rw-r--r--Master/texmf-dist/doc/latex/sesstime/sesstime.pdfbin0 -> 310164 bytes
-rw-r--r--Master/texmf-dist/doc/latex/sesstime/stimsamp.tex183
-rw-r--r--Master/texmf-dist/doc/latex/sesstime/stimsmp3.tex35
-rw-r--r--Master/texmf-dist/doc/latex/sesstime/stimsmp4.tex36
5 files changed, 289 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/sesstime/README b/Master/texmf-dist/doc/latex/sesstime/README
new file mode 100644
index 00000000000..28b62b75cd8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sesstime/README
@@ -0,0 +1,35 @@
+sesstime v1.0
+Copyright 2016-2017 Niklas Beisert
+
+sesstime is a LaTeX2e package to add timing marks to lecture notes
+in order to help managing the time available for presenting a given
+section of the document. It also provides tools to record and
+estimate the progress throughout the course.
+
+The package consists of the files
+
+ README readme file
+ sesstime.ins installation file
+ sesstime.dtx source file
+ sesstime.sty package file
+ stimsamp.tex sample latex file
+ stimsmp3.tex sample include file
+ stimsmp4.tex sample include file
+ sesstime.pdf manual
+
+The distribution consists of the files README, sesstime.ins and sesstime.dtx.
+
+Run "(pdf)latex sesstime.dtx" to compile the manual sesstime.pdf.
+
+Run "latex sesstime.ins" to create the package sesstime.sty
+and the sample stimsamp.tex with stimsmp3.tex and stimsmp4.tex.
+Copy the file sesstime.sty to an appropriate directory of your LaTeX
+distribution, e.g. texmf-root/tex/latex/sesstime.
+
+This work may be distributed and/or modified under the
+conditions of the LaTeX Project Public License, either version 1.3
+of this license or (at your option) any later version.
+The latest version of this license is in
+ http://www.latex-project.org/lppl.txt
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
diff --git a/Master/texmf-dist/doc/latex/sesstime/sesstime.pdf b/Master/texmf-dist/doc/latex/sesstime/sesstime.pdf
new file mode 100644
index 00000000000..dcc45fcd94c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sesstime/sesstime.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/sesstime/stimsamp.tex b/Master/texmf-dist/doc/latex/sesstime/stimsamp.tex
new file mode 100644
index 00000000000..547dc0e2f17
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sesstime/stimsamp.tex
@@ -0,0 +1,183 @@
+%%
+%% This is file `stimsamp.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sesstime.dtx (with options: `sample')
+%%
+%% Copyright (C) 2016-2017 Niklas Beisert
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+\NeedsTeXFormat{LaTeX2e}[1996/12/01]
+\ProvidesFile{stimsamp.tex}[2017/05/01 v1.0 sample for sesstime]
+\documentclass[12pt]{article}
+
+\usepackage{geometry}
+\geometry{layout=a4paper}
+\geometry{paper=a4paper}
+\geometry{margin=3cm}
+\parindent0pt
+
+\RequirePackage{sesstime}
+
+\timingconfigure{autosession=30}
+%%\timingconfigure{print=false}
+
+\newcommand{\sessiondate}[1]{\ifcase#1\\
+ \or Mon 09:00%
+ \or Mon 10:00%
+ \or Tue 09:00%
+ \or Fri 11:00%
+ \or Fri 12:00%
+ \else END%
+ \fi}
+
+\renewcommand{\timingprintsession}[2]{\timingprintremark{%
+ lecture #1\\
+ \sessiondate{#1}%
+ \timingsessiontotal[0]{#1}\ifnum\timingreturn>0%
+ \\(\timingreturn\ min)%
+ \ifnum #2>0\\at #2 min\fi\fi\vphantom{g}}}
+
+\renewcommand{\timingsessionline}[5]{\ \\%
+ \makebox[2em][r]{#1. }%
+ \makebox[5em][l]{\sessiondate{#1}:}%
+ \makebox[2.5em][r]{#3. }%
+ \makebox[10em][l]{\def\tmp{#5}\def\empty{}%
+ \ifx\tmp\empty #4\else\S\ #5\fi}%
+ \timingsessiontotal[0]{#1}\ifnum\timingreturn>0%
+ \ [\timingreturn\ min\ifnum #2>0; #2 min into\fi]\fi}
+
+\def\lorem{Lorem ipsum dolor sit amet, consectetur adipisici elit,
+ sed eiusmod tempor incidunt ut labore et dolore magna aliqua.
+ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
+ nisi ut aliquid ex ea commodi consequat.
+ Quis aute iure reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur.
+ Excepteur sint obcaecat cupiditat non proident,
+ sunt in culpa qui officia deserunt mollit anim id est laborum.\par}
+
+\begin{document}
+
+\section{one}
+\timingchapter
+\timingchapterlabel{one}
+\timingstart{0}
+total chapter duration: \timingchaptertotal{one}\timingreturn\ min\par
+\lorem
+\lorem
+\timingsplit{10}
+\lorem
+\timingsplit{15}
+\lorem
+\lorem
+\timingstop{25}
+\subsection{one.one}
+\timingstart{0}
+\lorem
+\subsection{one.two}
+\timingnext{15}
+\lorem
+\timingstop*{10}
+\timingchapterend
+
+\section{two}
+\timingchapter
+total following block: \timingblocktotal*\timingreturn\ min\par
+\timingstart{0:15}
+total current block: \timingblocktotal\timingreturn\ min\par
+\lorem
+\subsection{two.one}
+\timingsplit*{10}
+\lorem
+\timingstart{0}
+\subsection{two.two}
+\timingsplit{40}
+\lorem
+\timingsplit{30}
+\lorem
+\timingstop{1:00}
+\subsection{two.three}
+\timingstart{0}
+\lorem
+some text broken
+\timingsplit{10}
+by active timing mark\par
+\lorem
+some text broken
+{\timingconfigure{print=false}\timingsplit{15}}%
+by inactive timing mark\par
+\lorem
+\timingstop{30}
+
+\include{stimsmp3}
+\include{stimsmp4}
+
+\section{five}
+\timingchapter
+\paragraph{five.paragraph.}
+\lorem
+\timingstart{0}
+\lorem
+\timingsplit*{15}
+\lorem
+\timingsplit*{15}
+\subsection{five.one}
+\lorem
+\timingsplit*{15}
+\paragraph{five.one.paragraph.}
+\lorem
+\timingsplit*{15}
+\subsection{five.two}
+\paragraph{five.two.paragraph.}
+\lorem
+\timingsplit*{15}
+\lorem
+\timingstop*{15}
+\timingchapterend
+
+\section{six}
+\timingchapter
+\timinglapse{5}
+\timingstart{10}
+\lorem
+\timinglapse{-5}
+\lorem
+\timingstop{20}
+\lorem
+\timinglapse{5}
+\timingstart{20}
+\lorem
+\timingsplit{30}
+\timinggauge{10}
+\lorem
+\timingstop{20}
+\timingchapterend
+
+\section{flags}
+\timingcomment{test comments}
+set flags `two' and `three':\timingconfigure{flags={two,three}}\par
+one? \timingif[if=one]{yes}\par
+two? \timingif[if=two]{yes}\par
+one or two? \timingif[if=one,if=two]{yes}\par
+not one? \timingif[not=one]{yes}\par
+not two? \timingif[not=two]{yes}\par
+not one or not two? \timingif[not=one,not=two]{yes}\par
+
+\appendix
+\section{list of sessions}
+the list of sessions
+\timinglistofsessions
+
+\end{document}
+\endinput
+%%
+%% End of file `stimsamp.tex'.
diff --git a/Master/texmf-dist/doc/latex/sesstime/stimsmp3.tex b/Master/texmf-dist/doc/latex/sesstime/stimsmp3.tex
new file mode 100644
index 00000000000..b46cb8bed6f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sesstime/stimsmp3.tex
@@ -0,0 +1,35 @@
+%%
+%% This is file `stimsmp3.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sesstime.dtx (with options: `sample3')
+%%
+%% Copyright (C) 2016-2017 Niklas Beisert
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+\section{three}
+\timingchapter
+\timingstart{30}
+\lorem
+\subsection{three.one}
+\timingsplit{35}
+\lorem
+\subsection{three.two}
+\timingsplit{40}
+\lorem
+\timingsplit{50}
+\lorem
+\timingstop{60}
+\timingchapterend
+\endinput
+%%
+%% End of file `stimsmp3.tex'.
diff --git a/Master/texmf-dist/doc/latex/sesstime/stimsmp4.tex b/Master/texmf-dist/doc/latex/sesstime/stimsmp4.tex
new file mode 100644
index 00000000000..805254aa19a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/sesstime/stimsmp4.tex
@@ -0,0 +1,36 @@
+%%
+%% This is file `stimsmp4.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% sesstime.dtx (with options: `sample4')
+%%
+%% Copyright (C) 2016-2017 Niklas Beisert
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+\section{four}
+\timingchapter
+\timingstart{0}
+\lorem
+\subsection{four.one}
+\timingstop{25}
+\lorem
+\timingstart{-20}
+\subsection{four.two}
+\timingsplit{40}
+\lorem
+\timingsplit{50}
+\lorem
+\timingstop{60}
+\timingchapterend
+\endinput
+%%
+%% End of file `stimsmp4.tex'.