|
|
Welcome to the TeXnik web site |
![]() |
||||||||||
|
Creating a new type of float is very simple. in latex preamble \usepackage{float}
\newfloat{messages}{htb}{loM}[chapter]
The arguments are:
In the text the enw float-type Messages is called as an environment: \begin{messages}
text, figure, table or anything else
\caption{text text}
\end{messages}
Changing the name of the caption is possible with (for example):
\floatname{messages}{Mitteilungen} Changing the list-of-title is a little bit complicated. if you have only one new-defines float, write in preamble:
\let\myListof\listof
\renewcommand\listof[2]{%
\myListof{#1}{Here comes my list of Messages}%
}
For the list of ... write always
\listof{messages}{Here comes my list of Messages}
|
|||||||||||