113 views

### How to tell whether a character is a letter-like form

Is there any way to programmatically tell whether a given character is a letter or letter-like form (see this reference page for what I mean)? One idea I had was to use ...
356 views

### Programmatically convert notebook input cells to text file

I have ~150 student-submitted Mathematica notebooks for an assessed assignment. While I've been marking them, I'm suspecting there is a reasonable amount of plagiarism going on, when multiple students ...
204 views

### How to make some RowBox to be string

GeneralUtilitiesGetUsages["SystemSin"] I want to get $\color{red}{\textbf{1}}$ plain string,but this function actually will give me some ...
593 views

### Remove subscript from string

I have a list that I am using for the legend of a plot gases = {"Air", "He", "Ar", "\!$$\*SubscriptBox[\(N$$, $$2$$]\)", "\!$$\*SubscriptBox[\(CO$$, $$2$$]\)"}; ...
328 views

### Import package with correct symbol contexts

I am looking to do some automated analysis on packages, e.g. automatically check for common mistakes. Mathematica makes it relatively easy to manipulate code as data, and ...
328 views

### How to convert arbitrary raw boxes directly into String?

This question is motivated by the recent question about searching inside of the NB files. According to the Documentation, ToString expects a high-level WL ...
140 views

### How to print unevaluated arguments in the form they were originally typed in?

I'm looking for a way to print a function's arguments, not only unevaluated, but also in the way they were originally typed in. By way of experimentation, I tried stuff like this: ...
780 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?
980 views

### How to parse string to expression? [closed]

When trying to make a string an expression I see some wrong results: ...
436 views

### Can Save[] produce a .nb file instead of a text file?

(I use Mathematica 9.0.1 on OS X 10.10.2.) Suppose I have a notebook in which I make some definitions and assignments. ...
405 views

### Ghost trails with Animate?

What are some approaches to integrate Ghost trails methods with Animate, which otherwise seem more suited for exporting individual frames? For example, given this rootPlot function, how can trails ...
266 views

### How can I improve NumberString?

I would like to test strings to see if they represent numbers. This should include number representations with precision marks and scientific notation. NumberString ...
277 views

### FullForm applied to functions

I would have expected FullForm[Cases[{a^2, a^3}, a_^1]] to produce Cases[List[Power[a, 2], Power[a ,3]], Pattern[a, Blank[]]]...