| 1 |
% !TeX encoding = UTF-8 |
| 2 |
% !TeX spellcheck = en_US |
| 3 |
% !TEX TS-program = lualatex |
| 4 |
\documentclass{article} |
| 5 |
\usepackage[nostamp]{moodle} |
| 6 |
\ifPDFTeX % FOR LATEX and PDFLATEX |
| 7 |
\usepackage[utf8]{inputenc} % necessary |
| 8 |
\usepackage[T1]{fontenc} % necessary |
| 9 |
\else % assuming XELATEX or LUALATEX |
| 10 |
\usepackage{fontspec} |
| 11 |
\fi |
| 12 |
\usepackage[nooldvoltagedirection]{circuitikz} |
| 13 |
\begin{document} |
| 14 |
|
| 15 |
\section*{Introduction} |
| 16 |
|
| 17 |
This document is intended to check the support of circuitikz. |
| 18 |
|
| 19 |
\begin{quiz}{Circuitikz} |
| 20 |
|
| 21 |
\begin{multi}{Multi} |
| 22 |
\begin{tikzpicture}[american] |
| 23 |
\draw (0,0) to[isource, l=$I_0$] (0,3) --(2,3) to[R=$R_1$] (2,0) -- (0,0); |
| 24 |
\draw (2,3) -- (4,3) to[R=$R_2$] (4,0) -- (2,0); |
| 25 |
\end{tikzpicture} |
| 26 |
\item[feedback={}]* \begin{tikzpicture}[american] |
| 27 |
\draw (0,0) to[isource, l=$I_0$] (0,3) --(2,3) to[R=$R_1$] (2,0) -- (0,0); |
| 28 |
\draw (2,3) -- (4,3) to[R=$R_2$] (4,0) -- (2,0); |
| 29 |
\end{tikzpicture} |
| 30 |
\item[feedback={\begin{tikzpicture}[american] |
| 31 |
\draw (0,0) to[isource, l=$I_0$] (0,3) --(2,3) to[R=$R_1$] (2,0) -- (0,0); |
| 32 |
\draw (2,3) -- (4,3) to[R=$R_2$] (4,0) -- (2,0); |
| 33 |
\end{tikzpicture}}] toast |
| 34 |
\end{multi} |
| 35 |
|
| 36 |
\end{quiz} |
| 37 |
|
| 38 |
\end{document} |