Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10234 > unrolled thread

Print TraditionalForm

Started byThemis Matsoukas <tmatsoukas@me.com>
First post2012-05-28 09:11 +0000
Last post2012-05-28 09:11 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Print TraditionalForm Themis Matsoukas <tmatsoukas@me.com> - 2012-05-28 09:11 +0000

#10234 — Print TraditionalForm

FromThemis Matsoukas <tmatsoukas@me.com>
Date2012-05-28 09:11 +0000
SubjectPrint TraditionalForm
Message-ID<jpvfg5$q62$1@smc.vnet.net>
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?

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web