Questions tagged [named-characters]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
76 views

List of all recipes of mathematical notation

Where can I find all the recipes of mathematical notations? Or the ways of direct input of the traditional forms? Not convert to traditional forms, but input them directly. For example, the recipe for ...
Curious Cat's user avatar
3 votes
5 answers
414 views

Convert integer to words of specific length

Assume we give the value from 1 to 26 to alphabets a,b,...,z. Now given an integer ($n$) i like to generate words of specific length ($l$) that sum of them equals $n$. For instance, if $n=10$, $l=3$; <...
asad's user avatar
  • 838
0 votes
0 answers
44 views

Define or remove a long form input \[xyz]

There are "InputAliases" ⵗxyzⵗ, "InputAutoReplacements" xyzspace, and things we'll call "long form inputs" \[xyz]. It's easy to view and modify the former two ...
Adam's user avatar
  • 3,897
1 vote
0 answers
61 views

Byte array to String with no internal processing, e.g. 𓃰

UTF8 defines a way to map from bytes to glyphs. In particular, glyphs with code <128 can be 1 byte, glyphs with code <2048 can be 2 bytes, etc. up to 4 bytes. For instance, the white queen <...
Adam's user avatar
  • 3,897
0 votes
0 answers
46 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 ...
Anixx's user avatar
  • 3,553
2 votes
1 answer
66 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 ...
imida k's user avatar
  • 4,047
2 votes
1 answer
103 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 ...
murray's user avatar
  • 11.8k
3 votes
3 answers
116 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? ...
Harry's user avatar
  • 2,715
7 votes
1 answer
299 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 ...
Adam's user avatar
  • 3,897
6 votes
1 answer
338 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 ...
AlbertLew's user avatar
  • 473
4 votes
2 answers
162 views

Having special characters render as you type

It used to be that if I typed == or -> these would automatically be rendered as \[Equal] ...
MannyC's user avatar
  • 810
3 votes
0 answers
74 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 ...
Hauke Reddmann's user avatar
6 votes
1 answer
245 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 ...
murray's user avatar
  • 11.8k
4 votes
0 answers
155 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 ...
Steven Thomas Hatton's user avatar
1 vote
0 answers
388 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 ...
Gert's user avatar
  • 1,470
4 votes
2 answers
207 views

Special Character boxtime

In LaTeX, \boxtimes works as follows: ...
Mefitico's user avatar
  • 179
5 votes
2 answers
92 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.
Reb.Cabin's user avatar
  • 8,651
17 votes
2 answers
633 views

When to name a variable with $

There are some symbols in the Wolfram Language that start with $, including $Abort, ...
SumNeuron's user avatar
  • 5,372
1 vote
1 answer
62 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 <...
jamesson's user avatar
  • 465
5 votes
1 answer
353 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 ...
Alexey Popkov's user avatar
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 ...
LCarvalho's user avatar
  • 9,145
5 votes
2 answers
254 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. ...
Alexey Popkov's user avatar
8 votes
3 answers
301 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 ...
Szabolcs's user avatar
  • 233k
6 votes
2 answers
2k 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?
matheorem's user avatar
  • 17k
5 votes
1 answer
846 views

How to correctly write string with tabs into file?

For example str="a\tb" and ...
matheorem's user avatar
  • 17k
4 votes
1 answer
85 views

Inverse of CharacterName [duplicate]

Is there an inverse function to CharacterName? For example, CharacterName["ε"] gives ...
user avatar
5 votes
1 answer
284 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: ...
yode's user avatar
  • 26.3k
1 vote
0 answers
97 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: ...
alancalvitti's user avatar
  • 15.1k
20 votes
4 answers
4k views

Character to replace _ in symbol names?

In C, _ comes in handy when naming variables and functions, as a replacement for space. For example: ...
a06e's user avatar
  • 11.1k
6 votes
1 answer
396 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 ...
MikeLimaOscar's user avatar
1 vote
4 answers
435 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? ...
rhermans's user avatar
  • 36.2k
2 votes
1 answer
302 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 ...
William's user avatar
  • 7,565
1 vote
1 answer
853 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 ...
T25's user avatar
  • 19
19 votes
1 answer
770 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::...
Mr.Wizard's user avatar
  • 270k
12 votes
2 answers
528 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 ...
HyperGroups's user avatar
  • 8,557
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 ...
William's user avatar
  • 7,565
26 votes
2 answers
875 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 ...
QuantumDot's user avatar
  • 19.5k
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 ...
Mechanical snail's user avatar
1 vote
1 answer
264 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? ...
orome's user avatar
  • 12.8k
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 ...
Mr.Wizard's user avatar
  • 270k