"CopySpecial"

This token has not been fully integrated into the long-term Wolfram Language, and is subject to change.

"CopySpecial"
is a front end token that converts the selection to a specified format and copies it to the clipboard.

DetailsDetails

  • "CopySpecial" is equivalent to Edit Copy As.
  • "CopySpecial" has a parameter that can take one of the following values:
  • "PlainText"text with style information removed
    "InputText"plain ASCII text with added whitespace
    "CopyAsTeX"LAdjustmentBox[A, BoxBaselineShift -> -0.4, BoxMargins -> {{-0.5, -0.3}, {0, 0}}]TAdjustmentBox[E, BoxBaselineShift -> 0.5, BoxMargins -> {{-0.3, 0}, {0, 0}}]X format
    "MathML"MathML format
    "CellExpression"one or more Cell[] expressions
    "NotebookExpression"a Notebook[] expression
    "MGF"Bitmap format; Windows only
    "EMF"Enhanced Metafile; Windows only
    "WAV"Wave format; Windows only
  • A typical use is FrontEndExecute[FrontEndToken[FrontEnd`SelectedNotebook[], "CopySpecial", "PlainText"]].
Translate this page: