-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wip fix equations #326
wip fix equations #326
Conversation
Signed-off-by: artivis <jeremie.deray@canonical.com>
Hi @joansola, I'm fixing the equations in the README using plain markdown - it now supports some latex-like math - see the branch |
So, I went ahead and did just that. Have a look at this PR and let me know if that works for you. |
Yes it looks good! I think then that the ´group elements´column should also be passed to latex! I´ll do it right away. |
Done. @artivis see how it looks and for me this PR is ready. |
BTW @artivis did you check that the order in those tangent elements is OK with the actual order in manif? I think they are OK but I think you know better than me. |
I'll double check before the final merge 👍 |
@artivis the \usepackage{bm} ? |
Signed-off-by: artivis <jeremie.deray@canonical.com>
What are you looking at? The README on github or the website locally? |
Ok I've seen the |
I'll replace |
@joansola if this pr is fine with you, I'll go on and merge to the other pr which in turn will be merge as well to release the new doc website. |
Same happens in: Ubuntu Firefox so it's maybe a GitHub markdown issue. It works fine on the vscode markdown renderer. |
The bold issue is not at all essential. I just wanted to idfferentiate scalars from vectors. But we can remove them all from the greek symbols if this works. However, I tried to do so with the matrix Q, and it did not solve the not-rendering issue. |
OK I got it to work. the underscore '_' got scaped to mean "italic" and not subindex. I used "\_" instead of "_" in the matrix Q, and now it works. I remember this happened again to me sometime in Github using mathjax. |
I think this is not a neat solution, but it renders OK on firefox now. It does not render well in vscode (now the underscore is visible, and the symbols are not sub-indexed), but htis is tolerable. I doubt whether to validate this PR or not. What do you think? Any chance of having these underscores correctly interpreted by Github and/or mathjax? |
Oh, one thing to try (I have no time now): the underscore issue happens when there are two underscores in one same line, since someone there interprets what's in between as an italics indicator. Therefore, the solution is to breat the code of the matrix Q into a lot of different lines, each one containing only one underscore:
etc |
The solution for this particular equation is to use the Edit: Your last suggestion doesn't work unfortunately. |
I finally came across another workaround, using a trailing space after the underscore as suggested here. This renders fine on gh, vscode and the doc website. |
The matrix |
No description provided.