3.10.5 Structural Elements and Keyboard Characters
| full name | alias | | | \[InvisibleComma] | , | | \[InvisibleApplication] | @ | | \[InvisibleSpace] | is |
| | full name | alias | | | \[AlignmentMarker] | am | | \[NoBreak] | nb | | \[Null] | null |
|
Invisible characters. | In the input there is an invisible comma between the 1 and 2. | |
In[1]:=
{m} . XMLElement[sub, {}, {12}]
|
Out[1]=
|
|
| Here there is an invisible space between the x and y, interpreted as multiplication. | |
Out[2]//FullForm=
|
|
| \[Null] does not display, but can take modifications such as superscripts. | |
In[3]:=
\!\(f[x, \[Null]\^a]\)
|
Out[3]=
|
|
| The \[AlignmentMarker] does not display, but shows how to line up the elements of the column. | |
In[4]:=
GridBox[{{"b \[AlignmentMarker]+ c + d"}, {"a + b \[AlignmentMarker]+ c"}}, ColumnAlignments->"\[AlignmentMarker]"] // DisplayForm
|
Out[4]//DisplayForm=
|
|
| full name | alias | | \[VeryThinSpace] |    | | | \[ThinSpace] |     | | | \[MediumSpace] |      | | | \[ThickSpace] |       | | \[InvisibleSpace] | is |
| \[NewLine] | |
| | full name | alias | | \[NegativeVeryThinSpace] | -  | | \[NegativeThinSpace] | -   | | \[NegativeMediumSpace] | -    | | \[NegativeThickSpace] | -     | | | \[NonBreakingSpace] | nbs | | | \[IndentingNewLine] | nl |
|
Spacing and newline characters.
| form | full name | alias |  | \[SelectionPlaceholder] | spl |
| | | form | full name | alias |  | \[Placeholder] | pl |
|
Characters used in buttons. In the buttons in a palette, you often want to set up a template with placeholders to indicate where expressions should be inserted. \[SelectionPlaceholder] marks the position where an expression that is currently selected should be inserted when the contents of the button are pasted. \[Placeholder] marks other positions where subsequent expressions can be inserted. The Tab key will take you from one such position to the next.
| form | full name | alias |  | \[SpaceIndicator] | space | | ↵ | \[ReturnIndicator] | ret |  | \[ReturnKey] |  ret |  | \[EnterKey] | ent |  | \[EscapeKey] |  esc |  | \[AliasIndicator] | esc |
| | form | full name | alias |  | \[RoundSpaceIndicator] | |  | \[ControlKey] | ctrl |  | \[CommandKey] | cmd |  | \[LeftModified] | [ |  | \[RightModified] | ] |  | \[CloverLeaf] | cl |
|
Representations of keys on a keyboard. In describing how to enter input into Mathematica, it is sometimes useful to give explicit representations for keys you should press. You can do this using characters like and . Note that and are actually treated as spacing characters by Mathematica. This string shows how to type . | |
In[5]:=
"\[EscapeKey]a\[EscapeKey] \[ControlKey]\[LeftModified]^\[RightModified]2 \[ControlKey]\[LeftModified]\[SpaceIndicator]\[RightModified]"
|
Out[5]=
|
|
| form | full name | |  | \[Continuation] | |  | \[LeftSkeleton] | |  | \[RightSkeleton] | |
| | form | full name | |  | \[SkeletonIndicator] | | | | \[ErrorIndicator] | |
|
Characters generated in Mathematica output. | Mathematica uses a \[Continuation] character to indicate that the number continues onto the next line. | |
Out[6]=
|
|
| form | full name | | | | \[RawTab] | |
| \[NewLine] | |
| \[RawReturn] | | | | \[RawSpace] | | | ! | \[RawExclamation] | | | " | \[RawDoubleQuote] | | | # | \[RawNumberSign] | | | $ | \[RawDollar] | | | % | \[RawPercent] | | | & | \[RawAmpersand] | | | ' | \[RawQuote] | | | ( | \[RawLeftParenthesis] | | | ) | \[RawRightParenthesis] | | | * | \[RawStar] | | | + | \[RawPlus] | | | , | \[RawComma] | | | - | \[RawDash] | | | . | \[RawDot] | |
| | form | full name | | | / | \[RawSlash] | | | : | \[RawColon] | | | ; | \[RawSemicolon] | | | < | \[RawLess] | | | = | \[RawEqual] | | | > | \[RawGreater] | | | ? | \[RawQuestion] | | | @ | \[RawAt] | | | [ | \[RawLeftBracket] | | | \ | \[RawBackslash] | | | ] | \[RawRightBracket] | | | ^ | \[RawWedge] | | | _ | \[RawUnderscore] | | | ` | \[RawBackquote] | | | { | \[RawLeftBrace] | | | | | \[RawVerticalBar] | | | } | \[RawRightBrace] | | | ~ | \[RawTilde] | |
|
Raw keyboard characters. The fonts that are distributed with Mathematica contain their own renderings of many ordinary keyboard characters. The reason for this is that standard system fonts often do not contain appropriate renderings. For example, ^ and ~ are often drawn small and above the centerline, while for clarity in Mathematica they must be drawn larger and centered on the centerline.
|