Commit 78aac8f1 authored by Izzard, Robert Dr (Physics)'s avatar Izzard, Robert Dr (Physics)
Browse files

add astro-lyx in markdown format

parent cf6d0139
......@@ -43,9 +43,9 @@
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style plainnat
\cite_engine basic
\cite_engine_type default
\biblio_style plain
\use_bibtopic false
\use_indices false
\paperorientation portrait
......@@ -213,6 +213,17 @@ https://ctan.org/pkg/mnras?lang=en
\end_layout
\begin_layout Enumerate
Open LyX, go to Tools
\family sans
\lang english
\SpecialChar menuseparator
\family default
\lang british
Reconfigure, restart LyX (you only have to do this when installing new files)
\end_layout
\begin_layout Enumerate
Load the file
\family typewriter
......
How to write astrophysics papers with LyX {#how-to-write-astrophysics-papers-with-lyx .unnumbered}
==========================================
You have to install some files into your personal LyX directory. On *UNIX* this is in `$HOME/.lyx` but on your system it may be elsewhere.
1. Clone this repository, e.g.
git clone gitlab@gitlab.eps.surrey.ac.uk:ri0005/astro-lyx.git
2. Go into the `astro-lyx` directory.
3. Copy the contents of `bind/` to `$HOME/.lyx/bind/`
4. Copy the contents of `layouts/` to `$HOME/.lyx/layouts/`
5. Copy the contents of `macros/` to `$HOME/.lyx/layouts/`
6. In LyX go to ToolsReconfigure
7. Restart LyX
Monthly Notices {#monthly-notices .unnumbered}
---------------
1. Install the MNRAS LaTeX style files on your system (e.g. in `$HOME/.latex/`)\
General instructions are at <https://academic.oup.com/mnras/pages/General_Instructions>\
The LaTeX package is at <https://ctan.org/pkg/mnras?lang=en>
2. Open LyX, go to ToolsReconfigure, restart LyX (you only have to do this when installing new files)
3. Load the file `MNRAS_paper.lyx`
4. Change the text to include your writing
Astronomy and Astrophysics {#astronomy-and-astrophysics .unnumbered}
--------------------------
To follow
Galaxies {#galaxies .unnumbered}
--------
To follow
#!/bin/bash
lyx --export latex astro-lyx.lyx
pandoc --wrap=none -f latex -t markdown astro-lyx.tex > astro-lyx.md
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment