You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking the write_latex(...) method would call cosmology.io.table.to_table(), format the table to e.g. make H0 -> $H_0 \rm{[Mpc]}$ or something and then call the QTable.write(..., format='latex').
changed the title [-]Register format ``latex`` to the ``write`` method for exporting a Cosmology to a nice Latex table.[/-][+]Register ``latex`` to ``Cosmology.write``[/+]on Nov 2, 2021
Activity
[-]Register format ``latex`` to the ``write`` method for exporting a Cosmology to a nice Latex table.[/-][+]Register ``latex`` to ``Cosmology.write``[/+]Octaves0911 commentedon Dec 26, 2021
Hi, I would like to work on this if no one else is currently on it.
nstarman commentedon Dec 27, 2021
@Octaves0911, that would be great! No one else is currently working on this feature request. If you need any help or have any questions I am happy to help. You can post here, or in the Astropy Slack cosmology channel. We also have documentation to assist in contributing at https://www.astropy.org/contribute.html#contribute-code-or-docs.
Octaves0911 commentedon Dec 27, 2021
Thanks a lot I ll work on it and get in touch with you if i have any queries.
nstarman commentedon Mar 3, 2022
@Octaves0911, do you have any questions or need any assistance? I'm happy to help.
Maia-jp commentedon Apr 25, 2023
This issue is still open for contributions?
nstarman commentedon Apr 26, 2023
Yes! It's been quiet here for a while, so we'd be happy for a contribution. I'm happy to help / review a PR!
astropy#12355 Issue: Register latex to Cosmology.write
Merge pull request #14701 from Mubin17/Issue#12355