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 more uses of #d1 #3924

Merged
merged 5 commits into from
Dec 25, 2024
Merged

add more uses of #d1 #3924

merged 5 commits into from
Dec 25, 2024

Conversation

mbertucci47
Copy link
Contributor

Adds more applications of the new #d1 specifier for tcolorbox commands. Two other cwl updates

@sunderme sunderme merged commit dd5aabd into texstudio-org:master Dec 25, 2024
7 checks passed
@sunderme
Copy link
Member

thanks

\newtcboxfit{cmd}[args][default]{options%keyvals}#d1
\newtcboxfit[init options]{cmd}{options%keyvals}#d1
\newtcboxfit[init options]{cmd}[args]{options%keyvals}#*d1
\newtcboxfit[init options]{cmd}[args][default]{options%keyvals}#*d1
\renewtcboxfit{cmd}{options%keyvals}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If \renew... commands alter argument specification, then they need the d1 modifier too.

Note the current completion support for redefined commands is not perfect, see #3925.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants