Skip to content
Discussion options

You must be logged in to vote

The only solution is to decrease font size, or to avoid having wide tables in the first place.
There is not auto-resize in LaTeX.
You have to do that yourself.
See an example (and one way amongst others) below.

---
title: "Quarto Playground"
format: pdf
---


`{\tiny`{=latex}

```{python}
#| echo: false
import pandas as pd
# Global parameters
GEO_NAME = "Bronx"
SUBSTANCE_NAME = "Ozone (O3)"
AIR_QUALITY_LINK = "https://data.cityofnewyork.us/api/views/c3uy-2p5r/rows.csv?accessType=DOWNLOAD"
# Read data
df = pd.read_csv(AIR_QUALITY_LINK)
df.head(10)
```

`}`{=latex}

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mahdikooshkbaghi
Comment options

@mcanouil
Comment options

mcanouil Jun 8, 2023
Collaborator

@mcanouil
Comment options

Answer selected by mahdikooshkbaghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
jupyter latex LaTeX engines related libraries and technologies computations
2 participants