Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

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!

sample

I'm looking for a SaveAsLatex function that would correctly export human readable code for the following things:

  1. (marker) Aligned Equations
  2. Hyperlinks (refs, labels, etc...)
  3. ItemNumbered cells
  4. Centered math cells
  5. Numbered and captioned tables/figures

Here is a sample notebook to test your code.

share|improve this question
    
What is an ItemNumbered cell? –  Tom Wellington Oct 8 '12 at 20:21
    
It's a Cell style. Just go to Format -> Style -> Item Numbered. It uses a CounterBox to keep track of counts. –  M.R. Oct 8 '12 at 20:26
    
Would Publicon do what you want? –  Silvia Oct 9 '12 at 21:54
1  
Does this question's answer answer your question? –  rcollyer Oct 10 '12 at 2:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.