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

Add support or alternative for steinmetz #732

Open
eclecticfluff opened this issue May 22, 2024 · 2 comments
Open

Add support or alternative for steinmetz #732

eclecticfluff opened this issue May 22, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@eclecticfluff
Copy link

I wish to be able to typeset polar complex numbers in the style given by the steinmetz package, but unfortunately complex-symbol-angle = \phase does not work. I would appreciate it if the internal code could be changed for this to work, or alternatively another key be added explicitly for wrapping the phase component of polar complex numbers in an arbitrary macro.
Ideally, a new function could be created within siunitx to match this style of typesetting, adding options to better match font and scale in a smarter way than blindly enclosing the bounding box. This would likely take considerably more effort to implement, however, so I understand if contributor motivation isn't there for it.

@josephwright
Copy link
Owner

I will see what Enrico thinks here

@eg9
Copy link

eg9 commented May 22, 2024

The steinmetz package was written in order to implement a representation of complex numbers that's common in engineering fields, so I guess it would be good to allow using it with siunitx.

I'm not sure, however, about how to integrate it with siunitx, because the single command \phase actually only typesets the measure of the angle.

@josephwright josephwright added the enhancement New feature or request label Jun 7, 2024
@josephwright josephwright added this to the v3.4 milestone Jun 7, 2024
@josephwright josephwright self-assigned this Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants