Skip to main content
edited body
Source Link
David G. Stork
  • 42.3k
  • 3
  • 37
  • 106

I have several expressions for which I need the latexLaTex output. If I put them one after another with TeXForm, only the last one is shown (see picture). This

This is different to for example "TraditionalForm" behaviourbehavior which prints all three inputs. Am I missing something or the behavioudbehavior of TeXForm and TraditionalForm (or actually any other *Form) is simply different? I can circumvent it by appending \\Print after \\TeXForm, but it is not always desired (namely, having each output in a different cell allows to refer to that as %number; either form can be saved to a variable, but it would be best if the behaviour was the same for both cases).

enter image description here enter image description here

I have several expressions for which I need the latex output. If I put them one after another with TeXForm, only the last one is shown (see picture). This is different to for example "TraditionalForm" behaviour which prints all three inputs. Am I missing something or the behavioud of TeXForm and TraditionalForm (or actually any other *Form) is simply different? I can circumvent it by appending \\Print after \\TeXForm, but it is not always desired (namely, having each output in a different cell allows to refer to that as %number; either form can be saved to a variable, but it would be best if the behaviour was the same for both cases).

enter image description here enter image description here

I have several expressions for which I need the LaTex output. If I put them one after another with TeXForm, only the last one is shown (see picture).

This is different to for example "TraditionalForm" behavior which prints all three inputs. Am I missing something or the behavior of TeXForm and TraditionalForm (or actually any other *Form) is simply different? I can circumvent it by appending \\Print after \\TeXForm, but it is not always desired (namely, having each output in a different cell allows to refer to that as %number; either form can be saved to a variable, but it would be best if the behaviour was the same for both cases).

enter image description here enter image description here

Tweeted twitter.com/StackMma/status/836886434384588802
Source Link
user37523
user37523

Multiple TeXForm returns just single output

I have several expressions for which I need the latex output. If I put them one after another with TeXForm, only the last one is shown (see picture). This is different to for example "TraditionalForm" behaviour which prints all three inputs. Am I missing something or the behavioud of TeXForm and TraditionalForm (or actually any other *Form) is simply different? I can circumvent it by appending \\Print after \\TeXForm, but it is not always desired (namely, having each output in a different cell allows to refer to that as %number; either form can be saved to a variable, but it would be best if the behaviour was the same for both cases).

enter image description here enter image description here