newfloat

Floats of new kinds, by keys.

Loading

\usepackage{newfloat}

A module of its own, compiled into mLaTeX: the package's commands are defined over mLaTeX's primitives.

Commands

\DeclareFloatingEnvironment, \ForEachFloatingEnvironment, \newfloatsetup, \PrepareListOf, \SetupFloatingEnvironment.

Example

A document that uses it, from mLaTeX's own tests, so it compiles as written, and below it what mLaTeX sets from it in your browser:

newfloat.tex
\documentclass{article}
\usepackage{newfloat}
\begin{document}
\DeclareFloatingEnvironment[fileext=los, name=Scheme]{scheme}
\begin{scheme}[htbp]\centering A scheme.\caption{The first scheme}\end{scheme}
\end{document}
OutputLoading mLaTeX in your browser
Loading mLaTeX