-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmain.tex
More file actions
32 lines (30 loc) · 1.08 KB
/
Copy pathmain.tex
File metadata and controls
32 lines (30 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
\documentclass{article}\makeatletter\let\ea\expandafter\let\dlog\@latex@warning\def\insp#1{\dlog{\string#1:\meaning#1}}\def\csinsp#1{\edef\mcro{\unexpanded\expandafter{\csname #1\endcsname}}\def\tmp{{\mcro}}\expandafter\insp\mcro}
\input{../exercises/mathcommands}
\input{exbankpack}
\usepackage{lipsum}
\exercisebanksetup{%
exercise directory=../exercises
}
%% The \makeset{setname}{exercises,to,include} picks exercises from the exercises-folder
%% The \exclude{setname}{1,2,3,...,9} excludes partproblems 1,...,9 from setname
\makeset{electro}{capacitance}
\makeset{first}{secondexercise}
% \DeclareExerciseCommand\extitle[1]{\strut{\vadjust{\vbox to 0pt{\hskip\pMarginLeft{\Large\bfseries #1}}}}%}
% \DisplaySolutions
\newcommand\exercise{
\ifexb@isFirstProblem%
\global\exb@isFirstProblemfalse%
\else%
\Trigger\EndProblem%
\fi%
\par
\Trigger\BeginProblem%
\Trigger\VeryBeginProblem%
}
\xdef\problem{\unexpanded{\exercise}\unexpanded\expandafter{\problem}}
\makeset[nohead]{2}{first_exercise}
% \makeset[nohead]{2}{secondexercise}
\begin{document}
\buildset{2}
~
\end{document}