Sage, HTML and MathJax

asked 2020-08-29 12:41:39 +0100

Cyrille gravatar image

updated 2020-08-29 18:11:08 +0100

I know that this question is a bit limit on this discussion list but it is related to Sage.

I am constructing a big html document for my class exercices in linear Programming and MILP programming. There are 3 section 1) the problem 2) the mathematical resolution of the problem 3) the computation of the solution of the problem

If the third element works fine with Sagemath Server, to the reserve of the two last questions I have asked but which are minors problems (centering of results, and the problem of memorisation of the past commands in a document, I have some difficulties on the following fields :

A) using computer modern fonts as explained on internet. If I do that I loose the main command on Mathjax which cannot format anymore LaTeX text. And obviously, it seem better that all the page be in one unique font.

B) I have difficulties to always obtain the same size of fonts when using <ul> or <ol> and other little mistakes.

I was wondering if some one has tried successfully to obtain the same thing and could share his .css and.html templates ?

edit retag flag offensive close merge delete