I want to draw a &quot;plain mono amp&quot; in my circuitikz schematic, but I keep getting this error :  Package pgfkeys Error: I do not know the key '/tikz/plain mono amp' and I am going to ignore it. Perhaps you misspelled it.  I triple checked the manual, this key is supposed to exist, and I don't get what I am actually doing wrong. I am using Overleaf by the way, which should have the latest package of Circuitikz. Here is an example of what is not working : \documentclass{article} \usepackage{circuitikz} \begin{document} \begin{circuitikz}  \draw (0,0) node[plain mono amp]{}; \end{circuitikz} \end{document}
100166
I have a circuitikz that works perfectly on one configuration but not on another one; for example, this: \begin{circuitikz}     \draw  (0,0) node[dipchip]{CHIP1}; \end{circuitikz}  works ok on one computer but gives errors in another one. What's the matter? The error is something like: I do not know the key /tikz/dipchip/ or similar about not existing /tikz/circuitikz/ keys,.
31396
I want to draw a bunch of nodes with different styles (a, b, ...) at different points (named 00, 01, ...). I am using the following code:  \foreach \n/\lst in {   a/{00, 14, 20, 34},   b/{01, 11, 23, 33} } {   \foreach \xy in \lst {     \node[\n] at (\xy) {\n};   } }   with the hope that \lst would be assigned a list, and \xy would be assigned elements from this list. However, I get error Package pgf Error: No shape named {01, 11, 23, 33}  is known. How to fix this?
21033
I wish I knew how to draw the this commutative diagram with the TikZ package.    I would also like to know how to put subtitles in the diagram.
67716
Im having a bit of trouble drawing a circuit with a diode in. I know the current flows from negative to positive, but convention says that current goes from positive to negative.  When drawing a circuit with a diode do you draw the arrow pointing to the positive (matching the actual flow of electrons) or towards the negative terminal (matching conventional current)?  If you follow convention then surely when building circuits from the diagram the diode will not allow current as it is actually facing the incorrect way?
12943
hopefully you can help me. I tried to plot a function with Tikz and Lua in the following way \documentclass[14pt]{book} \usepackage{marginnote} \usepackage{amsmath} \usepackage{multicol} \usepackage{tikz} \usetikzlibrary{trees} \usetikzlibrary{matrix} \usetikzlibrary{calc} \usetikzlibrary{positioning,shapes} \usetikzlibrary{tikzmark}  \usetikzlibrary{arrows} \usetikzlibrary{intersections} \usepackage{pgfplots}     \pgfplotsset{compat=newest}  \tikzstyle{abstract}=[rectangle, draw=black, rounded corners, text centered, anchor=north, text=black, text width=2.7 cm] \tikzstyle{comment}=[rectangle, draw=black, rounded corners, fill=green,  text centered, anchor=north, text=white, text width=3cm] \tikzstyle{myarrow}=[-&gt;, &gt;=open triangle 90, thick] \tikzstyle{line}=[-, thick]  \usepackage{luacode}  \begin{luacode*} function factorial(n)     if (n == 0) then         return 1     else         return n*factorial(n-1)     end end  function binom(n,k)     return factorial(n) / (factorial(n-k) * factorial(k)) end  function nbin(t)     res = 0     for k = 0, math.floor(t), 1 do         res = res + (binom(k+2,2) * 1/8 * (1/2)^k)     end     return res end  \end{luacode*}  \begin{document} \input{code.tex} \sloppy \end{document}  And the picture is in code.tex using \begin{tikzpicture}[  declare function={nbin(\t) = \directlua{nbin(\t)};}   ]   \begin{axis}[     use fpu=false,     height=8 cm,     width = 8 cm,     samples at={0,1,...,40},     ]     \addplot{nbin(x)};   \end{axis} \end{tikzpicture}  I'm kind of new to all that Tikz stuff, but I can't find solutions here :-/ This prints just a white box with 0, 0.2, ..., 1 at the axis and no errors. What's wrong here? I edited my question because it is running in the standalone environment but not in my setting.
59028
Even further, I would be happy to see a definition of the tikz language in the usual manner programming languages such as Java and Pascal are defined.   The reason I ask is that I keep getting mysterious error messages for the tiniest typos. Essentially, incorrect use of the underlying languages leads to a "crash" of the compiler. This crash sometimes gives useful error messages, but sometimes they are hard to decipher.
30527
The MWE:  \documentclass{standalone}  %====================================== \usepackage{tikz} \usetikzlibrary{graphdrawing} \usetikzlibrary{arrows} \usetikzlibrary{graphs} \usegdlibrary{force, layered, trees} %======================================  \begin{document}  \tikz  \graph [spring layout, nodes = draw] {     a/"dispersive\newline collision";     b/"non-dispersive\newline  collision";      a -&gt; b };  \end{document}   The output:    The question:  As you can see above, the \newline command does nothing. Trying to use \\ instead of \newline, like how the pgfmanual does in some examples (see pg. 386) has the same effect. Why? What can I do in order to have the words appear on separate "lines"?
108627
I am just starting to learn using Tikz and am a little lost within its seemingly infinite amount of options and possibilities.  What I am trying to do is visualize a few Matlab function interaction (which one calls which one, what is the in- and output). Since there are only about six subroutines, I place each one manually as a node. This is an example:  \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,positioning}  \begin{document}  \begin{tikzpicture}[auto] \node           [rounded rectangle,draw]        (node1)     {Node 1}; \coordinate [above=of node1]                                (input); \node           [rounded rectangle,draw]    at  (-10:6cm) (node2)       {Node 2}; \draw           [-&gt;,very thick]             ([xshift=0.1cm]  input.south)  --                  node {right}                ([xshift=0.1cm]  node1.north); \draw           [-&gt;,very thick]             ([xshift=-0.1cm] node1.north) --                  node {left}                 ([xshift=-0.1cm] input.south); \draw                                            (node1) -- (node2);  \end{tikzpicture}  \end{document}     Now I would like to apply these double in/out arrows I (probably pretty awkwardly) created using xshift to all node connections, so in this example also for the connection between Node 1 and Node 2. Ideally, the space between these two arrows would be the same, independant of their angle and they would nicely connect to the outer line of the nodes. Any idea how I could achieve this? Similar questions I have found only used rectangle and orthogonal lines.
42592
I am looking at  (dual low-voltage power amplifier). On the fourth page, there is a sample circuit; right at the V+ input there is a symbol that looks like a capacitor. However, it looks like it is shaded in. What is that?
50259
I need to illustrate a 2D array data structure in my document. This is a picture I found on the internet. I want something similar.    I also want to show the memory layout in the illustration. Something like this:   Can someone help me with drawing them in Tikz? Thanks in advance.  MWE  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{matrix,backgrounds}  \begin{document} \begin{tikzpicture}[font=\ttfamily, array/.style={matrix of nodes,nodes={draw, minimum size=7mm, fill=green!30},column sep=-\pgflinewidth, row sep=0.5mm, nodes in empty cells, row 1/.style={nodes={draw=none, fill=none, minimum size=5mm}}, row 1 column 1/.style={nodes={draw}}}]  \matrix[array] (array) { 0 &amp; 1 &amp; 2 &amp; 3 &amp; 4 &amp; 5 &amp; 6 &amp; 7 &amp; 8 &amp; 9\\   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;  \\}; \node[draw, fill=gray, minimum size=4mm] at (array-2-9) (box) {};  \begin{scope}[on background layer] \fill[green!10] (array-1-1.north west) rectangle (array-1-10.south east); \end{scope}  \draw (array-1-1.north)--++(90:3mm) node [above] (first) {First index}; \draw (array-1-10.east)--++(0:3mm) node [right]{Indices}; \node [align=center, anchor=south] at (array-2-9.north west|-first.south) (8) {Element\\ (at index 8)}; \draw (8)--(box); % \end{tikzpicture} \\ \begin{tikzpicture}[font=\ttfamily, array/.style={matrix of nodes,nodes={draw, minimum size=7mm, fill=red!30},column sep=-\pgflinewidth, row sep=0.5mm, nodes in empty cells, row 1/.style={nodes={draw=none, fill=none, minimum size=5mm}}, row 1 column 1/.style={nodes={draw}}}]  \matrix[array] (array) {  &amp;  &amp;  &amp;  &amp;  &amp;  &amp;  &amp;  &amp;  &amp; \\  &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;  \\}; % \end{tikzpicture} \\ \begin{tikzpicture}[font=\ttfamily, array/.style={matrix of nodes,nodes={draw, minimum size=7mm, fill=blue!30},column sep=-\pgflinewidth, row sep=0.5mm, nodes in empty cells, row 1/.style={nodes={draw=none, fill=none, minimum size=5mm}}, row 1 column 1/.style={nodes={draw}}}]  \matrix[array] (array) {  &amp;  &amp;  &amp;  &amp;  &amp;  &amp;  &amp;  &amp;  &amp; \\  &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;   &amp;  \\}; % \end{tikzpicture} \end{document}
32097
I am trying to run a rather simple code using tikz and a pgf library. My simple code is  \documentclass{book} \usepackage[explicit]{titlesec} \usepackage{fourier} \usepackage{tikz} \usepackage{epigraph} \usepgflibrary{qrr.shapes.openrectangle}  \begin{document}      This is a test document  \end{document}   This code was copied from Gonzalo Medina's answer in . When I run this code I get the error     '!Package pgf Error: I did not find the pgf library qrr.shapes.openrectangle'.   I am using TeXLive-2014 (actually I installed it yesterday) but nonetheless I updated all packages just in case, but that didn't seem to help.  Any idea how to use this specific library and why it cannot be found in the texmf trees?
115776
I've been bashing my head against a wall for the last day trying to get this to work.. I have a custom schematic and pcb library, when I try to update my pcb document I get the following error:    I have checked both the schematic symbol and the pcb footprint about a million times and am certain that I have correctly designated the pins.     I have learned a little bit about using Altium at university, and I have had some success using custom schematic/pcb libraries in the past but for some reason I just can not get this one to work. I've done some searching on the forums for this error but have not yet been able to find a solution that worked for me.  Any ideas/suggestions are welcome! Thank you  EDIT: This is the schematic:   here are the properties of pin 2:   and here is the PCB footprint:
35763
I'm learning Blender, and I want to make keys for a keyboard with RBG lights incorporated inside them (final render will be an image, not an animation). I created a low-poly key, with 2 material : 1 for base color, and a second one for the random color. So here is what I did  But now, i simply want to make an array to fill the keyboard. But the colors is not random at all, it stays the same.
111573
I am using Tikz code from  and everything have been working very well.  When I added some verbatim text at the end, now I get this error from lualtex  Package microtype Warning: Unknown slot number of character (microtype)                `\textgreater ' (microtype)                in font encoding `TU' in protrusion list (microtype)                `T1-default'.   ! Package tikz Error: Sorry, some package has redefined the meaning of the math -mode dollar sign. This is incompatible with tikz and its calc library and migh t cause unrecoverable errors.  See the tikz package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                 I spend alot of time trying to make MWE. But it seems to be random. If I make the code smaller, or move verbatim to top of file, the error goes away. If I remove geometry package, error goes away. I even removed one blank line in random location, and error went away.    I looked at   and followed link to  and tried the fix given there but that did not remove the error:    So I am not sure what to do now. I'd like to keep the tikz code, which shows the line numbers. But I also want to add verbatim.  The smallest Latex file I can show is 150 lines long. This causes the error. I can post a link to the file, since it is long? Or I can paste here also? Will do in few minutes...  I am using TexLive 2016, on Linux mint. On windows, using Miktex 9. Both give same error.  End of log file is:   Package tikz Error: Sorry, some package has redefined the meaning of the math -mode dollar sign. This is incompatible with tikz and its calc library and migh t cause unrecoverable errors.  See the tikz package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.26 \end{verbatim}  Here is how much of LuaTeX's memory you used:  12117 strings out of 494611  100000,319454 words of node,token memory allocated 2441 words of node memory still in use:    15 hlist, 1 vlist, 3 rule, 4 local_par, 4 dir, 101 glue, 8 kern, 44 penalty,  150 glyph, 25 attribute, 48 glue_spec, 25 attribute_list, 4 temp, 4 if_stack, 1  write, 5 pdf_literal, 3 pdf_colorstack nodes    avail lists: 2:6,3:1,4:1,8:1,9:1  15679 multiletter control sequences out of 65536+600000  17 fonts using 981063 bytes  55i,3n,54p,401b,458s stack positions out of 5000i,500n,10000p,90000000b,100000s  warning  (pdf backend): no pages of output.  PDF statistics: 3 PDF objects out of 1000 (max. 8388607)  0 named destinations out of 1000 (max. 131072)  1 words of extra memory for PDF output out of 10000 (max. 10000000)   Listing  Thanks to TorbjørnT help in chat, he was able to make even smaller MWE that shows the error. Here it is  \documentclass[12pt,letterpaper]{article}% \usepackage[margin=1.1in]{geometry} \usepackage{tikz,everypage} \AtBeginDocument{%   \AddEverypageHook{%     \small     \begin{tikzpicture}[remember picture,overlay]             \path (current page.north west) --  (current page.south west)              \foreach \i in {1,...,\fakelinenos}                 { node [pos={(\i-.5)/\fakelinenos},                    xshift=\fakelinenoshift, line number style] {\i} }  ;     \end{tikzpicture}%   }% }  \tikzset{%   line numbers/.store in=\fakelinenos,   line numbers=72,   line number shift/.store in=\fakelinenoshift,   line number shift=5mm,   line number style/.style={text=gray}, }  \begin{document} \vspace*{20cm} \begin{verbatim} data1 = makeTable[0.01, 0, 2, 0]; At one second, using h=0.01 speed is 16.078 at step n = 100 At 2 seconds, using h=0.01 speed is 19.206 at step n = 200 data2 = makeTable[0.005, 0, 2, 0]; At one second, using h=0.005 speed is 16.02 at step n = 200 At 2 seconds, using h=0.005 speed is 19.195 at step n = 400 \end{verbatim} \end{document}
100927
I am not too sure just by reading the manual as to the subtle differences between the .initial and .default PGF key types. Can someone explain and demonstrate the differences with a minimal example?
56674
Why is the parameter value not being passed to my code for the unknown key value here?  \documentclass{article} \usepackage{pgfkeys}  \makeatletter \def\ae@size{2cm} \pgfkeys{/ae/example/.cd,   size/.is choice,   size/small/.code=\def\ae@size{I am small},   size/medium/.code=\def\ae@size{I am medium},   size/large/.code=\def\ae@size{I am large},   size/.unknown/.code={\typeout{UNKNOWN  ----&gt; #1}\def\ae@size{I am customized to#1}}, } \newcommand\problem[1]{%%   \pgfkeys{/ae/example/.cd,#1}%%   \ae@size     \par } \makeatother \begin{document}  \problem{size=small} \problem{size=medium} \problem{size=large} \problem{size=a different size}  \end{document}
82935
I have TeX Live 2013 installed via MacTeX on my Snow Leopard laptop.  I copied the following code from page 247 of version 2.10 of pgfmanual:  \documentclass[a4paper,12pt]{report} \usepackage{tikz} \usetikzlibrary{decorations}  \begin{document}  \begin{tikzpicture} \node (a) {A}; \node (b) at (2,1) {B}; \draw (a) -- (b); \draw[decorate,decoration=brace] (a) -- (b); \draw[decorate,decoration={brace,mirror},red] (a) -- (b); \draw[decorate,decoration={brace,mirror,raise=5pt},blue] (a) -- (b); \end{tikzpicture}  \end{document}   Yet somehow I get this error:  ./Untitled2.tex:11: Package pgfkeys Error: I do not know the key '/pgf/decorati on/brace' and I am going to ignore it. Perhaps you misspelled it.  See the pgfkeys package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.11 \draw[decorate,decoration=brace]                                       (a) -- (b); ?    Is this a bug?