CircuiTikZ: Start ground relative to the closest componentCircuiTikZ — create new componentRotate a node but not its content: the case of the ellipse decorationCircuitikz different ground symbolHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?Why do I get an extra white page before my TikZ picture?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to draw a square and its diagonals with arrows?
Trainee keeps passing deadlines for independent learning
RandomInteger with equal number of 1 and -1
When did Nuremberg adopt the Gregorian Calendar?
How many people are necessary to maintain modern civilisation?
Dates on degrees don’t make sense – will people care?
Why does the Saturn V have standalone inter-stage rings?
"Correct me if I'm wrong"
Similarity score: Can Sklearn SVR predict values greater than 1 and less than 0?
LWC - Local Dev - How can I run the local server on HTTPS?
Has there been any indication at all that further negotiation between the UK and EU is possible?
Cut the gold chain
What is "industrial ethernet"?
How do I professionally let my manager know I'll quit over an issue?
How do I farm creepers for XP without them exploding?
Why does Linux list NVMe drives as /dev/nvme0 instead of /dev/sda?
What can I do with a research project that is my university’s intellectual property?
Encounter design and XP thresholds
I found a password with hashcat, but it doesn't work
How did Gollum enter Moria?
`-` in tar xzf -
How can you guarantee that you won't change/quit job after just couple of months?
How to make clear to people I don't want to answer their "Where are you from?" question?
How to maintain a closed environment for one person for a long period of time
Understanding the reasoning of the woman who agreed with Shlomo to "cut the baby in half"
CircuiTikZ: Start ground relative to the closest component
CircuiTikZ — create new componentRotate a node but not its content: the case of the ellipse decorationCircuitikz different ground symbolHow to define the default vertical distance between nodes?Numerical conditional within tikz keys?Why do I get an extra white page before my TikZ picture?TikZ: Drawing an arc from an intersection to an intersectionDrawing rectilinear curves in Tikz, aka an Etch-a-Sketch drawingLine up nested tikz enviroments or how to get rid of themHow to draw a square and its diagonals with arrows?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Here is a short compilable example
documentclassarticle
usepackagetikz
usepackagecircuitikz
begindocument
begincircuitikz
draw node[ground] to [short,*-] (0,0) to [C] (0,2) to [short,-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
endcircuitikz
enddocument
which produces
The question is: How do you draw the first line of the ground in the marked point? The CircuiTikZ documentation for the node ground
does not define an anchor in that exact position.
tikz-pgf circuitikz anchor
add a comment |
Here is a short compilable example
documentclassarticle
usepackagetikz
usepackagecircuitikz
begindocument
begincircuitikz
draw node[ground] to [short,*-] (0,0) to [C] (0,2) to [short,-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
endcircuitikz
enddocument
which produces
The question is: How do you draw the first line of the ground in the marked point? The CircuiTikZ documentation for the node ground
does not define an anchor in that exact position.
tikz-pgf circuitikz anchor
add a comment |
Here is a short compilable example
documentclassarticle
usepackagetikz
usepackagecircuitikz
begindocument
begincircuitikz
draw node[ground] to [short,*-] (0,0) to [C] (0,2) to [short,-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
endcircuitikz
enddocument
which produces
The question is: How do you draw the first line of the ground in the marked point? The CircuiTikZ documentation for the node ground
does not define an anchor in that exact position.
tikz-pgf circuitikz anchor
Here is a short compilable example
documentclassarticle
usepackagetikz
usepackagecircuitikz
begindocument
begincircuitikz
draw node[ground] to [short,*-] (0,0) to [C] (0,2) to [short,-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
endcircuitikz
enddocument
which produces
The question is: How do you draw the first line of the ground in the marked point? The CircuiTikZ documentation for the node ground
does not define an anchor in that exact position.
tikz-pgf circuitikz anchor
tikz-pgf circuitikz anchor
asked 8 hours ago
MartínMartín
1267
1267
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Although I suspect this is a kind of XY problem, no, there is no provision (for now) for a tailless ground symbol. It is quite straightforward to define one, though:
documentclassarticle
usepackage[RPvoltages]circuitikz
makeatletter
pgf@circ@declaregroundmyground0.60.4
pgfsetlinewidthctikzvalofmonopoles/ground/thicknesspgfstartlinewidth
pgfpathmovetopgfpoint-.6pgf@circ@res@step0pt
pgfpathlinetopgfpoint.6pgf@circ@res@step0pt
pgfpathmovetopgfpoint-.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathlinetopgfpoint.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathmovetopgfpoint-.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfpathlinetopgfpoint.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfusepathdraw
makeatother
begindocument
begincircuitikz
draw (0,0) node[ground] to [C, *-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
draw (4,0) node[myground] to [C, *-*] (4,2);
endcircuitikz
enddocument
Note that I also simplified out your zero-length short
.
It works like a charm. Now, the Vcc connection would have the same implementation to behave as this custom ground? I don't know how to read latex macros
– Martín
7 hours ago
vcc
is just an arrow, see in the manual. Since yesterday's update it is configurable, but no, it's not tailless either. You can substitute it with a simple arrows (see the manual for TikZ arrows) if you don't like it. But again, I am unsure why do you want it. If you look at the second tutorial in the manual, you can find a much better way to have the grounds (or Vcc) on the same line in a more flexible way.
– Rmano
6 hours ago
add a comment |
You can just shift the ground up a little, if you don't mind overlapping the tail.
documentclassstandalone
usepackagetikz
usepackagecircuitikz
newlengthkludge
begindocument
begincircuitikz
kludge=ctikzvalofmonopoles/ground/widthcsname pgf@circ@Rlenendcsname
draw (0,0) node[ground,yshift=1.2kludge] to [C,*-*] (0,2);
node[right=0.5kludge]$ leftarrow $ Start ground here;
endcircuitikz
enddocument
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "85"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f496361%2fcircuitikz-start-ground-relative-to-the-closest-component%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Although I suspect this is a kind of XY problem, no, there is no provision (for now) for a tailless ground symbol. It is quite straightforward to define one, though:
documentclassarticle
usepackage[RPvoltages]circuitikz
makeatletter
pgf@circ@declaregroundmyground0.60.4
pgfsetlinewidthctikzvalofmonopoles/ground/thicknesspgfstartlinewidth
pgfpathmovetopgfpoint-.6pgf@circ@res@step0pt
pgfpathlinetopgfpoint.6pgf@circ@res@step0pt
pgfpathmovetopgfpoint-.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathlinetopgfpoint.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathmovetopgfpoint-.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfpathlinetopgfpoint.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfusepathdraw
makeatother
begindocument
begincircuitikz
draw (0,0) node[ground] to [C, *-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
draw (4,0) node[myground] to [C, *-*] (4,2);
endcircuitikz
enddocument
Note that I also simplified out your zero-length short
.
It works like a charm. Now, the Vcc connection would have the same implementation to behave as this custom ground? I don't know how to read latex macros
– Martín
7 hours ago
vcc
is just an arrow, see in the manual. Since yesterday's update it is configurable, but no, it's not tailless either. You can substitute it with a simple arrows (see the manual for TikZ arrows) if you don't like it. But again, I am unsure why do you want it. If you look at the second tutorial in the manual, you can find a much better way to have the grounds (or Vcc) on the same line in a more flexible way.
– Rmano
6 hours ago
add a comment |
Although I suspect this is a kind of XY problem, no, there is no provision (for now) for a tailless ground symbol. It is quite straightforward to define one, though:
documentclassarticle
usepackage[RPvoltages]circuitikz
makeatletter
pgf@circ@declaregroundmyground0.60.4
pgfsetlinewidthctikzvalofmonopoles/ground/thicknesspgfstartlinewidth
pgfpathmovetopgfpoint-.6pgf@circ@res@step0pt
pgfpathlinetopgfpoint.6pgf@circ@res@step0pt
pgfpathmovetopgfpoint-.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathlinetopgfpoint.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathmovetopgfpoint-.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfpathlinetopgfpoint.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfusepathdraw
makeatother
begindocument
begincircuitikz
draw (0,0) node[ground] to [C, *-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
draw (4,0) node[myground] to [C, *-*] (4,2);
endcircuitikz
enddocument
Note that I also simplified out your zero-length short
.
It works like a charm. Now, the Vcc connection would have the same implementation to behave as this custom ground? I don't know how to read latex macros
– Martín
7 hours ago
vcc
is just an arrow, see in the manual. Since yesterday's update it is configurable, but no, it's not tailless either. You can substitute it with a simple arrows (see the manual for TikZ arrows) if you don't like it. But again, I am unsure why do you want it. If you look at the second tutorial in the manual, you can find a much better way to have the grounds (or Vcc) on the same line in a more flexible way.
– Rmano
6 hours ago
add a comment |
Although I suspect this is a kind of XY problem, no, there is no provision (for now) for a tailless ground symbol. It is quite straightforward to define one, though:
documentclassarticle
usepackage[RPvoltages]circuitikz
makeatletter
pgf@circ@declaregroundmyground0.60.4
pgfsetlinewidthctikzvalofmonopoles/ground/thicknesspgfstartlinewidth
pgfpathmovetopgfpoint-.6pgf@circ@res@step0pt
pgfpathlinetopgfpoint.6pgf@circ@res@step0pt
pgfpathmovetopgfpoint-.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathlinetopgfpoint.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathmovetopgfpoint-.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfpathlinetopgfpoint.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfusepathdraw
makeatother
begindocument
begincircuitikz
draw (0,0) node[ground] to [C, *-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
draw (4,0) node[myground] to [C, *-*] (4,2);
endcircuitikz
enddocument
Note that I also simplified out your zero-length short
.
Although I suspect this is a kind of XY problem, no, there is no provision (for now) for a tailless ground symbol. It is quite straightforward to define one, though:
documentclassarticle
usepackage[RPvoltages]circuitikz
makeatletter
pgf@circ@declaregroundmyground0.60.4
pgfsetlinewidthctikzvalofmonopoles/ground/thicknesspgfstartlinewidth
pgfpathmovetopgfpoint-.6pgf@circ@res@step0pt
pgfpathlinetopgfpoint.6pgf@circ@res@step0pt
pgfpathmovetopgfpoint-.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathlinetopgfpoint.4pgf@circ@res@step-0.2pgf@circ@res@step
pgfpathmovetopgfpoint-.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfpathlinetopgfpoint.25pgf@circ@res@step-0.4pgf@circ@res@step
pgfusepathdraw
makeatother
begindocument
begincircuitikz
draw (0,0) node[ground] to [C, *-*] (0,2);
node[xshift=1.75cm](0,0)$ leftarrow $ Start ground here;
draw (4,0) node[myground] to [C, *-*] (4,2);
endcircuitikz
enddocument
Note that I also simplified out your zero-length short
.
edited 6 hours ago
answered 7 hours ago
RmanoRmano
8,99621751
8,99621751
It works like a charm. Now, the Vcc connection would have the same implementation to behave as this custom ground? I don't know how to read latex macros
– Martín
7 hours ago
vcc
is just an arrow, see in the manual. Since yesterday's update it is configurable, but no, it's not tailless either. You can substitute it with a simple arrows (see the manual for TikZ arrows) if you don't like it. But again, I am unsure why do you want it. If you look at the second tutorial in the manual, you can find a much better way to have the grounds (or Vcc) on the same line in a more flexible way.
– Rmano
6 hours ago
add a comment |
It works like a charm. Now, the Vcc connection would have the same implementation to behave as this custom ground? I don't know how to read latex macros
– Martín
7 hours ago
vcc
is just an arrow, see in the manual. Since yesterday's update it is configurable, but no, it's not tailless either. You can substitute it with a simple arrows (see the manual for TikZ arrows) if you don't like it. But again, I am unsure why do you want it. If you look at the second tutorial in the manual, you can find a much better way to have the grounds (or Vcc) on the same line in a more flexible way.
– Rmano
6 hours ago
It works like a charm. Now, the Vcc connection would have the same implementation to behave as this custom ground? I don't know how to read latex macros
– Martín
7 hours ago
It works like a charm. Now, the Vcc connection would have the same implementation to behave as this custom ground? I don't know how to read latex macros
– Martín
7 hours ago
vcc
is just an arrow, see in the manual. Since yesterday's update it is configurable, but no, it's not tailless either. You can substitute it with a simple arrows (see the manual for TikZ arrows) if you don't like it. But again, I am unsure why do you want it. If you look at the second tutorial in the manual, you can find a much better way to have the grounds (or Vcc) on the same line in a more flexible way.– Rmano
6 hours ago
vcc
is just an arrow, see in the manual. Since yesterday's update it is configurable, but no, it's not tailless either. You can substitute it with a simple arrows (see the manual for TikZ arrows) if you don't like it. But again, I am unsure why do you want it. If you look at the second tutorial in the manual, you can find a much better way to have the grounds (or Vcc) on the same line in a more flexible way.– Rmano
6 hours ago
add a comment |
You can just shift the ground up a little, if you don't mind overlapping the tail.
documentclassstandalone
usepackagetikz
usepackagecircuitikz
newlengthkludge
begindocument
begincircuitikz
kludge=ctikzvalofmonopoles/ground/widthcsname pgf@circ@Rlenendcsname
draw (0,0) node[ground,yshift=1.2kludge] to [C,*-*] (0,2);
node[right=0.5kludge]$ leftarrow $ Start ground here;
endcircuitikz
enddocument
add a comment |
You can just shift the ground up a little, if you don't mind overlapping the tail.
documentclassstandalone
usepackagetikz
usepackagecircuitikz
newlengthkludge
begindocument
begincircuitikz
kludge=ctikzvalofmonopoles/ground/widthcsname pgf@circ@Rlenendcsname
draw (0,0) node[ground,yshift=1.2kludge] to [C,*-*] (0,2);
node[right=0.5kludge]$ leftarrow $ Start ground here;
endcircuitikz
enddocument
add a comment |
You can just shift the ground up a little, if you don't mind overlapping the tail.
documentclassstandalone
usepackagetikz
usepackagecircuitikz
newlengthkludge
begindocument
begincircuitikz
kludge=ctikzvalofmonopoles/ground/widthcsname pgf@circ@Rlenendcsname
draw (0,0) node[ground,yshift=1.2kludge] to [C,*-*] (0,2);
node[right=0.5kludge]$ leftarrow $ Start ground here;
endcircuitikz
enddocument
You can just shift the ground up a little, if you don't mind overlapping the tail.
documentclassstandalone
usepackagetikz
usepackagecircuitikz
newlengthkludge
begindocument
begincircuitikz
kludge=ctikzvalofmonopoles/ground/widthcsname pgf@circ@Rlenendcsname
draw (0,0) node[ground,yshift=1.2kludge] to [C,*-*] (0,2);
node[right=0.5kludge]$ leftarrow $ Start ground here;
endcircuitikz
enddocument
edited 4 hours ago
answered 4 hours ago
John KormyloJohn Kormylo
48.2k32775
48.2k32775
add a comment |
add a comment |
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f496361%2fcircuitikz-start-ground-relative-to-the-closest-component%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown