1

I wish to change the spacing in amsthm's proof environment (in my case, increase the spacing). I have included my attempt. I do not want numbering so I included the *. However, my attempt fails because it does not include the QED symbol at the end of the proof on the far right (which I need). Anyone have any ideas on how to get the increased spacing AND a QED symbol? I've included the output of my code so everyone can see the difference between my myplain2 environment and the \begin{proof} environments (my code has the spacing I want, but no QED symbol, and the \begin{proof} environment does not have the spacing I want, but does have the QED symbol).

\newtheoremstyle{myplain2}
 {-\baselineskip\topsep}   % ABOVESPACE
  {\topsep}   % BELOWSPACE
  {\normalfont\setstretch{2}}  % BODYFONT
  {0pt}       % INDENT (empty value is the same as 0pt)
  {\bfseries} % HEADFONT
  {.}         % HEADPUNCT
  {5pt plus 1pt minus 1pt} % HEADSPACE
  {}   
\theoremstyle{myplain2}
\newtheorem*{proof_new}{Proof}

\begin{proof}
Oh hi Mark.\\
Oh hi Mark.\\
Oh hi Mark.
\end{proof}

\begin{proof_new}
Oh hi Mark.\\
Oh hi Mark.\\
Oh hi Mark.
\end{proof_new}


enter image description here

2
  • Welcome to tex.sx. What you have redefined is a theorem environment, and it doesn't include the qed. Proof has a quite different definition in amsthm. You might try just entering your proof as \begin{proof} \setstretch{2} <text of proof> \end{proof}. I don't guarantee that it will work but it doesn't hurt to try. Sep 18, 2020 at 0:56
  • That worked! Thanks!! Sep 18, 2020 at 4:06

2 Answers 2

1

I'm not sure what would be the reason. Anyway…

\documentclass{article}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{setspace}

\usepackage{lipsum} % for mock text

% spaced proof
\newenvironment{sproof}
 {\par\vspace{-\topsep}\begin{spacing}{1.5}\begin{proof}}
 {\end{proof}\end{spacing}\par\vspace{-\topsep}}

\begin{document}

\lipsum[1][1-5]

\begin{proof}
\lipsum[2][1-5]
\end{proof}

\lipsum[1][1-5]

\begin{sproof}
\lipsum[2][1-5]
\end{sproof}

\lipsum[1][1-5]

\end{document}

enter image description here

0

You can use the setspace package to set the spacing of the proof with the space environment.

As an example is given below:

\documentclass[12pt,a4paper]{book} 
\usepackage{setspace}

\renewcommand{\baselinestretch}{1} 


\begin{document}
    
    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
    
    \begin{spacing}{2}
        Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing.
    \end{spacing}


    Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown pri.



\end{document}

spacing output

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .