layouts/extreport.layout \
layouts/figs-within-sections.module \
layouts/fixltx2e.module \
+ layouts/fix-cm.module \
layouts/foils.layout \
layouts/foottoend.module \
layouts/frletter.layout \
--- /dev/null
+#\DeclareLyXModule{Fix cm}
+#DescriptionBegin
+#Fix-cm improves the appearance of Computer Modern fonts and makes them
+#available with arbitrary sizes. For details see the documentation
+#of the fix-cm.sty package:
+#http://tug.org/texmf-dist/doc/latex/base/fixltx2e.pdf
+#DescriptionEnd
+
+# Author : Patrick Atamaniuk <patrick-lyx@frobs.net>
+
+Format 31
+
+Requires fix-cm
bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
TexRow & texrow, FileName const & filepath) const
{
+ // http://www.tug.org/texmf-dist/doc/latex/base/fixltx2e.pdf
+ // !! To use the Fix-cm package, load it before \documentclass, and use the command
+ // \RequirePackage to do so, rather than the normal \usepackage
+ // Do not to load any other package before the document class, unless you
+ // have a thorough understanding of the LATEX internals and know exactly what you
+ // are doing!
+ if (features.mustProvide("fix-cm")) {
+ os << "\\RequirePackage{fix-cm}\n";
+ texrow.newline();
+ }
+
os << "\\documentclass";
DocumentClass const & tclass = documentClass();