Coder Social home page Coder Social logo

edu's People

Contributors

wunderlich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

edu's Issues

Command for result box

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);

\tempskip

Add length for temporary usage, like \tempskip.

Command for PDF grid output

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

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 menukeys package

Load and configure menukeys package by default:

\usepackage[os=win]{menukeys}

\renewmenumacro{\menu}[>]{angularmenus}
\renewmenumacro{\keys}{angularkeys}

Multi paragraph support for \res

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}%
}

Umlaute in listings

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
}

Framed box

Add command for creating an empty framed box.

Command for "Please turn over"

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

Empty blackboard

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.

Smileys

Search and add package for typesetting smileys.

Command for easy typesetting of a planfigur (triangle sketch)

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}

Optional timestamp

Add possibility to optionally add a timestamp/version number at documents footer.

Environment for binary expression trees

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}

Quotation environment with reference

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}
}

Fancy underlines

Add commands for more fancy underlines. E. g. coloured or different line styles.

Cutting offset

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.

Subsubsection support

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

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>}

Change styles of transparencies

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?

Reimplement spaces

Vertical spaces are implemented strange. This should be improved. addvskip could be usefull.

SVG support

Add SVG file support:

\usepackage[svgpath=img/]{svg}

Include roboto with scale(d) option

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.

Load xlop package per default

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

Environment for horizontal multiexelist

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.

Heading at blackboard

Add the possibility to add a heading to a blackboard. Maybe something like an bbtitle command or environment.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.