Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5005 > unrolled thread
| Started by | Tomas Garza <tgarza10@msn.com> |
|---|---|
| First post | 2011-09-16 09:50 +0000 |
| Last post | 2011-09-18 08:21 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Aligning Typeset Math on Equal Signs Tomas Garza <tgarza10@msn.com> - 2011-09-16 09:50 +0000
Re: Aligning Typeset Math on Equal Signs Tom <tidetabletom@gmail.com> - 2011-09-17 10:25 +0000
Re: Aligning Typeset Math on Equal Signs "Kevin J. McCann" <kjm@KevinMcCann.com> - 2011-09-18 08:21 +0000
| From | Tomas Garza <tgarza10@msn.com> |
|---|---|
| Date | 2011-09-16 09:50 +0000 |
| Subject | Re: Aligning Typeset Math on Equal Signs |
| Message-ID | <j4v65g$c6o$1@smc.vnet.net> |
I think perhaps it's better to do the typesetting in an input cell, convert then the cell to traditional form, and copy-paste into the text cell in the desired position. The only hitch is that traditional form will give everything in bold type, but this may be easily fixed with Format, either on the whole contents of the cell or on individual characters. The equal signs and other similar stuff will be nicely aligned. -Tomas > Date: Thu, 15 Sep 2011 04:39:02 -0400 > From: gregory.lypny@videotron.ca > Subject: Aligning Typeset Math on Equal Signs > To: mathgroup@smc.vnet.net > > Hello everyone, > > How can align my typeset equations on the equal signs? I'm doing the typesetting in Text cells. > > Gregory
[toc] | [next] | [standalone]
| From | Tom <tidetabletom@gmail.com> |
|---|---|
| Date | 2011-09-17 10:25 +0000 |
| Message-ID | <j51sja$pc9$1@smc.vnet.net> |
| In reply to | #5005 |
> > Hello everyone,
>
> > How can align my typeset equations on the equal signs? I'm doing the typesetting in Text cells.
>
> > Gregory
HI, there are always lots of ways to do things. Not sure if this is
useful....
Below is a text cell with three lined up equations. You can copy and
paste this into Mathematica, then use the cell Menu and Show
Expression to view it normally.
Cell[TextData[Cell[BoxData[
FormBox[GridBox[{
{GridBox[{
{
RowBox[{
RowBox[{
RowBox[{"2", "x"}], "-",
RowBox[{"3", "y"}]}], "=", "5"}]},
{
RowBox[{
RowBox[{
RowBox[{
FractionBox["1", "2"], "x"}], "-", "y"}], "=", "1"}]},
{
RowBox[{
RowBox[{
RowBox[{"2", "x"}], "-", "5"}], "=", "12"}]}
},
GridBoxAlignment->{"Columns" -> {{"="}}}]}
},
GridBoxItemSize->{"Columns" -> {{
Scaled[1]}}}], TraditionalForm]]]], "Text"]
Hit control and return to add a new line
I keep that handy for when I am typing systems, etc.
TOM
[toc] | [prev] | [next] | [standalone]
| From | "Kevin J. McCann" <kjm@KevinMcCann.com> |
|---|---|
| Date | 2011-09-18 08:21 +0000 |
| Message-ID | <j549lg$6dt$1@smc.vnet.net> |
| In reply to | #5017 |
Hi Tom,
Nice example. I have a question though. Did you actually type all the
GridBox's and RowBox's in the example below? If so, I would submit that
this is a really, really slow way to get from here to there. Personally,
I would not be willing to type all that stuff just to get the equals
signs to line up. Maybe I am lazy, but there it is.
I would hope that I could type up the three equations as one usually
does and then execute some alignment command to make it "look nice".
Kevin
On 9/17/2011 6:25 AM, Tom wrote:
>>> Hello everyone,
>>
>>> How can align my typeset equations on the equal signs? I'm doing the typesetting in Text cells.
>>
>>> Gregory
>
> HI, there are always lots of ways to do things. Not sure if this is
> useful....
>
> Below is a text cell with three lined up equations. You can copy and
> paste this into Mathematica, then use the cell Menu and Show
> Expression to view it normally.
>
> Cell[TextData[Cell[BoxData[
> FormBox[GridBox[{
> {GridBox[{
> {
> RowBox[{
> RowBox[{
> RowBox[{"2", "x"}], "-",
> RowBox[{"3", "y"}]}], "=", "5"}]},
> {
> RowBox[{
> RowBox[{
> RowBox[{
> FractionBox["1", "2"], "x"}], "-", "y"}], "=", "1"}]},
> {
> RowBox[{
> RowBox[{
> RowBox[{"2", "x"}], "-", "5"}], "=", "12"}]}
> },
> GridBoxAlignment->{"Columns" -> {{"="}}}]}
> },
> GridBoxItemSize->{"Columns" -> {{
> Scaled[1]}}}], TraditionalForm]]]], "Text"]
>
>
>
>
> Hit control and return to add a new line
>
> I keep that handy for when I am typing systems, etc.
>
> TOM
>
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web