Log in

View Full Version : BB Code Enhancements - BBCode - Math - Radical - Root


orange gold
12-23-2010, 10:00 PM
Hey, I just created this BBCode for math...
You can do roots, (ex. square root)
It puts up a superscript number then a radical sign then overlines a given number (Example given below in screenshots.

Go to the Admin CP:
BBCode:
Add New:

Title:

Radical


BB Code Tag Name:

rt


Replacement:

<sup>{option}</sup>√<font style="text-decoration: overline;">{param}</font>


Example:

144


Description:

Creates a radical for roots.


Use {option}:

Yes


Leave everything else default... Let me know what you think...

sadiq6210
12-25-2010, 04:34 AM
WoW
Great =) Thanks

But I can't use it, I am using RTL language where it comes like that:
https://vborg.vbsupport.ru/external/2010/12/9.jpg

There is anyway to solve this issue?

Digital Jedi
12-25-2010, 04:50 AM
WoW
Great =) Thanks

But I can't use it, I am using RTL language where it comes like that:
https://vborg.vbsupport.ru/attachment.php?attachmentid=124786&stc=1&d=1293258984

There is anyway to solve this issue?
Try just moving the tags into the correct order for RTL languages.

<font style="text-decoration: overline;">{param}</font>√<sup>{option}</sup>

sadiq6210
12-25-2010, 05:16 AM
Try just moving the tags into the correct order for RTL languages.

<font style="text-decoration: overline;">{param}</font>√<sup>{option}</sup>

Perfect :up:
Appreciate your help :) Thank you