Latex Delimiters: I cannot get the old tex and /tex pair to work.

JeffM

Elite Member
Joined
Sep 14, 2012
Messages
3,232
With the new software, what are the delimiters for LaTeX. I cannot get the old tex and /tex pair to work.

Also, where can you change font size?
 

MarkFL

Super Moderator
Staff member
Joined
Nov 24, 2012
Messages
994
For inline math you can use \ ( \ ) (without the spaces), and for displaystyle math (indented and on its own line) you can use \ [ \ ]. If you click the calculator icon in the toolbar, the [MATH][/MATH] tags will be generated for you which is inline but gives you the larger displaystyle math.

To change your font size use the "T" button to the left of the flag (spoiler) icon.
 

JeffM

Elite Member
Joined
Sep 14, 2012
Messages
3,232
Thank you
 

mmm4444bot

Super Moderator
Staff member
Joined
Oct 6, 2005
Messages
10,250
… I cannot get the old tex and /tex pair to work.

Also, where can you change font size?
The tags [tex][/tex] do work. Can you send me the problematic text, by private conversation?

Font size may be changed by using the toolbar icon (eighth icon from the left). 😎
\(\displaystyle \;\)
 

JeffM

Elite Member
Joined
Sep 14, 2012
Messages
3,232
mmm

I was trying to answer a question. When it did not work, I abandoned my answer so I cannot send you what was creating a problem.. What I can tell you is that the answer used displaystyle.
 

pka

Elite Member
Joined
Jan 29, 2005
Messages
7,797
[ tex]\left( {r\cos \left( {\theta + \frac{{2k\pi }}{4}} \right),r\sin \left( {\theta + \frac{{2k\pi }}{4}} \right)} \right),~k=1,~2,~3[/tex]

\(\displaystyle \left( {r\cos \left( {\theta + \frac{{2k\pi }}{4}} \right),r\sin \left( {\theta + \frac{{2k\pi }}{4}} \right)} \right),~k=1,~2,~3\)

Without the space in [ tex] the code works for me.
 

JeffM

Elite Member
Joined
Sep 14, 2012
Messages
3,232
\(\displaystyle \sum_{k=m}^n f(k) \equiv f(m) + f(m+1) + \ ... \ + f(n-1) + f(n).\)

This is what I am getting from

\sum_{k=m}^n f(k) \equiv f(m) + f(m+1) + \ ... \ + f(n-1) + f(n).
 

MarkFL

Super Moderator
Staff member
Joined
Nov 24, 2012
Messages
994
Yes, the :(n): text to replace for the (n) smiley needs to be changed. Only an admin can do that.
 

MarkFL

Super Moderator
Staff member
Joined
Nov 24, 2012
Messages
994
\(\displaystyle \sum_{k=m}^n f(k) \equiv f(m) + f(m+1) + \ ... \ + f(n-1) + f( n).\)

For now, use ( n) instead (note the space in front of the n).
 

mmm4444bot

Super Moderator
Staff member
Joined
Oct 6, 2005
Messages
10,250
[ tex]\left( {r\cos \left( {\theta + \frac{{2k\pi }}{4}} \right),r\sin \left( {\theta + \frac{{2k\pi }}{4}} \right)} \right),~k=1,~2,~3[/tex]

Without the space in [ tex] the code works for me.
Here's a tip, pka. We don't need to play tricks on the system anymore (like inserting spaces), in order to display tags in a post. Enclosing tags within [plain] and [/plain] tags will prevent the system from processing the enclosed code. See the bottom of this post, for more info. Cheers 😎
\(\displaystyle \;\)
 
  • Like
Reactions: pka

JeffM

Elite Member
Joined
Sep 14, 2012
Messages
3,232
So far I like the new software. I never expected it to be bug free, but there really have been few bugs so far. Good work all.
 

mmm4444bot

Super Moderator
Staff member
Joined
Oct 6, 2005
Messages
10,250
… For now, use ( n) instead (note the space in front of the n).
Thanks, Mark! That's way easier than my 'ol vBulletin LaTeX fix (to suppress keyword autolinking, for instance).

I would have coded something like [tex]f\text{(}n)[/tex] to force \(\displaystyle f\text{(}n)\). 🤭
 

mmm4444bot

Super Moderator
Staff member
Joined
Oct 6, 2005
Messages
10,250
… there really have been few bugs so far …
True, although there are a number of issues being discussed on the (private) staff board, heh … 🤫
\(\displaystyle \;\)
 

MarkFL

Super Moderator
Staff member
Joined
Nov 24, 2012
Messages
994
So far I like the new software. I never expected it to be bug free, but there really have been few bugs so far. Good work all.
Yes, XF 2.1 is a robust forum software, coded by some of the folks who brought us vB 3.x way back when. I think its major strengths are responsive design and a lot more AJAX being used to make reloading pages less necessary. Over time we'll get all the reported issues sorted out. :)
 

Otis

Senior Member
Joined
Apr 22, 2015
Messages
1,154
Top