Am 03.11.2016 um 11:06 schrieb edu Gpl:
i hope you add the red text in tutorail.lyx (3.5 footnotes and margin
notes):
Hello Hatim,
thanks for the suggestion.
However, the tutorial is the wrong place for special things and
especially for TeX code. Sec. 4.3 of the EmbeddedObjects manual
describes details of margin notes.
- margin notes are not numbered, but can numbered with samll latex code
(\captionof[figure]{}or\captionof[table]{}).
This is not that easy. The correct command is
\captionof{〈type〉}[〈move〉]{〈caption〉}
see http://texdoc.net/texmf-dist/doc/latex/capt-of/capt-of.pdf
The problem is that you have to define a special float environment
before you can use \captionof. Because one does not want to see e.g.
"Figure x:" as caption of a margin note. To define your own float type
the package 'float' has to be loaded and one needs LaTeX background
knowledge to define the float type.
For the command \captionof one also needs to load the package 'capt-of'
in the document preamble.
I think that is too complicated to describe it in the EmbeddedObjects
manual. This manual has to be compilable and adding this info would
require 2 more LaTeX packages to install.
Therefore I think you should add the info to the LyX wiki. Maybe to this
page:
http://wiki.lyx.org/FAQ/Numbering
thanks and regards
Uwe