diff options
author | Karl Berry <karl@freefriends.org> | 2022-06-25 20:23:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-06-25 20:23:31 +0000 |
commit | 1fe2a4db97f0240614f55ae98f15b64097dbc5c6 (patch) | |
tree | 480709540bb4b3d6be37c9e479c4c8758afec7c4 /Master/texmf-dist/doc/latex/multiple-choice | |
parent | cf70129a8ef1242754986008823499a035937a63 (diff) |
multiple-choice (25jun22)
git-svn-id: svn://tug.org/texlive/trunk@63722 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/multiple-choice')
-rw-r--r-- | Master/texmf-dist/doc/latex/multiple-choice/README | 22 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/multiple-choice/multiple-choice-doc.pdf | bin | 0 -> 132611 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/multiple-choice/multiple-choice-doc.tex | 96 |
3 files changed, 118 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/multiple-choice/README b/Master/texmf-dist/doc/latex/multiple-choice/README new file mode 100644 index 00000000000..76c8da72929 --- /dev/null +++ b/Master/texmf-dist/doc/latex/multiple-choice/README @@ -0,0 +1,22 @@ +_____________________ +The multiple-choice package +v0.2 + +This package adjusts the choices of the multiple-choice question automatically. + +It has been wholly inspired by the work of Enrico Gregorio +and improved by Vafa Khalighi and I've just packed and +redistributed it under the name of the `multiple-choice` package. + +Current version release date: 2022/06/24 +___________________ +Seiied-Mohammad-Javad Razvian +javadr at gmail dot com + +Copyright © 2022 +It may be distributed and/or modified under the LaTeX Project Public License, +version 1.3c or higher (your choice). The latest version of +this license is at: http://www.latex-project.org/lppl.txt + +This work is “author-maintained” (as per LPPL maintenance status) +by Seiied-Mohammad-Javad Razavian. diff --git a/Master/texmf-dist/doc/latex/multiple-choice/multiple-choice-doc.pdf b/Master/texmf-dist/doc/latex/multiple-choice/multiple-choice-doc.pdf Binary files differnew file mode 100644 index 00000000000..8264bcecb50 --- /dev/null +++ b/Master/texmf-dist/doc/latex/multiple-choice/multiple-choice-doc.pdf diff --git a/Master/texmf-dist/doc/latex/multiple-choice/multiple-choice-doc.tex b/Master/texmf-dist/doc/latex/multiple-choice/multiple-choice-doc.tex new file mode 100644 index 00000000000..f640cabd1a6 --- /dev/null +++ b/Master/texmf-dist/doc/latex/multiple-choice/multiple-choice-doc.tex @@ -0,0 +1,96 @@ +\documentclass{ltxdoc} + +\usepackage{fullpage} +\usepackage{url} +\usepackage{holtxdoc} +\usepackage{listings} +\usepackage{xcolor} +\usepackage{multicol} +\usepackage{multiple-choice} + +\lstdefinestyle{BashInputStyle}{ + basicstyle=\footnotesize\sffamily, + frame=tb, + columns=fullflexible, + backgroundcolor=\color{gray!10}, +} +\lstset{basicstyle=\ttfamily} + +\title{The \xpackage{multiple-choice} Package} +\author{Seiied Mohammad Javad Razavian} + +\date{\choicesdate,\space version \choicesversion} + + \parindent=0pt + +\thispagestyle{empty} + +\begin{document} +\maketitle{ +\centerline{\large\bfseries Abstract} +\bigskip +\begin{multicols}{2} +The \xpackage{multiple-choice} package adjusts the choices of the multiple-choice question automatically. +It has been wholly inspired by the work of Enrico Gregorio\footnote{\url{https://tex.stackexchange.com/questions/140923}} +and improved by Vafa Khalighi. I've just packed and redistributed it. It works with \XeLaTeX, \pdfLaTeX, and \LuaLaTeX. +Please, report any issues including bugs, typos in the documentation +or feature requests on \url{https://github.com/javadr/multiple-choice.sty/issues}. +\end{multicols} + } + + \section{Loading Package} +The package can be loaded in the ordinary way +\cs{usepackage{multiple-choice}}. + +\section{Typesetting the multiple-choice question} + The package defines the \texttt{choices} environment with the \cs{choice} macro for the choices of the multiple-chocie question. + +\begin{lstlisting}[style=BashInputStyle, escapechar={|},] +\begin{choices} + \choice The first choice. + \choice The second choice. + \choice The third choice. + \choice The fourth choice. +\end{choices} +\end{lstlisting} + + \section{Sample} +\begin{enumerate} + +\item First question? +\begin{choices} + \choice The first choice. + \choice The second choice. + \choice The third choice. + \choice The fourth choice. +\end{choices} + +\item Second question? +\begin{choices} + \choice The first choice. + \choice The second choice. + \choice The third choice. + \choice The fourth choice. + \choice The fifth choice. + \choice The sixth choice. +\end{choices} + +\item Third question? +\begin{choices} + \choice The very very very first choice. + \choice The second choice. + \choice The third choice. + \choice The fourth choice. +\end{choices} + +\item Fourth question? +\begin{choices} + \choice The very very very very very very very very very first choice. + \choice The second choice. + \choice The third choice. + \choice The fourth choice. +\end{choices} + +\end{enumerate} + +\end{document} |