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

Switch to use {minted} for code output in LaTeXWriter #1957

Merged
merged 2 commits into from
Oct 1, 2022

Conversation

odow
Copy link
Collaborator

@odow odow commented Sep 30, 2022

Closes #1936

Fixes formatting issues like this from the JuMP documentation: https://jump.dev/JuMP.jl/previews/PR3094/JuMP.pdf

image

@odow odow added the Format: LaTeX Related to the LaTeX / PDF output label Sep 30, 2022
@odow
Copy link
Collaborator Author

odow commented Sep 30, 2022

So this renders nicely. But the margins are different?!?

image

So the issue is that the frame doesn't sit at the edge of the background color:

image

@odow
Copy link
Collaborator Author

odow commented Sep 30, 2022

This seems to have done the trick

image

@odow
Copy link
Collaborator Author

odow commented Sep 30, 2022

Okay, I think I'm happy:

image

@mortenpi
Copy link
Member

mortenpi commented Oct 1, 2022

LGTM, thanks!

@mortenpi mortenpi merged commit 70017e0 into JuliaDocs:master Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Format: LaTeX Related to the LaTeX / PDF output Type: Bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Greek letters mangled in LaTeXWriter
2 participants