wunderlich / edu Goto Github PK
View Code? Open in Web Editor NEWLaTeX document class for documents at educational institutions.
LaTeX document class for documents at educational institutions.
Add command for creating a small framed box for entering solutions of exercises. Maybe in combination with results?
E. g.:
\tikz[baseline=0.5ex] \draw (0,0) rectangle (2.5ex, 2.5ex);
Add length for temporary usage, like \tempskip
.
Add optional points at \sol command.
Add an option for creating a field for recording the achieved number of points.
Options, which are initialized via \__edu_keys_initial
, can not be changed by users.
Add a command for outputting multiple pages of a PDF file at a grid. E. g.:
\DeclareDocumentCommand{\pdfgrid} { O{} m m O{0.48\linewidth} } {
\edu_create_grid:nnnn {#1} {#2} {#3} {#4}
}
\int_new:N \l_edu_loop_count_int
\int_set:Nn \l_edu_loop_count_int {1}
\int_new:N \l_edu_break_count_int
\int_set:Nn \l_edu_break_count_int {1}
\cs_new_protected:Npn \edu_create_grid:nnnn #1 #2 #3 #4 {
\int_set:Nn \l_edu_loop_count_int {1}
\prg_replicate:nn {#2} {
\clist_if_in:nVF {#1} {\int_use:N \l_edu_loop_count_int} {
\frame{\includegraphics[width=#4, page=\tl_use:N \l_edu_loop_count_int]{#3}}
\int_if_odd:nTF {\l_edu_break_count_int} {
\hfill
}{
\par
\bigskip
\noindent
}
\int_incr:N \l_edu_break_count_int
}
\int_incr:N \l_edu_loop_count_int
}
}
Maybe there is a way to get the total number of the PDF's pages use them as default?
Commands for important formulas for linear algebra should be added. E. g.:
Planes in normal form (not using xparse and l3):
\newcommand{\planen}[3][]{%
{\ensuremath%
\ifthenelse{\equal{#1}{\empty}}{}{
#1:
}
}
\left[ \vec{x} - \vect{#2} \right] \cdot \vect{#3} = 0
}
Planes and lines in parametrical form:
\newcommand{\planep}[4][]{
{\ensuremath%
\ifthenelse{\equal{#1}{\empty}}{}{
#1:
}
}
\vec{x} = \vect{#2} + r \vect{#3} + s \vect{#4}
}
\newcommand{\linep}[3][]{
{\ensuremath%
\ifthenelse{\equal{#1}{\empty}}{}{
#1:
}
}
\vec{x} = \vect{#2} + r \vect{#3}
}
Load and configure menukeys
package by default:
\usepackage[os=win]{menukeys}
\renewmenumacro{\menu}[>]{angularmenus}
\renewmenumacro{\keys}{angularkeys}
Add multi paragraph support for \res
. First attemped, which oviously doesn't work:
\DeclareDocumentCommand \res { O{} +m} {%
\bool_if:NTF \g_edu_showresults_bool {
\group_begin:
\color{\g_edu_resultfg_tl} #2%
\group_end:
}{#1}%
}
Add support of german umlauts in listings:
\lstset{literate=%
{Ö}{{\"O}}1
{Ä}{{\"A}}1
{Ü}{{\"U}}1
{ß}{{\ss}}1
{ü}{{\"u}}1
{ä}{{\"a}}1
{ö}{{\"o}}1
{~}{{\textasciitilde}}1
}
Add an command (or maybe extend the existing \exe
) for additional or bonus exercises (german 'Zusatzaufgabe' or 'Sternchenaufgabe').
Add command for creating an empty framed box.
Add comments for accessing the document's meta data. E. g:
\thetitle
\theauthor
Add a list of files at README and README.md.
Add a command for inserting a little box with the content "Please turn over" (german "Bitte wenden").
Idea:
\vfill
\par
\setlength{\parfillskip}{0pt}
\hfill\fbox{\small\sffamily $\hookrightarrow$ Bitte wenden}
\par
\setlength{\parfillskip}{1em plus 1fil}
\newpage
Using blackboard environments only works with content. Otherwise, the width of the blackboard has not the correct width. Using
\begin{bbhalf}
~
\end{bbhalf}
works correct.
Search and add package for typesetting smileys.
Maybe, the default left margin (left
) is too small. Problems occure, if you want to punch holes.
Add a command for creating references to the appendix (see Appendix A). Clone existine commands for that, e. g. \sees
.
Add command for easy and flexible typesetting of a planfigur (triangle sketch). TikZ
template:
\begin{tikzpicture}[scale=0.65, line join=round, thick]
\coordinate (a) at (0,0);
\coordinate (b) at (5,0);
\coordinate (c) at (3.37, 2.83);
\draw (a) -- node[below] {$c$} (b) -- node[above right] {$a$} (c) -- node[above left] {$b$} (a) -- cycle;
\draw (a) node[left] {$A$};
\draw (b) node[right] {$B$};
\draw (c) node[above] {$C$};
\begin{scope}[color=wuRed, fill=wuRed!25, very thick]
\draw (a) -- (b);
% \draw (b) -- (c);
\draw (c) -- (a);
\draw ($(a) + (0:1)$) arc (0:40:1) ($(a) + (20:0.7)$) node {$\alpha$};
% \draw ($(b) + (120:1)$) arc (120:180:1) ($(b) + (150:0.7)$) node {$\beta$};
% \draw ($(c) + (220:1)$) arc (220:300:1) ($(c) + (260:0.65)$) node {$\gamma$};
\end{scope}
\end{tikzpicture}
Add an option for an offset of the rule of \resr
. As default, move it a little bit more downwards.
Add multi page support for ttable
.
Add possibility to optionally add a timestamp/version number at documents footer.
Add environments for binary expression. Already used:
\usepackage{tikz-qtree}
\tikzset{edge from parent/.style={
draw,
edge from parent path={
(\tikzparentnode.north) -| (\tikzchildnode)
}
}}
\tikzset{
bet/.style = {
grow'=up,
every internal node/.style={
draw,
circle,
inner sep=0pt,
minimum size=2ex
}
},
betr/.style={
draw=none,
inner sep=0pt
},
bete/.style={
draw,
rectangle,
inner sep=2pt
}
}
\tikzset{
level distance=3.5ex,
sibling distance=2ex,
frontier/.style={distance from root=10.5ex}
}
Example tree:
\begin{tikzpicture}[bet, frontier/.style={distance from root=16ex}]
\Tree [.\node[betr](betr){}; [.\node[bete]{hoch 3}; [.$\cdot$ $s$ [.$-$ $9$ [.\node[bete]{hoch 2}; $t$ ] ] ] ] ]
\draw[->] (betr.north) -- (0, 0ex);
\end{tikzpicture}
Add an environment for quotations, which adds a reference in the end. A first attempt:
\DeclareDocumentEnvironment {citequote} { O{} O{} } {
\par\vspace{0.5\baselineskip}
\begin{addmargin}{3em}
\begin{em}
}{
\bool_if:nT {!\tl_if_empty_p:n {#1} || !\tl_if_empty_p:n {#2}} {
\nolinebreak
\hspace*{0pt}\hfill\hspace{0.5em}
\upshape
\tl_if_empty:nTF {#2} {
\mbox{\cite{#1}}
}{
\mbox{\cite[#2]{#1}}
}
}
\end{em}
\end{addmargin}
\par\vspace{0.5\baselineskip}
}
Hyphenation should be disabled in transparency mode.
The struktex
package should be loaded per default. It seems that no more configuration is necessary.
Graphics should be vertically aligned at top at graphicscol
. Maybe optional?
Add a math symbol for the german 'entspricht'.
Theorems with optional enumeration should be added.
Add commands for more fancy underlines. E. g. coloured or different line styles.
The default serif font should be changed to Linux Libertine.
see letter-template
Is 0.5\baselineskip
\begin{cols*}[1][0.5\baselineskip]
correct? Should it not be 2\baselineskip
?
Add column type C
for centered columns with a fixed width.
Add option for an offset, which allows to cut some paper margin at the right for gluing a A4-sheet into a A4 exercise books. The document margins should be changed an the document content should be moved a little bit to the left.
Change the default typewriter font to Source Code Pro.
Vertical spacing of list items inside timetables or itemizet
should be reduced by default. The nosep
option of the enumitem
package should realize that.
Adapt format of \subsubsection
titles and add subsubsection
option, that adapts the size of all other titles.
Add optional argument for actual time at timetable, so you can add the required time after the lesson (maybe as a note?). Maybe:
\ttentry[<duration planned>][<duration required>]{<stage>}{<activity>}{<methods>}{<media>}
At the moment, a lot of text elements (e. g. \exe, \section) are too large at transparency mode.
Maybe, new options should be added for fixing that?
Vertical spaces are implemented strange. This should be improved. addvskip
could be usefull.
Add SVG file support:
\usepackage[svgpath=img/]{svg}
At the moment, the roboto
is included without scaling, but it is a bit too large in combination with Linux Libertine. The problem is, that using the scale(d) option of roboto
leads to a LaTeX error. The maintainer is informed about that.
The xlop
package should be loaded and configured per default. E. g.:
\usepackage{xlop}
\opset{voperation=top} % Vertikale Ausrichtung der Rechnung
\opset{voperator=bottom} % Rechenzeichen in unterer Zeile
\opset{carrysub} % Übertrag bei Subtraktion
\opset{decimalsepsymbol={,}} % Dezimaltrenner
\opset{shiftintermediarysymbol=0} % Mult: Nullen zum Auffüllen
\opset{displayshiftintermediary=all} % Mult: Zeilen mit Nullen auffüllen
\opset{displayintermediary=all} % Mult: Auch Nullzeilen anzeigen
\opset{shiftdecimalsep=divisor} % Div: Nur Nachkommastellen des Divisiors beseitigen
Add an environment for a horizontal variant of multiexelist:
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod
tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
a) Multiexe short b) Multiexe long with more content b) Multiexe short
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod t
empor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Add a command for manually insert a multiexelabel. Something like \multiexelabel(boxed)
but regarding the formatting options.
Hyphenation/Justification should be disabled inside ttable
(\RaggedRight
, ragged2e
).
Add the possibility to add a heading to a blackboard. Maybe something like an bbtitle
command or environment.
The style of theorems (font size, spacing) should be fixed in transparency mode.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.