Graphics, Figures & Tablescircuitikz | Electrical Circuits

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
dagarzu
Posts: 1
Joined: Thu May 03, 2012 7:08 pm

circuitikz | Electrical Circuits

Post by dagarzu »

Good day LC,

I have a problem with an electrical diagram and I wonder if anybody can help me.
The problem is that I can't do more than one Op Amp in a single circuit, at least in circuitikz and I haven't found yet another package to do electrical circuits in LaTeX.
If any of you knows how to do more than one Op Amp in a same circuit or knows any other package to build this I will appreciate your help
Thank you for our time and effort.


Regards
Daniel

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

circuitikz | Electrical Circuits

Post by cgnieder »

Would you mind providing a Infominimal working example? Otherwise it's not very likely you'll get much help...

Regards
site moderator & package author
Laganne
Posts: 5
Joined: Thu Mar 10, 2011 1:33 pm

Re: circuitikz | Electrical Circuits

Post by Laganne »

There are several ways of including circuit diagram in LaTeX documents, but since you ask for alternatives, have a look at graphics/circuit_macros on a CTAN site, or look at examples at
https://ece.uwaterloo.ca/~aplevich/Circ ... mples.html
xetam
Posts: 4
Joined: Wed May 02, 2012 7:22 pm

circuitikz | Electrical Circuits

Post by xetam »

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\usepackage[spanish]{babel}
\usepackage{tikz}
\usepackage{circuitikz}
\begin{document}

\begin{center}
\begin{circuitikz} 
\draw (0,0) node[op amp] {};
\end{circuitikz}
\end{center}
\end{document}
Check the circuitikz documentation.
Last edited by Stefan Kottwitz on Fri May 04, 2012 5:30 pm, edited 1 time in total.
TexLive 2011
Texmaker
windows 7 64
alainremillard
Posts: 45
Joined: Fri Mar 16, 2012 8:22 pm

circuitikz | Electrical Circuits

Post by alainremillard »

dagarzu wrote: If any of you knows how to do more than one Op Amp in a same circuit or knows any other package to build this I will appreciate your help
Simply add an other one like this.

Code: Select all

\documentclass{article}
\usepackage{amsmath}
\usepackage{tikz}
\usepackage{circuitikz}
\begin{document}

\begin{center}
  \begin{circuitikz}
    \draw (0,0) node[op amp] (opamp1) {};
    \draw (4,2) node[op amp] (opamp2) {};
    \draw (opamp1.out) -- (opamp2.+);
  \end{circuitikz}
\end{center}

\end{document}
Since it is only a node shape, you should be able to put as much as you want.

Good day
Alain Rémillard
Post Reply