Inline math preview does not use document colour

Open
#2,154 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp, latex
Domain
desktop, frontend

Research direction

Reproduce the inline math preview on TeXstudio 4.2.2 with \color{white} and \pagecolor{darkgray}, using the reported macOS and Qt environment if available. Trace the inline preview handling and verify that the preview uses the document text colour while preserving the dark page colour; no source file or test is named in the issue.

Written by the indexing model from the issue text.

Description

bug help wanted
Environment
  • TeXstudio: 4.2.2
  • Qt: 6.2.2
  • OS: MacOS 12.2.1
  • TeX distribution: texlive 2021
Expected behaviour

Inline preview of maths should check what colour has been set for the entire document.
image

Actual behaviour

TeXstudio ignores \color{white} while observing \pagecolor{darkgray}.

image

Dominant language
C++
Stars
3.6k
Forks
403
Avg merge
3h 14m
Merged PRs (30d)
12

Contributor guide

No contributing guide indexed for this repository

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.

More from texstudio-org/texstudio

All issues in texstudio-org/texstudio

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.