Questions tagged [named-characters]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
47 views

How to type the cursor caret symbol?

I'm trying to describe in a notebook the way that the front end displays a caret where it is expecting input (e.g., in Sin[ ], where it appears, by default, between ...
user avatar
  • 11.4k
3 votes
3 answers
87 views

How to type special characters used in $\LaTeX$?

While using $\LaTeX$, there are two characters, \Re and \Im, that represent the real and imaginary parts of a complex number. These look like this: How can I type these two characters in Mathematica? ...
user avatar
  • 2,643
7 votes
1 answer
268 views

Equivalent for \hookrightarrow, ↪

Of course I can simply type the unicode ↪, but is there a operator with no built in meaning that renders like this? The documentation guide/ArrowsAndArrowLikeForms presumably lists all arrows. If it ...
user avatar
  • 2,762
6 votes
1 answer
310 views

How can I self-define a keyboard entry for 3-dot "Because"?

In Mathematica, there already exists a keyboard entry for 3-dot "Therefore", which provides great convenience for input as shown below. However, I find it a little odd that for its ...
user avatar
  • 403
4 votes
2 answers
137 views

Having special characters render as you type

It used to be that if I typed == or -> these would automatically be rendered as \[Equal] ...
user avatar
  • 726
3 votes
0 answers
62 views

Cheatsheet for the use of special characters syntax

My favorite mass-use of special characters is if I have an expression that is linear in all variables (call the variable list $L$) and it must be identical zero. Then I generate my equation system ...
user avatar
6 votes
1 answer
176 views

How insert into Text cell chevron symbols used for Inline GroupOpener icons?

If in OptionInspector I select option "Inline" for Cell Options > Display Options > ShowGroupOpener for section-like cells, then when such a group is closed it shows an icon that is a ...
user avatar
  • 11.4k
2 votes
0 answers
95 views

Is the fancy script 'C' $\mathscr{C}$ available in Mathematica?

In mathjax \mathscr{C} gives me the character $\mathscr{C}$ that I want. There is a UTF listing for this character. https://www.compart.com/en/unicode/U+1D49E If I copy form this webpage and paste ...
user avatar
0 votes
0 answers
136 views

Alternative for underscore delimiter

If I want to have a variable name that contains multiple numbers but where it is important that the numbers be separated I would usually use underscores (as in C, e.g. p_3_23), dashes or dots (for ...
user avatar
  • 1,032
4 votes
2 answers
185 views

Special Character boxtime

In LaTeX, \boxtimes works as follows: ...
user avatar
  • 169
5 votes
1 answer
57 views

Non-breaking hyphen?

I found \[NonBreakingSpace] but I haven't found a non-breaking hyphen (I want to use them in text mode in notebooks). I must be missing something obvious.
user avatar
  • 8,571
17 votes
2 answers
538 views

When to name a variable with $

There are some symbols in the Wolfram Language that start with $, including $Abort, ...
user avatar
  • 5,222
1 vote
1 answer
60 views

CharacterRange oddity [closed]

CharacterRange documentation says that it returns a list. However, if I define letters[n_] := CharacterRange["\[Alpha]", "\[CurlyPhi]"][[;; n]] and then ask for <...
user avatar
  • 455
5 votes
1 answer
325 views

A bug in converting some Unicode characters into FullForm?

Currently I know only one well-documented way to convert all special characters in an arbitrary string into their FullForm: In ...
user avatar
8 votes
2 answers
367 views

What would be the special character for this mathematical notation?

What would be the special character for this mathematical notation? And how do I enter the $H$ and $0$? What are the Special Characters? I searched information about this bar in another site to get ...
user avatar
  • 9,065
5 votes
2 answers
203 views

Possible bug in Export with CharacterEncoding -> "PrintableASCII"

In the Documentation we read (emphasis is mine): By default, the Wolfram System uses the character encoding "PrintableASCII" when saving notebooks and packages. ...
user avatar
8 votes
3 answers
257 views

Re-encode text file to use Mathematica's character name, like \[Alpha]

How can I re-encode a text file (or string) so that non-ASCII characters will be represented using Mathematica's standard names? For example, if the original contents of the file was ...
user avatar
  • 227k
6 votes
2 answers
1k views

How to make tabs aligned in Print?

For example, Print["1\t55 33\t44"] outputs Why tab is not aligned? If tab is not aligned, why is it called tab? Is there a way to make tabs aligned?
user avatar
  • 16.2k
5 votes
1 answer
771 views

How to correctly write string with tabs into file?

For example str="a\tb" and ...
user avatar
  • 16.2k
4 votes
1 answer
80 views

Inverse of CharacterName [duplicate]

Is there an inverse function to CharacterName? For example, CharacterName["ε"] gives ...
user avatar
  • 319
5 votes
1 answer
263 views

What's purpose of function System`Private`LookupCodeByName and System`Private`LookupNameByCode [closed]

These are useful function from their name.And they are kernel function since: ...
user avatar
  • 24.5k
1 vote
0 answers
94 views

Why can't variables be set to named characters [closed]

Why can't variables be Set to named characters as shortcuts? eg a = \[UpArrow] Gives syntax error: ...
user avatar
  • 14.8k
18 votes
3 answers
3k views

Character to replace _ in symbol names?

In C, _ comes in handy when naming variables and functions, as a replacement for space. For example: ...
user avatar
  • 10.8k
6 votes
1 answer
336 views

Entering NULL characters in a string

Bug fixed in 12.3 or earlier This question is about parsing files that contain nulls (character code zero) as field separators. Intending to attempt to answer this I began by trying to enter a string ...
user avatar
1 vote
4 answers
410 views

Importing Text file with Null Character column separation

I have a text file (ANSI encoding) with two columns of real numbers separated, unfortunately, by a "Null Character" ("\.00"). How can I import this data easily? ...
user avatar
  • 31k
2 votes
1 answer
275 views

How can we accommodate arbitrary Unicode characters in symbol names?

I understand why Mathematica doesn't the support the [ character in symbol names, but it should be escapable in some way, like non-printable characters are in ...
user avatar
  • 7,479
1 vote
1 answer
820 views

create a function that converts a character string consisting of lowercase letters of the english alphabet to a number

I need a function that will take input as a string of lowercase letters and then output integers in this form a=01 b=02 c=03 d=04 e=05 . . . z=27 The letters must correspond with these integers ...
user avatar
  • 19
19 votes
1 answer
748 views

How to add named characters to Mathematica 10 or later?

Any news regarding this for Mathematica 12? It appears that native support for the Klingon alphabet has been removed from version 10: \[KlingonA] Syntax::...
user avatar
  • 265k
12 votes
2 answers
455 views

How to generate characters by a function which works like the Esc + a + ESC

How to generate characters by a function which works like the Esc + a + ESC ...
user avatar
  • 8,155
4 votes
1 answer
267 views

Embedding Mathematica Console into a Java/.NET Application [duplicate]

I enjoy using Mathematica's notebook interfaces, but more specifically the autocompletion in each notebook. I'm in need of a way to put tons of Mathematica windows on the same page. It would be an ...
user avatar
  • 7,479
26 votes
2 answers
814 views

Are formal characters like \[FormalA] to be used differently than other symbols?

I noticed that Mathematica has a set of special 'Formal' characters such as \[FormalA], \[FormalB] , etc.. In the front end, it ...
user avatar
  • 19.2k
8 votes
1 answer
1k views

What are \[InvisiblePrefixScriptBase] and \[InvisiblePostfixScriptBase]?

In the non-printing characters documentation, I see two named characters that are largely undocumented: \[InvisiblePrefixScriptBase] and ...
user avatar
1 vote
1 answer
255 views

How do I construct a "named character" programmatically?

Why am I getting the error Syntax::sntunc: Unicode longname in the string is unterminated. from the following? ...
user avatar
  • 12.7k
65 votes
10 answers
5k views

How to "Copy as Unicode" from a Notebook?

I spent some time manually editing a post replacing Mathematica ASCII \[Alpha] with Unicode α. I did this by laboriously ...
user avatar
  • 265k