Reference documentation for deal.II version Git 2e98021fd4 2020-10-20 17:25:20 -0400
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Functions
Patterns::internal Namespace Reference

Functions

std::string escape (const std::string &input, const PatternBase::OutputStyle style)
 

Function Documentation

◆ escape()

std::string Patterns::internal::escape ( const std::string &  input,
const PatternBase::OutputStyle  style 
)

Escape the string input for the specified style so that characters will appear as intended. For example, characters like _ can not be written as is in LateX and have to be escaped as _.

Definition at line 55 of file patterns.cc.