V_T
, horizontally using minipage. I have the two circuits drawn as I want them using circuitikz. What do I need to do to correct the alignment? Code: Select all
\documentclass[12pt,letterpaper,onecolumn]{article}
%\usepackage[utf8]{inputenc}
\usepackage{amsmath}
%\usepackage{amsfonts}
%\usepackage{amssymb}
%\usepackage{graphicx}
\usepackage{tikz}
\usepackage{circuitikz}
%\usepackage{lmodern}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\begin{document}
%\hspace{.1cm}
\vspace{4 cm}
\begin{minipage}[t]{.8 in}
%parallel circuit
\begin{circuitikz}[scale=1.5]\draw
(0,2) to [battery, l_= $V_T$, i<^ =$I_1$] (0,0)
(0,0) -- (6,0)
(6,2) -- (0,2)
(4,2) to [R, l=$R$] (4,0)
(6,2) to [R, l=$R$] (6,0)
(2,2) to [R, l=$R$] (2,0);
\end{circuitikz}
\end{minipage}
\hfill
\begin{minipage}[t]{2.5 in}
%series circuit
\hspace{15 pt}
%\vspace{.6 cm}
%\hfill
\begin{circuitikz}[scale=1.5] \draw
(0,2) to [battery, l_= $V_{\text{T}}$,i<^=$I_2$] (0,0)
(0,2) to [R,l=$R$] (2,2)
(2,2) to [R,l=$R$] (2,0)
(2,0) to [R,l=$R$] (0,0);
\end{circuitikz}
\end{minipage}\medskip
\end{document}