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

LaTex magic doesn't work from a python file #3420

Closed
karthiknadig opened this issue May 1, 2019 · 3 comments
Closed

LaTex magic doesn't work from a python file #3420

karthiknadig opened this issue May 1, 2019 · 3 comments
Assignees

Comments

@karthiknadig
Copy link
Member

Environment data

  • VS Code version: 1.33.1
  • Extension version (available under the Extensions sidebar): 2019.4.12594
  • OS and version: windows 10
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.3
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
  • Relevant/affected Python packages and their versions: jupyter

Expected behaviour

image

Actual behaviour

image

Steps to reproduce:

Run the following cell

#%%latex
\frac1c

Looks like it is not passing the %%latex magic correctly.

@rchiodo
Copy link
Contributor

rchiodo commented May 9, 2019

I don't believe this has ever worked? Didn't realize this was a way to enter 'latex' mode. I thought it used $$, like so:

#%% [markdown]
# I like $$c = \sqrt{a^2 + b^2}$$
# $$
# H← ​​​60 ​+​ \frac{​​30(B−R)​​}{Vmax−Vmin}  ​​, if V​max​​ = G
# $$

@rchiodo
Copy link
Contributor

rchiodo commented May 9, 2019

Strange that it works from the input box though.

@karthiknadig
Copy link
Member Author

@rchiodo rchiodo changed the title LaTex cells don't run with the latest extension LaTex magic doesn't work from a python file May 13, 2019
@rchiodo rchiodo self-assigned this May 23, 2019
@rchiodo rchiodo closed this as completed Aug 6, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Aug 14, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants