Linked Questions

25 votes
5 answers
1k views

How can one manually change the rule ordering

I have a function which has some general behavior, but that should act on some specific kinds of objects in some other way. I know that Mathematica is supposed to automatically order the rules so that ...
Lior Blech's user avatar
24 votes
4 answers
3k views

Format and TeXForm does not work as expected

Recently, we had a nice question which brought up an issue that I believe is a bug. In the tutorial Defining Output Formats, there is an example at the end which doesn't make sense: This specifies ...
halirutan's user avatar
  • 113k
16 votes
3 answers
2k views

TeXForm and large brackets (\Biggl[ etc)

Goal I am trying to export a very long expression like expr = c1*bracket1[a+b+c2*bracket2[d+e+f...]]+... to LaTeX using ...
arnd's user avatar
  • 725
4 votes
5 answers
461 views

Special notation using round brackets and avoiding commas (for $\LaTeX$ input)?

Internally, when I work with mathematica I use a notation like br[1,2,3,4] to denote some quantities. Then I would like to export the results in ...
Kagaratsch's user avatar
  • 12.1k
10 votes
2 answers
231 views

Bad Latex generated when using TeXForm with another answer solution

Update Thanks to answer below by Carl Woll, I've put my notebook where it contains all the settings and code needed to use for better Latex formatting if others want to use it. This will save you the ...
Nasser's user avatar
  • 150k
7 votes
2 answers
345 views

Personalize Copy As LaTeX

Built-in functions in formulas copied as $\LaTeX$ code from output cells are sometimes messy. I'd like to find a way to simplify the way this code is generated. There is one concrete instance that I'd ...
Rol's user avatar
  • 387
4 votes
2 answers
207 views

Change TeXForm of ArcTan

When using ArcTan, the corresponding TeXForm is tan^{-1} and not \arctan which I would ...
Kutsubato's user avatar
  • 129
3 votes
1 answer
1k views

How to Custominze the Output of TeXForm

When working with complicated expressions I would like to easily export specific expressions to LaTex. The ideal solution for me is the TeXForm command, but many times when using it I would like to ...
AzJ's user avatar
  • 697
6 votes
1 answer
199 views

question on using TeXUtilities. Why it needs to be called twice to work

I find strange behavior of TeXUtilities by @jkuczm which I do not understand how to fix. I find I have to call TeXForm two times for it to start working. Here is ...
Nasser's user avatar
  • 150k
5 votes
1 answer
115 views

why changing the order of `Format` causes error?

I am trying the solution given in is-it-possible-to-change-customize-some-conversions-done-by-texform which works very well except changing the order of the Format ...
Nasser's user avatar
  • 150k