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

Change latex strings to raw strings #1206

Closed
jaladh-singhal opened this issue Jun 26, 2020 · 2 comments
Closed

Change latex strings to raw strings #1206

jaladh-singhal opened this issue Jun 26, 2020 · 2 comments

Comments

@jaladh-singhal
Copy link
Member

Throughout the tardis codebase, we have multiple LATEX strings which are written as simple strings - they should be converted to raw strings so that we don't need to write double \\.

For e.g.:

latex_name = ('g_{\\textrm{electron}}',)
latex_formula = ('\\Big(\\dfrac{2\\pi m_{e}/\
\\beta_{\\textrm{rad}}}{h^2}\\Big)^{3/2}',)

latex_name = (r'g_{\textrm{electron}}',) 
latex_formula = (r'\Big(\dfrac{2\pi m_{e}/\beta_{\textrm{rad}}}{h^2}\Big)^{3/2}',) 

Pointers

Search such latex strings throughout the tardis codebase and fix them - they'll be mostly values assigned to latex_name, latex_formula, etc.

@Sanchayan-Bhowal
Copy link

Is anyone working on this issue else I would like to work on it

@jaladh-singhal
Copy link
Member Author

@Sanchayan-Bhowal This has already been implemented by #1283

I should close this for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants