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

Problem with Curly Brackets (Solution) #11

Open
helenmand opened this issue Aug 16, 2024 · 0 comments
Open

Problem with Curly Brackets (Solution) #11

helenmand opened this issue Aug 16, 2024 · 0 comments

Comments

@helenmand
Copy link

The left curly bracket ({) was transformed into a quotation mark ("), and the right curly bracket was not visible. For anyone encountering the same issue, where escaping the brackets does not work, try the following:

In your .tex file, within the \lstdefinelanguage{Solidity}{..} section, add this line:

,literate={\{}{{\{}}1 {\}}{{\}}}1

@helenmand helenmand changed the title Problem with Curly Brackets Problem with Curly Brackets (Solution) Aug 17, 2024
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

1 participant