Yesterday @M42, a good friend of mine told me there was a partial solution to render equations in Telegram Desktop, ChatJax, a code line that inserts a
<script> html tag in the current page’s
<head>, allowing sent code in a Telegram Desktop Window to render. This could be saved as a handy boomark and be executed every time we’d like to render sent equations.
However, this had a big problem, appart from the obvious necessity of clicking the boomark every time we’d like to use it. If we started to use it in an open conversation, it would render the sent equations properly, but from now on, it would also try to render all non sent equations, producing a (curious) unwanted result.
Unsent already rendered
Sent as a rare encoding
So I started finding a solution, and after one hour of trying to make this code work automatically (with
GreaseMonkey), once started the browser, and realizing that I have to target only a part of the Telegram Desktop Window to be rendered, I arrived to an useful MathJax Documentation about doing so with
MathJax.Hub.Queue and it worked out!.
I’ve written a public
gist here with a
GreaseMonkey extension to render equations properly in Telegram Desktop. I’ve only given it a try in
Firefox, and it works well!.
To download it,
GreaseMonkey extension must be installed in the current browser, and it suffices to click
Raw from the
gist page, and it will pop up a confirmation to install it as an user script. To write inline , use a simple
$. To write centered , use
The script is also available from
A week ago, we were asked in Fourier Series class to find a counterexample to prove that norms aren’t equivalent in vector space .
The definition for this space is:
The norm based on the dot product is:
We can define another norm as: . It’s easy to prove that it’s a norm.
Let , with for all .
We remember that for those two norms to be equivalent in (vector space), there have to be , verifying that: .
So we arrived at a contradiction.
subscribe via RSS