summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-12-11 22:29:13 +0000
committerKarl Berry <karl@freefriends.org>2016-12-11 22:29:13 +0000
commitd37c6883e597645a04f685a5e473402cd4ff9944 (patch)
tree0b355f4d891e0807eae36cf0c6e6ef241fc7cda6 /Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex
parent0df6dc0d707011cb72a49784ac75db416893c449 (diff)
cquthesis (11dec16)
git-svn-id: svn://tug.org/texlive/trunk@42676 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex')
-rw-r--r--Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex b/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex
index ba542bc4e45..a73b099d2cd 100644
--- a/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex
+++ b/Master/texmf-dist/doc/latex/cquthesis/contents/appendix.tex
@@ -51,6 +51,26 @@ lengthSummary.to_csv('lengthSummary.csv')
\end{Python}
+以下是一段供排版测试的C++源代码:
+
+\begin{C++}
+#include <vector>
+#include <algorithm>
+#include <iterator>
+std::vector<int> target2(5);
+std::vector<int> target3;
+template <typename RangeOfInts>
+void foo(RangeOfInts source)
+{
+ std::vector<int> target1{std::begin(source),
+ std::end(source)};
+ std::copy(std::begin(source), std::end(source),
+ std::begin(target2));
+ std::copy(std::begin(source), std::end(source),
+ std::back_inserter(target3));
+}
+\end{C++}
+
\section{附录的图和表}
以下内容用来测试附录中的插图和插表是否正常,主要的关注点在题注: