The attached patch fixes the display of the attached .lyx file. When compiled, the .lyx file indents the first line of the environment following the Theorem environment. But LyX shows the line as not indented.
There might be similar fixes needed, such as in elsart.layout OK to go in? Scott
From 1d217c619b9fa0994b96d1ad2c40d8496fb379a2 Mon Sep 17 00:00:00 2001 From: Scott Kostyshak <skost...@lyx.org> Date: Fri, 11 Nov 2016 11:55:31 -0500 Subject: [PATCH] Theorem environment: set NextNoIndent to 0 After a Theorem environment, LaTeX does by default indent the following paragraph. --- lib/layouts/theorems-ams.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/layouts/theorems-ams.inc b/lib/layouts/theorems-ams.inc index f65730f..698f6be 100644 --- a/lib/layouts/theorems-ams.inc +++ b/lib/layouts/theorems-ams.inc @@ -29,7 +29,7 @@ Style Theorem Margin First_Dynamic LatexType Environment LatexName thm - NextNoIndent 1 + NextNoIndent 0 ResetArgs 1 AddToToc thm IsTocCaption 1 -- 2.7.4
#LyX 2.3 created this file. For more info see http://www.lyx.org/ \lyxformat 508 \begin_document \begin_header \save_transient_properties true \origin unavailable \textclass article \use_default_options true \begin_modules theorems-ams \end_modules \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 1 \bibtex_command default \index_command default \paperfontsize default \spacing single \use_hyperref false \papersize default \use_geometry false \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 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 Theorem hello \end_layout \begin_layout Standard test \end_layout \end_body \end_document
signature.asc
Description: PGP signature