Added includelecture command.

This commit is contained in:
Achim D. Brucker 2017-02-08 18:01:25 +00:00
parent e7588386e8
commit 27dbd4f0b1
1 changed files with 16 additions and 0 deletions

View File

@ -9,6 +9,9 @@
%% The 2-clause BSD-style license.
%%
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\RequirePackage{etoolbox}
\RequirePackage{graphicx}
\ProvidesPackage{lh-lecture-presentation}
[2017/02/08 v0.0 LaTeX style for lectures (add-on to lh-presentation)]
@ -58,5 +61,18 @@
}
\newcommand\appendtographicspath[1]{%
\gappto\Ginput@path{{#1}}%
}
\newcommand\prependtographicspath[1]{%
\gpreto\Ginput@path{{#1}}%
}
\newcommand{\includelecture}[2]{
\prependtographicspath{#1-#2/figures/}
\include{#1-#2/#2}
}
\endinput