Unit 'wtex' Package
[Overview][Constants][Classes][Index] [#fcl]

TTexWriter.EscapeText

Escapes LaTeX special characters

Declaration

Source position: wtex.pp line 41

public function TTexWriter.EscapeText(

  AText: string

):string; override;

Arguments

AText

  

Input text to be escaped

Function result

Text with LaTeX characters escaped

Description

Escapes LaTeX special characters in text to prevent them from being interpreted as commands. Currently replaces underscore (_) characters with escaped underscores (\_).

See also

TFormattingWriter.EscapeText


Documentation generated on: Jan 16 2026