8

4

Using Palettes -> Writing Assistant -> Math Cells, you can enter aligned equations such as:

```
Cell[TextData[Cell[BoxData[
FormBox[GridBox[{
{GridBox[{
{
RowBox[{
RowBox[{"f", "(", "x", ")"}], "=",
RowBox[{"expr", " ", "1"}]}]},
{
RowBox[{"=",
RowBox[{"expr", " ", "2"}]}]},
{
RowBox[{"=",
RowBox[{"expr", " ", "3"}]}]}
},
GridBoxAlignment->{"Columns" -> {{"="}}}]}
},
GridBoxItemSize->{"Columns" -> {{
Scaled[0.96]}}}], TraditionalForm]]]], "Text"]
```

But saving as $\LaTeX$ yields equations that are unaligned and uncentered!

I'm looking for a `SaveAsLatex`

function that would correctly export *human readable* code for the following things:

- (marker) Aligned Equations
- Hyperlinks (refs, labels, etc...)
- ItemNumbered cells
- Centered math cells
- Numbered and captioned tables/figures

Here is a sample notebook to test your code.

What is an ItemNumbered cell? – Tom Wellington – 2012-10-08T20:21:09.447

It's a Cell style. Just go to Format -> Style -> Item Numbered. It uses a CounterBox to keep track of counts. – M.R. – 2012-10-08T20:26:24.217

Would Publicon do what you want?

– Silvia – 2012-10-09T21:54:04.7106

Does this question's answer answer your question?

– rcollyer – 2012-10-10T02:04:08.310