\html_latex_end </span>
\author -1379302345 "Julien Rioux" jrioux@lyx.org
\author -712698321 "Jürgen Spitzmüller"
+\author -195340706 "Georg Baum"
\end_header
\begin_body
fixltx2e
\family default
module.
+\change_inserted -195340706 1415992274
+
+\end_layout
+
+\begin_layout Subsection
+
+\change_inserted -195340706 1415992274
+footmisc
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -195340706 1415992274
+Found:
+\begin_inset Info
+type "package"
+arg "footmisc"
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -195340706 1415992274
+CTAN:
+\family typewriter
+macros/latex/contrib/supported/footmisc/footmisc.sty
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -195340706 1415992274
+Notes: The package
+\family sans
+footmisc
+\family default
+is needed to support stable footnotes in chapter titles.
+\change_unchanged
+
\end_layout
\begin_layout Subsection
"User specified LaTeX commands.\n"
+ from_utf8(preamble) + '\n';
+ // footmisc must be loaded after setspace
+ // Load it here to avoid clashes with footmisc loaded in the user
+ // preamble. For that reason we also pass the options via
+ // \PassOptionsToPackage in getPreamble() and not here.
+ if (features.mustProvide("footmisc"))
+ atlyxpreamble += "\\usepackage{footmisc}\n";
+
// subfig loads internally the LaTeX package "caption". As
// caption is a very popular package, users will load it in
// the preamble. Therefore we must load subfig behind the
"}\n"
"{\\end{list}}\n");
-static docstring const floatingfootnote_def = from_ascii(
- "%% Special footnote code from the package 'stblftnt.sty'\n"
- "%% Author: Robin Fairbairns -- Last revised Dec 13 1996\n"
- "\\let\\SF@@footnote\\footnote\n"
- "\\def\\footnote{\\ifx\\protect\\@typeset@protect\n"
- " \\expandafter\\SF@@footnote\n"
- " \\else\n"
- " \\expandafter\\SF@gobble@opt\n"
- " \\fi\n"
- "}\n"
- "\\expandafter\\def\\csname SF@gobble@opt \\endcsname{\\@ifnextchar[%]\n"
- " \\SF@gobble@twobracket\n"
- " \\@gobble\n"
- "}\n"
- "\\edef\\SF@gobble@opt{\\noexpand\\protect\n"
- " \\expandafter\\noexpand\\csname SF@gobble@opt \\endcsname}\n"
- "\\def\\SF@gobble@twobracket[#1]#2{}\n");
-
static docstring const binom_def = from_ascii(
"%% Binom macro for standard LaTeX users\n"
"\\newcommand{\\binom}[2]{{#1 \\choose #2}}\n");
if (mustProvide("subscript") && !isRequired("fixltx2e"))
packages << "\\usepackage{subscript}\n";
+ // footmisc must be loaded after setspace
+ // Set options here, load the package after the user preamble to
+ // avoid problems with manual loaded footmisc.
+ if (mustProvide("footmisc"))
+ packages << "\\PassOptionsToPackage{stable}{footmisc}\n";
+
return packages.str();
}
// other
if (mustProvide("ParagraphLeftIndent"))
macros << paragraphleftindent_def;
- if (mustProvide("NeedLyXFootnoteCode"))
- macros << floatingfootnote_def;
// some problems with tex->html converters
if (mustProvide("NeedTabularnewline"))