Tag Info

New answers tagged

0

Assuming the use of a revision control system, which seems likely when you are after sophisticated documentation, I by far like Pillsy's answer the best. This answer is more or less a long comment to that answer. What I don't like about Pillsy's solution is the Convert To > Standard Form Display step. This is because I and my collaborators are using the ...


3

You can use TextCell with the option ParagraphIndent TextCell[StringTake[ExampleData[{"Text", "DeclarationOfIndependence"}], 900], "Text", ParagraphIndent -> -40] or Style with the option LineIndent: Style[StringTake[ExampleData[{"Text", "DeclarationOfIndependence"}], 900], "Text", LineIndent->2]


3

Firstly to address the start of the question in which you didn't like how small everything was. This can be fixed quite simply by changing an option to FractionBox FractionBoxOptions -> {AllowScriptLevelChange -> False} Normally you would set this as part of a style sheet for Input style or you could set it at the cell level using the options ...


1

From the comments I infer that you are indeed interested only in typesetting formulas and displaying the in TraditionalForm. If you enter the equation in an inline cell, it will be in TraditionalForm. On the other hand, DisplayFormula cells need to be converted to TraditionalForm before you start typing (assuming that you work with the default stylesheet). ...


5

Addendum It's worth examining how your original expression was rendered in TraditionalForm, even though it was not just what you wanted. exp = (Abs[x]/(-(2 - \[Kappa]) - 5))/(Binomial[a, b]/4) // TraditionalForm Let's look at the underlying structure: tagExp = ToBoxes[exp] TagBox[FormBox[ FractionBox[RowBox[{"4", " ", TemplateBox[{"x"}, ...


4

You can enter a column or matrix by using Ctrl+Enter to add rows or Ctrl+, to add columns. (You can do this anywhere in the Notebook; you do not need to somehow generate a matrix beforehand.) The small empty squares are \[Placeholder] and you can move between them using Tab and Shift+Tab. You can optionally wrap the column or matrix with ( and ) and they ...


1

Try: m = {{a},{b},{c}}; m // MatrixForm


3

This code is far from being complete, but since I promised to show something this weekend, I decided to publish it anyway. It provides functions for converting Mathematica cells to TeX code compatible with mmacells package. Import["https://raw.githubusercontent.com/jkuczm/MathematicaOptionsUtilities/master/OptionsUtilities/OptionsUtilities.m"] ...


1

saving and reopening my notebook got rid of them


5

Tags (e.g. Power /:) are not necessary here. So MakeBoxes[myvec[x_], TraditionalForm] := TemplateBox[{OverscriptBox[ToBoxes[x], "→"]}, "Abs"]; MakeBoxes[Power[myvec[x_], n_], TraditionalForm] := SuperscriptBox[ TemplateBox[{OverscriptBox[ToBoxes[x], "→"]}, "Abs"], ToBoxes[n]] /; OddQ[n]; MakeBoxes[Power[myvec[x_], n_], TraditionalForm] := ...



Top 50 recent answers are included