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

Using \jobname for control rules #62

Open
kellijohnson-NOAA opened this issue Nov 22, 2021 · 0 comments
Open

Using \jobname for control rules #62

kellijohnson-NOAA opened this issue Nov 22, 2021 · 0 comments
Assignees
Labels
topic --- default text text stored in the package used to automatically populate sections topic --- LaTeX type --- feature feature requests and enhancement

Comments

@kellijohnson-NOAA
Copy link
Contributor

Problem

Working with multiple areas is slightly difficult and led to lots of if statements or duplicated text. For example, with lingcod it was hard to get the asis engine to print text in an existing paragraph.

Proposal

I recently came across a great example of the \jobname operator in LaTeX at https://latexref.xyz/Jobname.html in combination with a LaTeX if statement.

If a democracy is just a regime where citizens vote then
all banana republics \IfBeginWith*{\jobname}{my-doc}%
{\footnote{Including Respublica Bananensis Francorum.}}{} are
democracies.

🥒

@kellijohnson-NOAA kellijohnson-NOAA added type --- feature feature requests and enhancement topic --- LaTeX topic --- default text text stored in the package used to automatically populate sections labels Nov 22, 2021
@kellijohnson-NOAA kellijohnson-NOAA self-assigned this Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic --- default text text stored in the package used to automatically populate sections topic --- LaTeX type --- feature feature requests and enhancement
Projects
None yet
Development

No branches or pull requests

1 participant