Questions tagged [named-characters]
The named-characters tag has no usage guidance.
36
questions
0
votes
0
answers
45
views
Why /. pm->\[PlusMinus] does not work, if \[PlusMinus] does not have internal meaning?
I want to replace pm with PlusMinus character in the output, why this does not work? How can I treat it as a constant?
Context. Here is my code for quaternion ...
2
votes
1
answer
62
views
create string for string seen in FullForm
Can we create a string for a string seen in FullForm ?
This question is hard to explain/understand with just words.
So explain with an example :
Can you create a function ...
2
votes
1
answer
70
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 ...
3
votes
3
answers
106
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?
...
7
votes
1
answer
284
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 ...
6
votes
1
answer
321
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 ...
4
votes
2
answers
150
views
Having special characters render as you type
It used to be that if I typed == or -> these would automatically be rendered as \[Equal] ...
3
votes
0
answers
67
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 ...
6
votes
1
answer
213
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 ...
4
votes
0
answers
128
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 ...
0
votes
0
answers
229
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 ...
4
votes
2
answers
190
views
Special Character boxtime
In LaTeX, \boxtimes works as follows:
...
5
votes
1
answer
61
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.
17
votes
2
answers
587
views
When to name a variable with $
There are some symbols in the Wolfram Language that start with $, including $Abort, ...
1
vote
1
answer
61
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 <...
5
votes
1
answer
341
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 ...
8
votes
2
answers
370
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 ...
5
votes
2
answers
232
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. ...
8
votes
3
answers
283
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
...
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?
5
votes
1
answer
820
views
How to correctly write string with tabs into file?
For example
str="a\tb"
and
...
4
votes
1
answer
82
views
Inverse of CharacterName [duplicate]
Is there an inverse function to CharacterName? For example, CharacterName["ε"] gives ...
5
votes
1
answer
274
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:
...
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:
...
19
votes
4
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:
...
6
votes
1
answer
357
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 ...
1
vote
4
answers
419
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?
...
2
votes
1
answer
284
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 ...
1
vote
1
answer
840
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 ...
19
votes
1
answer
766
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::...
12
votes
2
answers
479
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
...
4
votes
1
answer
270
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 ...
26
votes
2
answers
842
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 ...
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 ...
1
vote
1
answer
261
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?
...
67
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 ...