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

Add bold flag to latexify #3516

Merged
merged 6 commits into from
Dec 15, 2023
Merged

Add bold flag to latexify #3516

merged 6 commits into from
Dec 15, 2023

Conversation

janosh
Copy link
Member

@janosh janosh commented Dec 15, 2023

LaTeX ignores bold surrounding text for subscripts in math mode so need to specify \mathbf explicitly to get bold subscripts.

Before
Screenshot 2023-12-14 at 4 22 55 PM
After (with bold=True)
Screenshot 2023-12-14 at 4 21 03 PM

f91c019 better var names
97cb2ef add bold flag to latexify to support bold subscripts
8952c92 simplify tick generation in PhononBSPlotter._make_ticks
44233e3 add n_bands property to PhononBSPlotter

@janosh janosh added enhancement A new feature or improvement to an existing one data viz PRs and issues about pymatgen plotting functionality phonon Lattice vibrations labels Dec 15, 2023
@janosh janosh enabled auto-merge (squash) December 15, 2023 00:19
@janosh janosh merged commit 4a94f9c into master Dec 15, 2023
22 checks passed
@janosh janosh deleted the latexify-bold branch December 15, 2023 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data viz PRs and issues about pymatgen plotting functionality enhancement A new feature or improvement to an existing one phonon Lattice vibrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant