it is difficult to ask a question precisely if one does not know how to phrase it correctly. So please excuse my blunt approach, it is a result of incompetence, not of indifference or disrespect.
I currently am writing a book and use a user defined command to create a simple "scene" structure, the command \szeneinfo (see below). It might be programmed diletantic, but works.
Only catch: the "scene info" sometimes appears at the end of one page while the "text" it belongs to starts on the next.
Now: is there a (simple) way to force it to start on the next page if it get's too close to the bottom margin?
Sorry for the blunt explanation.
Code: Select all
\documentclass[a4paper]{book}
\usepackage{verbatim}
\usepackage{graphics}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{enumerate}
\usepackage{array}
\usepackage{hyperref}
\usepackage{graphicx}
\usepackage[scaled]{helvet}
\topmargin 0.00cm
\textheight 22.00cm
\textwidth 14.00cm
\oddsidemargin 1.00cm
\evensidemargin 1.00cm
\marginparwidth 80pt
\newcommand{\szeneinfo}[4]{
\stepcounter{scenecounter}
\texorpdfstring{
\bigskip
\bigskip
\bigskip
\begin{center}
{\bf \Large \thescenecounter }
\medskip
#2, #3
\end{center}
\medskip
}
}
Joachim