jerabaul29 / example_latex_template_manuscript

an example template for latex manuscripts
3 stars 0 forks source link

Show deleted figures in the diff.pdf file? #1

Open paulina-t opened 1 year ago

paulina-t commented 1 year ago

When I add a new figure to template_basic.tex, it appears with a blue frame in diff.pdf. However, when I remove the figure from template_basic.tex, only the old caption of the figure is marked in diff.pdf, not the figure itself. Is it possible to show the figure with a red frame?

jerabaul29 commented 1 year ago

I am not sure, I have not thought about this before. The issue then is that you would have lots of space taken up by old unused pictures. Maybe you can check in the doc (latexdiff -h or man latexdiff), and or ask on stack overflow? :)

paulina-t commented 1 year ago

Seems like you can specify that: --graphics-markup=level Change highlight style for graphics embedded with C<\includegraphics> commands.

"both" or 2: highlight new figures with a blue frame and show deleted figures at reduced scale, and crossed out with a red diagonal cross. Use configuration variable SCALEDELGRAPHICS to set size of deleted figures.

https://manpages.ubuntu.com/manpages/bionic/man1/latexdiff.1.html

jerabaul29 commented 1 year ago

If you want to push an update to the Readme through a pull request feel free :) .