/// The arguments of this layout
struct latexarg {
docstring labelstring;
+ docstring menustring;
bool mandatory;
docstring ldelim;
docstring rdelim;
+ docstring presetarg;
docstring tooltip;
std::string requires;
std::string decoration;
FontInfo font;
FontInfo labelfont;
+ bool autoinsert;
};
///
- typedef std::map<unsigned int, latexarg> LaTeXArgMap;
+ typedef std::map<std::string, latexarg> LaTeXArgMap;
///
LaTeXArgMap const & latexargs() const { return latexargs_; }
///
+ LaTeXArgMap const & itemargs() const { return itemargs_; }
+ ///
int optArgs() const;
///
int requiredArgs() const;
std::set<std::string> requires_;
///
LaTeXArgMap latexargs_;
+ ///
+ LaTeXArgMap itemargs_;
};
} // namespace lyx