mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 14:02:44 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
21
tldr/latexdiff
Normal file
21
tldr/latexdiff
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# latexdiff
|
||||
|
||||
> Determine differences between two LaTeX files.
|
||||
> More information: <https://ctan.org/pkg/latexdiff>.
|
||||
|
||||
- Determine changes between different versions of a LaTeX file (the resulting LaTeX file can be compiled to show differences underlined):
|
||||
|
||||
`latexdiff {{old.tex}} {{new.tex}} > {{diff.tex}}`
|
||||
|
||||
- Determine changes between different versions of a LaTeX file by highlighting differences in boldface:
|
||||
|
||||
`latexdiff --type=BOLD {{old.tex}} {{new.tex}} > {{diff.tex}}`
|
||||
|
||||
- Determine changes between different versions of a LaTeX file, and display minor changes in equations with both added and deleted graphics:
|
||||
|
||||
`latexdiff --math-markup=fine --graphics-markup=both {{old.tex}} {{new.tex}} > {{diff.tex}}`
|
||||
Reference in New Issue
Block a user