Skip to content
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

How to display latex #108

Open
TornaxO7 opened this issue Jun 25, 2021 · 2 comments
Open

How to display latex #108

TornaxO7 opened this issue Jun 25, 2021 · 2 comments

Comments

@TornaxO7
Copy link

Hello! I'm trying to display the abc-formula in LaTeX. Currently my file looks like that:

---
title: LaTeX test slide
author: TornaxO7
patat:
    pandocExtensions:
        - patat_extensions
        - autolink_bare_uris
        - tex_math_dollars
        - latex_macros
        - tex_math_single_backslash
        - tex_math_double_backslash
        - raw_tex
...

$$
x_{1/2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
$$

But I'm not getting the desired output:

image

I ran it with patat /tmp/test.md. Do you have an idea how I can fix that?

@CobSammich
Copy link

Did you ever manage to figure this out? @TornaxO7

@jaspervdj
Copy link
Owner

This is not supported currently. I'm open to adding it but it's a little complex as it will need an external process to render it, and furthermore the terminal will need to support images. We support images already, but only full-slide ones, and in this case you would want text+images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants