When I use:
\documentclass[12pt]{report}
\usepackage{graphicx} % Required for inserting images
\usepackage{float} % For images inline
\usepackage{amsmath} % For text in math
\usepackage{geometry} % For page geomerty
\usepackage[xcolor,leftbars]{changebar} % For quotebar
\usepackage{circuitikz} % For circuit diagrams
% ---------------------- Commands ----------------------
\newenvironment{quotebar} % Quote with block
{\begin{quote}%
\begin{changebar}\cbcolor{gray}\color{black}}%
{\end{changebar}%
\end{quote}}
% ---------------------- Settings ----------------------
% Page size
\geometry{a4paper, portrait, margin=1in} % Word uses 1 inch margin
% ---------------------- Start ----------------------
\begin{document}
\section{Task 1}
\begin{quotebar}
\begin{figure}[H]
\centering
\begin{circuitikz}[scale=1] \draw
(0,0) node[above]{$V_{\text{in}}$} to[short, o-] ++(1,0)
to[L=L] ++(1,0) -- ++(1,0)
node[above]{$V_o$} -- ++(0,-1)
to[R=R] ++(0,-1) -- node[ground]{} ++(0,-1)
;
\end{circuitikz}
\caption{A passive RL low-pass filter circuit}
\label{task1circuit}
\end{figure}
\end{quotebar}
\end{document}
I get:
- Why do the lines intersect the ground and resistor symbol?
- And how can I make the symbols bigger without changing the coordinates?
From logs:
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024) (preloaded format=pdflatex 2024.5.13) 13 MAY 2024 18:38
Package: circuitikz 2024/05/05{} The CircuiTikz circuit drawing package version 1.6.8
Package: tikz 2023-01-15 v3.1.10 (3.1.10)
\ctikzset{bipoles/length=1.2cm}
before thecircuitikz
.-- ++(0,-1) node[ground]{}
instead of-- node[ground]{} ++(0,-1)
to get the ground shape correctly positioned at the end of the line.