Major issues with Memoir class

Rich Shepard rshepard at appl-ecosys.com
Thu Jun 15 13:49:21 UTC 2023


After looking at what the Peter Wilson's Memoir class provides for books I
decided to learn how to use it for a book. Unfortunately, the LyX
implementation is flawed. I'm not on the dev mail list so I'm writing to the
general list asking for improvements in that document class. In the
meantime, I'll see if I can use the KOMA-Script or basic book class to
create the same title page and section headings as I wanted to use with the
Memoir class.

These are what I've learned about the Memoir class in LyX-2.3.6.1:

- The documentclass{} settings dialog box does not have an option for the
   number of columns; nor do the other settings except for Modules (which
   allows adding the multicols package). Yet, the .tex file shows
   'twocolumns' as a class option. Okay for articles, but not for books. I
   added 'singlecolumn' in the document class options and that fixed this
   issue.

- The environment options are appropriate for the memoir article class, not
   the book class. There's an Abstract, but no half-title or other book front
   matter page layouts.

- Adding the LaTeX (ERT) \mainmatter after the front matter puts that
   command between \begin{quote} and \end{quote} so there is no chapter
   number assigned to the unstarred chapters. It thinks chapter* is used.

This is as far as I've done. I cannot build LyX-2.4.x on this
Slackware64-14.2 desktop which is my server and main workstation.

Please find time to make the Memoir book class fully functional in currnet
LyX.

TIA,

Rich
-------------- next part --------------
#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 memoir
\begin_preamble
%\date{}
\usepackage{mathpazo,amssymb}
\usepackage{graphicx,relsize}
%\usepackage{scrlayer-scrpage}
%\pagestyle{scrheadings}
%makeatletter
%\@addtoreset{figure}{subsection}% Reset figure numbering at every part
%makeatother
\chapterstyle{demo2}
\end_preamble
\options onecolumn
\use_default_options false
\begin_modules
natbibapa
\end_modules
\maintain_unincluded_children false
\language english
\language_package default
\inputencoding default
\fontencoding global
\font_roman "palatino" "default"
\font_sans "uop" "default"
\font_typewriter "lmtt" "default"
\font_math "auto" "auto"
\font_default_family rmdefault
\use_non_tex_fonts false
\font_sc true
\font_osf false
\font_sf_scale 100 100
\font_tt_scale 100 100
\use_microtype false
\use_dash_ligatures false
\graphics default
\default_output_format pdf2
\output_sync 0
\bibtex_command biber
\index_command default
\paperfontsize default
\spacing single
\use_hyperref false
\papersize executivepaper
\use_geometry true
\use_package amsmath 1
\use_package amssymb 1
\use_package cancel 0
\use_package esint 0
\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 natbib
\cite_engine_type authoryear
\biblio_style plainnat
\use_bibtopic false
\use_indices false
\paperorientation portrait
\suppress_date true
\justification true
\use_refstyle 0
\use_minted 0
\index Index
\shortcut idx
\color #008000
\end_index
\paperwidth 6in
\paperheight 9in
\leftmargin 0.75in
\topmargin 0.9in
\rightmargin 0.75in
\bottommargin 0.9in
\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 2
\papersides 2
\paperpagestyle Ruled
\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 Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
frontmatter
\end_layout

\end_inset


\end_layout

\begin_layout Title
Quantifying Freshwater Ambient Conditions
\begin_inset Newline newline
\end_inset

Complying with the Clean Water Act
\end_layout

\begin_layout Author
Richard B.
 Shepard
\end_layout

\begin_layout Standard
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
clearpage
\end_layout

\end_inset


\end_layout

\begin_layout Standard
\begin_inset CommandInset toc
LatexCommand tableofcontents

\end_inset


\end_layout

\begin_layout Standard
\begin_inset FloatList figure

\end_inset


\end_layout

\begin_layout Standard
\begin_inset FloatList table

\end_inset


\end_layout

\begin_layout Chapter*
Preface
\end_layout

\begin_layout Standard
The original Water Pollution Control Act of 1899 based assessments on ambient
 water quality.
 In the 1948 revision the focus turned to point source pollutant discharges.
 In the 1972 revision (the Clean Water Act, or CWA) the objective to restore
 and maintain the physical, chemical, and biological constituents of the
 nation's waters was reinstated and requires ambient conditions as the assessmen
t basis.
 Unfortunately, the EPA, Tribes, and states continue to set maximum concentratio
n levels for specific inorganic ions and organic compounds when assessing
 water quality.
\end_layout

\begin_layout Standard
The basis for setting water quality standards is decades out of date, given
 our current understanding of environmental data and availability of recently
 developed statistical models.
 The use of a single maximum concentration limit (MCL) for individual chemical
 elements does not reflect natural ecosystem function nor provide accurate
 indications of whether regulated industrial activities adversely impact
 the specific designated beneficial uses of surface or ground waters at
 specific locations.
 Water is a complex mixture of chemicals, not individual inorganic ions
 and organic compounds, and concentrations vary with temperature, pH, flow
 rate, and location while binding and releasing on inorganic and organic
 substrata, and other factors.
 A sample of water represents a snapshot at a specific time and place.
 This is why aquatic ecologists have established data collection standards
 to minimize variability when measuring physical and chemical parameters
 of flowing and standing waters.
\end_layout

\begin_layout Standard
Ambient conditions fulfills 
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
S
\end_layout

\end_inset

101.(a) of the 1972 Clean Water Act:
\end_layout

\begin_layout Quote
The objective of this Act is to restore and maintain the chemical, physical,
 and biological integrity of the Nation?s waters.
\end_layout

\begin_layout Standard
While many have proposed qualitative or site-specific indicies and single-number
s to define ambient water quality they fail to be quantitative, applicable
 in every freshwater body, and based on technically sound and legally defensible
 statistical models.
\end_layout

\begin_layout Standard
Aquatic biota are much more reliable indicators of ambient water quality
 than are concentrations of chemical elements.
 The EPA considers aquatic life to be the highest and best use of water
 (that is, the use most sensitive to anthropogenic disturbance).
 Aquatic biota, along with the abiotic physical and chemical environments,
 form natural ecosystems.
 Benthic macroinverebrate communities
\begin_inset Foot
status collapsed

\begin_layout Plain Layout
The juvenile life stages of aquatic insects and other small invertebrates
 such as snails, amphipods, and water mites.
\end_layout

\end_inset

 directly reflect the location's ambient conditions.
\end_layout

\begin_layout Standard
This book describes a method that quantifies the local biotic community
 explains how this process can be used to assess ambient conditions and
 distinguish inherent natural variability (including climate change) from
 chnages caused by human activities.
\end_layout

\begin_layout Quote
\begin_inset ERT
status open

\begin_layout Plain Layout


\backslash
mainmatter
\end_layout

\end_inset


\end_layout

\begin_layout Chapter
Introduction
\end_layout

\begin_layout Standard
Natural ecosystems are highly complex; we cannot have complete knowledge
 of their variability and interactions among all components.
 About 50 years ago, when environmental laws started to be created, ecologists
 were moving from qualitative descriptions of ecosystems, communities, and
 populations to quantative measures of their dynamics.
 At that time, appropriate statistical models did not exist, and computers
 were not as widely (or easily) used as they are today.
 To implement these statutes regulators had to assess and compare natural
 ecosystems in attempts to determine anthropogenic effects.
 The approach used then was to create methods producing a single numerical
 value assumed to summarize ecosystem quality and separate ?good? from ?bad?
 conditions.
 These species diversity and biotic integrity indices still are used today.
 And they still fail to describe ecosystem complexity, to quantify inherent
 natural variability, and to separate natural and anthropogenic changes
 to these systems.
 These faillings are overcome by applying appropriate, modern statistical
 models to biotic data.
\end_layout

\begin_layout Standard
An important benefit of robust statistical analyses of ecosystems is that
 they integrate components of each drainage basin and its stream network.
 This integration provides insights that regulators and other stakeholders
 can use to make informed decisions.
 These statistical analyses do not produce a dichotomous decision point
 (less than this number is good, greater than this number is bad), but allow
 the use of Best Professional Judgment and adjustments as more data and
 knowledge become available.
\end_layout

\end_body
\end_document
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwe.pdf
Type: application/pdf
Size: 62423 bytes
Desc: 
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230615/f468085f/attachment-0001.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mwe.tex
Type: application/x-tex
Size: 5882 bytes
Desc: 
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20230615/f468085f/attachment-0001.tex>


More information about the lyx-users mailing list