Move pkulogo/pkuword to tex/.

This commit is contained in:
Casper Ti. Vector 2014-04-16 19:35:48 +08:00
parent 0aa6fced88
commit c7e637c4cc
13 changed files with 22 additions and 84 deletions

View File

@ -24,9 +24,6 @@ if "%1"=="doc" goto doc
if "%1"=="clear" (goto clear) else (goto usage)
:doc
cd img
call Make.bat
cd ..
%LATEX% %JOBNAME%
%BIBTEX% %JOBNAME%
%DOGBK2UNI%

View File

@ -37,14 +37,6 @@ else
RM = del
endif
all: img_ doc
img_:
cd img && $(MAKE)
img-clean:
cd img && $(MAKE) clean
doc:
$(LATEX) $(JOBNAME)
$(BIBTEX) $(JOBNAME)
@ -57,6 +49,6 @@ clean:
$(RM) $(JOBNAME).{aux,bbl,bcf,blg,dvi,lof,log,lot,run.xml,toc,out{,.bak}} \
{missfont,texput}.log chap/*.aux
distclean: clean img-clean
distclean: clean
$(RM) $(JOBNAME).pdf

View File

@ -1,27 +0,0 @@
@echo off
@rem vim:ts=4:sw=4
@rem
@rem Copyright (c) 2008-2009 solvethis
@rem Copyright (c) 2010-2012,2014 Casper Ti. Vector
@rem Public domain.
set PS2PDF=ps2pdf -dEPSCrop
if "%1"=="" goto pdf
if "%1"=="clean" (goto clean) else (goto usage)
:pdf
%PS2PDF% pkulogo.eps pkulogo.pdf
%PS2PDF% pkuword.eps pkuword.pdf
goto end
:clean
del pkulogo.pdf pkuword.pdf
goto end
:usage
echo %0 [pdf] [clean]
:end

View File

@ -1,30 +0,0 @@
# vim:ts=4:sw=4
#
# Copyright (c) 2008-2009 solvethis
# Copyright (c) 2010-2012,2014 Casper Ti. Vector
# Public domain.
# 直接使用 pkulogo.eps 作为论文封面图片也是可行的,
# 因为它使用的 Times-Bold 字体一般操作系统都有。
# 这样用 LaTeX + dvipdfm 或 XeLaTeX 方式是可以编译成功的。
# 可以使用 ghostscript 将 eps 文件转换为 和 pdf 格式,
# 则 pdfLaTeX 方式也可以编译成功。
PDFS = pkulogo.pdf pkuword.pdf
PS2PDF = ps2pdf -dEPSCrop
# 区分是 Windows 环境还是类 UNIX 环境。
ifdef PATH
RM = rm -f
else
RM = del
endif
all: $(PDFS)
%.pdf: %.eps
$(PS2PDF) $< $@
clean:
$(RM) $(PDFS)

View File

@ -19,14 +19,6 @@ ifeq ($(LATEX), pdflatex)
DOGBK2UNI = $(GBK2UNI) $(JOBNAME)
endif
all: img_ doc
img_:
cd img && $(MAKE)
img-clean:
cd img && $(MAKE) clean
doc:
$(LATEX) $(JOBNAME)
$(BIBTEX) $(JOBNAME)
@ -39,6 +31,6 @@ clean:
$(RM) $(JOBNAME).{aux,bbl,bcf,blg,dvi,lof,log,lot,run.xml,toc,out{,.bak}} \
{missfont,texput}.log chap/*.aux
distclean: clean img-clean
distclean: clean
$(RM) $(JOBNAME).pdf

View File

@ -125,7 +125,7 @@
\begin{figure}[htbp!]
\centering
\includegraphics[width = 0.5\textwidth]{img/pkuword}
\includegraphics[width = 0.5\textwidth]{pkuword}
\caption{示例插图}\label{fig:example}
\end{figure}

View File

@ -1 +0,0 @@
../../example/img/Makefile

View File

@ -1 +0,0 @@
../../example/img/pkulogo.eps

View File

@ -1 +0,0 @@
../../example/img/pkuword.eps

17
tex/Makefile Normal file
View File

@ -0,0 +1,17 @@
# vim:ts=4:sw=4
#
# Copyright (c) 2008-2009 solvethis
# Copyright (c) 2010-2012,2014 Casper Ti. Vector
# Public domain.
PDFS = pkulogo.pdf pkuword.pdf
PS2PDF = ps2pdf -dEPSCrop
all: $(PDFS)
%.pdf: %.eps
$(PS2PDF) $< $@
clean:
$(RM) $(PDFS)

View File

@ -206,8 +206,8 @@
% Emblem and inscription of the university, and type of thesis.
{
\zihao{1}%
\includegraphics[height = 2.4em]{img/pkulogo}\hspace{0.4em}%
\raisebox{0.4em}{\includegraphics[height = 1.6em]{img/pkuword}}\\[0.8em]
\includegraphics[height = 2.4em]{pkulogo}\hspace{0.4em}%
\raisebox{0.4em}{\includegraphics[height = 1.6em]{pkuword}}\\[0.8em]
{\bfseries{\cthesisname}}
}
\vfill