Questions tagged [traditional-form]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers
169 views

Forcing TeXForm to produce fractions using division simbol / instead of \frac

I want to do something converse to this. Namely, I want to force the output of TeXForm[] to be always presented with a division symbol ...
Paweł Korzeb's user avatar
4 votes
1 answer
127 views

Forcing Explicit Parentheses in Traditional Form

I have an expression in input form for the Cosine of a dihedral angle: ...
Stuart Poss's user avatar
  • 1,883
1 vote
0 answers
80 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
0 votes
1 answer
96 views

Seeking advice to convert TraditionalForm generator into Notation paclet form

My Medical Researchers very much prefer me to use TraditionalForm for symbols and algorithms. However, using TraditionalForm on left hand side of an assignment will introduce run-time headaches if I ...
A Chase Turner's user avatar
1 vote
0 answers
64 views

TraditionalForm of a polynomial two variables

I want to write the expression $$x - x (-x^2 - 5 x) + m x - x^2$$ in the form $$x^3+4 x^2 + (m+1) x.$$ I tried ...
Laurenso's user avatar
  • 1,032
2 votes
1 answer
126 views

Converting to natural mathematical typography

I'd like to convert ...
David G. Stork's user avatar
1 vote
0 answers
59 views

Traditional Output for Derivatives in the Components of xCoba's Lie Derivative

When using the xAct package xCoba to compute a Lie derivative, is there a simple way to adjust the accepted answer here (reproduced below) so that the components will display in the same way (eg $\...
Rosa Luxemberg's user avatar
4 votes
1 answer
87 views

How to keep unnecessary parentheses in TraditionalForm?

My goal is to keep the parentheses in the following code sample: TraditionalForm@HoldForm[(CenterDot[a, b])] The problem is that Mathematica still removes the ...
mbl's user avatar
  • 185
4 votes
1 answer
386 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 ...
cgcg's user avatar
  • 69
0 votes
0 answers
51 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 &...
A Chase Turner's user avatar
6 votes
4 answers
561 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\...
diffusiondiver11's user avatar
2 votes
1 answer
113 views

Output function definition as TeXForm with big bracket

I've checked this answer. While it works in Mathematica, the $\LaTeX$ output is weird. ...
Lai Yu-Hsuan's user avatar
2 votes
0 answers
125 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 ...
user80182's user avatar
0 votes
1 answer
167 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: ...
Ofek Peretz's user avatar
2 votes
0 answers
40 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, ...
Alberto Berretti's user avatar
1 vote
2 answers
57 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 ...
mathmistakes's user avatar
0 votes
3 answers
210 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 ...
Mika Ike's user avatar
  • 3,241
1 vote
1 answer
43 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 ...
León Arcano's user avatar
2 votes
4 answers
149 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 ...
BeTDa's user avatar
  • 480
0 votes
2 answers
106 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 ...
Pcouper's user avatar
  • 31
5 votes
1 answer
219 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:
ChaSta's user avatar
  • 1,085
1 vote
1 answer
132 views

Source of SetBuilder, Mapping, and Math

Somewhere I obtained definitions of functions SetBuilder, Mapping, and Math, which produce ...
murray's user avatar
  • 11.9k
10 votes
1 answer
292 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 ...
vsht's user avatar
  • 3,517
4 votes
1 answer
185 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 ...
Stuart Poss's user avatar
  • 1,883
2 votes
2 answers
126 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 ...
Alex's user avatar
  • 351
4 votes
2 answers
152 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 ...
Ohcolowisc's user avatar
3 votes
2 answers
130 views

How to define floor/ceiling like TraditionalForm?

We have Floor[x]//TraditionalForm with output ⌊x⌋ If we define ...
NonalcoholicBeer's user avatar
3 votes
2 answers
222 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 ...
Rafael Rodriguez's user avatar
4 votes
2 answers
239 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 ...
NonalcoholicBeer's user avatar
2 votes
1 answer
109 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: ...
Yves Poissant's user avatar
0 votes
3 answers
209 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. ...
Vaclav Kotesovec's user avatar
1 vote
1 answer
556 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 ...
Cassidy Hazel's user avatar
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,...
Miladiouss's user avatar
  • 1,883
4 votes
3 answers
177 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: ...
Jishnu's user avatar
  • 141
5 votes
1 answer
119 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 ...
rogerl's user avatar
  • 4,209
2 votes
3 answers
490 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 ...
Dennis Roseman's user avatar
7 votes
1 answer
363 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 ...
theorist's user avatar
  • 3,623
3 votes
3 answers
306 views

Traditional notation option?

I have a simple prime counting function using the Cyclotomic function. ...
Fred Daniel Kline's user avatar
3 votes
1 answer
82 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 ...
QuantumDot's user avatar
  • 19.6k
1 vote
0 answers
132 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 ...
Physicist's user avatar
  • 967
1 vote
0 answers
48 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 ...
Physicist's user avatar
  • 967
7 votes
1 answer
120 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 ...
QuantumDot's user avatar
  • 19.6k
3 votes
1 answer
131 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 ...
Bruno Le Floch's user avatar
0 votes
1 answer
381 views

Greek letter as TraditionalForm not working while export to PDF

Below is the code for an example plot, ...
Selva's user avatar
  • 125
1 vote
0 answers
87 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]'...
Michael Stern's user avatar
5 votes
2 answers
366 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 ...
user38220's user avatar
3 votes
1 answer
252 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: ...
David's user avatar
  • 14.9k
3 votes
2 answers
263 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? ...
B flat's user avatar
  • 5,513
5 votes
1 answer
125 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]"] ...
sunt05's user avatar
  • 4,357
4 votes
2 answers
519 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: ...
David's user avatar
  • 14.9k