Finer-grain customization of LaTeX output#125
Open
Lelio-Brun wants to merge 3 commits intoott-lang:masterfrom
Open
Finer-grain customization of LaTeX output#125Lelio-Brun wants to merge 3 commits intoott-lang:masterfrom
Lelio-Brun wants to merge 3 commits intoott-lang:masterfrom
Conversation
…le head. In custom setups, this enables merging the head line with the first production line.
…voiding the generation of an unwanted separator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR makes 3 (conservative) contributions to the LaTeX output:
\ottfirstprodnewlineallows customizing the linebreak occurring on the very first line after the::=For example with
\renewcommand{\ottfirstprodnewline}{}in combination with an accordingly redefined\ottfirstprodlinewe can obtain\ottlastpremiseallows customizing the premise separator after the last premise. This is useful if, for example, one wants to use mathpartir.\ottdrulename<rule_name>allows typesetting the name of a rule. It can be superior to\ottdrulename{<rule_name>}because the former will result in a LaTeX error if the rule name changes in the Ott file.