不使用 amsthm 包删除命题周围的垂直空间

不使用 amsthm 包删除命题周围的垂直空间

risa我正在使用期刊指定的自定义文档类别(可从以下网址获得:http://onlinelibrary.wiley.com/journal/10.1111/%28ISSN%291539-6924/homepage/ForAuthors.html。 下载链接:http://www.blackwellpublishing.com/pdf/risa.zip.)。似乎此类与包有冲突,因为在序言中amsthm使用会出现错误:“命令 \theoremstyle 已定义。”因此,在不使用包的情况下,我试图删除命题前后出现的一些空格。最后给出了一个 MWE(相当长,抱歉我找不到更好的方式来展示这个问题)。\usepackage{amsthm}amsthm

我的序言是

\documentclass{risa}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{epstopdf}
\usepackage{tabularx}
\usepackage[figuresright]{rotating}
\usepackage{amsmath, amssymb}
\newtheorem{prop}{Proposition}
\usepackage{mathtools, cuted}

我使用类似如下的命令:

...
\begin{prop}
Proposition 2 here
\end{prop}
\begin{proof}
Proof to Proposition 2 here
\end{proof}
...

有 3 个命题,并且仅在命题 2 周围观察到不需要的垂直空间。仅供参考,该类risa使用twocolumn页面布局。我尝试使用\vspace{-1cm}等。并尝试更改参数值,发现低值(~0.5cm} 没有产生任何效果,但较高的值(~1cm)使命题跳得太多并与前面的文本重叠。我找到的最接近的答案是:删除定理周围的垂直空间,但这建议使用amsthm我无法使用的包。

请指出这里哪里出了问题。谢谢!

2016 年 12 月 27 日添加编辑: 我理解,出现在下一列顶部的方程(在 MWE 中给出)会迫使命题环境在前后留下不必要的垂直空间。请注意,MWE 中只有一个命题(而不是前面提到的三个)。

梅威瑟:

\documentclass[sort&compress]{risa}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{url}
\urlstyle{same}
\usepackage{epstopdf}
\usepackage{tabularx}
\usepackage[figuresright]{rotating}
\usepackage{amsmath,amssymb}
\newtheorem{prop}{Proposition}
\setlength\theorempreskipamount{1pt plus 2pt minus1.5pt}% default: {12pt plus 5pt minus 3pt}
\setlength\theorempostskipamount{1pt plus 2pt minus1.5pt}% default: {8pt plus 3pt minus 1.5pt}
\usepackage{mathtools, cuted}
\begin{document}

\title[Title]{Title of the Article}

\author[Author]{First Last,$^{1}$\affiliation{Department, University}}
\begin{abstract}
The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016-17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).
\end{abstract}

\begin{keywords}
keyword A, keyword B, keyword C
\end{keywords}

\maketitle

\pagebreak
\section{Introduction}
The Premier League\cite{1} is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

\begin{prop}
\label{prop:epl}
The Premier League is (a) an English professional league for men's association football clubs,
(b) the country's primary football competition, and
(c) contested by 20 clubs.
\end{prop}

\begin{proof}
The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016-17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. 

\begin{eqnarray*}
    \frac{\partial K}{\partial c_{a}} &=& \frac{u'_{a}(- c_{a}) }{ u_{a}(v_{a} - c_{a})-u_{a}(- c_{a})}\\
    &-& \frac{[u_{a}(0)-u_{a}(- c_{a})](u'_{a}(- c_{a}) - u'_{a}(v_{a} - c_{a}))}{[ u_{a}(v_{a} - c_{a})-u_{a}(- c_{a})]^{2}},
\end{eqnarray*}
The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify. \hfill $\blacksquare$
\end{proof}
\bigskip

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

\bibliographystyle{vancouver}

\begin{thebibliography}{1}
\bibitem{1}
Wikipedia.org. Premier League; 2016. Available at: \url{https://en.wikipedia.org/wiki/Premier_League}, Accessed on December 27, 2016.
\end{thebibliography}
\end{document}

答案1

使用risa.clstheorem与不兼容的包amsthm

\theorempreskipamount您可以更改和的值theorempostskipamount

\documentclass{risa}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{epstopdf}
\usepackage{tabularx}
\usepackage[figuresright]{rotating}
\usepackage{amssymb}
\usepackage{mathtools, cuted}
\usepackage{lipsum}

\newtheorem{prop}{Proposition}
\setlength\theorempreskipamount{6pt plus 2pt minus1.5pt}% default: {12pt plus 5pt minus 3pt}
\setlength\theorempostskipamount{6pt plus 2pt minus1.5pt}% default: {8pt plus 3pt minus 1.5pt}
 \begin{document}

\lipsum[1]
\begin{prop}
  Proposition 2 here
\end{prop}\begin{proof}
Proof to Proposition 2 here
\end{proof}
\lipsum[47]

\end{document} 

在此处输入图片描述

编辑

您的 mwe 的主要问题是由于多线方程。您应该不是使用eqnarray,它已被弃用,在对齐点周围有不好的间距。此外,它不能跨页/列分页。将其替换为 ams 环境  align*并使用指令\allowdisplaybreaks

我将 的值改为更合理的值,并在命题和其证明之间theorempre/postskipamount添加了。请注意,证明环境不是作为定理结构实现的,而只是作为 trivlist 实现的,因此为负数:\vspace{-\topsep}\vspace

\documentclass[sort&compress]{risa}
\usepackage{graphicx}
\usepackage{natbib}
\usepackage{url}
\urlstyle{same}
\usepackage{epstopdf}
\usepackage{tabularx}
\usepackage[figuresright]{rotating}
\usepackage{amssymb}

\newtheorem{prop}{Proposition}
\setlength\theorempreskipamount{3pt plus 1.5pt minus1.5pt}% default: {12pt plus 5pt minus 3pt}
\setlength\theorempostskipamount{2.5pt plus 1.5pt minus 1pt}% default: {8pt plus 3pt minus 1.5pt}
\usepackage{mathtools, cuted}

\raggedbottom
\begin{document}

\title[Title]{Title of the Article}

\author[Author]{First Last,$^{1}$\affiliation{Department, University}}
\begin{abstract}
The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016-17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).
\end{abstract}

\begin{keywords}
keyword A, keyword B, keyword C
\end{keywords}

\maketitle

\pagebreak
\section{Introduction}
The Premier League\cite{1} is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

\begin{prop}
\label{prop:epl}
The Premier League is (a) an English professional league for men's association football clubs,
(b) the country's primary football competition, and
(c) contested by 20 clubs.
\end{prop}
\vspace*{-\topsep}
%%
\begin{proof}
The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016-17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition.
\allowdisplaybreaks
\begin{align*}
    \frac{\partial K}{\partial c_{a}} &= \frac{u'_{a}(- c_{a}) }{ u_{a}(v_{a} - c_{a})-u_{a}(- c_{a})}\\
    &- \frac{[u_{a}(0)-u_{a}(- c_{a})](u'_{a}(- c_{a}) - u'_{a}(v_{a} - c_{a}))}{[ u_{a}(v_{a} - c_{a})-u_{a}(- c_{a})]^{2}},
\end{align*}
The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify. \hfill $\blacksquare$
\end{proof}
%\bigskip

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

The Premier League is an English professional league for men's association football clubs. At the top of the English football league system, it is the country's primary football competition. Contested by 20 clubs, it operates on a system of promotion and relegation with the English Football League (EFL; known as "The Football League" before 2016–17). Welsh clubs that compete in the English football league system can also qualify.

The Premier League is a corporation in which the 20 member clubs act as shareholders. Seasons run from August to May. Teams play 38 matches each (playing each team in the league twice, home and away), totalling 380 matches in the season. Most games are played on Saturday and Sunday afternoons; others during weekday evenings. It is colloquially known as the Premiership and outside the UK it is commonly referred to as the English Premier League (EPL).

\bibliographystyle{vancouver}

\begin{thebibliography}{1}
\bibitem{1}
Wikipedia.org. Premier League; 2016. Available at: \url{https://en.wikipedia.org/wiki/Premier_League}, Accessed on December 27, 2016.
\end{thebibliography}

在此处输入图片描述 \结束{文档}

相关内容