Paragraphing Latex expressions

  • LaTeX
  • Thread starter mathman
  • Start date
  • #1
mathman
Science Advisor
7,925
469
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,578
3,932
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,578
3,932
Whoa, there seems to be a bug. I'll move the thread to the feedback forum.

bug.jpeg
 

Attachments

  • bug.jpeg
    bug.jpeg
    14.1 KB · Views: 334
  • #4
Ibix
Science Advisor
Insights Author
2020 Award
7,571
6,729
Looks fine in mobile Firefox on Android. Possibly browser specific?
 
  • #5
DrClaude
Mentor
7,578
3,932
@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.
 
  • Like
Likes Greg Bernhardt
  • #6
12,693
6,557
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,578
3,932
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
34,826
6,570
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
236
21
It doesn't work on Opera 54 either.
 
  • #10
DrClaude
Mentor
7,578
3,932
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
236
21
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
236
21
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
236
21
:cool::cool::cool::oldconfused::oldconfused::oldconfused:
 

Related Threads on Paragraphing Latex expressions

  • Last Post
Replies
2
Views
93K
  • Last Post
Replies
1
Views
3K
Replies
7
Views
243
Replies
11
Views
3K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
3
Views
4K
  • Last Post
Replies
8
Views
2K
  • Last Post
Replies
4
Views
2K
  • Last Post
Replies
5
Views
2K
Top