mirror of
https://github.com/vale981/Lab_Report_LaTeX
synced 2025-03-05 09:01:39 -05:00
add conditions env
This commit is contained in:
parent
878e91abf3
commit
5bdf874a89
1 changed files with 13 additions and 0 deletions
|
@ -10,6 +10,9 @@
|
|||
\RequirePackage{float}%
|
||||
\RequirePackage{kvoptions}
|
||||
\RequirePackage{booktabs}
|
||||
\RequirePackage{array}
|
||||
\RequirePackage{tabularx}
|
||||
\RequirePackage{calc}
|
||||
\RequirePackage[automark,headsepline]{scrpage2}
|
||||
\KOMAoptions{DIV=14}
|
||||
|
||||
|
@ -64,3 +67,13 @@
|
|||
\tableofcontents
|
||||
\end{titlepage}
|
||||
}
|
||||
|
||||
|
||||
\newlength{\conditionwd}
|
||||
\newenvironment{conditions}[1][where:]
|
||||
{%
|
||||
#1\tabularx{\textwidth-\widthof{#1}}[t]{
|
||||
>{\(}l<{\)} @{${}-\quad{}$} X@{}
|
||||
}%
|
||||
}
|
||||
{\endtabularx\\[\belowdisplayskip]}
|
||||
|
|
Loading…
Add table
Reference in a new issue