| 1 |
%% |
| 2 |
%% This is file `exframe-src.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% exframe.dtx (with options: `source') |
| 8 |
%% |
| 9 |
%% Copyright (C) 2011-2026 Niklas Beisert |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% https://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3c or later is part of all distributions of LaTeX |
| 17 |
%% version 2008 or later. |
| 18 |
%% |
| 19 |
\ProvidesFile{exframe-src.tex}[2026-03-23 v3.5.3 exframe source code documentation] |
| 20 |
\def\thepkg/{exframe}\def\thedate/{2026-03-23}\def\theversion/{v3.5.3} |
| 21 |
\def\thecopyright/{2011\texorpdfstring{--}{-}2026 Niklas Beisert} |
| 22 |
\PassOptionsToClass{10pt,a4paper}{article} |
| 23 |
\documentclass{ltxdoc} |
| 24 |
|
| 25 |
\usepackage[margin=35mm]{geometry} |
| 26 |
\usepackage[hyperindex=false]{hyperref} |
| 27 |
\usepackage{hyperxmp} |
| 28 |
\usepackage[usenames]{color} |
| 29 |
\usepackage{longtable} |
| 30 |
|
| 31 |
\title{The \markpkg{\thepkg/} Package\\Source Code Documentation} |
| 32 |
\hypersetup{pdftitle={The \thepkg/ Package -- Source Code Documentation}} |
| 33 |
\hypersetup{pdfsubject={Documented Source for the LaTeX2e Package \thepkg/}} |
| 34 |
\author{Niklas Beisert\\[2ex] |
| 35 |
Institut f\"ur Theoretische Physik\\ |
| 36 |
Eidgen\"ossische Technische Hochschule Z\"urich\\ |
| 37 |
Wolfgang-Pauli-Strasse 27, 8093 Z\"urich, Switzerland\\[1ex] |
| 38 |
\href{mailto:[email protected]} |
| 39 |
{\texttt{[email protected]}}} |
| 40 |
\hypersetup{pdfauthor={Niklas Beisert}} |
| 41 |
\date{\theversion/: \markdate{\thedate/}\\[1ex] |
| 42 |
\url{https://ctan.org/pkg/\thepkg/}\\[0.5ex] |
| 43 |
\url{https://github.com/nbeisert/latex-pkg-nb}} |
| 44 |
|
| 45 |
\hypersetup{pdflang={en-UK}} |
| 46 |
\hypersetup{pdfurl={https://ctan.org/pkg/\thepkg/}} |
| 47 |
\hypersetup{pdfcopyright={Copyright \thecopyright/. |
| 48 |
This work may be distributed and/or modified under the |
| 49 |
conditions of the LaTeX Project Public License, either version 1.3 |
| 50 |
of this license or (at your option) any later version.}} |
| 51 |
\hypersetup{pdflicenseurl={https://www.latex-project.org/lppl.txt}} |
| 52 |
\hypersetup{pdfcontactaddress={ETH Zurich, ITP, HIT K, |
| 53 |
Wolfgang-Pauli-Strasse 27}} |
| 54 |
\hypersetup{pdfcontactpostcode={8093}} |
| 55 |
\hypersetup{pdfcontactcity={Zurich}} |
| 56 |
\hypersetup{pdfcontactcountry={Switzerland}} |
| 57 |
\hypersetup{pdfcontactemail={[email protected]}} |
| 58 |
\hypersetup{pdfcontacturl={https://people.phys.ethz.ch/\xmptilde nbeisert/}} |
| 59 |
|
| 60 |
\hypersetup{keeppdfinfo=true} |
| 61 |
\hypersetup{pdfsource={}} |
| 62 |
\AddToHook{begindocument/before}{\hypersetup{colorlinks=false}} |
| 63 |
\hypersetup{urlbordercolor={.5 1 1}} |
| 64 |
\hypersetup{linkbordercolor={1 .7 .7}} |
| 65 |
\AddToHook{begindocument/before}{\hypersetup{pdfstartview=FitH}} |
| 66 |
|
| 67 |
\parskip1ex |
| 68 |
\parindent0pt |
| 69 |
\edef\itemize{\unexpanded\expandafter{\itemize}\parskip0pt} |
| 70 |
|
| 71 |
\newcommand{\markpkg}[1]{\textsf{#1}} |
| 72 |
\newcommand{\markdate}[1]{\textsf{#1}} |
| 73 |
\newcommand{\secref}[1]{\hyperref[#1]{section \ref*{#1}}} |
| 74 |
\newcommand{\ctanref}[2]{\href{https://ctan.org/#1}{#2}} |
| 75 |
\newcommand{\ctanpkg}[1]{\ctanref{pkg/#1}{\markpkg{#1}}} |
| 76 |
|
| 77 |
\def\verbbar{\texttt{\char"7C}} |
| 78 |
\def\verbpkg{\texttt{\thepkg/}} |
| 79 |
\def\thepkgctan/{\ctanpkg{\thepkg/}} |
| 80 |
|
| 81 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 82 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 83 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 84 |
\begin{document} |
| 85 |
|
| 86 |
\maketitle |
| 87 |
|
| 88 |
\begin{abstract}\noindent |
| 89 |
\markpkg{exframe} is a \LaTeXe{} package |
| 90 |
which provides a general purpose framework to describe and typeset |
| 91 |
exercises and exam questions along with their solutions. |
| 92 |
The package features mechanisms |
| 93 |
to hide or postpone solutions, |
| 94 |
to assign and handle points, |
| 95 |
to collect problems on exercise sheets, |
| 96 |
to store and use metadata |
| 97 |
and to implement a consistent numbering. |
| 98 |
It also provides a very flexible interface for configuring and customising |
| 99 |
the formatting, layout and representation of the exercise content. |
| 100 |
\end{abstract} |
| 101 |
|
| 102 |
\begingroup |
| 103 |
\parskip0ex |
| 104 |
\tableofcontents |
| 105 |
\endgroup |
| 106 |
|
| 107 |
\raggedright |
| 108 |
\settowidth\MacroIndent{\rmfamily\scriptsize 0000\ } |
| 109 |
|
| 110 |
\DocInput{\thepkg/.dtx} |
| 111 |
|
| 112 |
\end{document} |
| 113 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 114 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 115 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 116 |
\endinput |
| 117 |
%% |
| 118 |
%% End of file `exframe-src.tex'. |