- #1
- 1,158
- 4
As Latex gets to be more popular on web forums a nice feature would be able to display a list of the most common Latex commands in a window, for reference.
I've been working on a plugin for vBulletin which adds this capability.
I wanted it to have minimal impact on a forum, so that it's there when you need it and not there when you don't.
The plugin places an icon (sigma) next to the PHP icon on the button row at the top of the post editor. Clicking on that button brings up a window with Latex commands, a button for each, so that they can be pasted into the text area by clicking them.
Nothing is loaded until the sigma button is clicked so it doesn't add unnecessary content or delay the load time.
The list of Latex commands, and the directory structure is generated from a customizable XML file, so it's easy to hide, show, add or remove commands and command groups.
It uses CSS for the look, so that it can be customized to match the forum skins.
To avoid using Ajax (and bring up cross-browser compatibility issues) i used iframes, so it works fine on the browsers I've tested so far (IE, FF and Opera).
I took the liberty of saving a page from PhysicsForums.com to show the plugin in action (no skin applied). Here's a link:
http://www.bloo.us/pf/"
This will be available as an open source, GPL project. It would be cool if PF decided to use it, but if you don't that's fine as well, I'm just getting the word out.
If it doesn't work on your browser please let me know.
I've been working on a plugin for vBulletin which adds this capability.
I wanted it to have minimal impact on a forum, so that it's there when you need it and not there when you don't.
The plugin places an icon (sigma) next to the PHP icon on the button row at the top of the post editor. Clicking on that button brings up a window with Latex commands, a button for each, so that they can be pasted into the text area by clicking them.
Nothing is loaded until the sigma button is clicked so it doesn't add unnecessary content or delay the load time.
The list of Latex commands, and the directory structure is generated from a customizable XML file, so it's easy to hide, show, add or remove commands and command groups.
It uses CSS for the look, so that it can be customized to match the forum skins.
To avoid using Ajax (and bring up cross-browser compatibility issues) i used iframes, so it works fine on the browsers I've tested so far (IE, FF and Opera).
I took the liberty of saving a page from PhysicsForums.com to show the plugin in action (no skin applied). Here's a link:
http://www.bloo.us/pf/"
This will be available as an open source, GPL project. It would be cool if PF decided to use it, but if you don't that's fine as well, I'm just getting the word out.
If it doesn't work on your browser please let me know.
Last edited by a moderator: