I have a specific kind of text. It looks like a big paragraph from several lines and than goes one another paragraph on one line (and consists of one reference to a link). But the text is too big, so there are situation, when a paragraph stays on one page and only another paragraph (link) goes to another one.
The most wonderful situation would be if on the next page transfered the last line of big pharagraph and a paragraph-link. Is it possible to do that?
P.S. It's not "Widows and orphans". They are two different paragraphs.
It looks like this:
In consideration of the day and hour of my birth, it was declared by the nurse, and by some sage women in the neighbourhood who had taken a lively interest in me several months before there was any possibility of our becoming personally acquainted, first, that I was destined to be unlucky in life; and secondly, that I was privileged to see ghosts and spirits; both these gifts inevitably attaching, as they believed, to all unlucky infants of either gender, born towards the small hours on a Friday night.
XXX(link)
But when i have a page break, i can get this:
In consideration of the day and hour of my birth, it was declared by the nurse, and by some sage women in the neighbourhood who had taken a lively interest in me several months before there was any possibility of our becoming personally acquainted, first, that I was destined to be unlucky in life; and secondly, that I was privileged to see ghosts and spirits; both these gifts inevitably attaching, as they believed, to all unlucky infants of either gender, born towards the small hours on a Friday night.
--------New page--------
XXX(link)
The best variant i need looks like this:
In consideration of the day and hour of my birth, it was declared by the nurse, and by some sage women in the neighbourhood who had taken a lively interest in me several months before there was any possibility of our becoming personally acquainted, first, that I was destined to be unlucky in life; and secondly, that I was privileged to see ghosts and spirits; both these gifts inevitably attaching, as they believed, to all unlucky infants of
--------New page--------
either gender, born towards the small hours on a Friday night.
XXX(link)
\[ \text{<the link>} \]
. this will center the link (like a display), but it will drag the last line of the preceding text onto the following page.\par\nobreak
work?samepage
declaration?). Once again, you need to post the code you are using, or—much better—a MWE....the small hours on a Friday night.\\*[\medskipamount] \textsl{XXX(link)}
should also produce the desired result, including some vertical space.