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

Background images #159

Closed
tobiasBora opened this issue Nov 29, 2021 · 1 comment
Closed

Background images #159

tobiasBora opened this issue Nov 29, 2021 · 1 comment
Labels
duplicate issue This issue or pull request already exists

Comments

@tobiasBora
Copy link

In order to visually make difference between cells containing positive or negative values, I wanted to put behind my text an image (like a green tick or a red cross). I guess I can do that by inserting tikz into my cell, but I would need to be quite careful not to break the spacing or to handle lines with multiple columns.

Would it be possible to implement background images? Ideally it would be possible to have different modes, depending on whether I want to:

  1. have an image of fixed size, positioned at the center of the cell and cropped if going out of the cell (ideally, one may be able to shift/scale the position in term of percentage of the cell, change the anchor...)
  2. have an image stretched in both direction to fit the cell (even if I need to lose my aspect ratio)
  3. have an image stretched in both direction, but maintaining the aspect ratio, ensuring the image fits inside the cell
  4. have an image stretched in both direction, but maintaining the aspect ratio, ensuring the image fills all the cell
  5. an "expert mode", where the user is just provided tikz anchors for the 4 corners of the cell, and then could do any drawing.

Thanks a lot!

@lvjr lvjr added the future plan 🚀 Something for the future label Jan 28, 2022
@lvjr
Copy link
Owner

lvjr commented Dec 19, 2024

This will be addressed with tikz library (see issue #29).

@lvjr lvjr added duplicate issue This issue or pull request already exists and removed future plan 🚀 Something for the future labels Dec 19, 2024
@lvjr lvjr closed this as not planned Won't fix, can't repro, duplicate, stale Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate issue This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants