mirror of
https://github.com/vale981/Lab_Report_LaTeX
synced 2025-03-05 09:01:39 -05:00
add Group
This commit is contained in:
parent
afa7cafac1
commit
f2a23955e8
1 changed files with 6 additions and 1 deletions
|
@ -51,7 +51,11 @@
|
||||||
\def\coursedate{#1}
|
\def\coursedate{#1}
|
||||||
}
|
}
|
||||||
|
|
||||||
\ExecuteOptionsX{course, slug, partner, supervisor, room, coursedate}
|
\define@key{lab_report.cls}{group}[]{%
|
||||||
|
\def\group{#1}
|
||||||
|
}
|
||||||
|
|
||||||
|
\ExecuteOptionsX{course, slug, partner, supervisor, room, coursedate, group}
|
||||||
\ProcessOptionsX%
|
\ProcessOptionsX%
|
||||||
|
|
||||||
\renewcommand*{\@date}{\today}
|
\renewcommand*{\@date}{\today}
|
||||||
|
@ -69,6 +73,7 @@
|
||||||
\begin{tabular}{l r}%
|
\begin{tabular}{l r}%
|
||||||
Date Performed: & \coursedate\\%
|
Date Performed: & \coursedate\\%
|
||||||
Partner(s): & \partner\\%
|
Partner(s): & \partner\\%
|
||||||
|
{\ifx\group\empty\else\ (Group & \group\\)\fi}%
|
||||||
Room/Seat: & \room\\%
|
Room/Seat: & \room\\%
|
||||||
Instructor(s): & \supervisor\\%
|
Instructor(s): & \supervisor\\%
|
||||||
\end{tabular}%
|
\end{tabular}%
|
||||||
|
|
Loading…
Add table
Reference in a new issue