Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #10234
| From | Themis Matsoukas <tmatsoukas@me.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Print TraditionalForm |
| Date | 2012-05-28 09:11 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jpvfg5$q62$1@smc.vnet.net> (permalink) |
I want to typeset a math equation that is is printed in TraditionalForm. Here is an example: t = (Subscript[c, v1] Subscript[n, 1] Subscript[T, 1] + Subscript[c, v2] Subscript[n, 2] Subscript[T, 2])/( Subscript[c, v1] Subscript[n, 1] + Subscript[c, v2] Subscript[n, 2]); Print["T" // TraditionalForm, " = ", t] The Print statement gives me the equation I want but in Courier font, which is default for Print. If I select the output cell and use the notebook interface to Convert to TraditionalForm, then the equation is printed in the default font for text, which is really how I want it. Is it possible to obtain the final result using only Mathematica expressions, without having to go through the notebook interface?
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Print TraditionalForm Themis Matsoukas <tmatsoukas@me.com> - 2012-05-28 09:11 +0000
csiph-web