Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How do I flip the label to the bottom without having to flip the coordinates?

\documentclass[preview, american, convert]{standalone}

\usepackage[siunitx]{circuitikz}

\begin{document}
\begin{circuitikz}
    \draw
    (0,0) to[C=\(C_f\)] ++(1,0);
\end{circuitikz}

enter image description here

How do I flip the label to the bottom without having to flip the coordinates?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You can use the l=<label> option to specify the label, and then you can use ^ or _ to chose the position. Here is a comparrision of l=, l^=, and l_= syntax:

enter image description here

Code:

\documentclass{article}

\usepackage[siunitx]{circuitikz}

\begin{document}
\begin{circuitikz}
    \draw (0,0) to[C, l ={\(C_f\)}] ++(1,0);
    \draw (2,0) to[C, l^={\(C_f\)}] ++(1,0);
    \draw (4,0) to[C, l_={\(C_f\)}] ++(1,0);
\end{circuitikz}
\end{document}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.