Questions tagged [input-forms]

The tag has no usage guidance.

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

How to make an input for a Piecewise by Palettes?

How to make the input using the { as it is shown in the top of the question? I mean, how can make the array? By default in the "special character section" appears an option 2x2 (Typographic ...
0
votes
0answers
33 views

Use non-rule elements in multi-page form

I am trying to figure out how to use non-rule elements to adjust the appearance in FormFunction[] while also using a multi-page form. I can use the following for ...
3
votes
1answer
41 views

Improving accuracy of $GeoLocation in wolfram cloud forms

The four commands Here CloudEvaluate[Here] CloudEvaluate[FindGeoLocation[]] CloudEvaluate[$GeoLocation] all give wildly different results. None of them are ...
1
vote
1answer
32 views

Formatting InputForm output

I have a function that operates on EventData and has a return value that has Properties (or things that act like Properties). I'd like to clean up the return InputForm when queried, but I'm not quite ...
2
votes
1answer
120 views

Convert ASCII Characters to Mathematica Input Form

I have the following pure ASCII character list: ...
1
vote
0answers
26 views

FormFunction custom control's initial value

The second form does not respect "Input" value. Both, "Input" and using pure functions for ...
0
votes
0answers
24 views

How to markdown parts of input expressions? [duplicate]

Is there a way to manually tag parts of input expressions to highlight the part? A wrapper function that only affects input cell and is otherwise transparent to evaluation? For example, would like ...
2
votes
1answer
56 views

Getting all Unicode input forms with a certain property

I want to find all of the Unicode input forms with a certain property, (say, the Unicode input forms for infix operators). How can I do this?
5
votes
1answer
52 views

Can we make preread replacements in an *.m* file before being run?

This the second question of (152743), the preamble of which is reproduced here: Those who don't have/prefer the front end of Mathematica will either use a plain ASCII editor to write a script in an ...
5
votes
1answer
49 views

Can we make new definitions for InputForm in packages?

Those who don't have/prefer the front end of Mathematica will either use a plain ASCII editor to write a script in an .m file or just use Mathematica directly from ...
4
votes
0answers
278 views

Is there a way to write markdown in Mathematica notebook?

Whenever I want to take notes and do calculation at the same time in Mathematica Notebook, I found it's annoying to change the style of the cell and typesetting ...
4
votes
1answer
583 views

How exactly does Postfix notation work?

I guess I've been using the Postfix notation // wrongly for some time now. I assumed it was a quick way to apply a function to ...
8
votes
0answers
112 views

Mathematica 11.0.1 hangs calling InputForm[r] when “;” is missing in above line

This one is really strange. Mathematica just hangs when I call InputForm[r] where r happened to be the solution obtained from <...
1
vote
0answers
72 views

How to convert string lists into number lists [closed]

I have a string type list as follows "{{{1,2,3},{4,5,6}},{{1,4,5},{5,6,7},{2,4,5}}}" I want to turn it into a number list like ...
8
votes
1answer
143 views

Convert expression to string in a reversible manner

What is the best way to convert an expression to a string in a reversible manner? I need a toStr function so that it is always true that ...
8
votes
0answers
118 views

What does the pair “\<” and “\>” in a string do? [duplicate]

What do \< and \> mean inside of a string? ...
6
votes
1answer
143 views

Why 2^^1*^k does not work?

Table[2^^1*^k,{k,0,10}] This gives an error, why is that? Also this BaseForm[2 ** 1*^ #, 16] & /@ Range[10] What is ...
2
votes
2answers
508 views

How to translate/convert UTF-16 code to its corresponding word/characters by Mathematica?

I'm using Mathematica10.0.2 on my Win7. Recently I crawled some websites by mathematica and within the information returned by URLFetch there are plenty of UTF-16M codes. These UTF-16M codes are ...
7
votes
0answers
161 views

Undocumented Backslash-LessThan operator in strings? [duplicate]

I'm aware of the backslash operators in strings, as in this SE answer, but I ran across a new one. I opened a new Styled Notebook ... in the front-end GUI, chose <...
4
votes
3answers
119 views

Is it possible to retrieve a previous un-evaluated, un-normalized input?

For example, if I do this: In[42]:= {{2}, {3}} // MatrixForm where In[42]:= is the notebook prompt, I am looking for some way ...
18
votes
3answers
341 views

What are “\<” and “\>” delimiters in box expressions?

If I enter a string (say, "abc") in a cell, and then switch to box representation (Shift+Ctrl+E or menu item ...
3
votes
1answer
203 views

Custom Mathematica Command Conventions?

I'll probably get ripped apart over this, but: Is there an option to make Mathematica use more common formatting conventions when dealing with commands? For example, most programming languages use ...
6
votes
1answer
256 views

Entering null characters in a string

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 containing a null, e.g. by ...
2
votes
2answers
188 views

How to input a number with a ring?

I want to input a special character just like ①, but I don't find how to. Can Mathematica make it?
5
votes
2answers
147 views

Retrieving normal looking Mathematica input from a cell expression

After a bad saving, I had problems with my Mathematica notebook. I have expressions in this form: ...
2
votes
2answers
407 views

Can Mathematica make the closed-path-integral sign?

Mathematica seems to have the most complete library of mathematical typesetting characters anywhere outside of LaTeX, so I'm somewhat surprised that I can find no way to create the closed path ...
6
votes
1answer
290 views

ToExpression not accepting standard TeX strings

I am having trouble entering equations in TeX form. I have actually tried a bunch of different equations and gotten similar errors. For example: ...
5
votes
1answer
447 views

Escaping multiline strings in Mathematica

I want to assign long multi-line strings in Mathematica. Is there a way of delineating a block without having to escape each instance of '"' with '\"' and each line ending with '\'? i.e. In other ...
1
vote
0answers
53 views

Jumping between the InputForm and TraditionalForm during Presentation

In this question a problem has been discussed of how to transform a cell from Input into, say, TraditionalForm within the notebook. There is a related problem of how one could to do that on the ...
3
votes
2answers
239 views

Disabling a Button

How can I disable a button after a user clicks it once ? The current input I have is ...
10
votes
3answers
402 views

Mathematica equivalent to Python long raw strings? handling escape characters in packages

I'd like to write the following in plain text .m file in Mathematica, without having to double escape all the Latex commands: ...
12
votes
2answers
756 views

Why aren't parentheses ( ) an expression in Mathematica?

Why aren't parentheses ( ) an expression in Mathematica? Can I get an expression in a form where parentheses are represented by an expression?
3
votes
0answers
44 views

Cursor Automatically Placed in InputField [duplicate]

When creating a DialogInput box with an input field, I'd like the created box to have the cursor already active in that box. That way one only has to type the input, not 1) click in the box then 2) ...
16
votes
3answers
1k views

How do I make a string literal without having to escape backslashes?

I'd like to say something like: foo = @"\abc\def\ghi" instead of foo = "\\abc\\def\\ghi" How do I do this? This would ...
2
votes
1answer
200 views

Function equal to Ctrl+Shift+I [duplicate]

No, it's not InputForm. Consider this example: ...
5
votes
2answers
542 views

Explicit digit-count (precision) of real number

I'm trying to do something which seems like it should be simpler than it is (at least in my attempts at it). I have some code where I read in a list of numbers generated for me by a coworker. These ...
1
vote
0answers
66 views

How to stop font resize of input?

How do you stop Mathematica from resizing the input font when entering formulas with fractions and such? When I enter a formula with a few fractions the text becomes microscopic. For example: ...
5
votes
2answers
137 views

How to write Mma notebook input that modifies itself?

Is there a straightforward way to reference and modify a cell from within itself? This is a little outside the ordinary use case and certainly not good practice, but I would like to execute an input ...
3
votes
1answer
267 views

Typing (and executing) expressions with multiple superscripts

I am trying to type (and evaluate) expressions of the following form: $$ G^{a,b} $$ into a mathematica. I've tried the obvious G^(a, b) or ...
4
votes
1answer
171 views

Operator-Input Form for Lists?

The documentation on Operator-Input Forms shows the following example which suggests that there is an alternative, convenient, operator-style, tidy technique for inputting lists. However, there is ...
16
votes
2answers
571 views

Backslash commands in strings?

I discovered by playing around that Text[DisplayForm@SubscriptBox["λ", "k"]] produces the same result as ...
17
votes
5answers
3k views

Preventing Superscript from being interpreted as Power when using Ctrl+^ shortcut?

I have very strong desire to use superscript as the index of the variable. However, it looks like that the Mathematica automatically recognize the superscript as the power and I got message that my ...