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

Clarify difference between \problemname and \problemname{} #350

Open
niemela opened this issue Nov 15, 2024 · 1 comment
Open

Clarify difference between \problemname and \problemname{} #350

niemela opened this issue Nov 15, 2024 · 1 comment

Comments

@niemela
Copy link
Member

niemela commented Nov 15, 2024

If I understand LaTeX correctly, (and our spec), \problemname should mean "Insert problem name here", and \problemname{} should mean "set name to empty string (and insert it here)".

Do we want that? An empty name should be an error anyway? Would it be better is \problemname{} was specified to mean \problemname or to be an error?

@RagnarGrootKoerkamp
Copy link
Collaborator

Some editors warn on stuff like some sentece with a \command blah blah, encouraging to write \command{} instead. So probably we should make \problemname{} and \problemname equivalent to both use the name given in the yaml.

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

No branches or pull requests

2 participants