quarto-dev / quarto-dev/quarto-cli
Support for wrapfigure
Open
Nobody has claimed this yet.
enhancement
latex
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Description
I have some use case where I need the figure to be wrapped within the text.
I can achieve this with:
\begin{wrapfigure}{R}{6cm}
\centering
\includegraphics[width=5.5cm]{a.jpg}
\end{wrapfigure}
but it would be very handy to have it natively supported for both HTML and pdf output.
HTML could simple use float css property.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the wrapfigure example and the requested HTML float behavior, then trace how Quarto produces HTML and PDF output. Done means wrapfigure-style figures are supported natively in both output formats, with the expected right-side wrapping and width behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, html, latex
- Domain
- documentation, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100