Strings with indices of more than one character are now also visualized correctly

Description

Indices or subscripts with more than one character have previously been visualized wrong. This is now fixed, if this small extension is used.

Related Issue(s)

  • /

Other Changes

  • /

Screenshots/Logs

  • Without correction:

image

  • With correction:

image

Testing Instructions

  1. Lookup where you have a plot with a wrong indices subscript behavior
  2. #include <standardFiles/functions.h> in the respective file, where you generate the plot
  3. Replace the string to be visualized e.g from theString to stringForTex(theString)
  4. Regenerate plot / Execute tool

Developer Checklist

  • Code has been tested locally and/or in pipeline.
  • (if applicable) documentation updated.
  • (if applicable) impact of new dependencies reviewed and included in project.
  • Merge conflicts resolved with the target branch.

Additional Notes

Add any information reviewers should focus on, e.g., specific files, functions, or changes of interest.

Merge request reports

Loading