Skip to content

Instantly share code, notes, and snippets.

@hbina hbina/error.log

Last active Jan 17, 2020
Embed
What would you like to do?
note: this is a BETA release; ask questions and report bugs at https://tectonic.newton.cx/
Running TeX ...
error: something bad happened inside TeX; its output follows:
===============================================================================
(submission.tex
LaTeX2e <2018-04-01> patch level 4
Babel <3.20> and hyphenation patterns for 84 language(s) loaded.
(article.cls
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
(size10.clo)) (inputenc.sty
Package inputenc Warning: inputenc package ignored with utf8 based engines.
) (circuitikz.sty (tikz.sty (pgf.sty (pgfrcs.sty (pgfutil-common.tex
(pgfutil-common-lists.tex)) (pgfutil-latex.def (everyshi.sty)) (pgfrcs.code.tex
)) (pgfcore.sty (graphicx.sty (keyval.sty) (graphics.sty (trig.sty)
(graphics.cfg) (xetex.def))) (pgfsys.sty (pgfsys.code.tex (pgfkeys.code.tex
(pgfkeysfiltered.code.tex)) (pgf.cfg) (pgfsys-xetex.def (pgfsys-dvipdfmx.def
(pgfsys-common-pdf.def)))) (pgfsyssoftpath.code.tex) (pgfsysprotocol.code.tex))
(xcolor.sty (color.cfg)) (pgfcore.code.tex (pgfmath.code.tex
(pgfmathcalc.code.tex (pgfmathutil.code.tex) (pgfmathparser.code.tex)
(pgfmathfunctions.code.tex (pgfmathfunctions.basic.code.tex)
(pgfmathfunctions.trigonometric.code.tex) (pgfmathfunctions.random.code.tex)
(pgfmathfunctions.comparison.code.tex) (pgfmathfunctions.base.code.tex)
(pgfmathfunctions.round.code.tex) (pgfmathfunctions.misc.code.tex)
(pgfmathfunctions.integerarithmetics.code.tex))) (pgfmathfloat.code.tex))
(pgfcorepoints.code.tex) (pgfcorepathconstruct.code.tex)
(pgfcorepathusage.code.tex) (pgfcorescopes.code.tex)
(pgfcoregraphicstate.code.tex) (pgfcoretransformations.code.tex)
(pgfcorequick.code.tex) (pgfcoreobjects.code.tex)
(pgfcorepathprocessing.code.tex) (pgfcorearrows.code.tex)
(pgfcoreshade.code.tex) (pgfcoreimage.code.tex (pgfcoreexternal.code.tex))
(pgfcorelayers.code.tex) (pgfcoretransparency.code.tex)
(pgfcorepatterns.code.tex))) (pgfmoduleshapes.code.tex) (pgfmoduleplot.code.tex
) (pgfcomp-version-0-65.sty) (pgfcomp-version-1-18.sty)) (pgffor.sty
(pgfkeys.sty (pgfkeys.code.tex)) (pgfmath.sty (pgfmath.code.tex))
(pgffor.code.tex (pgfmath.code.tex))) (tikz.code.tex
(pgflibraryplothandlers.code.tex) (pgfmodulematrix.code.tex)
(tikzlibrarytopaths.code.tex))) (tikzlibrarycalc.code.tex)
(pgflibraryarrows.code.tex) (pgfcirc.defines.tex) (pgfcircutils.tex)
(pgfcircshapes.tex) (pgfcircmonopoles.tex) (pgfcircbipoles.tex)
(pgfcirctripoles.tex) (pgfcircquadpoles.tex) (pgfcirclabel.tex)
(pgfcircvoltage.tex) (pgfcirccurrent.tex) (pgfcircflow.tex)
! LaTeX Error: Unknown option `RPvoltages' for package `circuitikz'.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.318 \ProcessOptions\relax
No pages of output.
Transcript written on submission.log.
===============================================================================

error: the TeX engine had an unrecoverable error
caused by: halted on potentially-recoverable error as specified
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[siunitx, RPvoltages]{circuitikz}
%opening
\title{My Assignment :3}
\author{My Name}
\begin{document}
\maketitle
\def\coord(#1){
coordinate(#1)}
\def\coord(#1){
node[
circle,
red,
draw,
inner sep=1pt,
pin={[
red,
overlay,
innersep=0.5pt,
font=\tiny,
pin distance=0.1cm,
pin edge={
red,
overlay,}]45:#1}](#1){}}
\begin{abstract}
Practice questions/assignments regarding ideal and practical diodes.
\end{abstract}
\section{The Diagram}
\begin{circuitikz} \draw
(0,0) to[battery, ] (0,4)
to[diode] (4,4) -- (4,0)
to[lamp] (0,0)
(0.5,0) -- (0.5,-2)
to[voltmeter] (3.5,-2) -- (3.5,0)
;
\end{circuitikz}
test
\begin{circuitikz}[american,]
\draw (0,0) node[nmos,](Q1){};
\draw (Q1.center) node[right]{\killdepth{Q1}};
\draw (Q1.S) to[R, l2^=$R_S$ and \SI{5}{k\ohm}]++(0,-3)5node[vee](VEE){$V_{EE}=\SI{-10}{V}$};6\draw (Q1.D) to[R, l2_=$R_D$ and \SI{10}{k\ohm}]++(0,3)7node[vcc](VCC){$V_{CC}=\SI{10}{V}$};8\draw (Q1.S) to[short] ++(2,0) to[C=$C_1$]++(0,-1.5) node[ground](GND){};9\path (GND) \coord(GND) (VCC) \coord(VCC)10(VEE) \coord(VEE);11\end{circuitikz}
\end{document}
\section{Part I}
\subsection{Question 1}
\subsection{Question 2}
\section{Part II}
\subsection{Question 1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.