Change the Math Script Command

  • Thread starter Thread starter Astrum
  • Start date Start date
AI Thread Summary
Using inline text in math scripts can be simplified with the use of double hash marks (##) for inline mode and double dollar signs ($$) for display mode. The discussion highlights the frustration of having to repeatedly write "[tex][/itex]" for display mode, suggesting that a more streamlined command would be beneficial. It notes that using ##\displaystyle ...## allows for larger formulas without line breaks. Additionally, an example of a double fraction is provided to illustrate the formatting. Implementing a simpler command for display mode could enhance user experience significantly.
Astrum
Messages
269
Reaction score
5
I know that you can use two ## to use inline text, but I'm not sure how to use the display mode, instead of having to write "[/itex]&quot; every time, which drives me insane.<br /> <br /> Is there some other command that I&#039;m inaware of? Or is there simply no script to use display without writing out the big clunk &quot;&amp;quot;? &lt;br /&gt; &lt;br /&gt; If there isn&amp;#039;t currently a command, it should be implemented.
 
Physics news on Phys.org
For display mode, use

Code:
[tex]code[/tex] or $$code$$
.

For inline mode, use

Code:
[itex]code[/itex] or ##code##
.
 
Code:
##\displaystyle ...##
gives "large" formulas without line breaks.

This is a double fraction: ##\displaystyle \frac{\frac{a}{b}}{\frac{c}{d}}##. And this is text after the formula.
 
Thanks, I only tried the single $ command XD , should've tried the $$
 
I want to thank those members who interacted with me a couple of years ago in two Optics Forum threads. They were @Drakkith, @hutchphd, @Gleb1964, and @KAHR-Alpha. I had something I wanted the scientific community to know and slipped a new idea in against the rules. Thank you also to @berkeman for suggesting paths to meet with academia. Anyway, I finally got a paper on the same matter as discussed in those forum threads, the fat lens model, got it peer-reviewed, and IJRAP...
About 20 years ago, in my mid-30s (and with a BA in economics and a master's in business), I started taking night classes in physics hoping to eventually earn the science degree I'd always wanted but never pursued. I found physics forums and used it to ask questions I was unable to get answered from my textbooks or class lectures. Unfortunately, work and life got in the way and I never got further the freshman courses. Well, here it is 20 years later. I'm in my mid-50s now, and in a...
Back
Top