summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/thucoursework
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-02-24 03:01:26 +0000
committerNorbert Preining <norbert@preining.info>2020-02-24 03:01:26 +0000
commit33f4ae660b866731387e4c21e528aaa283009d6c (patch)
treec1f1449987542917a209c7e108a1a48f81fc70e3 /macros/latex/contrib/thucoursework
parent0908ef0004729f1b45b8d9687656f2f92fc122ae (diff)
CTAN sync 202002240301
Diffstat (limited to 'macros/latex/contrib/thucoursework')
-rw-r--r--macros/latex/contrib/thucoursework/Makefile4
-rw-r--r--macros/latex/contrib/thucoursework/README.md7
-rw-r--r--macros/latex/contrib/thucoursework/iihw.pdfbin309084 -> 236503 bytes
-rw-r--r--macros/latex/contrib/thucoursework/iihw.tex5
-rw-r--r--macros/latex/contrib/thucoursework/ithw.pdfbin83095 -> 70284 bytes
-rw-r--r--macros/latex/contrib/thucoursework/pdf_normal.pdfbin0 -> 14966 bytes
-rw-r--r--macros/latex/contrib/thucoursework/thucoursework.dtx9
-rw-r--r--macros/latex/contrib/thucoursework/thucoursework.pdfbin252421 -> 224213 bytes
8 files changed, 14 insertions, 11 deletions
diff --git a/macros/latex/contrib/thucoursework/Makefile b/macros/latex/contrib/thucoursework/Makefile
index 2872ec98f5..a3097a8184 100644
--- a/macros/latex/contrib/thucoursework/Makefile
+++ b/macros/latex/contrib/thucoursework/Makefile
@@ -24,7 +24,7 @@ after_install_dep: install_dep
$(eval export PATH :=$(PLATFORM3)/texlive/bin/$(PLATFORM2):$(PATH))
echo $$PATH
# to make tlmgr work, we need perl
- tlmgr install xkeyval matlab-prettifier caption doublestroke xcolor listings l3kernel l3packages ms ulem fontspec environ trimspaces booktabs moreenum mathtools oberdiek enumitem fmtcount etoolbox latex-bin
+ tlmgr install xkeyval matlab-prettifier caption doublestroke xcolor listings l3kernel l3packages ms ulem fontspec environ trimspaces booktabs moreenum mathtools oberdiek enumitem fmtcount etoolbox latex-bin alphalph
install_dep: pre_install_dep
mkdir -p $(INSTALL_DIR)
tar -zxvf $(INSTALL_PACKAGE) -C $(INSTALL_DIR) --strip-components 1
@@ -46,7 +46,7 @@ ithw.pdf: ithw.tex after_install_dep
archive:
# make tar.gz which is submitted to ctan.org
# first copy the necessary files to the dist dir
- cp README.md iihw.pdf ithw.pdf iihw.tex ithw.tex matlabscript.m pdf_normal.eps thucoursework.dtx thucoursework.pdf Makefile thucoursework/
+ cp README.md iihw.pdf ithw.pdf iihw.tex ithw.tex matlabscript.m pdf_normal.pdf thucoursework.dtx thucoursework.pdf Makefile thucoursework/
# then tar it
COPYFILE_DISABLE=1 tar -zcvf thucoursework.tar.gz thucoursework/
doc : $(PACKAGE).pdf
diff --git a/macros/latex/contrib/thucoursework/README.md b/macros/latex/contrib/thucoursework/README.md
index 5791713aee..61c7c82949 100644
--- a/macros/latex/contrib/thucoursework/README.md
+++ b/macros/latex/contrib/thucoursework/README.md
@@ -1,5 +1,6 @@
# THU coursework Template
-[![Build Status](https://www.travis-ci.org/zhaofeng-shu33/THU-coursework-template.svg?branch=master)](https://www.travis-ci.org/zhaofeng-shu33/THU-coursework-template)
+[![Build Status](https://travis-ci.com/zhaofeng-shu33/THU-coursework-template.svg?branch=master)](https://travis-ci.com/zhaofeng-shu33/THU-coursework-template)
+
LaTeX package for students in Tsinghua University to write coursework more efficiently, also can be used by students from other university.
Notice that the package itself does not import ctex package, to use it with Chinese writing, see example file `ithw.tex` for detail.
@@ -39,9 +40,9 @@ Use `make doc` or run the following commands one by one:
## Contributors
- TA xiangxiangxu revised this template, zhaofeng-shu33 made it a latex package.
+ [Xiangxiang Xu](https://xiangxiangxu.com/) revised this template, zhaofeng-shu33 made it a latex package.
## License
- see [LICENSE.md](LICENSE.md) for detail.
+ This project is licensed by The LaTeX Project Public Li­cense.
diff --git a/macros/latex/contrib/thucoursework/iihw.pdf b/macros/latex/contrib/thucoursework/iihw.pdf
index a9582fec98..3a084a0d34 100644
--- a/macros/latex/contrib/thucoursework/iihw.pdf
+++ b/macros/latex/contrib/thucoursework/iihw.pdf
Binary files differ
diff --git a/macros/latex/contrib/thucoursework/iihw.tex b/macros/latex/contrib/thucoursework/iihw.tex
index b444b3d01b..6ed3e7f06c 100644
--- a/macros/latex/contrib/thucoursework/iihw.tex
+++ b/macros/latex/contrib/thucoursework/iihw.tex
@@ -9,7 +9,6 @@
\usepackage{moreenum}
\usepackage{mathtools}
\usepackage{url}
-\usepackage[outdir=./]{epstopdf}
\usepackage{graphicx}
\usepackage{subcaption}
\usepackage{booktabs} % toprule
@@ -36,7 +35,7 @@
\rule{\textwidth}{1pt}
\begin{itemize}
\item {\bf Acknowledgments: \/}
- This template takes some materials from course CSE 547/Stat 548 of Washington University: \small{\url{https://courses.cs.washington.edu/courses/cse547/17sp/index.html}}.
+ This template takes some materials from course CSE 547/Stat 548, University of Washington: \small{\url{https://courses.cs.washington.edu/courses/cse547/17sp/index.html}}.
If you refer to other materials in your homework, please list here.
\item {\bf Collaborators: \/}
@@ -120,7 +119,7 @@ You may use \texttt{enumerate} to generate answers for each question:
\item You may need to add figure and source codes in your homework. Figure \ref{fig:1} is an example that compares the empirical distribution (histogram) and probability density function of the Gaussian random variable.
\begin{figure}[htbp]
\centering
- \includegraphics[width = 0.8\textwidth]{pdf_normal.eps}
+ \includegraphics[width = 0.8\textwidth]{pdf_normal.pdf}
\caption{Gaussian PDF and histogram of samples}
\label{fig:1}
\end{figure}
diff --git a/macros/latex/contrib/thucoursework/ithw.pdf b/macros/latex/contrib/thucoursework/ithw.pdf
index 17a80e5757..2007701e93 100644
--- a/macros/latex/contrib/thucoursework/ithw.pdf
+++ b/macros/latex/contrib/thucoursework/ithw.pdf
Binary files differ
diff --git a/macros/latex/contrib/thucoursework/pdf_normal.pdf b/macros/latex/contrib/thucoursework/pdf_normal.pdf
new file mode 100644
index 0000000000..708a1568b7
--- /dev/null
+++ b/macros/latex/contrib/thucoursework/pdf_normal.pdf
Binary files differ
diff --git a/macros/latex/contrib/thucoursework/thucoursework.dtx b/macros/latex/contrib/thucoursework/thucoursework.dtx
index d7b7dd509f..7aa62a8bf5 100644
--- a/macros/latex/contrib/thucoursework/thucoursework.dtx
+++ b/macros/latex/contrib/thucoursework/thucoursework.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% Copyright (C) 2018 by zhaofeng-shu33 <616545598@qq.com>
+% Copyright (C) 2020 by zhaofeng-shu33 <616545598@qq.com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -56,7 +56,7 @@ through LaTeX.
\endgroup
%</internal>
%<*driver>
-\ProvidesFile{thucoursework.dtx}[2018/05/20 2.5 Tsinghua University Coursework Template]
+\ProvidesFile{thucoursework.dtx}[2020/02/23 2.5.1 Tsinghua University Coursework Template]
\documentclass{ltxdoc}
\usepackage{dtx-style}
@@ -389,6 +389,7 @@ through LaTeX.
% 感谢师兄徐祥祥的最初的作业模板设计, \textsc{Thu}\-\textsc{Thesis} 宏包的文档源码。
% \changes{v2.4}{2018/04/09}{[\zhaofeng] finish the chinese pdf manual}
% \changes{v2.5}{2018/05/20}{[\zhaofeng] make documentation more compact by including \texttt{dtx-style.sty} in the \texttt{dtx} file itself.}
+% \changes{v2.5.1}{2020/02/23}{[\zhaofeng] remove dtx-style source code from manual}
% \StopEventually{\PrintChanges\PrintIndex}
% \clearpage
%
@@ -400,7 +401,7 @@ through LaTeX.
%<*sty>
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{iidef}
-[2018/04/09 2.4 Tsinghua University Coursework Template]
+[2020/02/23 2.5.1 Tsinghua University Coursework Template]
% \end{macrocode}
% \subsection{装载宏包}
% \label{sec:loadpackage}
@@ -561,6 +562,7 @@ through LaTeX.
%%************************************************************************************
%</sty>
% \end{macrocode}
+% \iffalse
% \begin{macrocode}
%<*dtx-style>
\ProvidesPackage{dtx-style}
@@ -674,6 +676,7 @@ through LaTeX.
\endinput
%</dtx-style>
% \end{macrocode}
+% \fi
% \Finale
%
\endinput
diff --git a/macros/latex/contrib/thucoursework/thucoursework.pdf b/macros/latex/contrib/thucoursework/thucoursework.pdf
index a22254b625..ea6c3ddde0 100644
--- a/macros/latex/contrib/thucoursework/thucoursework.pdf
+++ b/macros/latex/contrib/thucoursework/thucoursework.pdf
Binary files differ