Commit 5c99cee1 authored by Izzard, Robert Dr (Physics)'s avatar Izzard, Robert Dr (Physics)
Browse files

add first attempt at MNRAS for LyX

parent a6d176df
......@@ -152,102 +152,61 @@ End
\begin_body
\begin_layout In Preamble
\begin_inset ERT
status open
\begin_layout Plain Layout
\backslash
title[A paper for MNRAS]{A paper for Monthly Notices of the Royal Astronomical
Society}
\end_layout
\begin_layout Author
Adam B.
\begin_inset space ~
\end_inset
Smith
\begin_inset Formula $^{1}$
\end_inset
\end_layout
\begin_layout Standard
\begin_inset ERT
status open
\begin_layout Plain Layout
% in the main text
\end_layout
\begin_layout Plain Layout
\backslash
author[A.Smith~et~al.]
\end_layout
\begin_layout Plain Layout
{Adam B.~Smith,$^{1}$,
\end_layout
\begin_layout Plain Layout
Jessica Jones,$^{1,2}$,
\end_layout
\begin_layout Plain Layout
Bruce Chan,$^{2}$
\end_layout
, Jessica Jones
\begin_inset Formula $^{1,2}$
\end_inset
\begin_layout Plain Layout
and Bruce Chan
\begin_inset Formula $^{3}$
\end_inset
\backslash
\begin_inset Newline newline
\end_inset
\backslash
\end_layout
\begin_layout Plain Layout
\begin_inset Formula $^{1}$
\end_inset
$^{1}$Edinburgh Observatory Cafe, Calton Hill, Edinburgh, EH7 5AA, Scotland.
\backslash
Edinburgh Observatory Cafe, Calton Hill, Edinburgh, EH7 5AA, Scotland.
\begin_inset Newline newline
\end_inset
\backslash
\end_layout
\begin_inset Formula $^{2}$
\end_inset
\begin_layout Plain Layout
Marvel Observatory, New York, United States of America.
\begin_inset Newline newline
\end_inset
$^{2}$Marvel Observatory, New York, United States of America.
\backslash
\backslash
\begin_inset Formula $^{3}$
\end_inset
Instiute of Martial Astronomy, Hong Kong, China.
\end_layout
\begin_layout Plain Layout
$^{3}$Instiute of Martial Astronomy, Hong Kong.
\backslash
\backslash
\end_layout
\begin_layout Title
\begin_inset Argument 1
status open
\begin_layout Plain Layout
}
A paper for MNRAS
\end_layout
\end_inset
\end_layout
\begin_layout Date
Received ...; Accepted...
A paper for Monthly Notices of the Royal Astronomical Society
\end_layout
\begin_layout Abstract
......@@ -406,6 +365,15 @@ We thank the referee for their suggestions which have improved the clarity
\end_layout
\begin_layout Standard
\series bold
Your
\series default
\series bold
bibliography list should go here!
\series default
\begin_inset Note Note
status open
......
File added
#LyX 2.3 created this file. For more info see http://www.lyx.org/
\lyxformat 544
\begin_document
\begin_header
\save_transient_properties true
\origin unavailable
\textclass article
\use_default_options true
\maintain_unincluded_children false
\language british
\language_package default
\inputencoding auto
\fontencoding global
\font_roman "utopia" "default"
\font_sans "default" "default"
\font_typewriter "default" "default"
\font_math "auto" "auto"
\font_default_family rmdefault
\use_non_tex_fonts false
\font_sc false
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures true
\graphics default
\default_output_format default
\output_sync 0
\bibtex_command default
\index_command default
\paperfontsize 12
\spacing single
\use_hyperref false
\papersize a4paper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 1
\use_package esint 1
\use_package mathdots 1
\use_package mathtools 1
\use_package mhchem 1
\use_package stackrel 1
\use_package stmaryrd 1
\use_package undertilde 1
\cite_engine natbib
\cite_engine_type authoryear
\biblio_style plainnat
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date false
\justification true
\use_refstyle 1
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\leftmargin 2cm
\topmargin 3cm
\rightmargin 2cm
\bottommargin 3cm
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\paragraph_indentation default
\is_math_indent 0
\math_numbering_side default
\quotes_style english
\dynamic_quotes 0
\papercolumns 1
\papersides 2
\paperpagestyle fancy
\tracking_changes false
\output_changes false
\html_math_output 0
\html_css_as_file 0
\html_be_strict false
\end_header
\begin_body
\begin_layout Section*
How to write astrophysics papers with LyX
\end_layout
\begin_layout Standard
You have to install some files into your personal LyX directory.
On
\emph on
UNIX
\emph default
this is in
\family typewriter
$HOME/.lyx
\family default
but on your system it may be elsewhere.
\end_layout
\begin_layout Enumerate
Clone this repository, e.g.
\begin_inset listings
inline false
status open
\begin_layout Plain Layout
git clone gitlab@gitlab.eps.surrey.ac.uk:ri0005/astro-lyx.git
\end_layout
\end_inset
\end_layout
\begin_layout Enumerate
Go into the
\family typewriter
astro-lyx
\family default
directory.
\end_layout
\begin_layout Enumerate
Copy the contents of
\family typewriter
bind
\family default
to
\family typewriter
$HOME/.lyx/bind/
\end_layout
\begin_layout Enumerate
Copy the contents of
\family typewriter
layouts
\family default
to
\family typewriter
$HOME/.lyx/layouts
\end_layout
\begin_layout Enumerate
Copy the contents of
\family typewriter
macros
\family default
to
\family typewriter
$HOME/.lyx/layouts
\end_layout
\begin_layout Enumerate
In LyX go to Tools
\family sans
\lang english
\SpecialChar menuseparator
\family default
\lang british
Reconfigure
\end_layout
\begin_layout Enumerate
Restart LyX
\end_layout
\begin_layout Subsection*
Monthly Notices
\end_layout
\begin_layout Enumerate
Load the file
\family typewriter
MNRAS_paper.lyx
\end_layout
\begin_layout Enumerate
Change the text to include your writing
\end_layout
\begin_layout Subsection*
Astronomy and Astrophysics
\end_layout
\begin_layout Standard
To follow
\end_layout
\begin_layout Subsection*
Galaxies
\end_layout
\begin_layout Standard
To follow
\end_layout
\end_body
\end_document
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[aa]{Astronomy and Astrophysics (Robert Izzard)}
# \DeclareCategory{Articles}
#
# Author: Peter Stterlin <pit@uni-sw.gwdg.de>
# Author: Jrgen Spitzmller <spitz@lyx.org>
# Author: Uwe Sthr <uwestoehr@web.de>
#
# 2001-05-17 take out include of stdlayouts; merge aapaper.inc
# remove LaTeX style, rename to aa
# 2001-05-31 Adapt to aa.cls version 5.01:
# take out thesaurus, email -> mail
# change layout of title
# abstract is command
# 2008-06-09 Implement \inst and \email as char styles,
# implement paragraph style keywords
# 2008-10-26 Updated for aa.cls version 6.1
# 2013-05-26 Updated for aa.cls version 8.2
#
# 2018-10-23 Fixes by Robert Izzard for aa.cls version 9.1
Format 66
Columns 2
Sides 2
SecNumDepth 3
TocDepth 0
PageStyle Plain
# Pre-loaded packages
Provides inputenc 1
Provides natbib 1
ClassOptions
Other latin9
End
Style Standard
Category MainText
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdinsets.inc
Input stdlists.inc
Input stdsections.inc
Input stdtitle.inc
Input stdstruct.inc
Input stdfloats.inc
Input stdcounters.inc
NoStyle Chapter
NoCounter chapter
NoStyle Paragraph
NoCounter paragraph
NoStyle Subparagraph
NoCounter subparagraph
NoStyle Part
NoCounter part
NoStyle Abstract
NoStyle Bibliography
Style Subtitle
Margin Static
LatexType Command
InTitle 1
LatexName subtitle
Category FrontMatter
NextNoIndent 1
ParSkip 0.4
ItemSep 0
TopSep 1.3
BottomSep 1.3
ParSep 1
Align Center
LabelType No_Label
Font
Family Sans
Size Larger
Series Bold
EndFont
End
Style Address
LeftMargin MMM
Margin Static
LatexType Command
InTitle 1
LatexName institute
Category FrontMatter
ParSkip 0.4
#BottomSep 0.4
Align Left
LabelType No_Label
Font
Family Roman
Size Small
EndFont
End
Style Offprint
Margin Static
LatexType Command
Category FrontMatter
InTitle 1
LatexName offprints
Align Left
LeftMargin "Offprint Requests to:M"
LabelType Static
LabelString "Offprint Requests to:"
LabelSep M
Font
Family Roman
Size Small
EndFont
LabelFont
Family Roman
Size Small
Shape Slanted
EndFont
End
Style Mail
Margin Static
LatexType Command
InTitle 1
Category FrontMatter
LatexName mail
Align Left
LeftMargin "Correspondence to:M"
LabelType Static
LabelString "Correspondence to:"
LabelSep M
Font
Family Roman
Size Small
EndFont
LabelFont
Family Roman
Size Small
Shape Slanted
EndFont
End
Style Acknowledgement
Margin First_Dynamic
LatexType Environment
LatexName acknowledgements
Category BackMatter
NextNoIndent 0
ItemSep 0
TopSep 1.2
BottomSep 0
ParSep 0
Align Block
LabelType Static
LabelString "Acknowledgements."
LabelSep M
Font
Size Small
EndFont
LabelFont
Size Small
Shape Italic
EndFont
End
Style Section
Font
Family Sans
Size Large
EndFont
End
Style Subsection
Font
Family Sans
Series Medium
Size Normal
Shape Slanted
EndFont
End
Style Subsubsection
Font
Series Medium
Size Normal
EndFont
End
Style Title
TopSep 2
BottomSep 1.3
Align Center
AlignPossible Left
Font
Family Sans
Series Bold
EndFont
End
Style Author
Align Center
LabelType No_Label
BottomSep 1.5
Font
Size Large
Series Medium
EndFont
End
Style Date
InTitle 1
LeftMargin MMM
LabelSep ""
TopSep 1.2
Align Left
Font
Size Small
EndFont
End
InsetLayout "Flex:institutemark"
LyxType custom
LatexType command
LatexName inst
LabelString "Institute Mark"
Font
Color foreground
Size Small
Family Roman
Shape Up
Series Medium
Misc No_Emph
Misc No_Noun
Misc No_Bar
EndFont
LabelFont
Color green
Size Small
EndFont
MultiPar true
End
Style Abstract_(unstructured)
LatexType Command
LatexName abstract
Category FrontMatter
InTitle 1
NextNoIndent 1
Margin Static
LeftMargin MMM
RightMargin MMM
ParIndent ""
ItemSep 0
TopSep 1.2
BottomSep 0.7
ParSep 0
Align Left
LabelType Centered
LabelString "ABSTRACT"
LabelBottomSep 0.7
Font
Size Small
EndFont
LabelFont
Family Sans
Series Bold
Size Small
EndFont
End
Style Abstract
ObsoletedBy Abstract_(unstructured)
End
Style Abstract_(structured)
CopyStyle Abstract_(unstructured)
Argument 1
Mandatory 1
LabelString "Context"
Tooltip "Context of your work (optional, can be left empty)"
EndArgument
Argument 2
Mandatory 1
LabelString "Aims"
Tooltip "Aims of your work"
EndArgument
Argument 3
Mandatory 1