These classes come with their own working implementation of table
footnotes, so we are not supposed to use the tablefootnote or
footnote package.
Also add missing outliner name.
(cherry picked from commit
dfaa4e9466fd0e5bf22bf55965a26e86a767cfa7)
Provides natbib-internal 1
Provides url 1
+Provides tablefootnote 1
+Provides footnote-alternative 1
+
SecNumDepth 4
TocDepth 3
DefaultStyle Standard
End
+OutlinerName video "Videos"
+
+
InsetLayout Flex:Float_Link
CopyStyle Flex:URL
LabelString "Float link"
End
+# RevTeX uses normal footnotes in tables
+InsetLayout Foot:InFloatTable
+ CopyStyle Foot
+End
+
+
NoStyle Chapter
NoStyle Chapter*
NoStyle LyX-Code
Columns 1
Sides 1
PageStyle Headers
+
Provides natbib-internal 1
Provides url 1
+Provides tablefootnote 1
+Provides footnote-alternative 1
SecNumDepth 4
TocDepth 3
End
+# RevTeX uses normal footnotes in tables
+InsetLayout Foot:InFloatTable
+ CopyStyle Foot
+End
+
+
Input stdfloats.inc
Input stdcounters.inc
void InsetFoot::validate(LaTeXFeatures & features) const
{
- if (!features.saveNoteEnv().empty()) {
+ // Use footnote package to provide footnotes in tables
+ // unless an alternative approach is built in the class.
+ if (!features.saveNoteEnv().empty()
+ && !features.isProvided("footnote-alternative")) {
features.require("footnote");
features.addPreambleSnippet(
from_ascii("\\makesavenoteenv{"