3
votes
1answer
63 views

How to prevent page break in the last three lines of an environment?

I want to create an environment, thats content should not allowed a page break in the last three lines of the last paragraph. If the last three lines of the text inside the environment reach the ...
4
votes
1answer
820 views

Quote environment with long reference at the end right – without widows

I need a quote-environment to end with source-references in a new line, flush right. Simply using \begin{quote} QUOTED TEXT \begin{flushright} SOURCE \end{flushright} \end{quote} ...