Quantcast
Channel: Unbreakable block - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 5 View Live

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 Article



Answer 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 Article

Answer 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 Article

Answer 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 Article

Unbreakable 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

Browsing latest articles
Browse All 5 View Live




Latest Images