|
[Rivet] Rivet metadata proposalFrank Siegert frank.siegert at durham.ac.ukMon Feb 9 21:50:55 GMT 2009
Hi Andy, Andy Buckley, Monday 09 February 2009: > Here's my proposal: [...] Sounds fine to me. I have one question though: > /// @brief Get a full description of the analysis. > /// Full textual description of this analysis, what it is useful for, > /// what experimental techniques are applied, etc. Should be treated > /// as a chunk of LaTeX text, including equations built with amsmath > /// operators, and splitting paragraphs with newlines as usual. The > /// TeX will be down-rendered to text or HTML as necessary. > virtual std::string description() const = 0; Do you know of any trick to more easily write long (LaTeX) text into a C++ string? It's not only having to escape everything, but also the line breaks which are quite annoying. If anyone is aware of ways to make that easier and more elegant (also to read), than we probably should all use them. Thanks, Frank
More information about the Rivet mailing list |