Answer by John32ma for Unbreakable block
\minipage works well when used in conjunction with the line width. To prevent overfull hbox's you need to use:\noindent\begin{minipage}{\linewidth}content on same page\end{minipage}The key is...
View ArticleAnswer by morbusg for Unbreakable block
A \vbox (or \vtop) will never be broken across pages:\vbox{% Text here will not split over pages, it will remain as one continuous chunk. If there isn't enough room for it on the current page a...
View ArticleAnswer by Marco Daniel for Unbreakable block
You can also use packages to create and format the environment via options:package adjustboxpackage mdframed with the option nobreakpackage tcolorbox
View ArticleAnswer by lockstep for Unbreakable block
See Preventing page breaks between lines in the UK TeX FAQ. Basically, you may use one of the following:the samepage environment;a \parbox or a minipage;the \needspace command of the package of the...
View ArticleUnbreakable block
I want to do something like the following in TeX:\begin{nobreak} Text here will not split over pages, it will remainas one continuous chunk. If there isn't enough roomfor it on the current page a...
View Article
More Pages to Explore .....