Microsoft/vscode
View on GitHubLatex rendering not working as expected in Python notebook
Open
#243,524 opened on Mar 14, 2025
bughelp wantednotebook-markdown
Description
Type: Bug
Latex rendering is not working as expected on Python notebook.
This (above) is an example of the code I am trying to render working properly in Google Colab
This (above) is the same code that does not render properly on VS Code within a Python notebook
Workaround (above): Wrapping the Latex with $ is a workaround for VS Code. This should not be necessary once we specify IPython.Latex as the formatter for display.
VS Code version: Code 1.98.1 (2fc07b811f760549dab9be9d2bedd06c51dfcb9a, 2025-03-10T15:38:08.854Z) OS version: Windows_NT x64 10.0.26100 Modes:
| Item | Value |
|---|---|
| CPUs | Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz (32 x 2095) |
| GPU Status | 2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: enabled_onopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_softwarewebgpu: unavailable_softwarewebnn: unavailable_software |
| Load (avg) | undefined |
| Memory (System) | 127.90GB (113.96GB free) |
| Process Argv | . --crash-reporter-id 5a44fd3f-35ca-43ee-a98e-30579413cc3d |
| Screen Reader | no |
| VM | 0% |
| Extension | Author (truncated) | Version |
|---|---|---|
| copilot | Git | 1.284.0 |
| copilot-chat | Git | 0.25.1 |
| csdevkit | ms- | 1.16.6 |
| csharp | ms- | 2.63.32 |
| vscode-dotnet-runtime | ms- | 2.2.8 |
| debugpy | ms- | 2025.4.1 |
| python | ms- | 2025.2.0 |
| vscode-pylance | ms- | 2025.3.2 |
| jupyter | ms- | 2025.2.0 |
| jupyter-keymap | ms- | 1.1.2 |
| jupyter-renderers | ms- | 1.1.0 |
| vscode-jupyter-cell-tags | ms- | 0.1.9 |
| vscode-jupyter-slideshow | ms- | 0.1.6 |
| makefile-tools | ms- | 0.12.17 |
| powershell | ms- | 2025.0.0 |
| qsharp-lang-vscode | qua | 1.14.0 |
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
h48ei257:31000450
pythontbext0:30879054
cppperfnew:31000557
dwnewjupyter:31046869
nativerepl1:31139838
pythonrstrctxt:31112756
nativeloc1:31192215
iacca1:31171482
5fd0e150:31155592
dwcopilot:31170013
6074i472:31201624
dwoutputs:31242946
customenabled:31248079
9064b325:31222308
copilot_t_ci:31222730
f5992895:31254866
jda6j935:31233686
bgcontrol:31256531
4gafe986:31254489
31787653:31256342