Commit 9fbb2432 authored by Izzard, Robert Dr (Physics)'s avatar Izzard, Robert Dr (Physics)
Browse files

clean up arrows

parent 62005077
......@@ -215,13 +215,12 @@ https://ctan.org/pkg/mnras?lang=en
\end_layout
\begin_layout Enumerate
Open LyX, go to Tools
\family sans
\lang english
\family default
\lang british
Reconfigure, restart LyX (you only have to do this when installing new files)
Open LyX, go to Tools
\begin_inset Formula $\rightarrow$
\end_inset
Reconfigure, restart LyX (you only have to do this when installing new
files)
\end_layout
\begin_layout Enumerate
......
How to write astrophysics papers with LyX
==========================================
=========================================
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.
......@@ -15,7 +15,7 @@ You have to install some files into your personal LyX directory. On *UNIX* this
5. Copy the contents of `macros/` to `$HOME/.lyx/layouts/`
6. In LyX go to Tools $\rightarrow$ Reconfigure
6. In LyX go to Tools → Reconfigure
7. Restart LyX
......@@ -26,7 +26,7 @@ Monthly Notices
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)
2. Open LyX, go to Tools &rarr; Reconfigure, restart LyX (you only have to do this when installing new files)
3. Load the file `MNRAS_paper.lyx`
......
No preview for this file type
#!/bin/bash
lyx --export latex astro-lyx.lyx
cat astro-lyx.tex |grep -v inputenc|grep -v fontenc > a.tex ; mv a.tex astro-lyx.tex
lyx --export pdf astro-lyx.lyx
iconv -t utf-8 astro-lyx.tex | pandoc -s --wrap=none -f latex+latex_macros+tex_math_dollars -t markdown | perl -pe "s/\{.*? \.unnumbered\}//g" > astro-lyx.md
iconv -t utf-8 astro-lyx.tex | pandoc -s --wrap=none -f latex -t markdown | perl -pe "s/\{.*? \.unnumbered\}//g; s/\\\$\\\\rightarrow\\\$/\&rarr;/g;" > 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