BUILT-IN MATHEMATICA SYMBOL

TextClipboardType

TextClipboardType
is an option for cells that specifies how Edit ► Copy treats a cell when converting it for the system's textual clipboard.

DetailsDetails

  • TextClipboardType is typically used in stylesheets to customize the default clipboard behavior for different cell styles.
  • Choose Edit ► Copy As instead of TextClipboardType to change the clipboard type for a single copy operation.
  • The following settings can be used:
  • "PlainText"preserve the cell as plain text; equivalent to Edit ► Copy As ► Plain Text
    "InputText"preserve Mathematica's ability to reevaluate the cell; equivalent to Edit ► Copy As ► Input Text
    "Package"return exactly what you would get if you saved the cell as a package
  • By default, the value of TextClipboardType is for input and output cells, for textual cells, and "Package" for code cells.

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Select the printed input cell below, choose Edit ► Copy, and paste into a text editor:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input

Here is the pasted form:

2+2     a
b c

Select the printed input cell below, choose Edit ► Copy, and paste into a text editor:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input

Here is the pasted form:

{
{2 + 2, a},
{b, c}
}

Select the printed input cell below, choose Edit ► Copy, and paste into a text editor:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input

Here is the pasted form:

{
{2+2, a},
{b, c}
}
New in 7
New to Mathematica? Find your learning path »
Have a question? Ask support »