-
- // array-package
- if (isRequired("array"))
- packages << "\\usepackage{array}\n";
-
- // verbatim.sty
- if (isRequired("verbatim"))
- packages << "\\usepackage{verbatim}\n";
-
- //longtable.sty
- if (isRequired("longtable"))
- packages << "\\usepackage{longtable}\n";
-
- //rotating.sty
- if (isRequired("rotating"))
- packages << "\\usepackage{rotating}\n";
-
-
- // latexsym.sty
- if (isRequired("latexsym"))
- packages << "\\usepackage{latexsym}\n";
-
- // pifont.sty
- if (isRequired("pifont"))
- packages << "\\usepackage{pifont}\n";
-
- // subfigure.sty
- if (isRequired("subfigure"))
- packages << "\\usepackage{subfigure}\n";
-
- // floatflt.sty
- if (isRequired("floatflt"))
- packages << "\\usepackage{floatflt}\n";
-
-
- // varioref.sty
- if (isRequired("varioref"))
- packages << "\\usepackage{varioref}\n";
-
- // prettyref.sty
- if (isRequired("prettyref"))
- packages << "\\usepackage{prettyref}\n";
-
+ for (int i = 0 ; i < nb_simplefeatures ; ++i) {
+ if (isRequired(simplefeatures[i]))
+ packages << "\\usepackage{"
+ << simplefeatures[i]
+ << "}\n";
+ }
+