Skip to main content

Questions tagged [input-forms]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
29 views

Text box input in FormObject

I want to make (and then cloud deploy) a form that allows users to type a paragraph. The default input for a string is a single line. I read in a post somewhere on stack exchange that using "Text&...
Gareth Russell's user avatar
1 vote
0 answers
82 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
1 vote
1 answer
96 views

Importing aligned environment in TeX to Mathematica

The ToExpression command works well with scalars \frac{x}{\sqrt{5}} \mu S_1 ...
florin's user avatar
  • 1,798
0 votes
0 answers
41 views

Usage of MakeExpression

I would like to use MakeExpression to be able to work with a specific Input.The Input is always a decimal number like -0,45666 or 0,120 (there could be an overbar indicating periodicity). ...
Roberta's user avatar
  • 33
2 votes
1 answer
38 views

How to enter the following number to InputDialog form?

Consider some input field: ...
John Taylor's user avatar
  • 5,753
1 vote
0 answers
26 views

How to input coordinates on a FormObject using ClickPane or LocatorPane

I want to make a form in which one of the fields is filled with a list of two numbers (a 2D coordinate) via a ClickPane or LocatorPane. Is it possible? I cannot figure it out! It seems from the ...
Gareth Russell's user avatar
5 votes
2 answers
105 views

Bug of ChoiceDialog

I am using Mathematica 13.1 on Windows 11. I have the following bug with ChoiceDialog: ...
John Taylor's user avatar
  • 5,753
1 vote
1 answer
41 views

Why using InputForm makes cell output out of order with commands used?

Compare this (where all commands shown are in one input cell) ...
Nasser's user avatar
  • 144k
1 vote
0 answers
116 views

Mathematica can not interpret parentheses correctly [closed]

I want to sum up four terms but Mathematica does not interpret the parentheses correctly. In the picture, in second line there is only one term that starts with 1/12...
TQFT's user avatar
  • 11
3 votes
1 answer
73 views

What is the function/purpose of \!\(...\) in Graphics?

In Graphics, we input the Text form "\!\(10m prize\)", but it outputs "10 m ...
wonderich's user avatar
  • 923
6 votes
1 answer
220 views

How to recover these TemplateBox into normal form?

I often use $\TeX$ editor by Insert→Inline TeX Input in PlotLabel to label graphics: I will get a well-formed plot label: But when I Copy As Input Text and paste ...
yode's user avatar
  • 26.8k
1 vote
0 answers
94 views

Inconsistency of interpreting TableForm inputs

Bug introduced in 12.3.1 or earlier and persisting through 13.2.0 or later. Consider this line of code and its result: ...
polfosol's user avatar
  • 952
3 votes
1 answer
123 views

Old style ASCII input without Ctrl

This is an example from an old book: "The Mma book 5th ed". It was called "Entering 2D input". If I paste the following in a notebook: ...
Syed's user avatar
  • 54.5k
2 votes
2 answers
273 views

Get list of special characters

I recently found that \[Gradient] and \[InlinePart] both expand (contract) to special symbols in MMA. So far as I can tell (see ...
Adam's user avatar
  • 3,946
2 votes
0 answers
48 views

How do I create a vertical RadioButtonBar in FormObject?

RadioButtonBar has an option Appearance->"Vertical". But I am using RadioButtonBar in a FormObject(basically to create multiple-choice questions), and ...
Gareth Russell's user avatar
1 vote
0 answers
100 views

Why don't AccountingForm, NumberForm and DecimalForm print more decimals?

I have the following set of equations: ...
Paul Razvan Berg's user avatar
4 votes
1 answer
243 views

Doing calculations on values input in USD currency format (e.g., $1,234.56)

I'd like to be able to copy and paste, into MMA, numbers that have a standard USD currency format, i.e., that include dollar signs and comma separators, and get the output in the same format. I'd ...
theorist's user avatar
  • 3,633
0 votes
0 answers
29 views

Why won't FormObject execute properly in my notebook?

I want to explore using FormObject and FormFunction. I copy the most basic example given in the Wolfram Documentation and nothing happens. Here is a screenshot. I've replaced f with a pure function ...
user avatar
4 votes
1 answer
217 views

Is there a good reason that there is no UnIconize?

Consider the following: tmpExpr = {1 a, 2 a, 3 a, 4 a} (*here a proxy for possibly a very long list*); tmpIcon = Iconize[tmp, "my list"] I think it would ...
Craig Carter's user avatar
  • 4,425
0 votes
0 answers
45 views

Using CloudDeploy[FormFunction[...]], how to let a user give a directory path as input?

I want to creat a CloudDeployed FormFunction which lets a user give the path to a directory on their local computer as an input. ...
Ross Keenan's user avatar
2 votes
1 answer
53 views

Can I transform arithmetic operators to their equivalent function calls?

I'm looking for something like "complete InputForm" which works for the basic arithmetic operators I have a simple expression like ...
Borislav Stanimirov's user avatar
4 votes
1 answer
283 views

How do you ask someone to input the values of a matrix?

I'm trying to set up code that basically asks the user to input the values of a matrix with a certain key size. I want them to first enter the keysize and then ask for all of the entries necessary to ...
Alex Konar's user avatar
1 vote
1 answer
41 views

How to have a common input for different nb file

I have a set of five files. Each file takes a common input. But I need to change the input and run the files. The output of some file are used in other files. So how to do this. And also is there any ...
acoustics's user avatar
  • 1,709
3 votes
1 answer
135 views

TagBox Column and comments

This provides a useful input format, extendable with Ctrl+Enter: ...
Mr.Wizard's user avatar
  • 272k
1 vote
0 answers
56 views

How can I get an entity from Wikipedia without using "=", while iterating through a list?

I have a list of entities from Wikipedia. I'd like to get the "entity" e.g. when I do something like: = Elon Musk I get: But now I want to iterate through a list of entities, e.g. {Elon Musk, ...
Youssef A's user avatar
0 votes
0 answers
425 views

Convert Mathematica output to Python code

I have this Mathematica (output) vector that I'd like to convert to Python: ...
Beatriz A's user avatar
2 votes
1 answer
59 views

StandardForm to Infix form conversion is working but Infix to StandardForm not working. Why?

I have a function f1 with three inputs: x1,y1,z1. I have ...
Gummala Navneeth's user avatar
5 votes
1 answer
889 views

What's the proper way to do percent multiplication in Mathematica? [closed]

I'm very new to Mathematica and I want to calculate percent multiplications. See below image. In In[3], I pressed space after 50% and then pressed 80%. Mathematica ...
Just a learner's user avatar
13 votes
2 answers
208 views

Repeated string pattern: difference between the FrontEnd and WolframScript?

This code works fine in a string based interface like WolframScript or Mathematica Kernel. Run this through a string based interface ...
Roman's user avatar
  • 47.5k
4 votes
1 answer
85 views

Evaluate in place annoyance

I want to use the following expression to get a string value: Row[{"Enter index identifier: ", InputField[Dynamic[indexidentifier], String]}] and I also want to ...
George Wolfe's user avatar
  • 5,462
1 vote
1 answer
258 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 ...
Haizum Skallah's user avatar
3 votes
1 answer
116 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 ...
JEM_Mosig's user avatar
  • 3,003
1 vote
1 answer
75 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 ...
hmode's user avatar
  • 482
2 votes
1 answer
380 views

Convert ASCII Characters to Mathematica Input Form

I have the following pure ASCII character list: ...
james's user avatar
  • 3,093
1 vote
0 answers
44 views

FormFunction custom control's initial value

The second form does not respect "Input" value. Both, "Input" and using pure functions for ...
Kuba's user avatar
  • 137k
0 votes
0 answers
27 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 ...
alancalvitti's user avatar
  • 15.1k
2 votes
1 answer
69 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?
b3m2a1's user avatar
  • 46.9k
6 votes
1 answer
68 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 <...
QuantumDot's user avatar
  • 19.7k
5 votes
1 answer
99 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 ...
QuantumDot's user avatar
  • 19.7k
7 votes
0 answers
1k 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 ...
ComplicatedPhenomenon's user avatar
5 votes
1 answer
752 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 ...
Kvothe's user avatar
  • 4,429
8 votes
0 answers
121 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 <...
Nasser's user avatar
  • 144k
1 vote
0 answers
110 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 ...
ZHANG Juenjie 's user avatar
8 votes
1 answer
213 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 ...
Szabolcs's user avatar
  • 235k
8 votes
0 answers
126 views

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

What do \< and \> mean inside of a string? ...
QuantumDot's user avatar
  • 19.7k
6 votes
1 answer
145 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 ...
kafkarudo's user avatar
  • 115
2 votes
2 answers
971 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 ...
Harry's user avatar
  • 2,745
7 votes
0 answers
172 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 <...
Reb.Cabin's user avatar
  • 8,661
4 votes
3 answers
391 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 ...
billc's user avatar
  • 684
19 votes
3 answers
516 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 ...
Vladimir Reshetnikov's user avatar