From 0c09a00a0b298cbd3bbd0082cc1026e22db9b1c5 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sun, 3 Jan 2021 20:10:08 +0100 Subject: New article, and blog application --- plugins/render_math/test_data/article.ipynb | 42 ++++++++++++++++++++++ plugins/render_math/test_data/article.nbdata | 5 +++ .../test_data/article_with_math_formulas.rst | 20 +++++++++++ 3 files changed, 67 insertions(+) create mode 100755 plugins/render_math/test_data/article.ipynb create mode 100755 plugins/render_math/test_data/article.nbdata create mode 100755 plugins/render_math/test_data/article_with_math_formulas.rst (limited to 'plugins/render_math/test_data') diff --git a/plugins/render_math/test_data/article.ipynb b/plugins/render_math/test_data/article.ipynb new file mode 100755 index 0000000..890f8be --- /dev/null +++ b/plugins/render_math/test_data/article.ipynb @@ -0,0 +1,42 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "source": [ + "The formula is:\n", + "\n", + "\\begin{align*}A =\n", + "LL^{T}\n", + "\\end{align*}\n" + ], + "metadata": {} + } + ], + "metadata": { + "kernelspec": { + "name": "python3", + "language": "python", + "display_name": "Python 3" + }, + "language_info": { + "name": "python", + "version": "3.7.3", + "mimetype": "text/x-python", + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "pygments_lexer": "ipython3", + "nbconvert_exporter": "python", + "file_extension": ".py" + }, + "kernel_info": { + "name": "python3" + }, + "nteract": { + "version": "0.14.5" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} \ No newline at end of file diff --git a/plugins/render_math/test_data/article.nbdata b/plugins/render_math/test_data/article.nbdata new file mode 100755 index 0000000..bf13538 --- /dev/null +++ b/plugins/render_math/test_data/article.nbdata @@ -0,0 +1,5 @@ +Title: An article from a Jupyter notebook +Date: 2019-03-05 12:14 +Category: Mathematics +Tags: Linear Algebra, Python, Numpy, Scipy +Summary: This is a advance part of Linear Algebra with Python \ No newline at end of file diff --git a/plugins/render_math/test_data/article_with_math_formulas.rst b/plugins/render_math/test_data/article_with_math_formulas.rst new file mode 100755 index 0000000..87dcc45 --- /dev/null +++ b/plugins/render_math/test_data/article_with_math_formulas.rst @@ -0,0 +1,20 @@ +Math formulas +############# + +:date: 2019-09-10 +:yeah: oh yeah ! +:summary: :math:`A_\text{c} = (\pi/4) d^2` + +The area of a circle is :math:`A_\text{c} = (\pi/4) d^2`. + +.. math:: + + α_t(i) = P(O_1, O_2, … O_t, q_t = S_i λ) + + A = + \begin{bmatrix} + a_{11} & a_{12} & a_{13} \ + a_{21} & a_{22} & a_{23} \ + a_{31} & a_{32} & a_{33} + \end{bmatrix} + \ No newline at end of file -- cgit v1.2.3