/// The arguments of this layout
struct latexarg {
docstring labelstring;
+ docstring menustring;
bool mandatory;
docstring ldelim;
docstring rdelim;
+ docstring presetarg;
docstring tooltip;
- std::string shortcut;
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::string const & latexparam() const { return latexparam_; }
///
+ docstring leftdelim() const { return leftdelim_; }
+ ///
+ docstring rightdelim() const { return rightdelim_; }
+ ///
std::string const & innertag() const { return innertag_; }
///
std::string const & labeltag() const { return labeltag_; }
docstring labelstring_appendix_;
/// LaTeX parameter for environment
std::string latexparam_;
+ /// Left delimiter of the content
+ docstring leftdelim_;
+ /// Right delimiter of the content
+ docstring rightdelim_;
/// Internal tag to use (e.g., <title></title> for sect header)
std::string innertag_;
/// Internal tag to use (e.g. to surround varentrylist label)
std::set<std::string> requires_;
///
LaTeXArgMap latexargs_;
+ ///
+ LaTeXArgMap itemargs_;
};
} // namespace lyx