K.N. Toosi University of Technology Exercise Document.
clone the repo then copy the repo in the following path:
cp -r KNED $TEXMFHOME/tex/latex/In your LaTeX code you can use it as follow: Use the KNED documentclass ( defined in KNED.cls).
\documentclass[option]{KNED}options as of now are: english, persian. the default option is english. what the options do is basically they change the language of the environment names. e.g "تمرین" for the persian option and "Exercise" for the english one.
to set your own headers put the following codes after document class inclusion:
\renewcommand{\KNEDRHdr}{Right Header}
\renewcommand{\KNEDLHdr}{Left Header}There are several environments listed below:
exercisesolutiontheoremproofcorollaryremarkexample
you can use them as follows:
Here is an example usage:
\begin{exercise}[EXERCISE TITLE]
Exercise Content goes here.
\end{exercise}You can reference the exercise number within the document using \ref{} and \label{} as usual. For example, \ref{exercise_label} would refer to the exercise labeled with \label{exercise_label}.
Here is an example usage:
\begin{solution}
Answer goes here.
\end{solution}Here is an example usage:
\begin{proof}
Proof goes here.
\end{proof}- Create Example with environment and logo.
- Added Persian and English options.
- Add more Environments (Proof, Lemma, etc...)
- Add Environment compatibility for Persian text (XePersian), Persian exercise and solution title.
- Test against Persian support in different latex set ups.
- Add dependency list.