Categories

  • Access & Security 95
  • Administration 172
  • Advertisement 92
  • Audio & Video 66
  • Author & Content 99
  • Comments 96
  • Communication 110
  • Communities & Forums 84
  • Development 47
  • E-Commerce 76
  • Email Management 53
  • Events & Calendars 80
  • Language 25
  • Map & Weather 44
  • Migration & Conversion 28
  • Miscellaneous 254
  • Mobile 15
  • Photos 143
  • Plugins 260
  • SEO & Site Speed 118
  • Social 186
  • Theme Enhancement 169



  • Add this plugin to a List

    You need to be logged in to add this plugin to your list.

    Youngwhan's Simple Latex

    Add to List

    This plugin enables latex expression in wordpress post/comment.

    How to use

    • Usage: [math]{Latex Syntax}[/math]
    • For example, [math]x^2+y^2[/math].

    Option1: pre

    • Usage: [math pre={Choose Number}]{Latex Syntax}[/math]
    • [math pre=”0″]{Latex Syntax}[/math]: Displays latex expression. It’s equivalent to [math]{Latex Syntax}[/math]
    • [math pre=”1″]{Latex Syntax}[/math]: Wrapping with <pre>, which shows [math]{Latex Syntax}[/math] itself. This just help to show the code itself
    • [math pre=”2″]{Latex Syntax}[/math]: Same as pre=”1″, but it doesn’t show [math] and [/math] code.

    Option2: align

    • Usage: [math align=”{Choose Alignment}”]{Latex Syntax}[/math]
    • {Choose Alignment}: “top” (default), “bottom”, “middle”, “left”, “right”.
    • It is equivalent to <img style=”float:{Choose Alignment}”/>
    • For example, [math align=”left”]x^2+y^2[/math] will put the latex form at left with the wrapping text.

    YW Latex Settings

    It relys on the cgi to represent math symbols via latex syntax.

    The setting could be one these:

    • http://www.forkosh.com/mathtex.cgi
    • http://www.forkosh.com/mimetex.cgi

    , which is provided by John Forkosh.

    If you want to have your own mathtex.cgi, you can refer to

    1. Install latex and dvipng
    2. Get and Compile mathtex.cgi

    Once you get the latex(+dvipng) and mathtex.cgi, copy mathtex.cgi into a directory, and tell YW Latex Settings by specifing where the mathtex.cgi is.

    Generally, it can be located in cgi-bin. For example, http://yourdomain.com/cgi-bin.

    Then, put “http://yourdomain.com/cgi-bin/your-own-mathtex.cgi” in the YW Latex Settings.

    Rate This Plugin

    Please Login to Rate this Plugin!

    Function

    Feature

    Support

    0 Votes
    Not Rated Yet

    Wordpress.org Stats

    Ratings5
    Votes1
    Downloads5,467
    Last Updated244 Days ago
    Published8 years ago

    Report Wrong Category!