Questions tagged [traditional-form]
The traditional-form tag has no usage guidance.
66
questions
4
votes
1
answer
127
views
How to get a function from a string?
I'm trying to create a function that takes in input a function written as string and the return it applying a ToExpression and an Evaluate (Code below).
The goal of this function is to transform the ...
0
votes
0
answers
48
views
Why does local sigma escape its Block in Mathematica 13.0.1?
My objective is to utilize Traditional Form in .NB files. But I've run into a problem where variables I intend to be local to a Block "escape" with an assigned value causing unexpected &...
6
votes
4
answers
518
views
How to scale the parenthesis like how the LaTeX \left \right commands do?
I am trying to use Graphics[Text[]] to label some curves on a plot. However, I cannot format the text properly.
I want my text to look like this
$$F= \left(\dfrac{2\...
2
votes
1
answer
76
views
Output function definition as TeXForm with big bracket
I've checked this answer. While it works in Mathematica, the $\LaTeX$ output is weird.
...
2
votes
0
answers
48
views
Label in traditionalform with text
I want to have a figure with a label x_P, in style of LaTeX,
TraditionalForm[Style[Subscript[x, P], FontSize -> 24]]
But
...
0
votes
1
answer
95
views
How to make traditional output of derivatives display like an equation
I was following a code given by Jens in the following Question
and I want to improve the way my equation is displayed.
The current code I'm using:
...
2
votes
0
answers
33
views
inverse trigonometric functions in traditional form
Is there a way to have 'arcsin' rather than 'sin^-1' as arcsin in TraditionalForm? I couldn't find any way to set options for customizing the way in which expressions are turned into traditional form, ...
1
vote
2
answers
49
views
Multiplication with custom notation
I would like to compute the product
$$(Es+r_{13})(F_{13}s)(F_{3}s+r_{3})(F_{2}s+r_{2})(F_{12}s+r_{12})(F_{1}s+r_{1})(F_{23}s+r_{23})$$
where $E$, $F_i$, and $r_i$ represent arbitrary numbers whose ...
0
votes
3
answers
84
views
How can I display an expression in unevaluated form?
How can I display an expression in unevaluated form?
TraditionalForm[2*3^3 + 5^2]
I´d like to obtain 2*3^3 + 5^2 displayed in traditional form without being ...
1
vote
1
answer
38
views
Rasterizing an equation makes it low res
I've checked some quick tutorials to export equations as images, and all of them use the function Rasterize, but when I try to follow this method I get a very low res image of the equation.
Can anyone ...
2
votes
4
answers
124
views
force maximum simplification of radicals in a traditional way-How to do it?
this should be simple but I can't get mathematica to simplify a radical or a set of radicals and express them in the traditional way
for example by simplifying this
...
0
votes
2
answers
75
views
How to put an equation into an input prompt
I would like to know how I could put an equation into an input prompt displaying this equation in traditional form. Better an example:
My objective is that the input box displays the equation instead ...
3
votes
1
answer
120
views
Keeping Parentheses in TraditionalForm
I have an equation that I want to display, emphasizing one part by putting it in parentheses. However, Mathematica removes the unnecessary parentheses. I'm looking to output something like:
1
vote
1
answer
103
views
Source of SetBuilder, Mapping, and Math
Somewhere I obtained definitions of functions SetBuilder, Mapping, and Math, which produce ...
10
votes
1
answer
254
views
Official status of TraditionalForm?
In Mathematica versions prior to 11.2 or 11.3 (not sure at the moment) it was possible to select the default format type of new output cells via ...
4
votes
1
answer
118
views
Is there a way to substitute a Bracket for a Matrix Rather than a Parentheses When Using Traditional Form
I'm trying to use Mathematica to work my way through some Linear Algebra problems given by Gilbert Strang (Introduction to Linear Algebra). Consequently, I would like to use his notation as much as ...
2
votes
2
answers
100
views
No difference between TraditionalForm and StandardForm in Graph labels
TraditionalForm seems not to be working properly on Mathematica 11.3 when used in Graph. The following MWE
...
4
votes
2
answers
137
views
DisplayForm problem with $\pi$ in FractionBox
The following line produces an output with the text "Pi" displayed instead of the symbol (greek letter) $\pi$.
Code line:
FractionBox[π,2] // DisplayForm
...
3
votes
2
answers
117
views
How to define floor/ceiling like TraditionalForm?
We have
Floor[x]//TraditionalForm
with output
⌊x⌋
If we define
...
3
votes
2
answers
182
views
How to insert a mathematic formula in a Graphics in TraditionalForm?
If a type Style[x^2 + y^2 <= 9, Red, 20] I get:
But if I include that in a plot or graphic, mathematic function appear as:
How can I get the mathematic formula ...
4
votes
2
answers
194
views
How to customize traditional form for inactive functions?
Let's say I define
Lg[n_]:=Log[2,n].
How do I make
Inactive[Lg][x]//TraditionalForm
output
...
2
votes
1
answer
88
views
Retrieving a formula in a text cell
I was entering a formula in a text cell and all was going well until I selected the formula and pressed ctrl-'/' and then the formula got converted to this:
...
0
votes
3
answers
162
views
How to convert output in traditional format into text and replace spaces with *?
From a following program (part of a longer program) I will get a recurrence in an elegant format.
...
1
vote
1
answer
463
views
VectorPlot3D of the Electric Field E as Determined from the Potential V
I am new to Mathematica and I am trying to create the electric field $F$ from the electric potential $V$ (using arbitrary distances) and then plot the subsequent vector graph to show that the electric ...
5
votes
3
answers
2k
views
How to generate images of mathematical equations?
I would like to use Mathematica to generate nice-looking equations for my presentation on Google Slides (which as far as I know can only be an image an image). What's the best way? To be more concrete,...
4
votes
3
answers
145
views
How to pull out negative signs through subscripted variables while displaying output in traditional form?
I am trying to get an expression to display correctly in TraditionalForm, with the negative sign in front of other symbols:
...
5
votes
1
answer
112
views
Formatting standard function names in plot legends
Consider the following:
Quit[]
Format[Exp[x_], TraditionalForm] (* e^{x_} *)
Format[Log[x_], TraditionalForm] (* log(x_) *)
Now ...
2
votes
3
answers
283
views
Certain Mathematics symbols in Graphics labels [duplicate]
I want to put the following two labels in my mathematica (3D) graphic:
In $\LaTeX$ it would be:
$D^2 \times \{ 1 \}$ and $\partial D^2 \times D^1$
For the first one the hard part for me was the ...
7
votes
1
answer
336
views
When is it unsafe to use TraditionalForm output in subsequent input?
Suppose I have MMA's global preferences set to always give me a TraditionalForm output. If I copy-and-paste one of these TraditionalForm outputs into a subsequent input and try to evaluate it (not my ...
3
votes
3
answers
282
views
Traditional notation option?
I have a simple prime counting function using the Cyclotomic function.
...
3
votes
1
answer
77
views
Maintain size of integral sign with limits
In a text cell, I am trying to typeset an integral.
Notice the large size of the integral sign in this example:
But as soon as I try to include limits of integration next to the integral sign, the ...
1
vote
0
answers
98
views
How to print the '| |' in determinant using traditionalform?
Suppose I have a matrix mat={{a,b},{c,d}}, if I want to display the determinant of mat with the two vertical lines, then how do ...
1
vote
0
answers
42
views
How to display the '+' sign in output in typesetting situation?
When I am typing a document I want to include a 'plus' sign in the output cell, e.g. having '+' as the subscript/superscript of a variable, but mathematica doesn't allow me to do that. Are there ways ...
7
votes
1
answer
114
views
Why doesn't defined MakeBoxes display what is constructed in RHS?
Inspired by the @ybeltukov 's answer to this question, if I have the following polynomial
poly = a^2 + (a^2 + b^2 - c^2)*x + b^2*x^2;
var = x;
this generates ...
3
votes
1
answer
110
views
Definition of TraditionalForm
This is a followup of "How to check for Mathematica’s definition of XY?, a question by uli on how to access the definition of a built-in symbol. That question focused on ...
0
votes
1
answer
357
views
Greek letter as TraditionalForm not working while export to PDF
Below is the code for an example plot,
...
1
vote
0
answers
75
views
Pretty equations in HoldForm[]
I have been generating equations programmatically, resulting in lists that look like this:
{Log[2,(4^4)^3, 3 (Mod[2,4] 4), Log[root[2, 3], 4^4]}
where 'root[x,y]'...
5
votes
2
answers
303
views
Hiding independent variables of a function in Traditional Form
I would like to perform a computation which involves fourth-order derivatives of a composite function of four variables. I am defining my function as
...
3
votes
1
answer
203
views
Change Alphabetical Order of TraditionalForm
I'd like to give my students a little visualization of the fact:
$$x^n-a^n=(x-a)(x^{n-1}+x^{n-2}a+\cdots+x a^{n-2}+a^{n-1})$$
So, I've tried:
...
3
votes
2
answers
241
views
How to make a control label display traditional form notation
How do you make a control label display notation in tradition form? I would like the label to display the function "f(x)= (1/2)x+1" but in traditional form. How could I modify this code so it works? ...
5
votes
1
answer
119
views
TraditionalForm overriding settings given to Column for row alignment
With the code below, the alignment at the equal sign is performed as expected:
Column[{HoldForm[y] == x, HoldForm[R^2] == 0.998}, Alignment -> "\[Equal]"]
...
4
votes
2
answers
496
views
Interval notation for NumberLinePlot
Consider:
NumberLinePlot[Abs[3 - 4 x] < 2, x,
PlotStyle -> {Thick, Blue, PointSize[Large]},
Ticks -> {Range[0, 1.5, .25]}]
Which produces this image:
...
5
votes
1
answer
155
views
How to format symbols with tooltip in TraditionalForm?
This is a follow up to this previous question, where a TraditionalForm formatting was defined for the symbol pvB, so that ...
4
votes
2
answers
2k
views
Easy way to enter conventional forms of limit expression?
(1) I want to insert into a Text cell conventional in-line mathematical notation like $\lim_{x\to a} f(x)$.
I know I can do it by typing the StandardForm ...
6
votes
3
answers
3k
views
How to make all cells be displayed in TraditionalForm
I'm writting a test on Mathematica, where most of the text is in Text style. I want that all cells be displayed as if I had gone to Cell>Convert to>TraditionalForm Display without having to do this ...
3
votes
2
answers
124
views
How to write a TraditionalForm for non-commutatively multiplied objects
I would like to write a TraditionalForm output for a string of non-commutatively multiplied objects.
I don't really like the default output of the built-in symbol <...
1
vote
0
answers
56
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 ...
2
votes
1
answer
411
views
Change Tensor Product symbol for aesthetically pleasing output
I'm trying to find a way of keeping an ordered list of subscripted integers which can be outputted in an aesthetically pleasing way to make analysis easier. The idea is to have a list of numbers that ...
4
votes
3
answers
741
views
How do I display function application with square brackets in traditional form?
If I type
C[x, y] // TraditionalForm
I get something that looks like
C[x, y]
But if I type
...
1
vote
2
answers
136
views
How can I control 'TraditionalForm' substitutions and formatting in special cases?
I have
eqns = TraditionalForm[HoldForm[Subscript[W, #][#] = ρ^s[#] Subscript[ω, #] ρ^-s[#]],] & /@ Range[4]
which (with ...