]> git.lyx.org Git - features.git/blobdiff - src/Layout.h
Convenience LFUN to split an environment
[features.git] / src / Layout.h
index a76dca6e89dad3b0c6606102bf84c5af2392d65a..39f784638e2bcfc5248fb706567a94485ba7099c 100644 (file)
@@ -86,6 +86,8 @@ public:
        ///
        std::string const & latexname() const { return latexname_; }
        ///
+       std::string const & itemcommand() const { return itemcommand_; }
+       ///
        void setLatexName(std::string const & n) { latexname_ = n; }
        /// The arguments of this layout
        struct latexarg {
@@ -100,10 +102,13 @@ public:
                std::string decoration;
                FontInfo font;
                FontInfo labelfont;
+               bool autoinsert;
        };
        ///
        typedef std::map<std::string, latexarg> LaTeXArgMap;
        ///
+       LaTeXArgMap args() const;
+       ///
        LaTeXArgMap const & latexargs() const { return latexargs_; }
        ///
        LaTeXArgMap const & itemargs() const { return itemargs_; }
@@ -325,6 +330,8 @@ private:
        docstring labelstring_appendix_;
        /// LaTeX parameter for environment
        std::string latexparam_;
+       /// Item command in lists
+       std::string itemcommand_;
        /// Left delimiter of the content
        docstring leftdelim_;
        /// Right delimiter of the content