• Cartucho's avatar
    GSoC 2016 - Adding ALIASES for tutorial (#7041) · fcddfa4f
    Cartucho authored
    * GSoC 2016 - Adding toggle files to be used by tutorials.
    
    Add a toggle option for tutorials.
    * adds a button on the HTML tutorial pages to switch between blocks
    * the default option is for languages: one can write a block
    for C++ and another one for Python without re-writing the tutorial
    
    Add aliases to the doxyfile.
    * adding alises to make a link to previous and next tutorial.
    * adding alias to specify the toggle options in the tutorials index.
    * adding alias to add a youtube video directly from link.
    
    Add a sample tutorial (mat_mask_opertaions) using the developed aliases:
    * youtube alias
    * previous and next tutorial alias
    * buttons
    * languages info for tutorial table of content
    * code referances with snippets (and associated sample code files)
    
    * Removing the automatic ordering.
    Adding specific toggles for cpp, java and python.
    Move all the code to the footer / header and Doxyfile.
    Updating documentation.
    fcddfa4f
mymath.js 776 Bytes
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>