<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">object </span><ahref="index.html">LatexSyntaxRenderer</a> : <ahref="../-syntax-renderer/index.html">SyntaxRenderer</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-ast/src/commonMain/kotlin/space/kscience/kmath/ast/rendering/LatexSyntaxRenderer.kt#L26">source</a>)</span></span></div><pclass="paragraph"><ahref="../-syntax-renderer/index.html">SyntaxRenderer</a> implementation for LaTeX.</p><pclass="paragraph">The generated string is a valid LaTeX fragment to be used in the Math Mode.</p><pclass="paragraph">Example usage:</p><divclass="sample-container"><pre><codeclass="block lang-kotlin"theme="idea">\documentclass{article}<br>\begin{document}<br>\begin{equation}<br>%code generated by the syntax renderer<br>\end{equation}<br>\end{document}</code></pre><spanclass="top-right-position"><spanclass="copy-icon"></span><divclass="copy-popup-wrapper popup-to-left"><spanclass="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><spanclass="kdoc-tag"><h4class="">Author</h4><pclass="paragraph">Iaroslav Postovalov</p></span></div></div>
</div>
<divclass="tabbedcontent">
<divclass="tabs-section"tabs-section="tabs-section"><buttonclass="section-tab"data-active=""data-togglable="CONSTRUCTOR,TYPE,FUNCTION,PROPERTY">Members</button><buttonclass="section-tab"data-togglable="CONSTRUCTOR,TYPE,FUNCTION,PROPERTY,EXTENSION_PROPERTY,EXTENSION_FUNCTION">Members & Extensions</button></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-ast:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="../-syntax-renderer/index.html">SyntaxRenderer</a><spanclass="token punctuation">.</span><ahref="../render-with-string-builder.html"><spanclass="token function">renderWithStringBuilder</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">node<spanclass="token operator">: </span><ahref="../-math-syntax/index.html">MathSyntax</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div><divclass="brief "><pclass="paragraph">Calls <ahref="../-syntax-renderer/render.html">SyntaxRenderer.render</a> with given <ahref="../render-with-string-builder.html">node</a> and a new <ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/-string-builder/index.html">StringBuilder</a> instance, and returns its content.</p></div></div></div>