Skip to content

Commit

Permalink
增加 changes 宏包使用示例;Close #71
Browse files Browse the repository at this point in the history
  • Loading branch information
sikouhjw committed May 31, 2022
1 parent 37b4f79 commit 05c14e3
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ main.pdf
*.tec
example/*.pdf
test.*
*.loc

## Intermediate documents:
*.dvi
Expand Down
22 changes: 22 additions & 0 deletions example/changes.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
\documentclass{../gdutthesis}

\usepackage[commentmarkup=uwave, authormarkup=brackets, authormarkuptext=name]{changes}
\definechangesauthor[name=Prof. Li Si, color=red]{LiSi}

\gdutsetup{
style/cover = {false},
}

\begin{document}
test \added[id=LiSi]{new text}

test \added[id=LiSi, comment=comment 1]{new text}

test \deleted[id=LiSi, comment=comment 2]{old text}

test \replaced[id=LiSi, comment=comment 3]{new text}{old text}

test \highlight[id=LiSi, comment=comment 4]{text}

test \comment[id=LiSi]{comment 5}
\end{document}

0 comments on commit 05c14e3

Please sign in to comment.