Added includelecture command.
This commit is contained in:
parent
e7588386e8
commit
27dbd4f0b1
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue