Graphics, Figures & Tablescircuitikz | Aligning labels

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
mgulin
Posts: 18
Joined: Thu May 31, 2012 7:16 pm

circuitikz | Aligning labels

Post by mgulin »

Hello friends.

I have a problem using TikZ, i.e. circuitikz. In figure below are shown three DC/DC converters (buck, boost, buck-boost). I was wondering how to make that voltage labels are aligned with empty circles, i.e. plus and minus sign and voltage label are centered relative to empty circles.
Attachments
dc-to-dc.png
dc-to-dc.png (16.44 KiB) Viewed 3706 times

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

circuitikz | Aligning labels

Post by localghost »

And you expect others to make up an answer how you did the circuits? Kindly prepare a minimal example. m(


Thorsten
User avatar
Stefan Kottwitz
Site Admin
Posts: 10350
Joined: Mon Mar 10, 2008 9:44 pm

Re: circuitikz | Aligning labels

Post by Stefan Kottwitz »

TikZ is flexible and provides features for positioning and alignment of nodes as well. Since circuitikz bases on it, it should be possible with TikZ settings.

What in your code would help, however, we hardly can say without seeing your code. So, as Thorsten said, it would be good to post the diagram with a compilable example. Then there's even a chance that somebody tests it and fixes it without having used circuitikz before.

Stefan
LaTeX.org admin
Post Reply