Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Anchorpoint for Variable Resistors #663

Closed
myzinsky opened this issue Nov 13, 2022 · 6 comments · Fixed by #669
Closed

[Feature] Anchorpoint for Variable Resistors #663

myzinsky opened this issue Nov 13, 2022 · 6 comments · Fixed by #669
Assignees

Comments

@myzinsky
Copy link

It would be also nice to have an anchor point at the beginning of the arrow, like here:

image

The pR hast this, called wiper. But the vR has not ...

@Rmano Rmano self-assigned this Nov 13, 2022
@Rmano
Copy link
Collaborator

Rmano commented Nov 13, 2022

Yes, this could be a useful addition. In the meanwhile, you can always add the arrow by hand... ;-)

@Rmano
Copy link
Collaborator

Rmano commented Nov 13, 2022

BTW, the reason the potentiometer has the wiper contact and the variable resistance has not, is because in the first case that is an electrical connection, and in the latter it isn't. But the switches have a mid-switch anchor, which is a mechanical one, so... why not? I'll look into it.

@myzinsky
Copy link
Author

But in many documents you can also see this:

Therefore, it would be nice to have it :-)

@Rmano
Copy link
Collaborator

Rmano commented Nov 13, 2022

I admit I really can't understand that circuit... I suppose P1 is a potentiometer, not a variable resistor. A varistor is, for what I know, a two-terminal device with a knob or a screw head or whatever to change the resistance. I would use a pR there, to remove any ambiguity.

@myzinsky
Copy link
Author

It's often used in Germany:

@Rmano
Copy link
Collaborator

Rmano commented Nov 13, 2022

Nice to know. I will add the anchor(s) when I can... (In the middle of a paper submission now, sorry...)

Rmano added a commit to Rmano/circuitikz that referenced this issue Nov 16, 2022
Rmano added a commit to Rmano/circuitikz that referenced this issue Dec 10, 2022
The big change is the refactoring (and enhancement) of the block's code. In addition, double gate MOSes, several fixes all over the map, and quite a lot of anchors were added into the mix.

- Big change (mostly backward compatible, minus a couple of bug fixes) to the block's code.
    - Now `vco` can be `box`ed
    - enabled more short-name geographical anchors
    - generic blocks can be made rectangular
    - mid-way lateral anchors for all blocks, as well as up/down
    - renamed converters anchors (old ones retained for backward compatibility)
    - new ac/ac blocks, both single- and three-phase
- Added double gate MOS transistors (by Romano Giannetti)
- Fix deformed shape for legacy `TL` component
  ([issue on GitHub](circuitikz#664))
- Added several anchors on variable components, suggested by
  [Dr Matthias Jung](circuitikz#663)
- Added `genericsplitter` component (by [frankplow](github.com/frankplow))
- Fix - `splitter` used the wrong parameters (from `wilkinson`)
Rmano added a commit that referenced this issue Dec 10, 2022
CTAN release 1.6.0 (2022-12-10)

The big change is the refactoring (and enhancement) of the block's code. In addition, double gate MOSes, several fixes all over the map, and quite a lot of anchors were added into the mix.

- Big change (mostly backward compatible, minus a couple of bug fixes) to the block's code. 
    - Now `vco` can be `box`ed 
    - enabled more short-name geographical anchors 
    - generic blocks can be made rectangular 
    - mid-way lateral anchors for all blocks, as well as up/down 
    - renamed converters anchors (old ones retained for backward compatibility) 
    - new ac/ac blocks, both single- and three-phase
- Added double gate MOS transistors (by Romano Giannetti)
- Fix deformed shape for legacy `TL` component ([issue on GitHub](#664))
- Added several anchors on variable components, suggested by [Dr Matthias Jung](#663)
- Added `genericsplitter` component (by [frankplow](github.com/frankplow))
- Fix - `splitter` used the wrong parameters (from `wilkinson`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants