latex

The Jetpack by WordPress.com latex shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[latex]'); 
  1. // variable usage 
  2. $result = do_shortcode('[latex]'); 
  3. echo $result;  

Defined (1)

The shortcode is defined in the following location(s).

/modules/latex.php  
  1.  
  2.  
  3. add_filter( 'the_content', 'latex_markup', 9 ); // before wptexturize 
  4. add_filter( 'comment_text', 'latex_markup', 9 ); // before wptexturize 
  5. add_shortcode( 'latex', 'latex_shortcode' );