X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferParams.h;h=9f20ce14c6c1fe7a0b5e02d619699d2b2650970b;hb=28be7d552f62cc02fa86d7f79201d089bfb2d7b5;hp=c913031ef83da3ffd3a9c97c380679ea2655861e;hpb=d4685f2806683849002e0fb77b8e0335ed998092;p=lyx.git diff --git a/src/BufferParams.h b/src/BufferParams.h index c913031ef8..9f20ce14c6 100644 --- a/src/BufferParams.h +++ b/src/BufferParams.h @@ -112,7 +112,11 @@ public: enum MathNumber { DEFAULT, LEFT, RIGHT }; /// number formulas on left/right/default - MathNumber math_number; + MathNumber math_numbering_side; + + /// Convenience function for display: like math_number, but + /// DEFAULT is replaced by the best guess we have. + MathNumber getMathNumber() const; /** Whether paragraphs are separated by using a indent like in * articles or by using a little skip like in letters. @@ -537,6 +541,8 @@ public: std::string output_sync_macro; /// use refstyle? or prettyref? bool use_refstyle; + /// use minted? or listings? + bool use_minted; /// Return true if language could be set to lang, /// otherwise return false and do not change language