Team:Todai-Tokyo/Protocols

From 2009.igem.org

(Difference between revisions)
Line 1: Line 1:
-
{{:Team:Todai-Tokyo/Template}}
+
<?php
 +
 +
$wgExtensionFunctions[] = "MimetexExtension";
 +
 +
function MimetexExtension() {
 +
    global $wgParser;
 +
 +
    $wgParser->setHook( "tex", "render_Mimetex" );
 +
}
 +
 +
/**
 +
* Renders $text in Mimetex
 +
*/
 +
 +
function render_Mimetex($input, $argv, $parser = null) {
 +
 +
  if (!$parser) $parser =& $GLOBALS['wgParser'];
 +
 +
  // $img_url is the url the mimetex will be sent to.
 +
  // IMPORTANT!! The URL below should be the link to YOUR mimetex.cgi if possible
 +
  $img_url = "http://www.forkosh.dreamhost.com/mimetex.cgi?".rawurlencode($input);
 +
 +
  // Sets the output of the tex tag using the url from above, and the input as
 +
  // the Alt text.  It's important to note that there is no error output added yet.
 +
  $output = "<img src=\"$img_url\" alt=\"LaTeX: " . htmlspecialchars($input) . "\" />";
 +
 +
  return $output;
 +
}
 +
?>{{:Team:Todai-Tokyo/Template}}
{{Team:Todai-Tokyo/protocol_temp}}
{{Team:Todai-Tokyo/protocol_temp}}
-
<html>
 
<img src="/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}">
<img src="/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}">
-
<html>
+
 
Here is a list of common protocols we used for our projects.<BR>
Here is a list of common protocols we used for our projects.<BR>
Individual protocols are linked from the Notebook section in order to minimize the amount of text in the Notebook.
Individual protocols are linked from the Notebook section in order to minimize the amount of text in the Notebook.

Revision as of 07:55, 21 October 2009

<?php

$wgExtensionFunctions[] = "MimetexExtension";

function MimetexExtension() {

   global $wgParser;

   $wgParser->setHook( "tex", "render_Mimetex" );

}

/**

  • Renders $text in Mimetex
  • /

function render_Mimetex($input, $argv, $parser = null) {

 if (!$parser) $parser =& $GLOBALS['wgParser'];

 // $img_url is the url the mimetex will be sent to.
 // IMPORTANT!! The URL below should be the link to YOUR mimetex.cgi if possible
 $img_url = "http://www.forkosh.dreamhost.com/mimetex.cgi?".rawurlencode($input);

 // Sets the output of the tex tag using the url from above, and the input as
 // the Alt text.  It's important to note that there is no error output added yet.
 $output = "<img src=\"$img_url\" alt=\"LaTeX: " . htmlspecialchars($input) . "\" />";

 return $output;

}

?>
UT.png
Home The Team The Project Parts Submitted to the Registry Modeling Notebook Protocols Ethics



the notebook <img src="/cgi-bin/mimetex.cgi?x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}">

Here is a list of common protocols we used for our projects.
Individual protocols are linked from the Notebook section in order to minimize the amount of text in the Notebook.


Miniprep
Sequencing
Transformation
Ligation
Restriction Enzyme Digest
PCR
Colony PCR
Gel Extraction
Infusion