Reference documentation for deal.II version 9.6.0
\(\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\}}\)
Loading...
Searching...
No Matches
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 52 of file patterns.cc.