I use LaTeX to typeset notes and case briefs for law school. So far I have settled for a theorem-style layout for each case using thmtools
. Here is a minimal working example:
\documentclass[a4paper]{report}
\usepackage{amsthm,thmtools}
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[section]
\theoremstyle{definition}
\newtheorem{case}[theorem]{Case}
\renewcommand{\listtheoremname}{List of cases}
\begin{document}
\listoftheorems[ignoreall,show={case}]
\chapter{1}
\begin{case}[name=Case name]
\textbf{Facts}: foo.
\textbf{Issue}: bar.
\textbf{Rule}: foobar.
\textbf{Analysis}: fob.
\textbf{Conclusion}: bor.
\end{case}
%repeat ad nauseum
\end{document}
Specific issues
Case structured and defined by a LaTeX macro: Typing
\textbf{Facts}
and the rest is tedious for every case. Is there a way to define a specialized theorem-like environment that will simplify the matter? For example, I am vaguely familiar with themoderncv
package and I know that the six braces in the command\cventry{}{}{}{}{}{}
can be filled with different information with different formatting. Would it be possible to define some similar theorem-like environment where I could do, for example,\case{Case name}{foo.}{bar.}{foobar.}{fob.}{bor.}
and get the same output as in my MWE? If so, how could I define this environment?Table of cases: If this is possible, would it then be possible to print a list of case names with content from one of the braces appended to each case? Right now I have
\listoftheorems[ignoreall,show={case}]
which spits out a list of cases. But I'd rather have a list of cases with thefoo.
from each case appended to it. Might that be possible?
A v. B
and hasI am a dog
in the first set of braces. Case 2 is calledC v. D
and hasI am a cat
in the first set of braces. I would like some way to printA v. B: I am a dog
and thenC v. D: I am a cat
with one command. I have the command\listoftheorems[ignoreall,show={case}]
so far, but that only does half the work by spitting out the case names.