Sign in Join
FPDoc Onlineexperiment

TTexWriter.EscapeText function

Member of TTexWriterpublicIn unit WTex

Escapes LaTeX special characters

Declaration

pascal
function 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

  • EscapeText

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.