quarto-dev / quarto-dev/quarto-cli

Support for wrapfigure

Open
#376 15 comments 18 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.