You are here

README.txt in MathJax: LaTeX for Drupal 8.2

Same filename and directory in other branches
  1. 6 README.txt
  2. 7.2 README.txt
  3. 7 README.txt
  4. 3.0.x README.txt
This module integrates the MathJax library into your Drupal site. MathJax is the
modern JavaScript-based LaTeX rendering solution for the Internet.

By default, MathJax source is loaded automatically from the Internet using the 
MathJax Content Delivery Network (CDN).

There are two MathJax configuration options: Text format (recommended), or 
Custom.

If you select "Text format", MathJax will be available as a text filter.
Mathematics inside the default delimiters will be rendered by MathJax. The
default math delimiters are $$...$$ and \[...\] for displayed mathematics, and
$...$ and \(...\) for in-line mathematics. You must add the MathJax filter to a 
text format and put MathJax at the bottom of the filter processing order.

You may select "Custom" if you need a more specific configuration. "Custom" is
the default when upgrading.

INSTALLATION
============

Using the MathJax CDN (recommended)
-------------------------------

1. Install and enable this module.

2. Add the MathJax filter to an existing or new text format under 
   Administration >> Configuration >> Text Formats. Put the MathJax filter at
   the bottom of the "Filter processing order".

3. Test it by adding a LaTeX formula between '$' in any node body (for example: 
   $2 + 2 = 4$). Select the body text format you configured on the Text Formats
   administration screen.


Using a local copy of MathJax
-----------------------------

1. Install and enable this module.

2. Install the third-party MathJax software:
     Download MathJax source from the MathJax website.
     Un-archive it into your "libraries" directory.
     You may need to create the "libraries" directory first.
     Rename it to "MathJax". When finished you should have this structure:
     `/libraries/MathJax/MathJax.js`

3. Follow from step #2 above.

ORIGINAL AUTHOR
===============
Module written by Thomas Julou.
http://drupal.org/user/273952

MAINTAINER(S)
=============
2013: Chris McCafferty (cilefen) https://drupal.org/u/cilefen
2014: P. Magunia (pmagunia) https://www.drupal.org/u/pmagunia

LEGAL
=====
MathJax CDN services are provided subject to its Terms of Service (TOS). By
accessing and using the MathJax CDN, you accept and agree to be bound by the
terms and provisions of the TOS:
https://www.mathjax.org/mathjax-cdn-terms-of-service/

File

README.txt
View source
  1. This module integrates the MathJax library into your Drupal site. MathJax is the
  2. modern JavaScript-based LaTeX rendering solution for the Internet.
  3. By default, MathJax source is loaded automatically from the Internet using the
  4. MathJax Content Delivery Network (CDN).
  5. There are two MathJax configuration options: Text format (recommended), or
  6. Custom.
  7. If you select "Text format", MathJax will be available as a text filter.
  8. Mathematics inside the default delimiters will be rendered by MathJax. The
  9. default math delimiters are $$...$$ and \[...\] for displayed mathematics, and
  10. $...$ and \(...\) for in-line mathematics. You must add the MathJax filter to a
  11. text format and put MathJax at the bottom of the filter processing order.
  12. You may select "Custom" if you need a more specific configuration. "Custom" is
  13. the default when upgrading.
  14. INSTALLATION
  15. ============
  16. Using the MathJax CDN (recommended)
  17. -------------------------------
  18. 1. Install and enable this module.
  19. 2. Add the MathJax filter to an existing or new text format under
  20. Administration >> Configuration >> Text Formats. Put the MathJax filter at
  21. the bottom of the "Filter processing order".
  22. 3. Test it by adding a LaTeX formula between '$' in any node body (for example:
  23. $2 + 2 = 4$). Select the body text format you configured on the Text Formats
  24. administration screen.
  25. Using a local copy of MathJax
  26. -----------------------------
  27. 1. Install and enable this module.
  28. 2. Install the third-party MathJax software:
  29. Download MathJax source from the MathJax website.
  30. Un-archive it into your "libraries" directory.
  31. You may need to create the "libraries" directory first.
  32. Rename it to "MathJax". When finished you should have this structure:
  33. `/libraries/MathJax/MathJax.js`
  34. 3. Follow from step #2 above.
  35. ORIGINAL AUTHOR
  36. ===============
  37. Module written by Thomas Julou.
  38. http://drupal.org/user/273952
  39. MAINTAINER(S)
  40. =============
  41. 2013: Chris McCafferty (cilefen) https://drupal.org/u/cilefen
  42. 2014: P. Magunia (pmagunia) https://www.drupal.org/u/pmagunia
  43. LEGAL
  44. =====
  45. MathJax CDN services are provided subject to its Terms of Service (TOS). By
  46. accessing and using the MathJax CDN, you accept and agree to be bound by the
  47. terms and provisions of the TOS:
  48. https://www.mathjax.org/mathjax-cdn-terms-of-service/