Paragraphing Latex expressions

  • LaTeX
  • Thread starter mathman
  • Start date
  • #1
mathman
Science Advisor
7,766
417

Main Question or Discussion Point

When I use Latex, the expression always comes out on a separate line. How do I keep the expression on the same line?
 

Answers and Replies

  • #2
DrClaude
Mentor
7,142
3,278
I'm guessing you mean at PF? In that case, use ## ## as delimiters. For example

The famous relation ##E=mc^2## was derived by Einstein

renders as

The famous relation ##E = mc^2## was derived by Einstein
 
  • #3
DrClaude
Mentor
7,142
3,278
Whoa, there seems to be a bug. I'll move the thread to the feedback forum.

bug.jpeg
 

Attachments

  • #4
Ibix
Science Advisor
Insights Author
5,945
4,515
Looks fine in mobile Firefox on Android. Possibly browser specific?
 
  • #5
DrClaude
Mentor
7,142
3,278
@Greg Bernhardt : I've just checked, and the problem is only in Safari. Firefox renders correctly (on Mac OS 10.13.5).

This is a new problem, to add to the previous one with MathJax in Safari.
 
  • #6
11,474
4,999
How about using ##y=mx+b## number signs? Testing it

And ##E=m c^2## formula?

Safari on iPad Pro.
 
Last edited:
  • #7
DrClaude
Mentor
7,142
3,278
How about using ##y=mx+b## number signs?
This one comes out ok in Safari.

Edit:
How about using ##y=mx+b## number signs? Testing it

And ##E=m c^2## formula?

Safari on iPad Pro.
Both formulas come out correctly, but the one 1 posted in #2 still displays incorrectly. What is going on???
 
Last edited:
  • #8
33,262
4,962
I'm guessing you mean at PF? In that case, use ## ## as delimiters. For example

The famous relation ##E=mc^2## was derived by Einstein

renders as

The famous relation ##E = mc^2## was derived by Einstein
The equation in the last line renders just fine for me. I'm using IE 11 on Win 7.
 
  • #9
232
20
It doesn't work on Opera 54 either.
 
  • #10
DrClaude
Mentor
7,142
3,278
Both formulas come out correctly, but the one 1 posted in #2 still displays incorrectly. What is going on???
As of Safari 11.1.1, it renders correctly.
 
  • #11
232
20
I'm using Windows 7 Ultimate, and after post #9, I checked with all 3 (Firefox, Opera & Chrome latest versions), and none of them renders it correctly.
So is it a device specific issue?
 
  • #12
232
20
Hey, I just figured that if I use the Opera built-in VPN on Windows 7, the equations render correctly. But really it should render at all times. Can someone tell me what's wrong?
 
  • #13
232
20
:cool::cool::cool::oldconfused::oldconfused::oldconfused:
 

Related Threads for: Paragraphing Latex expressions

  • Last Post
Replies
2
Views
92K
  • Last Post
Replies
1
Views
2K
Replies
11
Views
3K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
4
Views
1K
  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
3
Views
4K
Top