En mi proyecto Latex, he definido un nuevo entorno para poder hacer referencia a enumeraciones.
\DeclareFloatingEnvironment[placement={!ht},name=Liste]{mylist}
El único problema es que al colocar la enumeración dentro de este nuevo entorno, ¿no se dividirá en dos páginas como solía hacerlo? ¿Ahora tiene que pasar a la página siguiente para mostrar la lista completa en una sola página?
\documentclass{article}
\usepackage[norsk]{babel}
\usepackage{tabularx}
\usepackage{apacite}
\usepackage{hyperref}
\usepackage{enumerate}
\usepackage[normalem]{ulem}
\usepackage{color}
\usepackage{newfloat}
\DeclareFloatingEnvironment[placement={!ht},name=Liste]{mylist}
\begin{document}
poqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ion poqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ionpoqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ionpoqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ion
\begin{mylist}
\begin{enumerate}
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list\item many items in my list\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\end{enumerate}
\end{mylist}
\end{document}
Respuesta1
No es necesario hacer que algo flote para que sea referenciable.
\documentclass{article}
\newcounter{mylist}
\makeatletter
\newenvironment{mylist}{\def\@captype{mylist}}{}
\def\ext@mylist{myl}
\def\fnum@mylist{List\nobreakspace\themylist}
\makeatother
\begin{document}
poqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ion poqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ionpoqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ionpoqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ion
See list \ref{zzz}:
\begin{mylist}
\caption{This is a list}\label{zzz}
\begin{enumerate}
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list\item many items in my list\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\end{enumerate}
\end{mylist}
\end{document}
Respuesta2
De otra manera, con elcapt-of
paquete. Esto le permite utilizar el entorno flotante o el modo no flotante (que se muestra aquí) caso por caso, pero conservar la misma capacidad de subtítulos en cualquier caso.
\documentclass{article}
\usepackage{capt-of}
\usepackage{newfloat}
\DeclareFloatingEnvironment[placement={!ht},name=Liste]{mylist}
\begin{document}
poqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ion poqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ionpoqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ionpoqkweokqw pqok qpok opqkopkop qk opqk opqk poqk opqk opqk qpok qopk qopk qopk qkemwme kwem kkm kwmekmwkemqkmelq mql lqm lqm klqmeklwmqkle mqkl mq qmqm mq mqm qmrkrk kq pqjpij iqjiepjqoiwej iojm kqokqo kqk koqk oqko kqoekqeij imqk mqklenqoineoqn ion
\captionof{mylist}{The caption.}
\begin{enumerate}
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list\item many items in my list\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\item many items in my list
\end{enumerate}
\end{document}