]> git.lyx.org Git - features.git/commitdiff
New layout file for American Mathematical Monthly.
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 29 Dec 2018 16:48:02 +0000 (11:48 -0500)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sat, 29 Dec 2018 16:48:02 +0000 (11:48 -0500)
From John Perry. See bug #10803.

lib/Makefile.am
lib/doc/LaTeXConfig.lyx
lib/layouts/maa-monthly.layout [new file with mode: 0644]
lib/templates/maa-monthly.lyx [new file with mode: 0644]

index 651b60fcf0191ae5e72247c25c5f636a905c54f1..8df4630999fd125d3e08fa17a6c8bd2efdf4a63e 100644 (file)
@@ -2218,6 +2218,7 @@ dist_layouts_DATA =\
        layouts/logicalmkup.module \
        layouts/ltugboat.layout \
        layouts/lyxmacros.inc \
+       layouts/maa-monthly.layout \
        layouts/memoir.layout \
        layouts/minimalistic.module \
        layouts/moderncv.layout \
@@ -2403,6 +2404,7 @@ dist_templates_DATA = \
        templates/koma-letter2.lyx \
        templates/letter.lyx \
        templates/lettre.lyx \
+       templates/maa-monthly.lyx \
        templates/PDF-cropped.lyx \
        templates/poster-a0poster-colored.lyx \
        templates/poster-a0poster-simple.lyx \
index 4724dc9301f25b49b48208e97020a7e804feef12..822e9564592d4b8b5919850c1db8d73161d9694b 100644 (file)
@@ -4022,6 +4022,51 @@ The \SpecialChar LyX
 \end_layout
 
 \end_deeper
+\begin_layout Subsection
+maa-monthly
+\end_layout
+
+\begin_layout Description
+Found: 
+\begin_inset Info
+type  "textclass"
+arg   "maa-monthly"
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+
+\series bold
+Web:
+\series default
+\begin_inset Flex URL
+status open
+
+\begin_layout Plain Layout
+
+https://www.maa.org/press/periodicals/american-mathematical-monthly
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+Notes: The 
+\family sans
+maa-monthly
+\family default
+ class is used for submissions to 
+\emph on
+American Mathematical Monthly
+\emph default
+.
+\end_layout
+
 \begin_layout Subsection
 memoir
 \end_layout
diff --git a/lib/layouts/maa-monthly.layout b/lib/layouts/maa-monthly.layout
new file mode 100644 (file)
index 0000000..ac2a51f
--- /dev/null
@@ -0,0 +1,165 @@
+#% Do not delete the line below; configure depends on this
+#  \DeclareLaTeXClass[article]{Mathematical Monthly article}
+#  \DeclareCategory{Articles}
+#
+# Layout for typesetting articles for the MAA Monthly.
+#
+# Author : John Perry <john.perry@usm.edu>
+
+Format 66
+
+Provides amscls 1
+Provides amsmath 1
+Provides amssymb 1
+Provides amsthm 1
+Provides graphics 1
+Provides hyperref 1
+Provides url 1
+Provides times 1
+Provides pifont 1
+Provides color 1
+
+# Input general definitions
+Input stdclass.inc
+Input stdcounters.inc
+
+Preamble
+  \usepackage{maa-monthly}
+EndPreamble
+
+ClassOptions
+  FontSize             12
+End
+
+Style Abstract
+  Font
+    Size Normal
+  EndFont
+  LabelType Static
+  LabelFont
+    Size Normal
+    Series Bold
+  EndFont
+  LabelString "Abstract:"
+  LabelSep " "
+  Margin Dynamic
+End
+
+Style Standard
+       Category              MainText
+       Margin                Static
+       LatexType             Paragraph
+       LatexName             dummy
+       ParIndent             MM
+       ParSkip               0.4
+       Align                 Block
+       AlignPossible         Block Center
+       LabelType             No_Label
+End
+
+Style Author
+  Align   Center
+End
+
+Style Abbreviated_Title
+  CopyStyle Title
+  LatexType command
+  LatexName markright
+  Font
+    Size  Large
+  EndFont
+  Align Center
+End
+
+Style Biographies
+  Align Left
+  Category BackMatter
+  LabelString "Biographies"
+  LabelType Centered
+  LabelFont
+    Color Blue
+    Shape Italic
+    Family Roman
+  EndFont
+  LatexType Environment
+  LatexName biog
+  KeepEmpty 1
+End
+
+Style Author_Biography
+  Align Left
+  Category BackMatter
+  Argument 1
+    LabelString "Name"
+    Mandatory 0
+  EndArgument
+  LabelString "Author Biography"
+  LabelSep " "
+  LabelType Static
+  LabelFont
+    Color Blue
+    Shape Italic
+    Family Roman
+  EndFont
+  LatexType Command
+  LatexName item
+  Margin Dynamic
+End
+
+Style Affiliation
+  Align Left
+  Category BackMatter
+  LabelString "Affiliation (include email):"
+  LabelSep " "
+  LabelType Static
+  LabelFont
+    Color Blue
+    Shape Italic
+    Family Roman
+  EndFont
+  LatexType Environment
+  LatexName affil
+  Margin Dynamic
+End
+
+Style Acknowledgments
+  Category  BackMatter
+  Argument 1
+    LabelString "Title of acknowledgment"
+    Mandatory 1
+  EndArgument
+  LabelString "Acknowledgments"
+  LabelType Static
+  LabelSep " "
+  LabelFont
+    Series Bold
+    Size Large
+  EndFont
+  LatexName acknowledgment
+  LatexType   Environment
+  Margin Dynamic
+End
+
+InsetLayout Flex:URL
+  LyxType custom
+  ContentAsLabel 1
+  Decoration Conglomerate
+  LabelString "URL"
+  LatexType command
+  LatexName url
+End
+
+Input theorems.inc
+Input theorems-case.inc
+Input theorems-proof.inc
+Input theorems-refprefix.inc
+Input theorems-starred.inc
+
+# the Monthly wants its remarks to look like definitions
+Style Remark*
+  Preamble
+    \theoremstyle{definition}
+    \newtheorem*{rem*}{\protect\remarkname}
+  EndPreamble
+End
+
diff --git a/lib/templates/maa-monthly.lyx b/lib/templates/maa-monthly.lyx
new file mode 100644 (file)
index 0000000..5a2fa7e
--- /dev/null
@@ -0,0 +1,536 @@
+#LyX 2.2 created this file. For more info see http://www.lyx.org/
+\lyxformat 508
+\begin_document
+\begin_header
+\save_transient_properties true
+\origin unavailable
+\textclass maa-monthly
+\use_default_options true
+\maintain_unincluded_children false
+\language english
+\language_package default
+\inputencoding auto
+\fontencoding global
+\font_roman "default" "default"
+\font_sans "default" "default"
+\font_typewriter "default" "default"
+\font_math "auto" "auto"
+\font_default_family default
+\use_non_tex_fonts false
+\font_sc false
+\font_osf false
+\font_sf_scale 100 100
+\font_tt_scale 100 100
+\graphics default
+\default_output_format default
+\output_sync 0
+\bibtex_command default
+\index_command default
+\paperfontsize default
+\spacing single
+\use_hyperref false
+\papersize default
+\use_geometry true
+\use_package amsmath 1
+\use_package amssymb 1
+\use_package cancel 2
+\use_package esint 1
+\use_package mathdots 1
+\use_package mathtools 0
+\use_package mhchem 1
+\use_package stackrel 0
+\use_package stmaryrd 0
+\use_package undertilde 0
+\cite_engine basic
+\cite_engine_type default
+\biblio_style plain
+\use_bibtopic false
+\use_indices false
+\paperorientation portrait
+\suppress_date false
+\justification true
+\use_refstyle 1
+\index Index
+\shortcut idx
+\color #008000
+\end_index
+\secnumdepth 3
+\tocdepth 3
+\paragraph_separation indent
+\paragraph_indentation default
+\quotes_language english
+\papercolumns 1
+\papersides 1
+\paperpagestyle default
+\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 Title
+Sample Article Title
+\end_layout
+
+\begin_layout Abbreviated Title
+Abbreviated Article Title
+\end_layout
+
+\begin_layout Author
+Woodrow Wilson and Herbert Hoover
+\end_layout
+
+\begin_layout Abstract
+An abstract should not contain concrete mathematics, but rather should be
+ discrete.
+ Be brief and avoid using mathematical notation except where absolutely
+ necessary, since this brief synopsis will be used by search engines to
+ identify your article!
+\end_layout
+
+\begin_layout Standard
+The 
+\emph on
+American Mathematical Monthly
+\emph default
+ style incorporates the following 
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+LaTeX
+\backslash
+\end_layout
+
+\end_inset
+
+ packages.
+ These styles should 
+\emph on
+not
+\emph default
+ be included in the document header.
+\end_layout
+
+\begin_layout Itemize
+times
+\end_layout
+
+\begin_layout Itemize
+pifont
+\end_layout
+
+\begin_layout Itemize
+graphicx
+\end_layout
+
+\begin_layout Itemize
+color
+\end_layout
+
+\begin_layout Itemize
+AMS styles: amsmath, amsthm, amsfonts, amssymb
+\end_layout
+
+\begin_layout Itemize
+url
+\end_layout
+
+\begin_layout Standard
+Use of other 
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+LaTeX
+\backslash
+\end_layout
+
+\end_inset
+
+packages should be minimized as much as possible.
+ Math notation, like 
+\begin_inset Formula $c=\sqrt{a^{2}+b^{2}}$
+\end_inset
+
+, can be left in 
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+TeX
+\end_layout
+
+\end_inset
+
+'s default Computer Modern typefaces for manuscript preparation; or, if
+ you have the appropriate fonts installed, the 
+\family typewriter
+mathtime
+\family default
+ or 
+\family typewriter
+mtpro
+\family default
+ packages may be used, which will better approximate the finished article.
+\end_layout
+
+\begin_layout Standard
+Web links can be embedded using the 
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+verb~
+\backslash
+url{...}~
+\end_layout
+
+\end_inset
+
+ command, which will result in something like 
+\begin_inset Flex URL
+status open
+
+\begin_layout Plain Layout
+
+http://www.maa.org
+\end_layout
+
+\end_inset
+
+.
+ These links will be active and stylized in the online publication.
+\end_layout
+
+\begin_layout Section
+First-level section heading.
+\end_layout
+
+\begin_layout Standard
+Section headings use an initial capital letter on the first word, with subsequen
+t words lowercase.
+ In general, the style of the journal is to leave all section headings unnumbere
+d.
+ Consult the journal editor if you wish to depart from this and other convention
+s.
+\end_layout
+
+\begin_layout Subsection
+Second-level heading.
+\end_layout
+
+\begin_layout Standard
+The same goes for second-level headings.
+ It is not necessary to add font commands to make the math within heads
+ bold and sans serif; this change will occur automatically when the production
+ style is applied.
+\end_layout
+
+\begin_layout Section
+Graphics.
+\end_layout
+
+\begin_layout Standard
+Figures for the 
+\shape smallcaps
+Monthly
+\shape default
+ can be submitted as either color or black & white graphics.
+ Generally, color graphics will be used for the online publication, and
+ converted to black & white images for the print journal.
+ We recommend using whatever graphics program you are most comfortable with,
+ so long as the submitted graphic is provided as a separate file using a
+ standard file format.
+\end_layout
+
+\begin_layout Standard
+For best results, please follow the following guidelines:
+\end_layout
+
+\begin_layout Enumerate
+Bitmapped file formats---preferably TIFF or JPEG, but not BMP---are appropriate
+ for photographs, using a resolution of at least 300 dpi at the final scaled
+ size of the image.
+\end_layout
+
+\begin_layout Enumerate
+Line art will reproduce best if provided in vector form, preferably EPS.
+\end_layout
+
+\begin_layout Enumerate
+Alternatively, both photographs and line art can be provided as PDF files.
+ Note that creating a PDF does not affect whether the graphic is a bitmap
+ or vector; saving a scanned piece of line art as PDF does not convert it
+ to scalable line art.
+\end_layout
+
+\begin_layout Enumerate
+If you generating graphics using a 
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+TeX
+\backslash
+\end_layout
+
+\end_inset
+
+package, please be sure to provide a PDF of the manuscript.
+ In the production process, 
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+TeX
+\end_layout
+
+\end_inset
+
+-generated graphics will eventually be converted to more conventional graphics
+ so the 
+\shape smallcaps
+Monthly
+\shape default
+ can be delivered in e-reader formats.
+\end_layout
+
+\begin_layout Enumerate
+For photos of contributing authors, we prefer photos that are not cropped
+ tight to the author's profile, so that production staff can crop the head
+ shot to an equal height and width.
+ If possible, avoid photographs that have excess shadows or glare.
+\end_layout
+
+\begin_layout Section
+Theorems, definitions, proofs, and all that.
+\end_layout
+
+\begin_layout Standard
+Following the defaults of the 
+\family typewriter
+amsthm
+\family default
+ package, styling is provided for 
+\family typewriter
+theorem
+\family default
+, 
+\family typewriter
+definition
+\family default
+, and 
+\family typewriter
+remark
+\family default
+ styles, although the latter two use the same styling.
+\end_layout
+
+\begin_layout Theorem
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+Pythagorean Theorem
+\end_layout
+
+\end_inset
+
+Theorems, lemmas, axioms, and the like are stylized using italicized text.
+ These environments can be numbered or unnumbered, at the author's discretion.
+\end_layout
+
+\begin_layout Proof
+Proofs set in roman (upright) text, and conclude with an 
+\begin_inset Quotes eld
+\end_inset
+
+end of proof
+\begin_inset Quotes erd
+\end_inset
+
+ (q.e.d.) symbol that is set automatically when you end the proof environment.
+ When the proof ends with an equation or other non-text element, you need
+ to add 
+\begin_inset ERT
+status open
+
+\begin_layout Plain Layout
+
+
+\backslash
+verb~
+\backslash
+qedhere~
+\end_layout
+
+\end_inset
+
+ to the element to set the end of proof symbol; see the 
+\family typewriter
+amsthm
+\family default
+ package documentation for more details.
+\end_layout
+
+\begin_layout Definition*
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+Secant Line
+\end_layout
+
+\end_inset
+
+Definitions, remarks, and notation are stylized as roman text.
+ They are typically unnumbered, but there are no hard-and-fast rules about
+ numbering.
+\end_layout
+
+\begin_layout Remark*
+Remarks stylize the same as definitions.
+\end_layout
+
+\begin_layout Acknowledgments
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+Acknowledgment.
+\end_layout
+
+\end_inset
+
+The authors wish to thank the Greek polymath Anonymous, whose prolific works
+ are an endless source of inspiration.
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "parker13"
+
+\end_inset
+
+Adam Parker, Who solved the Bernoulli equation and how did they do it? 
+\emph on
+Coll.
+ Math.
+ J.
+
+\emph default
+\series bold
+44
+\series default
+ (2013) 89–97.
+\end_layout
+
+\begin_layout Bibliography
+\begin_inset CommandInset bibitem
+LatexCommand bibitem
+key "hopkins"
+
+\end_inset
+
+Brian Hopkins, ed., 
+\emph on
+Resources for Teaching Discrete Mathematics
+\emph default
+, Mathematical Association of America, Washington DC, 2009.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Separator plain
+\end_inset
+
+
+\end_layout
+
+\begin_layout Biographies
+
+\end_layout
+
+\begin_deeper
+\begin_layout Author Biography
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+Woodrow Wilson
+\end_layout
+
+\end_inset
+
+received his Ph.D.
+ in history and political science from Johns Hopkins University.
+ He held visiting positions at Cornell and Wesleyan before joining the faculty
+ at Princeton, where he was eventually appointed president of the university.
+ Among his proudest accomplishments was the abolition of eating clubs at
+ Princeton on the grounds that they were elitist.
+\end_layout
+
+\begin_layout Affiliation
+Office of the President, Princeton University, Princeton NJ 08544
+\begin_inset Newline newline
+\end_inset
+
+twoodwilson@princeton.edu
+\end_layout
+
+\begin_layout Author Biography
+\begin_inset Argument 1
+status open
+
+\begin_layout Plain Layout
+Herbert Hoover
+\end_layout
+
+\end_inset
+
+entered Stanford University in 1891, after failing all of the entrance exams
+ except mathematics.
+ He received his B.S.
+ degree in geology in 1895, spent time as a mining engineer, then was appointed
+ by his co-author to the U.S.
+ Food Administration and the Supreme Economic Council, where he orchestrated
+ the greatest famine relief efforts of all time.
+\end_layout
+
+\begin_layout Affiliation
+Hoover Institution, Stanford University, Stanford CA 94305
+\begin_inset Newline newline
+\end_inset
+
+herbhoover@stanford.edu
+\end_layout
+
+\end_deeper
+\end_body
+\end_document