├── .devcontainer ├── Dockerfile └── devcontainer.json ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .vscode └── settings.json ├── LICENSE ├── Makefile ├── README.md ├── bibtex-style ├── gbt7714-2005.bst ├── sysuthesis.bst └── sysuthesis2.bst ├── code └── demo.cpp ├── ctex-fontset-adobe2.def ├── docs ├── abstract.tex ├── ack.tex ├── appendix1.tex ├── chap01.tex ├── chap02.tex ├── chap03.tex ├── chap04.tex ├── chap05.tex ├── disclaim.tex ├── grading.tex ├── info.tex ├── progress.tex └── proposal.tex ├── fonts └── init_fonts.sh ├── image ├── appendix1 │ ├── 1 │ │ ├── 2007_000042.png │ │ ├── 2007_000663.png │ │ ├── 2009_004579.png │ │ ├── 2011_000813.png │ │ ├── 2011_001159.png │ │ ├── 2011_003145.png │ │ └── 2011_003256.png │ ├── 3 │ │ ├── 2007_000042.png │ │ ├── 2007_000663.png │ │ ├── 2009_004579.png │ │ ├── 2011_000813.png │ │ ├── 2011_001159.png │ │ ├── 2011_003145.png │ │ └── 2011_003256.png │ ├── 5 │ │ ├── 2007_000042.png │ │ ├── 2007_000663.png │ │ ├── 2009_004579.png │ │ ├── 2011_000813.png │ │ ├── 2011_001159.png │ │ ├── 2011_003145.png │ │ └── 2011_003256.png │ ├── 2007_000042.jpg │ ├── 2007_000042.png │ ├── 2007_000663.jpg │ ├── 2007_000663.png │ ├── 2009_004579.jpg │ ├── 2009_004579.png │ ├── 2011_000813.jpg │ ├── 2011_000813.png │ ├── 2011_001159.jpg │ ├── 2011_001159.png │ ├── 2011_003145.jpg │ ├── 2011_003145.png │ ├── 2011_003256.jpg │ └── 2011_003256.png ├── chap03 │ ├── overleaf-config.jpg │ ├── overleaf-create-proj.jpg │ ├── overleaf-example.jpg │ ├── overleaf-upload-proj.jpg │ └── vscode-example.png ├── chap04 │ ├── colorbar.png │ ├── combine.eps │ ├── confusion.eps │ ├── confusion.pdf │ ├── example │ │ ├── 2007_000799.jpg │ │ ├── 2007_000799.pdf │ │ ├── 2007_002094.jpg │ │ ├── 2007_002094.pdf │ │ ├── 2007_003194.jpg │ │ ├── 2007_003194.pdf │ │ ├── 2007_004483.jpg │ │ └── 2007_004483.pdf │ ├── illustration │ │ ├── hole.pdf │ │ ├── neighboring.pdf │ │ ├── network1.pdf │ │ └── networkstructure.pdf │ ├── improvement │ │ ├── 2007_000663.jpg │ │ ├── 2007_000663.png │ │ ├── 2007_000663_1.png │ │ ├── 2007_000663_2.png │ │ ├── 2007_000663_3.png │ │ ├── 2007_000663_4.png │ │ └── 2007_000663_5.png │ └── result │ │ ├── compare │ │ ├── 2007_003349.jpg │ │ ├── 2007_003349.png │ │ ├── 2007_004241.jpg │ │ ├── 2007_004241.png │ │ ├── 2007_005173.jpg │ │ ├── 2007_005173.png │ │ ├── 2007_005331.jpg │ │ ├── 2007_005331.png │ │ ├── 2007_006678.jpg │ │ ├── 2007_006678.png │ │ ├── 2009_004507.jpg │ │ ├── 2009_004507.png │ │ ├── 2010_005284.jpg │ │ ├── 2010_005284.png │ │ ├── compare_horse.odg │ │ ├── compare_sheep.odg │ │ ├── deeplab_bird.png │ │ ├── deeplab_bus.png │ │ ├── deeplab_dog.png │ │ ├── fcn_boat.png │ │ ├── fcn_horse.png │ │ ├── fcn_motor.png │ │ ├── fcn_sheep.png │ │ ├── gt_horse.pdf │ │ ├── gt_horse.png │ │ ├── gt_sheep.pdf │ │ ├── im_horse.pdf │ │ ├── im_sheep.pdf │ │ ├── my_bird.png │ │ ├── my_boat.png │ │ ├── my_bus.png │ │ ├── my_dog.png │ │ ├── my_horse.pdf │ │ ├── my_horse.png │ │ ├── my_motor.png │ │ ├── my_sheep.pdf │ │ ├── my_sheep.png │ │ ├── sds_boat.png │ │ ├── sds_horse.png │ │ ├── sds_motor.png │ │ ├── sds_sheep.png │ │ ├── zoom_bird.png │ │ ├── zoom_bus.png │ │ └── zoom_dog.png │ │ └── error │ │ ├── 2007_002539.jpg │ │ ├── 2007_002539.png │ │ ├── 2007_008964.jpg │ │ ├── 2007_008964.png │ │ ├── 2007_009088.jpg │ │ ├── 2007_009088.png │ │ ├── 2008_000673.jpg │ │ ├── 2008_000673.png │ │ ├── 2008_000763.jpg │ │ ├── 2008_000763.png │ │ ├── 2008_001580.jpg │ │ ├── 2008_001580.png │ │ ├── p_2007_002539.png │ │ ├── p_2007_008964.png │ │ ├── p_2007_009088.png │ │ ├── p_2008_000673.png │ │ ├── p_2008_000763.png │ │ └── p_2008_001580.png └── template │ ├── .DS_Store │ ├── SYSULogo.pdf │ ├── logo.png │ ├── readme.md │ └── sysu-logo.pdf ├── main.bib ├── main.tex ├── packages ├── algorithm2e.sty ├── algorithm2e.tex └── ctex-xecjk-adobefonts.def ├── pre.tex ├── specifications └── 附件1.中山大学本科生毕业论文(设计)写作与印制规范.doc └── sysuthesis.cls /.devcontainer/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM texlive/texlive:TL2022-historic 2 | 3 | # Install additional packages & fonts 4 | RUN apt-get update -y \ 5 | && \ 6 | apt-get install -y --no-install-recommends apt-transport-https ca-certificates software-properties-common \ 7 | && \ 8 | sed -i '/^\([^#].*main\)*$/s/main/& contrib non-free/' /etc/apt/sources.list \ 9 | && \ 10 | apt-get update -y \ 11 | && \ 12 | apt-get install --no-install-recommends -y ttf-mscorefonts-installer make fonts-arphic-ukai fonts-noto-cjk-extra \ 13 | && \ 14 | fc-cache 15 | 16 | ENV SHELL /bin/bash 17 | 18 | CMD ["/bin/bash"] -------------------------------------------------------------------------------- /.devcontainer/devcontainer.json: -------------------------------------------------------------------------------- 1 | { 2 | "build": { 3 | "dockerfile": "Dockerfile" 4 | }, 5 | "customizations": { 6 | "vscode": { 7 | "extensions": [ 8 | "ms-ceintl.vscode-language-pack-zh-hans", 9 | "james-yu.latex-workshop", 10 | "nickfode.latex-formatter" 11 | ] 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | # This is a basic workflow to help you get started with Actions 2 | 3 | name: test 4 | 5 | # Controls when the action will run. 6 | on: 7 | # Triggers the workflow on push or pull request events but only for the master branch 8 | push: 9 | branches: [master] # 其他分支可通过给 master 分支创建一个 WIP 的 PR 查看结果是否正确 10 | tags: ["v*"] 11 | pull_request: 12 | branches: [master] 13 | 14 | # Allows you to run this workflow manually from the Actions tab 15 | workflow_dispatch: 16 | 17 | # For softprops/action-gh-release 18 | permissions: 19 | contents: write 20 | discussions: write 21 | 22 | # A workflow run is made up of one or more jobs that can run sequentially or in parallel 23 | jobs: 24 | # This workflow contains a single job called "build" 25 | build: 26 | # The type of runner that the job will run on 27 | runs-on: ubuntu-latest 28 | container: 29 | image: texlive/texlive:TL2022-historic 30 | 31 | # Steps represent a sequence of tasks that will be executed as part of the job 32 | steps: 33 | # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it 34 | - uses: actions/checkout@v4 35 | 36 | - name: Compile 37 | run: | 38 | apt-get update -y 39 | apt-get install --no-install-recommends -y apt-transport-https ca-certificates software-properties-common 40 | sed -i '/^\([^#].*main\)*$/s/main/& contrib non-free/' /etc/apt/sources.list 41 | apt-get update -y 42 | apt-get install --no-install-recommends -y ttf-mscorefonts-installer make fonts-arphic-ukai fonts-noto-cjk-extra 43 | fc-cache 44 | make pdf 45 | mv main.pdf main.fandol.pdf 46 | sed -i 's| fontset=fandol,| fontset=ubuntu,|' sysuthesis.cls 47 | make pdf 48 | mv main.pdf main.ubuntu.pdf 49 | xelatex -shell-escape pre.tex 50 | xelatex -shell-escape pre.tex 51 | mv pre.pdf pre.fandol.pdf 52 | sed -i 's| fontset=fandol,| fontset=ubuntu,|' pre.tex 53 | xelatex -shell-escape pre.tex 54 | xelatex -shell-escape pre.tex 55 | mv pre.pdf pre.ubuntu.pdf 56 | 57 | - uses: actions/upload-artifact@v4 58 | with: 59 | path: | 60 | main.*.pdf 61 | pre.*.pdf 62 | 63 | - name: Release 64 | uses: softprops/action-gh-release@v2 65 | if: startsWith(github.ref, 'refs/tags/') 66 | with: 67 | files: | 68 | main.*.pdf 69 | pre.*.pdf 70 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | 3 | node_modules/ 4 | 5 | /.vscode 6 | /*.synctex.gz 7 | 8 | ## Core latex/pdflatex auxiliary files: 9 | *.aux 10 | *.lof 11 | *.log 12 | *.lot 13 | *.fls 14 | *.out 15 | *.toc 16 | *.fmt 17 | *.fot 18 | *.cb 19 | *.cb2 20 | .*.lb 21 | 22 | ## Intermediate documents: 23 | *.dvi 24 | *.xdv 25 | *-converted-to.* 26 | # these rules might exclude image files for figures etc. 27 | # *.ps 28 | # *.eps 29 | # *.pdf 30 | !template/image/sysu-logo.pdf 31 | 32 | ## Generated if empty string is given at "Please type another file name for output:" 33 | .pdf 34 | 35 | ## Bibliography auxiliary files (bibtex/biblatex/biber): 36 | *.bbl 37 | *.bcf 38 | *.blg 39 | *-blx.aux 40 | *-blx.bib 41 | *.run.xml 42 | 43 | ## Build tool auxiliary files: 44 | *.fdb_latexmk 45 | *.synctex 46 | *.synctex(busy) 47 | *.synctex.gz 48 | *.synctex.gz(busy) 49 | *.pdfsync 50 | 51 | ## Build tool directories for auxiliary files 52 | # latexrun 53 | latex.out/ 54 | 55 | ## Auxiliary and intermediate files from other packages: 56 | # algorithms 57 | *.alg 58 | *.loa 59 | 60 | # achemso 61 | acs-*.bib 62 | 63 | # amsthm 64 | *.thm 65 | 66 | # beamer 67 | *.nav 68 | *.pre 69 | *.snm 70 | *.vrb 71 | 72 | # changes 73 | *.soc 74 | 75 | # comment 76 | *.cut 77 | 78 | # cprotect 79 | *.cpt 80 | 81 | # elsarticle (documentclass of Elsevier journals) 82 | *.spl 83 | 84 | # endnotes 85 | *.ent 86 | 87 | # fixme 88 | *.lox 89 | 90 | # feynmf/feynmp 91 | *.mf 92 | *.mp 93 | *.t[1-9] 94 | *.t[1-9][0-9] 95 | *.tfm 96 | 97 | #(r)(e)ledmac/(r)(e)ledpar 98 | *.end 99 | *.?end 100 | *.[1-9] 101 | *.[1-9][0-9] 102 | *.[1-9][0-9][0-9] 103 | *.[1-9]R 104 | *.[1-9][0-9]R 105 | *.[1-9][0-9][0-9]R 106 | *.eledsec[1-9] 107 | *.eledsec[1-9]R 108 | *.eledsec[1-9][0-9] 109 | *.eledsec[1-9][0-9]R 110 | *.eledsec[1-9][0-9][0-9] 111 | *.eledsec[1-9][0-9][0-9]R 112 | 113 | # glossaries 114 | *.acn 115 | *.acr 116 | *.glg 117 | *.glo 118 | *.gls 119 | *.glsdefs 120 | *.lzo 121 | *.lzs 122 | 123 | # uncomment this for glossaries-extra (will ignore makeindex's style files!) 124 | # *.ist 125 | 126 | # gnuplottex 127 | *-gnuplottex-* 128 | 129 | # gregoriotex 130 | *.gaux 131 | *.gtex 132 | 133 | # htlatex 134 | *.4ct 135 | *.4tc 136 | *.idv 137 | *.lg 138 | *.trc 139 | *.xref 140 | 141 | # hyperref 142 | *.brf 143 | 144 | # knitr 145 | *-concordance.tex 146 | # TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files 147 | # *.tikz 148 | *-tikzDictionary 149 | 150 | # listings 151 | *.lol 152 | 153 | # luatexja-ruby 154 | *.ltjruby 155 | 156 | # makeidx 157 | *.idx 158 | *.ilg 159 | *.ind 160 | 161 | # minitoc 162 | *.maf 163 | *.mlf 164 | *.mlt 165 | *.mtc[0-9]* 166 | *.slf[0-9]* 167 | *.slt[0-9]* 168 | *.stc[0-9]* 169 | 170 | # minted 171 | _minted* 172 | *.pyg 173 | 174 | # morewrites 175 | *.mw 176 | 177 | # nomencl 178 | *.nlg 179 | *.nlo 180 | *.nls 181 | 182 | # pax 183 | *.pax 184 | 185 | # pdfpcnotes 186 | *.pdfpc 187 | 188 | # sagetex 189 | *.sagetex.sage 190 | *.sagetex.py 191 | *.sagetex.scmd 192 | 193 | # scrwfile 194 | *.wrt 195 | 196 | # sympy 197 | *.sout 198 | *.sympy 199 | sympy-plots-for-*.tex/ 200 | 201 | # pdfcomment 202 | *.upa 203 | *.upb 204 | 205 | # pythontex 206 | *.pytxcode 207 | pythontex-files-*/ 208 | 209 | # tcolorbox 210 | *.listing 211 | 212 | # thmtools 213 | *.loe 214 | 215 | # TikZ & PGF 216 | *.dpth 217 | *.md5 218 | *.auxlock 219 | 220 | # todonotes 221 | *.tdo 222 | 223 | # vhistory 224 | *.hst 225 | *.ver 226 | 227 | # easy-todo 228 | *.lod 229 | 230 | # xcolor 231 | *.xcp 232 | 233 | # xmpincl 234 | *.xmpi 235 | 236 | # xindy 237 | *.xdy 238 | 239 | # xypic precompiled matrices and outlines 240 | *.xyc 241 | *.xyd 242 | 243 | # endfloat 244 | *.ttt 245 | *.fff 246 | 247 | # Latexian 248 | TSWLatexianTemp* 249 | 250 | ## Editors: 251 | # WinEdt 252 | *.bak 253 | *.sav 254 | 255 | # Texpad 256 | .texpadtmp 257 | 258 | # LyX 259 | *.lyx~ 260 | 261 | # Kile 262 | *.backup 263 | 264 | # gummi 265 | .*.swp 266 | 267 | # KBibTeX 268 | *~[0-9]* 269 | 270 | # TeXnicCenter 271 | *.tps 272 | 273 | # auto folder when using emacs and auctex 274 | ./auto/* 275 | *.el 276 | 277 | # expex forward references with \gathertags 278 | *-tags.tex 279 | 280 | # standalone packages 281 | *.sta 282 | 283 | # Makeindex log files 284 | *.lpz 285 | 286 | # xwatermark package 287 | *.xwm 288 | 289 | # REVTeX puts footnotes in the bibliography by default, unless the nofootinbib 290 | # option is specified. Footnotes are the stored in a file with suffix Notes.bib. 291 | # Uncomment the next line to have this generated file ignored. 292 | #*Notes.bib 293 | diff 294 | *.xml 295 | *.nav 296 | *.snm 297 | ~* 298 | .~* 299 | .fuse* 300 | *.txt.data 301 | *.zip 302 | analyse/ 303 | paper 304 | ardrone.pdf 305 | template.pdf 306 | old 307 | *.aux 308 | *.bbl 309 | *.blg 310 | *.ent 311 | *.loa 312 | *.lof 313 | *.log 314 | *.lot 315 | *.out 316 | *.toc 317 | main.pdf 318 | missfont.log 319 | svn-commit.tmp 320 | sysuthesis.tar.gz 321 | 中山大学本科毕业论文非官方LaTeX模版0.0.*.tar.gz 322 | 323 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "latex-workshop.latex.recipes": [ 3 | { 4 | "name": "xelatex ➞ bibtex ➞ xelatex × 2", 5 | "tools": [ 6 | "xelatex", 7 | "bibtex", 8 | "xelatex", 9 | "xelatex" 10 | ] 11 | }, 12 | { 13 | "name": "latexmk 🔃", 14 | "tools": [ 15 | "latexmk" 16 | ] 17 | }, 18 | { 19 | "name": "latexmk (latexmkrc)", 20 | "tools": [ 21 | "latexmk_rconly" 22 | ] 23 | }, 24 | { 25 | "name": "latexmk (lualatex)", 26 | "tools": [ 27 | "lualatexmk" 28 | ] 29 | }, 30 | { 31 | "name": "pdflatex ➞ bibtex ➞ pdflatex × 2", 32 | "tools": [ 33 | "pdflatex", 34 | "bibtex", 35 | "pdflatex", 36 | "pdflatex" 37 | ] 38 | }, 39 | { 40 | "name": "Compile Rnw files", 41 | "tools": [ 42 | "rnw2tex", 43 | "latexmk" 44 | ] 45 | }, 46 | { 47 | "name": "Compile Jnw files", 48 | "tools": [ 49 | "jnw2tex", 50 | "latexmk" 51 | ] 52 | }, 53 | { 54 | "name": "tectonic", 55 | "tools": [ 56 | "tectonic" 57 | ] 58 | } 59 | ], 60 | "latex-workshop.latex.tools": [ 61 | { 62 | "name": "xelatex", 63 | "command": "xelatex", 64 | "args": [ 65 | "-synctex=1", 66 | "-interaction=nonstopmode", 67 | "-file-line-error", 68 | "--shell-escape", 69 | "%DOC%" 70 | ], 71 | "env": {} 72 | }, 73 | { 74 | "name": "latexmk", 75 | "command": "latexmk", 76 | "args": [ 77 | "-synctex=1", 78 | "-interaction=nonstopmode", 79 | "-file-line-error", 80 | "-pdf", 81 | "-outdir=%OUTDIR%", 82 | "%DOC%" 83 | ], 84 | "env": {} 85 | }, 86 | { 87 | "name": "lualatexmk", 88 | "command": "latexmk", 89 | "args": [ 90 | "-synctex=1", 91 | "-interaction=nonstopmode", 92 | "-file-line-error", 93 | "-lualatex", 94 | "-outdir=%OUTDIR%", 95 | "%DOC%" 96 | ], 97 | "env": {} 98 | }, 99 | { 100 | "name": "latexmk_rconly", 101 | "command": "latexmk", 102 | "args": [ 103 | "%DOC%" 104 | ], 105 | "env": {} 106 | }, 107 | { 108 | "name": "pdflatex", 109 | "command": "pdflatex", 110 | "args": [ 111 | "-synctex=1", 112 | "-interaction=nonstopmode", 113 | "-file-line-error", 114 | "%DOC%" 115 | ], 116 | "env": {} 117 | }, 118 | { 119 | "name": "bibtex", 120 | "command": "bibtex", 121 | "args": [ 122 | "%DOCFILE%" 123 | ], 124 | "env": {} 125 | }, 126 | { 127 | "name": "rnw2tex", 128 | "command": "Rscript", 129 | "args": [ 130 | "-e", 131 | "knitr::opts_knit$set(concordance = TRUE); knitr::knit('%DOCFILE_EXT%')" 132 | ], 133 | "env": {} 134 | }, 135 | { 136 | "name": "jnw2tex", 137 | "command": "julia", 138 | "args": [ 139 | "-e", 140 | "using Weave; weave(\"%DOC_EXT%\", doctype=\"tex\")" 141 | ], 142 | "env": {} 143 | }, 144 | { 145 | "name": "jnw2texmintex", 146 | "command": "julia", 147 | "args": [ 148 | "-e", 149 | "using Weave; weave(\"%DOC_EXT%\", doctype=\"texminted\")" 150 | ], 151 | "env": {} 152 | }, 153 | { 154 | "name": "tectonic", 155 | "command": "tectonic", 156 | "args": [ 157 | "--synctex", 158 | "--keep-logs", 159 | "%DOC%.tex" 160 | ], 161 | "env": {} 162 | } 163 | ], 164 | "latex-workshop.latex.recipe.default": "first" 165 | } -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | Undergraduate Thesis Template 635 | Copyright (C) 2018 Gitlab Latex Group, Sun-Yat-Sen University 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Undergraduate Thesis Template Copyright (C) 2018 Gitlab Latex Group, Sun-Yat-Sen University 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | 676 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | src = main 2 | 3 | pdf: clean main.tex main.bib 4 | xelatex -shell-escape $(src) 5 | bibtex $(src) 6 | xelatex -shell-escape $(src) 7 | xelatex -shell-escape $(src) 8 | 9 | show: 10 | xdg-open $(src).pdf 11 | 12 | clean: 13 | -@rm -rf \ 14 | *~ \ 15 | *.aux \ 16 | *.bbl \ 17 | *.blg \ 18 | *.dvi \ 19 | *.ent \ 20 | *.loa \ 21 | *.lof \ 22 | *.lot \ 23 | *.toc \ 24 | *.log \ 25 | *.out \ 26 | .fuse* \ 27 | *.run.xml \ 28 | *.bcf 29 | -@find . -name *.aux -exec rm {} \; 30 | 31 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 中山大学 $\LaTeX$ 毕业论文模板 2 | 3 | 本项目现已得到中山大学计算机学院支持。我们正在努力增加 feature ,满足本院毕业设计的要求,并争取进一步完善,成为中大官方 $\LaTeX$ 毕设模板。Demo 与源码可在 [releases](https://github.com/SYSU-SCC/sysu-thesis/releases) 页面下载。 4 | 5 | **诚挚邀请广大校友加入本项目维护,详见 [#67](https://github.com/SYSU-SCC/sysu-thesis/issues/67)、[#105](https://github.com/SYSU-SCC/sysu-thesis/pull/105)。希望加入 collaborator 团队的同学可联系 [@wu-kan](https://github.com/wu-kan)。** 6 | 7 | ## 如何使用 8 | 9 | ### overleaf 编辑(在线) 10 | 11 | 本模板可以使用 [overleaf](https://www.overleaf.com/) 在线编辑,需要在 [releases](https://github.com/SYSU-SCC/sysu-thesis/releases) 页面提前下载 `Source code (zip)`。 12 | 13 | 步骤如下: 14 | 15 | 1. 进入 [overleaf](https://overleaf.com) 并登录账号 16 | 2. 左侧 `New Project` 选择 `Upload Project` 17 | 3. 上传 `.zip` 压缩包,建立新项目 18 | 4. 点击 `menu`,滑动到下方 `Settings` 的 `Compiler` 选择 `XeLaTeX` 19 | 5. 打开 `main.tex` 文件,点击中间右侧上方的 `Recompile` 进行编译 20 | 6. 如果顺利可以看到 pdf 的预览 21 | 7. 如果无法加载图片只有路径信息,点击 `Recompile` 旁边的倒三角,其中的 `Compile Mode` 选择 `Normal` 模式 22 | 23 | 此时可以得到完整的 `main.pdf` 文件。 24 | 25 | ### GitHub Actions 自动构建(在线) 26 | 27 | 点击 [Use this template](https://github.com/SYSU-SCC/sysu-thesis/generate) 创建自己的论文仓库(推荐创建为私有仓库),随后直接在自己的仓库进行修改,随后 GitHub Actions 会自动进行构建,可在 Actions 中下载对应 artifact。此处给出一个[示例](https://github.com/wu-kan/bachelor-thesis)。 28 | 29 | 还可以使用 `git tag`,其会像本仓库一样将构建好的 artifact 永久发布到 [releases](https://github.com/SYSU-SCC/sysu-thesis/releases) 中。 30 | 31 | ### Devcontainer 编辑(本地 & 在线) 32 | 33 | > [!IMPORTANT] 34 | > 无论是本地还是在线编辑,都需要首先创建自己的论文仓库,在自己的仓库进行修改,并建议及时 `commit & push` 到远程仓库进行备份。 35 | 36 | 本模板提供了 [VS Code Remote - Containers](https://code.visualstudio.com/docs/remote/containers) 相关配置文件,包含了 texlive 2022 和 VS Code 中文和 LaTeX Workshop 插件,可用于本地或在线容器化编辑。 37 | 38 | - 对于在线编辑,可以使用 [GitHub Codespaces](https://docs.github.com/zh/codespaces/developing-in-a-codespace/creating-a-codespace-for-a-repository) 通过浏览器版本的 VS Code 进行编辑。(请注意,GitHub Codespaces 每月免费额度有限,请注意用量)。 39 | - 而对于本地编辑,需要安装 [Docker](https://docs.docker.com/get-docker/) 和 [VS Code](https://code.visualstudio.com/),并在 VSCode 中安装 [Remote - Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) 插件。随后打开本仓库,键入 `F1`,选择 `Remote-Containers: Reopen in Container` 即可构建进入容器环境。 40 | 41 | 在容器环境中,可以使用 `make pdf` 进行编译并生成 `main.pdf` 文件,或者使用 LaTeX Workshop 插件进行编译与预览。 42 | 43 | ### texlive 编辑(本地) 44 | 45 | 本模板需要使用 texlive(>=2020) 进行编译,编译命令如下: 46 | 47 | ``` 48 | make pdf 49 | ``` 50 | 51 | 即可生成 `main.pdf` 文件。如有环境问题,推荐对照 [GitHub Actions](./.github/workflows/test.yml) 中的环境进行配置。 52 | 53 | ## TODO List 54 | 55 | - [ ] 增加 [overleaf](https://www.overleaf.com/) 等模板库的自动发布,可一键在 overleaf 中打开项目。 56 | - [ ] 进一步优化代码,可支持多种需求 57 | 58 | 希望大家踊跃提出自己的想法,提交 pr,一起完善该 $\LaTeX$ 模板, Make **SYS**U Great Again! 59 | 60 | ## 需要注意的问题 61 | 62 | 1. 字体问题,见 [#29](https://github.com/SYSU-SCC/sysu-thesis/issues/29) 63 | 64 | ## 相关规范 65 | 66 | 1. [本科生](./specifications/附件1.中山大学本科生毕业论文(设计)写作与印制规范.doc) 67 | 2. [研究生](http://graduate.sysu.edu.cn/rules) 68 | 69 | ## 关于展示 70 | 71 | 答辩展示的样式涉及到不同人的需求,且学校未对格式做要求,因此目前本仓库提供了一个最简单的模板供大家学习和上手调整,在 overleaf 中使用时需要点击 `menu`,滑动到下方 `Settings` 的 `Main document` 选择 `pre.tex`。此处给出 [overleaf 的 Beamer 教程](https://overleaf.com/learn/latex/Beamer)。 72 | 73 | 我们欢迎大家自己定制一些符合自己要求的模板,并向我们提交 PR,在下方增加一个指向你的模板的链接作为推荐,参见 [#65](https://github.com/SYSU-SCC/sysu-thesis/issues/65) 。 74 | 75 | - [Lovely-XPP/SYSU-PRE](https://github.com/Lovely-XPP/SYSU-PRE) 76 | - [NelsonCheung-cn/SYSU-beamer-template](https://github.com/NelsonCheung-cn/SYSU-beamer-template) 77 | 78 | ## 一些说明 79 | 80 | 1. 已征得原作者,17 届中大数据院软件工程校友黄俊杰(@huangjj27)的同意,我们团队未来将长期维护该项目。 81 | 2. 原项目 repo 可见 [gitlab](https://gitlab.com/sysu-gitlab/latex-group/thesis),原项目 wiki 可见 [wiki](https://gitlab.com/sysu-gitlab/latex-group/thesis/-/wikis/home),原 repo 中的信息将会在之后更新到本 repo 中。 82 | 83 | --- 84 | 85 | ~~这里是分割线,以下是原始 repo 的 README~~ 86 | 87 | --- 88 | 89 | 本维护项目由 17 届中大数据院软件工程校友黄俊杰(@huangjj27)发起, 发起理由如下: 90 | 91 | 1. 中山大学在 github 上[LaTeX 官方模板项目](http://github.com/sysu/sysuthesis)已经有 2 年多的时间没有维护 92 | 1. [@chunkwong](https://github.com/chungkwong)师兄在 github 上放出了中大的第一个[非官方的本科论文 LaTeX 模板](https://github.com/chungkwong/sysu_thesis), 并由[@guanyingc](https://github.com/guanyingc)师兄接力改进 93 | 1. 上述两位师兄毕业后均无法抽空维护项目 94 | 95 | 基于以上理由,本项目维护小组成立,并***诚邀各届校友参与开发维护, 为中大莘莘学子编写毕业论文提供方便***。 96 | 97 | ## 使用指南 98 | 99 | 请移步到[项目 wiki](https://gitlab.com/sysu-gitlab/latex-group/thesis/wikis/home) 100 | 101 | _注意: 最新代码在 dev 分支上, 获取代码前请先确认分支._ 102 | 103 | ## 致谢 104 | 105 | 1. 感谢[@chunkwong](https://github.com/chungkwong)师兄在 Github 上放出了中大第一个[非官方的本科论文 LaTex 模板](https://github.com/chungkwong/sysu_thesis) 106 | 1. 感谢[@guanyingc](https://github.com/guanyingc)师兄在模板结构化分解上作出了[极大的贡献](https://github.com/guanyingc/SYSU-LaTex-Thesis) 107 | 1. 感谢@huangjj27 师兄在模板样式规范化做出极大的贡献 108 | 1. 感谢@a20185 @Kinpzz @yttty @perqin @noeagles 等人[对 v4.6.0 作出极大的贡献](https://gitlab.com/sysu-gitlab/latex-group/thesis/merge_requests/32) 109 | 1. PPT 的模板源自 110 | 1. 最后, 感谢 Donald Ervin Knuth 教授发明了`tex`这么好(zhe)用(teng)的工具。 111 | Finally, thanks Prof. Donald Ervin Knuth for inventing such useful tool as tex. 112 | 113 | ## 错误反馈以及改进 114 | 115 | 1. 同学们如果在编译或者使用过程中遇到了一些问题,请参照[这里](ihttps://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way)的步骤尝试解决问题。如果还是没法解决,请[email](mailto:incoming+sysu-gitlab/latex-group/thesis@gitlab.com)汇报错误。 116 | 1. 如果您想参与项目的维护,我们强烈建议您发起访问请求(Access request)到本项目,即可成为本项目的开发人员! 我们***非常欢迎校友的加入***。 117 | 或者,克隆本仓库到您的 gitlab 仓库中,修改完成后给本项目提交`Merge Request`。 118 | 119 | ## 声明 120 | 121 | 1. 您可以任意地使用和修改这个模板,但该模板可能无法满足最新的《中山大学本科生毕业论文(设计)写作与印制规范》。 122 | 1. 目前项目组人手紧缺,**强烈欢迎校友们的加入**。 123 | 1. 目前基于 GitLab CI 的构建工具[使用的字体与规范要求有轻微的区别](https://gitlab.com/sysu-gitlab/latex-group/thesis/merge_requests/29#note_66184589),请在使用时注意风险。 124 | -------------------------------------------------------------------------------- /bibtex-style/sysuthesis.bst: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sysuthesis.bst', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% merlin.mbs (with options: `head,exlang,lang,annote,seq-no,nm-rv,jnrlst,nmlm,x3,m3,mcite,mct-3,mct-x3,dt-jnl,xmth,yrpp-xsp,atit-u,jttl-rm,vol-bf,pp-last,jwdvol,num-xser,btit-rm,bt-rm,bkpg-x,add-pub,pub-date,pub-xpar,pre-pub,in-x,ppx,xedn,xand,url,url-blk,em-x,nfss,,{}') 8 | %% chinese.mbs (with options: `exlang,lang,annote,seq-no,nm-rv,jnrlst,nmlm,x3,m3,mcite,mct-3,mct-x3,dt-jnl,xmth,yrpp-xsp,atit-u,jttl-rm,vol-bf,pp-last,jwdvol,num-xser,btit-rm,bt-rm,bkpg-x,add-pub,pub-date,pub-xpar,pre-pub,in-x,ppx,xedn,xand,url,url-blk,em-x,nfss,,{}') 9 | %% merlin.mbs (with options: `tail,exlang,lang,annote,seq-no,nm-rv,jnrlst,nmlm,x3,m3,mcite,mct-3,mct-x3,dt-jnl,xmth,yrpp-xsp,atit-u,jttl-rm,vol-bf,pp-last,jwdvol,num-xser,btit-rm,bt-rm,bkpg-x,add-pub,pub-date,pub-xpar,pre-pub,in-x,ppx,xedn,xand,url,url-blk,em-x,nfss,,{}') 10 | %% ---------------------------------------- 11 | %% *** SYSU thesis style *** 12 | %% 13 | %% Copyright 1994-2011 Patrick W Daly 14 | % =============================================================== 15 | % IMPORTANT NOTICE: 16 | % This bibliographic style (bst) file has been generated from one or 17 | % more master bibliographic style (mbs) files, listed above. 18 | % 19 | % This generated file can be redistributed and/or modified under the terms 20 | % of the LaTeX Project Public License Distributed from CTAN 21 | % archives in directory macros/latex/base/lppl.txt; either 22 | % version 1 of the License, or any later version. 23 | % =============================================================== 24 | % Name and version information of the main mbs file: 25 | % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)] 26 | % For use with BibTeX version 0.99a or later 27 | %------------------------------------------------------------------- 28 | % This bibliography style file is intended for texts in 29 | % This is a numerical citation style, and as such is standard LaTeX. 30 | % It requires no extra package to interface to the main text. 31 | % The form of the \bibitem entries is 32 | % \bibitem{key}... 33 | % Usage of \cite is as follows: 34 | % \cite{key} ==>> [#] 35 | % \cite[chap. 2]{key} ==>> [#, chap. 2] 36 | % where # is a number determined by the ordering in the reference list. 37 | % The order in the reference list is that by which the works were originally 38 | % cited in the text, or that in the database. 39 | %--------------------------------------------------------------------- 40 | 41 | ENTRY 42 | { address 43 | annote 44 | author 45 | booktitle 46 | chapter 47 | date 48 | edition 49 | editor 50 | eid 51 | howpublished 52 | institution 53 | journal 54 | key 55 | language 56 | month 57 | note 58 | number 59 | organization 60 | pages 61 | publisher 62 | school 63 | series 64 | title 65 | type 66 | url 67 | volume 68 | year 69 | } 70 | {} 71 | { label } 72 | INTEGERS { output.state before.all mid.sentence after.sentence after.block } 73 | FUNCTION {init.state.consts} 74 | { #0 'before.all := 75 | #1 'mid.sentence := 76 | #2 'after.sentence := 77 | #3 'after.block := 78 | } 79 | STRINGS { s t} 80 | FUNCTION {output.nonnull} 81 | { 's := 82 | output.state mid.sentence = 83 | { ", " * write$ } 84 | { output.state after.block = 85 | { add.period$ write$ 86 | newline$ 87 | "\newblock " write$ 88 | } 89 | { output.state before.all = 90 | 'write$ 91 | { add.period$ " " * write$ } 92 | if$ 93 | } 94 | if$ 95 | mid.sentence 'output.state := 96 | } 97 | if$ 98 | s 99 | } 100 | FUNCTION {output} 101 | { duplicate$ empty$ 102 | 'pop$ 103 | 'output.nonnull 104 | if$ 105 | } 106 | FUNCTION {output.check} 107 | { 't := 108 | duplicate$ empty$ 109 | { pop$ "empty " t * " in " * cite$ * warning$ } 110 | 'output.nonnull 111 | if$ 112 | } 113 | FUNCTION {fin.entry} 114 | { add.period$ 115 | write$ 116 | newline$ 117 | annote missing$ 118 | { "\bibAnnoteFile{" cite$ * "}" * write$ newline$ } 119 | { "\bibAnnote{" cite$ * "}{" * annote * "}" * write$ newline$ 120 | } 121 | if$ 122 | } 123 | 124 | FUNCTION {new.block} 125 | { output.state before.all = 126 | 'skip$ 127 | { after.block 'output.state := } 128 | if$ 129 | } 130 | FUNCTION {new.sentence} 131 | { output.state after.block = 132 | 'skip$ 133 | { output.state before.all = 134 | 'skip$ 135 | { after.sentence 'output.state := } 136 | if$ 137 | } 138 | if$ 139 | } 140 | FUNCTION {add.blank} 141 | { " " * before.all 'output.state := 142 | } 143 | 144 | FUNCTION {no.blank.or.punct} 145 | { "\hspace{0pt}" * before.all 'output.state := 146 | } 147 | 148 | FUNCTION {date.block} 149 | { 150 | new.block 151 | } 152 | 153 | FUNCTION {not} 154 | { { #0 } 155 | { #1 } 156 | if$ 157 | } 158 | FUNCTION {and} 159 | { 'skip$ 160 | { pop$ #0 } 161 | if$ 162 | } 163 | FUNCTION {or} 164 | { { pop$ #1 } 165 | 'skip$ 166 | if$ 167 | } 168 | STRINGS {z} 169 | 170 | FUNCTION {remove.dots} 171 | { 'z := 172 | "" 173 | { z empty$ not } 174 | { z #1 #2 substring$ 175 | duplicate$ "\." = 176 | { z #3 global.max$ substring$ 'z := * } 177 | { pop$ 178 | z #1 #1 substring$ 179 | z #2 global.max$ substring$ 'z := 180 | duplicate$ "." = 'pop$ 181 | { * } 182 | if$ 183 | } 184 | if$ 185 | } 186 | while$ 187 | } 188 | FUNCTION {new.block.checka} 189 | { empty$ 190 | 'skip$ 191 | 'new.block 192 | if$ 193 | } 194 | FUNCTION {new.block.checkb} 195 | { empty$ 196 | swap$ empty$ 197 | and 198 | 'skip$ 199 | 'new.block 200 | if$ 201 | } 202 | FUNCTION {new.sentence.checka} 203 | { empty$ 204 | 'skip$ 205 | 'new.sentence 206 | if$ 207 | } 208 | FUNCTION {new.sentence.checkb} 209 | { empty$ 210 | swap$ empty$ 211 | and 212 | 'skip$ 213 | 'new.sentence 214 | if$ 215 | } 216 | FUNCTION {field.or.null} 217 | { duplicate$ empty$ 218 | { pop$ "" } 219 | 'skip$ 220 | if$ 221 | } 222 | FUNCTION {emphasize} 223 | { skip$ } 224 | FUNCTION {bolden} 225 | { duplicate$ empty$ 226 | { pop$ "" } 227 | { "\textbf{" swap$ * "}" * } 228 | if$ 229 | } 230 | FUNCTION {tie.or.space.prefix} 231 | { duplicate$ text.length$ #3 < 232 | { "~" } 233 | { " " } 234 | if$ 235 | swap$ 236 | } 237 | 238 | FUNCTION {capitalize} 239 | { "u" change.case$ "t" change.case$ } 240 | 241 | FUNCTION {space.word} 242 | { " " swap$ * " " * } 243 | % Here are the language-specific definitions for explicit words. 244 | % Each function has a name bbl.xxx where xxx is the English word. 245 | %------------------------------------------------------------------- 246 | % Begin module: 247 | % \ProvidesFile{chinese.mbs}[2003/11/06 4.2 (PWD)] 248 | 249 | % The language selected here is CHINESE 250 | FUNCTION {bbl.and} 251 | { ""} 252 | 253 | FUNCTION {bbl.etal} 254 | { 255 | language empty$ 256 | { "{et~al}" } 257 | { "等" } 258 | if$ 259 | } 260 | 261 | FUNCTION {bbl.editors} 262 | { "编辑" } 263 | 264 | FUNCTION {bbl.editor} 265 | { "编辑" } 266 | 267 | FUNCTION {bbl.edby} 268 | { "编辑" } 269 | 270 | FUNCTION {bbl.edition} 271 | { "版" } 272 | 273 | FUNCTION {bbl.volume} 274 | { "" } 275 | 276 | FUNCTION {bbl.of} 277 | { "//" } 278 | 279 | FUNCTION {bbl.number} 280 | { "第" } 281 | 282 | FUNCTION {bbl.nr} 283 | { "第" } 284 | 285 | FUNCTION {bbl.in} 286 | { "" } 287 | 288 | FUNCTION {bbl.pages} 289 | { "" } 290 | 291 | FUNCTION {bbl.page} 292 | { "" } 293 | 294 | FUNCTION {bbl.chapter} 295 | { "章" } 296 | 297 | FUNCTION {bbl.techrep} 298 | { "技术报告" } 299 | 300 | FUNCTION {bbl.mthesis} 301 | { "硕士学位论文" } 302 | 303 | FUNCTION {bbl.phdthesis} 304 | { "博士学位论文" } 305 | 306 | MACRO {jan} {"一月"} 307 | 308 | MACRO {feb} {"二月"} 309 | 310 | MACRO {mar} {"三月"} 311 | 312 | MACRO {apr} {"四月"} 313 | 314 | MACRO {may} {"五月"} 315 | 316 | MACRO {jun} {"六月"} 317 | 318 | MACRO {jul} {"七月"} 319 | 320 | MACRO {aug} {"八月"} 321 | 322 | MACRO {sep} {"九月"} 323 | 324 | MACRO {oct} {"十月"} 325 | 326 | MACRO {nov} {"十一月"} 327 | 328 | MACRO {dec} {"十二月"} 329 | 330 | % End module: chinese.mbs 331 | %% Copyright 1994-2011 Patrick W Daly 332 | MACRO {acmcs} {"ACM Computing Surveys"} 333 | 334 | MACRO {acta} {"Acta Informatica"} 335 | 336 | MACRO {cacm} {"Communications of the ACM"} 337 | 338 | MACRO {ibmjrd} {"IBM Journal of Research and Development"} 339 | 340 | MACRO {ibmsj} {"IBM Systems Journal"} 341 | 342 | MACRO {ieeese} {"IEEE Transactions on Software Engineering"} 343 | 344 | MACRO {ieeetc} {"IEEE Transactions on Computers"} 345 | 346 | MACRO {ieeetcad} 347 | {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} 348 | 349 | MACRO {ipl} {"Information Processing Letters"} 350 | 351 | MACRO {jacm} {"Journal of the ACM"} 352 | 353 | MACRO {jcss} {"Journal of Computer and System Sciences"} 354 | 355 | MACRO {scp} {"Science of Computer Programming"} 356 | 357 | MACRO {sicomp} {"SIAM Journal on Computing"} 358 | 359 | MACRO {tocs} {"ACM Transactions on Computer Systems"} 360 | 361 | MACRO {tods} {"ACM Transactions on Database Systems"} 362 | 363 | MACRO {tog} {"ACM Transactions on Graphics"} 364 | 365 | MACRO {toms} {"ACM Transactions on Mathematical Software"} 366 | 367 | MACRO {toois} {"ACM Transactions on Office Information Systems"} 368 | 369 | MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} 370 | 371 | MACRO {tcs} {"Theoretical Computer Science"} 372 | FUNCTION {bibinfo.check} 373 | { swap$ 374 | duplicate$ missing$ 375 | { 376 | pop$ pop$ 377 | "" 378 | } 379 | { duplicate$ empty$ 380 | { 381 | swap$ pop$ 382 | } 383 | { swap$ 384 | pop$ 385 | } 386 | if$ 387 | } 388 | if$ 389 | } 390 | FUNCTION {bibinfo.warn} 391 | { swap$ 392 | duplicate$ missing$ 393 | { 394 | swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ 395 | "" 396 | } 397 | { duplicate$ empty$ 398 | { 399 | swap$ "empty " swap$ * " in " * cite$ * warning$ 400 | } 401 | { swap$ 402 | pop$ 403 | } 404 | if$ 405 | } 406 | if$ 407 | } 408 | FUNCTION {format.url} 409 | { 410 | url 411 | duplicate$ empty$ 412 | { pop$ "" } 413 | { "\urlprefix\url{" swap$ * "}" * } 414 | if$ 415 | } 416 | 417 | INTEGERS { nameptr namesleft numnames } 418 | 419 | 420 | STRINGS { bibinfo} 421 | 422 | FUNCTION {format.names} 423 | { 'bibinfo := 424 | duplicate$ empty$ 'skip$ { 425 | 's := 426 | "" 't := 427 | #1 'nameptr := 428 | s num.names$ 'numnames := 429 | numnames 'namesleft := 430 | { namesleft #0 > } 431 | { s nameptr 432 | "{vv~}{ll}{ f{~}}{ jj}" 433 | format.name$ 434 | remove.dots 435 | bibinfo bibinfo.check 436 | 't := 437 | nameptr #1 > 438 | { 439 | nameptr #3 440 | #1 + = 441 | numnames #3 442 | > and 443 | { "others" 't := 444 | #1 'namesleft := } 445 | 'skip$ 446 | if$ 447 | namesleft #1 > 448 | { ", " * t * } 449 | { 450 | s nameptr "{ll}" format.name$ duplicate$ "others" = 451 | { 't := } 452 | { pop$ } 453 | if$ 454 | "," * 455 | t "others" = 456 | { 457 | " " * bbl.etal * 458 | } 459 | { " " * t * } 460 | if$ 461 | } 462 | if$ 463 | } 464 | 't 465 | if$ 466 | nameptr #1 + 'nameptr := 467 | namesleft #1 - 'namesleft := 468 | } 469 | while$ 470 | } if$ 471 | } 472 | FUNCTION {format.names.ed} 473 | { 474 | 'bibinfo := 475 | duplicate$ empty$ 'skip$ { 476 | 's := 477 | "" 't := 478 | #1 'nameptr := 479 | s num.names$ 'numnames := 480 | numnames 'namesleft := 481 | { namesleft #0 > } 482 | { s nameptr 483 | "{f{~}~}{vv~}{ll}{ jj}" 484 | format.name$ 485 | remove.dots 486 | bibinfo bibinfo.check 487 | 't := 488 | nameptr #1 > 489 | { 490 | namesleft #1 > 491 | { ", " * t * } 492 | { 493 | s nameptr "{ll}" format.name$ duplicate$ "others" = 494 | { 't := } 495 | { pop$ } 496 | if$ 497 | "," * 498 | t "others" = 499 | { 500 | " " * bbl.etal * 501 | } 502 | { " " * t * } 503 | if$ 504 | } 505 | if$ 506 | } 507 | 't 508 | if$ 509 | nameptr #1 + 'nameptr := 510 | namesleft #1 - 'namesleft := 511 | } 512 | while$ 513 | } if$ 514 | } 515 | FUNCTION {format.authors} 516 | { author "author" format.names "u" change.case$ 517 | } 518 | FUNCTION {get.bbl.editor} 519 | { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } 520 | 521 | FUNCTION {format.editors} 522 | { editor "editor" format.names duplicate$ empty$ 'skip$ 523 | { 524 | "," * 525 | " " * 526 | get.bbl.editor 527 | * 528 | } 529 | if$ 530 | } 531 | FUNCTION {select.language} 532 | { duplicate$ empty$ 533 | 'pop$ 534 | { language empty$ 535 | 'skip$ 536 | { "{\selectlanguage{" language * "}" * swap$ * "}" * } 537 | if$ 538 | } 539 | if$ 540 | } 541 | 542 | FUNCTION {format.note} 543 | { 544 | note empty$ 545 | { "" } 546 | { note #1 #1 substring$ 547 | duplicate$ "{" = 548 | 'skip$ 549 | { output.state mid.sentence = 550 | { "l" } 551 | { "u" } 552 | if$ 553 | change.case$ 554 | } 555 | if$ 556 | note #2 global.max$ substring$ * "note" bibinfo.check 557 | } 558 | if$ 559 | } 560 | 561 | FUNCTION {format.title} 562 | { title 563 | "title" bibinfo.check 564 | duplicate$ empty$ 'skip$ 565 | { 566 | select.language 567 | } 568 | if$ 569 | } 570 | FUNCTION {output.bibitem} 571 | { newline$ 572 | "\bibitem{" write$ 573 | cite$ write$ 574 | "}" write$ 575 | newline$ 576 | "" 577 | before.all 'output.state := 578 | } 579 | 580 | FUNCTION {n.dashify} 581 | { 582 | 't := 583 | "" 584 | { t empty$ not } 585 | { t #1 #1 substring$ "-" = 586 | { t #1 #2 substring$ "--" = not 587 | { "--" * 588 | t #2 global.max$ substring$ 't := 589 | } 590 | { { t #1 #1 substring$ "-" = } 591 | { "-" * 592 | t #2 global.max$ substring$ 't := 593 | } 594 | while$ 595 | } 596 | if$ 597 | } 598 | { t #1 #1 substring$ * 599 | t #2 global.max$ substring$ 't := 600 | } 601 | if$ 602 | } 603 | while$ 604 | } 605 | 606 | FUNCTION {word.in} 607 | { "" } 608 | 609 | FUNCTION {format.date} 610 | { 611 | "" 612 | duplicate$ empty$ 613 | year "year" bibinfo.check duplicate$ empty$ 614 | { swap$ 'skip$ 615 | { "there's a month but no year in " cite$ * warning$ } 616 | if$ 617 | * 618 | } 619 | { swap$ 'skip$ 620 | { 621 | swap$ 622 | " " * swap$ 623 | } 624 | if$ 625 | * 626 | } 627 | if$ 628 | } 629 | FUNCTION {format.btitle} 630 | { title "title" bibinfo.check 631 | duplicate$ empty$ 'skip$ 632 | { 633 | select.language 634 | } 635 | if$ 636 | } 637 | FUNCTION {either.or.check} 638 | { empty$ 639 | 'pop$ 640 | { "can't use both " swap$ * " fields in " * cite$ * warning$ } 641 | if$ 642 | } 643 | FUNCTION {format.bvolume} 644 | { volume empty$ 645 | { "" } 646 | { bbl.volume volume tie.or.space.prefix 647 | "volume" bibinfo.check * * 648 | series "series" bibinfo.check 649 | duplicate$ empty$ 'pop$ 650 | { swap$ bbl.of space.word * swap$ 651 | emphasize * } 652 | if$ 653 | "volume and number" number either.or.check 654 | } 655 | if$ 656 | } 657 | FUNCTION {format.number.series} 658 | { volume empty$ 659 | { number empty$ 660 | { series field.or.null } 661 | { series empty$ 662 | { number "number" bibinfo.check } 663 | { output.state mid.sentence = 664 | { bbl.number } 665 | { bbl.number capitalize } 666 | if$ 667 | number tie.or.space.prefix "number" bibinfo.check * * 668 | bbl.in space.word * 669 | series "series" bibinfo.check * 670 | } 671 | if$ 672 | } 673 | if$ 674 | } 675 | { "" } 676 | if$ 677 | } 678 | 679 | FUNCTION {format.edition} 680 | { edition duplicate$ empty$ 'skip$ 681 | { 682 | output.state mid.sentence = 683 | { "l" } 684 | { "t" } 685 | if$ change.case$ 686 | "edition" bibinfo.check 687 | " " * bbl.edition * 688 | } 689 | if$ 690 | } 691 | INTEGERS { multiresult } 692 | FUNCTION {multi.page.check} 693 | { 't := 694 | #0 'multiresult := 695 | { multiresult not 696 | t empty$ not 697 | and 698 | } 699 | { t #1 #1 substring$ 700 | duplicate$ "-" = 701 | swap$ duplicate$ "," = 702 | swap$ "+" = 703 | or or 704 | { #1 'multiresult := } 705 | { t #2 global.max$ substring$ 't := } 706 | if$ 707 | } 708 | while$ 709 | multiresult 710 | } 711 | FUNCTION {format.pages} 712 | { pages duplicate$ empty$ 'skip$ 713 | { duplicate$ multi.page.check 714 | { 715 | n.dashify 716 | } 717 | { 718 | } 719 | if$ 720 | "pages" bibinfo.check 721 | } 722 | if$ 723 | } 724 | FUNCTION {format.journal.pages} 725 | { pages duplicate$ empty$ 'pop$ 726 | { swap$ duplicate$ empty$ 727 | { pop$ pop$ format.pages } 728 | { 729 | ":" * 730 | swap$ 731 | n.dashify 732 | "pages" bibinfo.check 733 | * 734 | } 735 | if$ 736 | } 737 | if$ 738 | } 739 | FUNCTION {format.journal.eid} 740 | { eid "eid" bibinfo.check 741 | duplicate$ empty$ 'pop$ 742 | { swap$ duplicate$ empty$ 'skip$ 743 | { 744 | ":" * 745 | } 746 | if$ 747 | swap$ * 748 | } 749 | if$ 750 | } 751 | FUNCTION {format.vol.num.pages} 752 | { volume field.or.null 753 | duplicate$ empty$ 'skip$ 754 | { 755 | bbl.volume swap$ tie.or.space.prefix 756 | "volume" bibinfo.check 757 | * * 758 | } 759 | if$ 760 | bolden 761 | number "number" bibinfo.check duplicate$ empty$ 'skip$ 762 | { 763 | swap$ duplicate$ empty$ 764 | { "there's a number but no volume in " cite$ * warning$ } 765 | 'skip$ 766 | if$ 767 | swap$ 768 | "(" swap$ * ")" * 769 | } 770 | if$ * 771 | } 772 | 773 | FUNCTION {format.chapter.pages} 774 | { chapter empty$ 775 | { "" } 776 | { type empty$ 777 | { bbl.chapter } 778 | { type "l" change.case$ 779 | "type" bibinfo.check 780 | } 781 | if$ 782 | chapter tie.or.space.prefix 783 | "chapter" bibinfo.check 784 | * * 785 | } 786 | if$ 787 | } 788 | 789 | FUNCTION {format.booktitle} 790 | { 791 | booktitle "booktitle" bibinfo.check 792 | } 793 | FUNCTION {format.in.ed.booktitle} 794 | { format.booktitle duplicate$ empty$ 'skip$ 795 | { 796 | editor "editor" format.names.ed duplicate$ empty$ 'pop$ 797 | { 798 | "," * 799 | " " * 800 | get.bbl.editor 801 | ", " * 802 | * swap$ 803 | * } 804 | if$ 805 | word.in swap$ * 806 | } 807 | if$ 808 | } 809 | FUNCTION {empty.misc.check} 810 | { author empty$ title empty$ howpublished empty$ 811 | month empty$ year empty$ note empty$ 812 | and and and and and 813 | { "all relevant fields are empty in " cite$ * warning$ } 814 | 'skip$ 815 | if$ 816 | } 817 | FUNCTION {format.thesis.type} 818 | { type duplicate$ empty$ 819 | 'pop$ 820 | { swap$ pop$ 821 | "t" change.case$ "type" bibinfo.check 822 | } 823 | if$ 824 | } 825 | FUNCTION {format.tr.number} 826 | { number "number" bibinfo.check 827 | type duplicate$ empty$ 828 | { pop$ bbl.techrep } 829 | 'skip$ 830 | if$ 831 | "type" bibinfo.check 832 | swap$ duplicate$ empty$ 833 | { pop$ "t" change.case$ } 834 | { tie.or.space.prefix * * } 835 | if$ 836 | } 837 | FUNCTION {format.article.crossref} 838 | { 839 | key duplicate$ empty$ 840 | { pop$ 841 | journal duplicate$ empty$ 842 | { "need key or journal for " cite$ * " to crossref " * crossref * warning$ } 843 | { "journal" bibinfo.check emphasize word.in swap$ * } 844 | if$ 845 | } 846 | { word.in swap$ * " " *} 847 | if$ 848 | " \cite{" * crossref * "}" * 849 | } 850 | FUNCTION {format.crossref.editor} 851 | { editor #1 "{vv~}{ll}" format.name$ 852 | "editor" bibinfo.check 853 | editor num.names$ duplicate$ 854 | #2 > 855 | { pop$ 856 | "editor" bibinfo.check 857 | " " * bbl.etal 858 | * 859 | } 860 | { #2 < 861 | 'skip$ 862 | { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = 863 | { 864 | "editor" bibinfo.check 865 | " " * bbl.etal 866 | * 867 | } 868 | { 869 | bbl.and space.word 870 | * editor #2 "{vv~}{ll}" format.name$ 871 | "editor" bibinfo.check 872 | * 873 | } 874 | if$ 875 | } 876 | if$ 877 | } 878 | if$ 879 | } 880 | FUNCTION {format.book.crossref} 881 | { volume duplicate$ empty$ 882 | { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ 883 | pop$ word.in 884 | } 885 | { bbl.volume 886 | capitalize 887 | swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word * 888 | } 889 | if$ 890 | editor empty$ 891 | editor field.or.null author field.or.null = 892 | or 893 | { key empty$ 894 | { series empty$ 895 | { "need editor, key, or series for " cite$ * " to crossref " * 896 | crossref * warning$ 897 | "" * 898 | } 899 | { series emphasize * } 900 | if$ 901 | } 902 | { key * } 903 | if$ 904 | } 905 | { format.crossref.editor * } 906 | if$ 907 | " \cite{" * crossref * "}" * 908 | } 909 | FUNCTION {format.incoll.inproc.crossref} 910 | { 911 | editor empty$ 912 | editor field.or.null author field.or.null = 913 | or 914 | { key empty$ 915 | { format.booktitle duplicate$ empty$ 916 | { "need editor, key, or booktitle for " cite$ * " to crossref " * 917 | crossref * warning$ 918 | } 919 | { word.in swap$ * } 920 | if$ 921 | } 922 | { word.in key * " " *} 923 | if$ 924 | } 925 | { word.in format.crossref.editor * " " *} 926 | if$ 927 | " \cite{" * crossref * "}" * 928 | } 929 | FUNCTION {format.org.or.pub} 930 | { 't := 931 | "" 932 | year empty$ 933 | { "empty year in " cite$ * warning$ } 934 | 'skip$ 935 | if$ 936 | address empty$ t empty$ and 937 | year empty$ and 938 | 'skip$ 939 | { 940 | address "address" bibinfo.check * 941 | t empty$ 942 | 'skip$ 943 | { address empty$ 944 | 'skip$ 945 | { ": " * } 946 | if$ 947 | t * 948 | } 949 | if$ 950 | year empty$ 951 | 'skip$ 952 | { t empty$ address empty$ and 953 | 'skip$ 954 | { ", " *} 955 | if$ 956 | year "year" bibinfo.check 957 | * 958 | } 959 | if$ 960 | } 961 | if$ 962 | } 963 | FUNCTION {format.publisher.address} 964 | { publisher "publisher" bibinfo.warn format.org.or.pub 965 | } 966 | 967 | FUNCTION {format.organization.address} 968 | { organization "organization" bibinfo.check format.org.or.pub 969 | } 970 | 971 | FUNCTION {article} 972 | { output.bibitem 973 | format.authors "author" output.check 974 | new.block 975 | format.title "[J]" * "title" output.check 976 | new.block 977 | crossref missing$ 978 | { 979 | journal 980 | "journal" bibinfo.check 981 | "journal" output.check 982 | format.date "year" output.check 983 | %date.block 984 | format.vol.num.pages output 985 | } 986 | { format.article.crossref output.nonnull 987 | } 988 | if$ 989 | eid empty$ 990 | { format.journal.pages } 991 | { format.journal.eid } 992 | if$ 993 | fin.entry 994 | } 995 | FUNCTION {book} 996 | { output.bibitem 997 | author empty$ 998 | { format.editors "author and editor" output.check 999 | } 1000 | { format.authors output.nonnull 1001 | crossref missing$ 1002 | { "author and editor" editor either.or.check } 1003 | 'skip$ 1004 | if$ 1005 | } 1006 | if$ 1007 | new.block 1008 | format.btitle "[M]" * "title" output.check 1009 | format.edition output 1010 | new.block 1011 | crossref missing$ 1012 | { format.bvolume output 1013 | new.block 1014 | new.sentence 1015 | format.number.series output 1016 | pages empty$ 1017 | { format.publisher.address output 1018 | % new.sentence 1019 | % format.pages output 1020 | } 1021 | { format.publisher.address ":" * format.pages * output } 1022 | if$ 1023 | } 1024 | { 1025 | new.block 1026 | format.book.crossref output.nonnull 1027 | format.date "year" output.check 1028 | } 1029 | if$ 1030 | fin.entry 1031 | } 1032 | 1033 | FUNCTION {newspaper} 1034 | { output.bibitem 1035 | author empty$ 1036 | { format.editors "author and editor" output.check 1037 | } 1038 | { format.authors output.nonnull 1039 | crossref missing$ 1040 | { "author and editor" editor either.or.check } 1041 | 'skip$ 1042 | if$ 1043 | } 1044 | if$ 1045 | new.block 1046 | format.btitle "[N]" * "title" output.check 1047 | new.block 1048 | journal "journal" output.check 1049 | year "-" * "year" bibinfo.check output 1050 | no.blank.or.punct 1051 | month "-" * "month" bibinfo.check output 1052 | no.blank.or.punct 1053 | date "date" bibinfo.check output 1054 | fin.entry 1055 | } 1056 | 1057 | FUNCTION {standard} 1058 | { output.bibitem 1059 | key "key" output.check 1060 | new.block 1061 | format.title "[S]" * "title" output.check 1062 | new.block 1063 | format.publisher.address output 1064 | fin.entry 1065 | } 1066 | 1067 | FUNCTION {inbook} 1068 | { output.bibitem 1069 | format.authors "author" output.check 1070 | new.block 1071 | format.title "[A]" * "title" output.check 1072 | new.block 1073 | crossref missing$ 1074 | { format.in.ed.booktitle "[M]" * "booktitle" output.check 1075 | %new.sentence 1076 | publisher empty$ 1077 | { format.organization.address output } 1078 | { organization "organization" bibinfo.check output 1079 | format.publisher.address ":" * output 1080 | no.blank.or.punct 1081 | } 1082 | if$ 1083 | %format.bvolume output 1084 | %format.number.series output 1085 | } 1086 | { format.incoll.inproc.crossref output.nonnull 1087 | } 1088 | if$ 1089 | format.pages "pages" output.check 1090 | fin.entry 1091 | } 1092 | 1093 | FUNCTION {incollection}{ inbook } 1094 | FUNCTION {inproceedings} 1095 | { output.bibitem 1096 | format.authors "author" output.check 1097 | new.block 1098 | format.title "[A]" * "title" output.check 1099 | new.block 1100 | crossref missing$ 1101 | { format.in.ed.booktitle "[C]" * "booktitle" output.check 1102 | %new.sentence 1103 | publisher empty$ 1104 | { format.organization.address output } 1105 | { organization "organization" bibinfo.check output 1106 | format.publisher.address ":" * output 1107 | no.blank.or.punct 1108 | } 1109 | if$ 1110 | %format.bvolume output 1111 | %format.number.series output 1112 | } 1113 | { format.incoll.inproc.crossref output.nonnull 1114 | } 1115 | if$ 1116 | format.pages "pages" output.check 1117 | fin.entry 1118 | } 1119 | FUNCTION {conference} { inproceedings } 1120 | 1121 | FUNCTION {manual} 1122 | { output.bibitem 1123 | author empty$ 1124 | { organization "organization" bibinfo.check 1125 | duplicate$ empty$ 'pop$ 1126 | { output 1127 | address "address" bibinfo.check output 1128 | } 1129 | if$ 1130 | } 1131 | { format.authors output.nonnull } 1132 | if$ 1133 | new.block 1134 | format.btitle "[EB/OL]" * "title" output.check 1135 | author empty$ 1136 | { organization empty$ 1137 | { 1138 | address new.block.checka 1139 | address "address" bibinfo.check output 1140 | } 1141 | 'skip$ 1142 | if$ 1143 | } 1144 | { 1145 | organization address new.block.checkb 1146 | organization "organization" bibinfo.check output 1147 | address "address" bibinfo.check output 1148 | } 1149 | if$ 1150 | new.block 1151 | format.url output 1152 | year "-" * "year" bibinfo.check output 1153 | no.blank.or.punct 1154 | month "-" * "month" bibinfo.check output 1155 | no.blank.or.punct 1156 | date "date" bibinfo.check output 1157 | new.block 1158 | format.note output 1159 | fin.entry 1160 | } 1161 | 1162 | FUNCTION {database} 1163 | { output.bibitem 1164 | author empty$ 1165 | { organization "organization" bibinfo.check 1166 | duplicate$ empty$ 'pop$ 1167 | { output 1168 | address "address" bibinfo.check output 1169 | } 1170 | if$ 1171 | } 1172 | { format.authors output.nonnull } 1173 | if$ 1174 | new.block 1175 | format.btitle "[DB/OL]" * "title" output.check 1176 | author empty$ 1177 | { organization empty$ 1178 | { 1179 | address new.block.checka 1180 | address "address" bibinfo.check output 1181 | } 1182 | 'skip$ 1183 | if$ 1184 | } 1185 | { 1186 | organization address new.block.checkb 1187 | organization "organization" bibinfo.check output 1188 | address "address" bibinfo.check output 1189 | } 1190 | if$ 1191 | new.block 1192 | format.url output 1193 | year "-" * "year" bibinfo.check output 1194 | no.blank.or.punct 1195 | month "-" * "month" bibinfo.check output 1196 | no.blank.or.punct 1197 | date "date" bibinfo.check output 1198 | new.block 1199 | format.note output 1200 | fin.entry 1201 | } 1202 | 1203 | 1204 | FUNCTION {software} 1205 | { output.bibitem 1206 | author empty$ 1207 | { organization "organization" bibinfo.check 1208 | duplicate$ empty$ 'pop$ 1209 | { output 1210 | address "address" bibinfo.check output 1211 | } 1212 | if$ 1213 | } 1214 | { format.authors output.nonnull } 1215 | if$ 1216 | new.block 1217 | format.btitle "[CP/DK]" * "title" output.check 1218 | author empty$ 1219 | { organization empty$ 1220 | { 1221 | address new.block.checka 1222 | address "address" bibinfo.check output 1223 | } 1224 | 'skip$ 1225 | if$ 1226 | } 1227 | { 1228 | organization address new.block.checkb 1229 | organization "organization" bibinfo.check output 1230 | address "address" bibinfo.check output 1231 | } 1232 | if$ 1233 | new.block 1234 | format.url output 1235 | year "-" * "year" bibinfo.check output 1236 | no.blank.or.punct 1237 | month "-" * "month" bibinfo.check output 1238 | no.blank.or.punct 1239 | date "date" bibinfo.check output 1240 | new.block 1241 | format.note output 1242 | fin.entry 1243 | } 1244 | 1245 | FUNCTION {mastersthesis} 1246 | { output.bibitem 1247 | format.authors "author" output.check 1248 | new.block 1249 | format.btitle 1250 | "[D]" * "title" output.check 1251 | new.block 1252 | school "school" bibinfo.warn format.org.or.pub output 1253 | new.block 1254 | format.url output 1255 | new.block 1256 | format.note output 1257 | fin.entry 1258 | } 1259 | 1260 | FUNCTION {phdthesis}{ mastersthesis } 1261 | 1262 | FUNCTION {proceedings} 1263 | { output.bibitem 1264 | editor empty$ 1265 | { organization "organization" bibinfo.check output 1266 | } 1267 | { format.editors output.nonnull } 1268 | if$ 1269 | new.block 1270 | format.btitle "[C]" * "title" output.check 1271 | format.bvolume output 1272 | format.number.series output 1273 | editor empty$ 1274 | { publisher empty$ 1275 | 'skip$ 1276 | { 1277 | new.sentence 1278 | format.publisher.address output 1279 | } 1280 | if$ 1281 | } 1282 | { publisher empty$ 1283 | { 1284 | new.sentence 1285 | format.organization.address output } 1286 | { 1287 | new.sentence 1288 | organization "organization" bibinfo.check output 1289 | format.publisher.address output 1290 | } 1291 | if$ 1292 | } 1293 | if$ 1294 | fin.entry 1295 | } 1296 | 1297 | FUNCTION {techreport} 1298 | { output.bibitem 1299 | format.authors "author" output.check 1300 | new.block 1301 | format.btitle 1302 | "[R]" * "title" output.check 1303 | new.block 1304 | institution "institution" bibinfo.warn format.org.or.pub output 1305 | fin.entry 1306 | } 1307 | 1308 | FUNCTION {patent} 1309 | { output.bibitem 1310 | format.authors "author" output.check 1311 | new.block 1312 | format.btitle 1313 | ":" * "title" output.check 1314 | no.blank.or.punct 1315 | address "address" output.check 1316 | key "[P]" * "key" output.check 1317 | new.block 1318 | year "-" * "year" bibinfo.check output 1319 | no.blank.or.punct 1320 | month "-" * "month" bibinfo.check output 1321 | no.blank.or.punct 1322 | date "date" bibinfo.check output 1323 | fin.entry 1324 | } 1325 | 1326 | FUNCTION {misc} 1327 | { output.bibitem 1328 | format.authors "author" output.check 1329 | new.block 1330 | format.title "[Z]" * "title" output.check 1331 | format.date output 1332 | new.block 1333 | format.url output 1334 | new.block 1335 | format.note "note" output.check 1336 | fin.entry 1337 | } 1338 | 1339 | FUNCTION {default.type} { misc } 1340 | READ 1341 | STRINGS { longest.label } 1342 | INTEGERS { number.label longest.label.width } 1343 | FUNCTION {initialize.longest.label} 1344 | { "" 'longest.label := 1345 | #1 'number.label := 1346 | #0 'longest.label.width := 1347 | } 1348 | FUNCTION {longest.label.pass} 1349 | { number.label int.to.str$ 'label := 1350 | number.label #1 + 'number.label := 1351 | label width$ longest.label.width > 1352 | { label 'longest.label := 1353 | label width$ 'longest.label.width := 1354 | } 1355 | 'skip$ 1356 | if$ 1357 | } 1358 | EXECUTE {initialize.longest.label} 1359 | ITERATE {longest.label.pass} 1360 | FUNCTION {begin.bib} 1361 | { preamble$ empty$ 1362 | 'skip$ 1363 | { preamble$ write$ newline$ } 1364 | if$ 1365 | "\begin{thebibliography}{" longest.label * "}" * 1366 | write$ newline$ 1367 | "\providecommand{\url}[1]{\texttt{#1}}" 1368 | write$ newline$ 1369 | "\providecommand{\urlprefix}{}" 1370 | write$ newline$ 1371 | "\renewcommand{\selectlanguage}[1]{\relax}" 1372 | write$ newline$ 1373 | "\providecommand{\bibAnnoteFile}[1]{%" 1374 | write$ newline$ 1375 | " \IfFileExists{#1}{\begin{quotation}\noindent\textsc{Key:} #1\\" 1376 | write$ newline$ 1377 | " \textsc{Annotation:}\ \input{#1}\end{quotation}}{}}" 1378 | write$ newline$ 1379 | "\providecommand{\bibAnnote}[2]{%" 1380 | write$ newline$ 1381 | " \begin{quotation}\noindent\textsc{Key:} #1\\" 1382 | write$ newline$ 1383 | " \textsc{Annotation:}\ #2\end{quotation}}" 1384 | write$ newline$ 1385 | } 1386 | EXECUTE {begin.bib} 1387 | EXECUTE {init.state.consts} 1388 | ITERATE {call.type$} 1389 | FUNCTION {end.bib} 1390 | { newline$ 1391 | "\end{thebibliography}" write$ newline$ 1392 | } 1393 | EXECUTE {end.bib} 1394 | %% End of customized bst file 1395 | %% 1396 | %% End of file `sysuthesis.bst'. 1397 | -------------------------------------------------------------------------------- /bibtex-style/sysuthesis2.bst: -------------------------------------------------------------------------------- 1 | %% 2 | %% This is file `sysuthesis.bst', 3 | %% generated with the docstrip utility. 4 | %% 5 | %% The original source files were: 6 | %% 7 | %% merlin.mbs (with options: `head,exlang,lang,annote,seq-no,nm-rv,jnrlst,nmlm,x3,m3,mcite,mct-3,mct-x3,dt-jnl,xmth,yrpp-xsp,atit-u,jttl-rm,vol-bf,pp-last,jwdvol,num-xser,btit-rm,bt-rm,bkpg-x,add-pub,pub-date,pub-xpar,pre-pub,in-x,ppx,xedn,xand,url,url-blk,em-x,nfss,,{}') 8 | %% merlin.mbs (with options: `tail,exlang,lang,annote,seq-no,nm-rv,jnrlst,nmlm,x3,m3,mcite,mct-3,mct-x3,dt-jnl,xmth,yrpp-xsp,atit-u,jttl-rm,vol-bf,pp-last,jwdvol,num-xser,btit-rm,bt-rm,bkpg-x,add-pub,pub-date,pub-xpar,pre-pub,in-x,ppx,xedn,xand,url,url-blk,em-x,nfss,,{}') 9 | %% ---------------------------------------- 10 | %% *** SYSU thesis style *** 11 | %% 12 | %% Copyright 1994-2011 Patrick W Daly 13 | % =============================================================== 14 | % IMPORTANT NOTICE: 15 | % This bibliographic style (bst) file has been generated from one or 16 | % more master bibliographic style (mbs) files, listed above. 17 | % 18 | % This generated file can be redistributed and/or modified under the terms 19 | % of the LaTeX Project Public License Distributed from CTAN 20 | % archives in directory macros/latex/base/lppl.txt; either 21 | % version 1 of the License, or any later version. 22 | % =============================================================== 23 | % Name and version information of the main mbs file: 24 | % \ProvidesFile{merlin.mbs}[2011/11/18 4.33 (PWD, AO, DPC)] 25 | % For use with BibTeX version 0.99a or later 26 | %------------------------------------------------------------------- 27 | % This bibliography style file is intended for texts in 28 | % This is a numerical citation style, and as such is standard LaTeX. 29 | % It requires no extra package to interface to the main text. 30 | % The form of the \bibitem entries is 31 | % \bibitem{key}... 32 | % Usage of \cite is as follows: 33 | % \cite{key} ==>> [#] 34 | % \cite[chap. 2]{key} ==>> [#, chap. 2] 35 | % where # is a number determined by the ordering in the reference list. 36 | % The order in the reference list is that by which the works were originally 37 | % cited in the text, or that in the database. 38 | %--------------------------------------------------------------------- 39 | 40 | ENTRY 41 | { address 42 | annote 43 | author 44 | booktitle 45 | chapter 46 | date 47 | edition 48 | editor 49 | eid 50 | howpublished 51 | institution 52 | journal 53 | key 54 | language 55 | month 56 | note 57 | number 58 | organization 59 | pages 60 | publisher 61 | school 62 | series 63 | title 64 | type 65 | url 66 | volume 67 | year 68 | } 69 | {} 70 | { label } 71 | INTEGERS { output.state before.all mid.sentence after.sentence after.block } 72 | FUNCTION {init.state.consts} 73 | { #0 'before.all := 74 | #1 'mid.sentence := 75 | #2 'after.sentence := 76 | #3 'after.block := 77 | } 78 | STRINGS { s t} 79 | FUNCTION {output.nonnull} 80 | { 's := 81 | output.state mid.sentence = 82 | { ", " * write$ } 83 | { output.state after.block = 84 | { add.period$ write$ 85 | newline$ 86 | "\newblock " write$ 87 | } 88 | { output.state before.all = 89 | 'write$ 90 | { add.period$ " " * write$ } 91 | if$ 92 | } 93 | if$ 94 | mid.sentence 'output.state := 95 | } 96 | if$ 97 | s 98 | } 99 | FUNCTION {output} 100 | { duplicate$ empty$ 101 | 'pop$ 102 | 'output.nonnull 103 | if$ 104 | } 105 | FUNCTION {output.check} 106 | { 't := 107 | duplicate$ empty$ 108 | { pop$ "empty " t * " in " * cite$ * warning$ } 109 | 'output.nonnull 110 | if$ 111 | } 112 | FUNCTION {fin.entry} 113 | { add.period$ 114 | write$ 115 | newline$ 116 | annote missing$ 117 | { "\bibAnnoteFile{" cite$ * "}" * write$ newline$ } 118 | { "\bibAnnote{" cite$ * "}{" * annote * "}" * write$ newline$ 119 | } 120 | if$ 121 | } 122 | 123 | FUNCTION {new.block} 124 | { output.state before.all = 125 | 'skip$ 126 | { after.block 'output.state := } 127 | if$ 128 | } 129 | FUNCTION {new.sentence} 130 | { output.state after.block = 131 | 'skip$ 132 | { output.state before.all = 133 | 'skip$ 134 | { after.sentence 'output.state := } 135 | if$ 136 | } 137 | if$ 138 | } 139 | FUNCTION {add.blank} 140 | { " " * before.all 'output.state := 141 | } 142 | 143 | FUNCTION {no.blank.or.punct} 144 | { "\hspace{0pt}" * before.all 'output.state := 145 | } 146 | 147 | FUNCTION {date.block} 148 | { 149 | new.block 150 | } 151 | 152 | FUNCTION {not} 153 | { { #0 } 154 | { #1 } 155 | if$ 156 | } 157 | FUNCTION {and} 158 | { 'skip$ 159 | { pop$ #0 } 160 | if$ 161 | } 162 | FUNCTION {or} 163 | { { pop$ #1 } 164 | 'skip$ 165 | if$ 166 | } 167 | STRINGS {z} 168 | 169 | FUNCTION {remove.dots} 170 | { 'z := 171 | "" 172 | { z empty$ not } 173 | { z #1 #2 substring$ 174 | duplicate$ "\." = 175 | { z #3 global.max$ substring$ 'z := * } 176 | { pop$ 177 | z #1 #1 substring$ 178 | z #2 global.max$ substring$ 'z := 179 | duplicate$ "." = 'pop$ 180 | { * } 181 | if$ 182 | } 183 | if$ 184 | } 185 | while$ 186 | } 187 | FUNCTION {new.block.checka} 188 | { empty$ 189 | 'skip$ 190 | 'new.block 191 | if$ 192 | } 193 | FUNCTION {new.block.checkb} 194 | { empty$ 195 | swap$ empty$ 196 | and 197 | 'skip$ 198 | 'new.block 199 | if$ 200 | } 201 | FUNCTION {new.sentence.checka} 202 | { empty$ 203 | 'skip$ 204 | 'new.sentence 205 | if$ 206 | } 207 | FUNCTION {new.sentence.checkb} 208 | { empty$ 209 | swap$ empty$ 210 | and 211 | 'skip$ 212 | 'new.sentence 213 | if$ 214 | } 215 | FUNCTION {field.or.null} 216 | { duplicate$ empty$ 217 | { pop$ "" } 218 | 'skip$ 219 | if$ 220 | } 221 | FUNCTION {emphasize} 222 | { skip$ } 223 | FUNCTION {bolden} 224 | { duplicate$ empty$ 225 | { pop$ "" } 226 | { "\textbf{" swap$ * "}" * } 227 | if$ 228 | } 229 | FUNCTION {tie.or.space.prefix} 230 | { duplicate$ text.length$ #3 < 231 | { "~" } 232 | { " " } 233 | if$ 234 | swap$ 235 | } 236 | 237 | FUNCTION {capitalize} 238 | { "u" change.case$ "t" change.case$ } 239 | 240 | FUNCTION {space.word} 241 | { " " swap$ * " " * } 242 | % Here are the language-specific definitions for explicit words. 243 | % Each function has a name bbl.xxx where xxx is the English word. 244 | %------------------------------------------------------------------- 245 | % Begin module: 246 | % \ProvidesFile{chinese.mbs}[2003/11/06 4.2 (PWD)] 247 | 248 | % The language selected here is CHINESE 249 | FUNCTION {bbl.and} 250 | { ""} 251 | 252 | FUNCTION {bbl.etal} 253 | { 254 | language empty$ 255 | { "{et~al}" } 256 | { "等" } 257 | if$ 258 | } 259 | 260 | FUNCTION {bbl.editors} 261 | { "编辑" } 262 | 263 | FUNCTION {bbl.editor} 264 | { "编辑" } 265 | 266 | FUNCTION {bbl.edby} 267 | { "编辑" } 268 | 269 | FUNCTION {bbl.edition} 270 | { "版" } 271 | 272 | FUNCTION {bbl.volume} 273 | { "" } 274 | 275 | FUNCTION {bbl.of} 276 | { "//" } 277 | 278 | FUNCTION {bbl.number} 279 | { "第" } 280 | 281 | FUNCTION {bbl.nr} 282 | { "第" } 283 | 284 | FUNCTION {bbl.in} 285 | { "" } 286 | 287 | FUNCTION {bbl.pages} 288 | { "" } 289 | 290 | FUNCTION {bbl.page} 291 | { "" } 292 | 293 | FUNCTION {bbl.chapter} 294 | { "章" } 295 | 296 | FUNCTION {bbl.techrep} 297 | { "技术报告" } 298 | 299 | FUNCTION {bbl.mthesis} 300 | { "硕士学位论文" } 301 | 302 | FUNCTION {bbl.phdthesis} 303 | { "博士学位论文" } 304 | 305 | MACRO {jan} {"一月"} 306 | 307 | MACRO {feb} {"二月"} 308 | 309 | MACRO {mar} {"三月"} 310 | 311 | MACRO {apr} {"四月"} 312 | 313 | MACRO {may} {"五月"} 314 | 315 | MACRO {jun} {"六月"} 316 | 317 | MACRO {jul} {"七月"} 318 | 319 | MACRO {aug} {"八月"} 320 | 321 | MACRO {sep} {"九月"} 322 | 323 | MACRO {oct} {"十月"} 324 | 325 | MACRO {nov} {"十一月"} 326 | 327 | MACRO {dec} {"十二月"} 328 | 329 | % End module: chinese.mbs 330 | %% Copyright 1994-2011 Patrick W Daly 331 | MACRO {acmcs} {"ACM Computing Surveys"} 332 | 333 | MACRO {acta} {"Acta Informatica"} 334 | 335 | MACRO {cacm} {"Communications of the ACM"} 336 | 337 | MACRO {ibmjrd} {"IBM Journal of Research and Development"} 338 | 339 | MACRO {ibmsj} {"IBM Systems Journal"} 340 | 341 | MACRO {ieeese} {"IEEE Transactions on Software Engineering"} 342 | 343 | MACRO {ieeetc} {"IEEE Transactions on Computers"} 344 | 345 | MACRO {ieeetcad} 346 | {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"} 347 | 348 | MACRO {ipl} {"Information Processing Letters"} 349 | 350 | MACRO {jacm} {"Journal of the ACM"} 351 | 352 | MACRO {jcss} {"Journal of Computer and System Sciences"} 353 | 354 | MACRO {scp} {"Science of Computer Programming"} 355 | 356 | MACRO {sicomp} {"SIAM Journal on Computing"} 357 | 358 | MACRO {tocs} {"ACM Transactions on Computer Systems"} 359 | 360 | MACRO {tods} {"ACM Transactions on Database Systems"} 361 | 362 | MACRO {tog} {"ACM Transactions on Graphics"} 363 | 364 | MACRO {toms} {"ACM Transactions on Mathematical Software"} 365 | 366 | MACRO {toois} {"ACM Transactions on Office Information Systems"} 367 | 368 | MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"} 369 | 370 | MACRO {tcs} {"Theoretical Computer Science"} 371 | FUNCTION {bibinfo.check} 372 | { swap$ 373 | duplicate$ missing$ 374 | { 375 | pop$ pop$ 376 | "" 377 | } 378 | { duplicate$ empty$ 379 | { 380 | swap$ pop$ 381 | } 382 | { swap$ 383 | pop$ 384 | } 385 | if$ 386 | } 387 | if$ 388 | } 389 | FUNCTION {bibinfo.warn} 390 | { swap$ 391 | duplicate$ missing$ 392 | { 393 | swap$ "missing " swap$ * " in " * cite$ * warning$ pop$ 394 | "" 395 | } 396 | { duplicate$ empty$ 397 | { 398 | swap$ "empty " swap$ * " in " * cite$ * warning$ 399 | } 400 | { swap$ 401 | pop$ 402 | } 403 | if$ 404 | } 405 | if$ 406 | } 407 | FUNCTION {format.url} 408 | { 409 | url 410 | duplicate$ empty$ 411 | { pop$ "" } 412 | { "\urlprefix\url{" swap$ * "}" * } 413 | if$ 414 | } 415 | 416 | INTEGERS { nameptr namesleft numnames } 417 | 418 | 419 | STRINGS { bibinfo} 420 | 421 | FUNCTION {format.names} 422 | { 'bibinfo := 423 | duplicate$ empty$ 'skip$ { 424 | 's := 425 | "" 't := 426 | #1 'nameptr := 427 | s num.names$ 'numnames := 428 | numnames 'namesleft := 429 | { namesleft #0 > } 430 | { s nameptr 431 | "{vv~}{ll}{ f{~}}{ jj}" 432 | format.name$ 433 | remove.dots 434 | bibinfo bibinfo.check 435 | 't := 436 | nameptr #1 > 437 | { 438 | nameptr #3 439 | #1 + = 440 | numnames #3 441 | > and 442 | { "others" 't := 443 | #1 'namesleft := } 444 | 'skip$ 445 | if$ 446 | namesleft #1 > 447 | { ", " * t * } 448 | { 449 | s nameptr "{ll}" format.name$ duplicate$ "others" = 450 | { 't := } 451 | { pop$ } 452 | if$ 453 | "," * 454 | t "others" = 455 | { 456 | " " * bbl.etal * 457 | } 458 | { " " * t * } 459 | if$ 460 | } 461 | if$ 462 | } 463 | 't 464 | if$ 465 | nameptr #1 + 'nameptr := 466 | namesleft #1 - 'namesleft := 467 | } 468 | while$ 469 | } if$ 470 | } 471 | FUNCTION {format.names.ed} 472 | { 473 | 'bibinfo := 474 | duplicate$ empty$ 'skip$ { 475 | 's := 476 | "" 't := 477 | #1 'nameptr := 478 | s num.names$ 'numnames := 479 | numnames 'namesleft := 480 | { namesleft #0 > } 481 | { s nameptr 482 | "{f{~}~}{vv~}{ll}{ jj}" 483 | format.name$ 484 | remove.dots 485 | bibinfo bibinfo.check 486 | 't := 487 | nameptr #1 > 488 | { 489 | namesleft #1 > 490 | { ", " * t * } 491 | { 492 | s nameptr "{ll}" format.name$ duplicate$ "others" = 493 | { 't := } 494 | { pop$ } 495 | if$ 496 | "," * 497 | t "others" = 498 | { 499 | " " * bbl.etal * 500 | } 501 | { " " * t * } 502 | if$ 503 | } 504 | if$ 505 | } 506 | 't 507 | if$ 508 | nameptr #1 + 'nameptr := 509 | namesleft #1 - 'namesleft := 510 | } 511 | while$ 512 | } if$ 513 | } 514 | FUNCTION {format.authors} 515 | { author "author" format.names 516 | } 517 | FUNCTION {get.bbl.editor} 518 | { editor num.names$ #1 > 'bbl.editors 'bbl.editor if$ } 519 | 520 | FUNCTION {format.editors} 521 | { editor "editor" format.names duplicate$ empty$ 'skip$ 522 | { 523 | "," * 524 | " " * 525 | get.bbl.editor 526 | * 527 | } 528 | if$ 529 | } 530 | FUNCTION {select.language} 531 | { duplicate$ empty$ 532 | 'pop$ 533 | { language empty$ 534 | 'skip$ 535 | { "{\selectlanguage{" language * "}" * swap$ * "}" * } 536 | if$ 537 | } 538 | if$ 539 | } 540 | 541 | FUNCTION {format.note} 542 | { 543 | note empty$ 544 | { "" } 545 | { note #1 #1 substring$ 546 | duplicate$ "{" = 547 | 'skip$ 548 | { output.state mid.sentence = 549 | { "l" } 550 | { "u" } 551 | if$ 552 | change.case$ 553 | } 554 | if$ 555 | note #2 global.max$ substring$ * "note" bibinfo.check 556 | } 557 | if$ 558 | } 559 | 560 | FUNCTION {format.title} 561 | { title 562 | "title" bibinfo.check 563 | duplicate$ empty$ 'skip$ 564 | { 565 | select.language 566 | } 567 | if$ 568 | } 569 | FUNCTION {output.bibitem} 570 | { newline$ 571 | "\bibitem{" write$ 572 | cite$ write$ 573 | "}" write$ 574 | newline$ 575 | "" 576 | before.all 'output.state := 577 | } 578 | 579 | FUNCTION {n.dashify} 580 | { 581 | 't := 582 | "" 583 | { t empty$ not } 584 | { t #1 #1 substring$ "-" = 585 | { t #1 #2 substring$ "--" = not 586 | { "--" * 587 | t #2 global.max$ substring$ 't := 588 | } 589 | { { t #1 #1 substring$ "-" = } 590 | { "-" * 591 | t #2 global.max$ substring$ 't := 592 | } 593 | while$ 594 | } 595 | if$ 596 | } 597 | { t #1 #1 substring$ * 598 | t #2 global.max$ substring$ 't := 599 | } 600 | if$ 601 | } 602 | while$ 603 | } 604 | 605 | FUNCTION {word.in} 606 | { "" } 607 | 608 | FUNCTION {format.date} 609 | { 610 | "" 611 | duplicate$ empty$ 612 | year "year" bibinfo.check duplicate$ empty$ 613 | { swap$ 'skip$ 614 | { "there's a month but no year in " cite$ * warning$ } 615 | if$ 616 | * 617 | } 618 | { swap$ 'skip$ 619 | { 620 | swap$ 621 | " " * swap$ 622 | } 623 | if$ 624 | * 625 | } 626 | if$ 627 | } 628 | FUNCTION {format.btitle} 629 | { title "title" bibinfo.check 630 | duplicate$ empty$ 'skip$ 631 | { 632 | select.language 633 | } 634 | if$ 635 | } 636 | FUNCTION {either.or.check} 637 | { empty$ 638 | 'pop$ 639 | { "can't use both " swap$ * " fields in " * cite$ * warning$ } 640 | if$ 641 | } 642 | FUNCTION {format.bvolume} 643 | { volume empty$ 644 | { "" } 645 | { bbl.volume volume tie.or.space.prefix 646 | "volume" bibinfo.check * * 647 | series "series" bibinfo.check 648 | duplicate$ empty$ 'pop$ 649 | { swap$ bbl.of space.word * swap$ 650 | emphasize * } 651 | if$ 652 | "volume and number" number either.or.check 653 | } 654 | if$ 655 | } 656 | FUNCTION {format.number.series} 657 | { volume empty$ 658 | { number empty$ 659 | { series field.or.null } 660 | { series empty$ 661 | { number "number" bibinfo.check } 662 | { output.state mid.sentence = 663 | { bbl.number } 664 | { bbl.number capitalize } 665 | if$ 666 | number tie.or.space.prefix "number" bibinfo.check * * 667 | bbl.in space.word * 668 | series "series" bibinfo.check * 669 | } 670 | if$ 671 | } 672 | if$ 673 | } 674 | { "" } 675 | if$ 676 | } 677 | 678 | FUNCTION {format.edition} 679 | { edition duplicate$ empty$ 'skip$ 680 | { 681 | output.state mid.sentence = 682 | { "l" } 683 | { "t" } 684 | if$ change.case$ 685 | "edition" bibinfo.check 686 | " " * bbl.edition * 687 | } 688 | if$ 689 | } 690 | INTEGERS { multiresult } 691 | FUNCTION {multi.page.check} 692 | { 't := 693 | #0 'multiresult := 694 | { multiresult not 695 | t empty$ not 696 | and 697 | } 698 | { t #1 #1 substring$ 699 | duplicate$ "-" = 700 | swap$ duplicate$ "," = 701 | swap$ "+" = 702 | or or 703 | { #1 'multiresult := } 704 | { t #2 global.max$ substring$ 't := } 705 | if$ 706 | } 707 | while$ 708 | multiresult 709 | } 710 | FUNCTION {format.pages} 711 | { pages duplicate$ empty$ 'skip$ 712 | { duplicate$ multi.page.check 713 | { 714 | n.dashify 715 | } 716 | { 717 | } 718 | if$ 719 | "pages" bibinfo.check 720 | } 721 | if$ 722 | } 723 | FUNCTION {format.journal.pages} 724 | { pages duplicate$ empty$ 'pop$ 725 | { swap$ duplicate$ empty$ 726 | { pop$ pop$ format.pages } 727 | { 728 | ":" * 729 | swap$ 730 | n.dashify 731 | "pages" bibinfo.check 732 | * 733 | } 734 | if$ 735 | } 736 | if$ 737 | } 738 | FUNCTION {format.journal.eid} 739 | { eid "eid" bibinfo.check 740 | duplicate$ empty$ 'pop$ 741 | { swap$ duplicate$ empty$ 'skip$ 742 | { 743 | ":" * 744 | } 745 | if$ 746 | swap$ * 747 | } 748 | if$ 749 | } 750 | FUNCTION {format.vol.num.pages} 751 | { volume field.or.null 752 | duplicate$ empty$ 'skip$ 753 | { 754 | bbl.volume swap$ tie.or.space.prefix 755 | "volume" bibinfo.check 756 | * * 757 | } 758 | if$ 759 | bolden 760 | number "number" bibinfo.check duplicate$ empty$ 'skip$ 761 | { 762 | swap$ duplicate$ empty$ 763 | { "there's a number but no volume in " cite$ * warning$ } 764 | 'skip$ 765 | if$ 766 | swap$ 767 | "(" swap$ * ")" * 768 | } 769 | if$ * 770 | } 771 | 772 | FUNCTION {format.chapter.pages} 773 | { chapter empty$ 774 | { "" } 775 | { type empty$ 776 | { bbl.chapter } 777 | { type "l" change.case$ 778 | "type" bibinfo.check 779 | } 780 | if$ 781 | chapter tie.or.space.prefix 782 | "chapter" bibinfo.check 783 | * * 784 | } 785 | if$ 786 | } 787 | 788 | FUNCTION {format.booktitle} 789 | { 790 | booktitle "booktitle" bibinfo.check 791 | } 792 | FUNCTION {format.in.ed.booktitle} 793 | { format.booktitle duplicate$ empty$ 'skip$ 794 | { 795 | editor "editor" format.names.ed duplicate$ empty$ 'pop$ 796 | { 797 | "," * 798 | " " * 799 | get.bbl.editor 800 | ", " * 801 | * swap$ 802 | * } 803 | if$ 804 | word.in swap$ * 805 | } 806 | if$ 807 | } 808 | FUNCTION {empty.misc.check} 809 | { author empty$ title empty$ howpublished empty$ 810 | month empty$ year empty$ note empty$ 811 | and and and and and 812 | { "all relevant fields are empty in " cite$ * warning$ } 813 | 'skip$ 814 | if$ 815 | } 816 | FUNCTION {format.thesis.type} 817 | { type duplicate$ empty$ 818 | 'pop$ 819 | { swap$ pop$ 820 | "t" change.case$ "type" bibinfo.check 821 | } 822 | if$ 823 | } 824 | FUNCTION {format.tr.number} 825 | { number "number" bibinfo.check 826 | type duplicate$ empty$ 827 | { pop$ bbl.techrep } 828 | 'skip$ 829 | if$ 830 | "type" bibinfo.check 831 | swap$ duplicate$ empty$ 832 | { pop$ "t" change.case$ } 833 | { tie.or.space.prefix * * } 834 | if$ 835 | } 836 | FUNCTION {format.article.crossref} 837 | { 838 | key duplicate$ empty$ 839 | { pop$ 840 | journal duplicate$ empty$ 841 | { "need key or journal for " cite$ * " to crossref " * crossref * warning$ } 842 | { "journal" bibinfo.check emphasize word.in swap$ * } 843 | if$ 844 | } 845 | { word.in swap$ * " " *} 846 | if$ 847 | " \cite{" * crossref * "}" * 848 | } 849 | FUNCTION {format.crossref.editor} 850 | { editor #1 "{vv~}{ll}" format.name$ 851 | "editor" bibinfo.check 852 | editor num.names$ duplicate$ 853 | #2 > 854 | { pop$ 855 | "editor" bibinfo.check 856 | " " * bbl.etal 857 | * 858 | } 859 | { #2 < 860 | 'skip$ 861 | { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = 862 | { 863 | "editor" bibinfo.check 864 | " " * bbl.etal 865 | * 866 | } 867 | { 868 | bbl.and space.word 869 | * editor #2 "{vv~}{ll}" format.name$ 870 | "editor" bibinfo.check 871 | * 872 | } 873 | if$ 874 | } 875 | if$ 876 | } 877 | if$ 878 | } 879 | FUNCTION {format.book.crossref} 880 | { volume duplicate$ empty$ 881 | { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ 882 | pop$ word.in 883 | } 884 | { bbl.volume 885 | capitalize 886 | swap$ tie.or.space.prefix "volume" bibinfo.check * * bbl.of space.word * 887 | } 888 | if$ 889 | editor empty$ 890 | editor field.or.null author field.or.null = 891 | or 892 | { key empty$ 893 | { series empty$ 894 | { "need editor, key, or series for " cite$ * " to crossref " * 895 | crossref * warning$ 896 | "" * 897 | } 898 | { series emphasize * } 899 | if$ 900 | } 901 | { key * } 902 | if$ 903 | } 904 | { format.crossref.editor * } 905 | if$ 906 | " \cite{" * crossref * "}" * 907 | } 908 | FUNCTION {format.incoll.inproc.crossref} 909 | { 910 | editor empty$ 911 | editor field.or.null author field.or.null = 912 | or 913 | { key empty$ 914 | { format.booktitle duplicate$ empty$ 915 | { "need editor, key, or booktitle for " cite$ * " to crossref " * 916 | crossref * warning$ 917 | } 918 | { word.in swap$ * } 919 | if$ 920 | } 921 | { word.in key * " " *} 922 | if$ 923 | } 924 | { word.in format.crossref.editor * " " *} 925 | if$ 926 | " \cite{" * crossref * "}" * 927 | } 928 | FUNCTION {format.org.or.pub} 929 | { 't := 930 | "" 931 | year empty$ 932 | { "empty year in " cite$ * warning$ } 933 | 'skip$ 934 | if$ 935 | address empty$ t empty$ and 936 | year empty$ and 937 | 'skip$ 938 | { 939 | address "address" bibinfo.check * 940 | t empty$ 941 | 'skip$ 942 | { address empty$ 943 | 'skip$ 944 | { ": " * } 945 | if$ 946 | t * 947 | } 948 | if$ 949 | year empty$ 950 | 'skip$ 951 | { t empty$ address empty$ and 952 | 'skip$ 953 | { ", " *} 954 | if$ 955 | year "year" bibinfo.check 956 | * 957 | } 958 | if$ 959 | } 960 | if$ 961 | } 962 | FUNCTION {format.publisher.address} 963 | { publisher "publisher" bibinfo.warn format.org.or.pub 964 | } 965 | 966 | FUNCTION {format.organization.address} 967 | { organization "organization" bibinfo.check format.org.or.pub 968 | } 969 | 970 | FUNCTION {article} 971 | { output.bibitem 972 | format.authors "author" output.check 973 | new.block 974 | format.title "[J]" * "title" output.check 975 | new.block 976 | crossref missing$ 977 | { 978 | journal 979 | "journal" bibinfo.check 980 | "journal" output.check 981 | format.date "year" output.check 982 | %date.block 983 | format.vol.num.pages output 984 | } 985 | { format.article.crossref output.nonnull 986 | } 987 | if$ 988 | eid empty$ 989 | { format.journal.pages } 990 | { format.journal.eid } 991 | if$ 992 | fin.entry 993 | } 994 | FUNCTION {book} 995 | { output.bibitem 996 | author empty$ 997 | { format.editors "author and editor" output.check 998 | } 999 | { format.authors output.nonnull 1000 | crossref missing$ 1001 | { "author and editor" editor either.or.check } 1002 | 'skip$ 1003 | if$ 1004 | } 1005 | if$ 1006 | new.block 1007 | format.btitle "[M]" * "title" output.check 1008 | format.edition output 1009 | new.block 1010 | crossref missing$ 1011 | { format.bvolume output 1012 | new.block 1013 | new.sentence 1014 | format.number.series output 1015 | pages empty$ 1016 | { format.publisher.address output 1017 | % new.sentence 1018 | % format.pages output 1019 | } 1020 | { format.publisher.address ":" * format.pages * output } 1021 | if$ 1022 | } 1023 | { 1024 | new.block 1025 | format.book.crossref output.nonnull 1026 | format.date "year" output.check 1027 | } 1028 | if$ 1029 | fin.entry 1030 | } 1031 | 1032 | FUNCTION {newspaper} 1033 | { output.bibitem 1034 | author empty$ 1035 | { format.editors "author and editor" output.check 1036 | } 1037 | { format.authors output.nonnull 1038 | crossref missing$ 1039 | { "author and editor" editor either.or.check } 1040 | 'skip$ 1041 | if$ 1042 | } 1043 | if$ 1044 | new.block 1045 | format.btitle "[N]" * "title" output.check 1046 | new.block 1047 | journal "journal" output.check 1048 | year "-" * "year" bibinfo.check output 1049 | no.blank.or.punct 1050 | month "-" * "month" bibinfo.check output 1051 | no.blank.or.punct 1052 | date "date" bibinfo.check output 1053 | fin.entry 1054 | } 1055 | 1056 | FUNCTION {standard} 1057 | { output.bibitem 1058 | key "key" output.check 1059 | new.block 1060 | format.title "[S]" * "title" output.check 1061 | new.block 1062 | format.publisher.address output 1063 | fin.entry 1064 | } 1065 | 1066 | FUNCTION {inbook} 1067 | { output.bibitem 1068 | format.authors "author" output.check 1069 | new.block 1070 | format.title "[A]" * "title" output.check 1071 | new.block 1072 | crossref missing$ 1073 | { format.in.ed.booktitle "[M]" * "booktitle" output.check 1074 | %new.sentence 1075 | publisher empty$ 1076 | { format.organization.address output } 1077 | { organization "organization" bibinfo.check output 1078 | format.publisher.address ":" * output 1079 | no.blank.or.punct 1080 | } 1081 | if$ 1082 | %format.bvolume output 1083 | %format.number.series output 1084 | } 1085 | { format.incoll.inproc.crossref output.nonnull 1086 | } 1087 | if$ 1088 | format.pages "pages" output.check 1089 | fin.entry 1090 | } 1091 | 1092 | FUNCTION {incollection}{ inbook } 1093 | FUNCTION {inproceedings} 1094 | { output.bibitem 1095 | format.authors "author" output.check 1096 | new.block 1097 | format.title "[A]" * "title" output.check 1098 | new.block 1099 | crossref missing$ 1100 | { format.in.ed.booktitle "[C]" * "booktitle" output.check 1101 | %new.sentence 1102 | publisher empty$ 1103 | { format.organization.address output } 1104 | { organization "organization" bibinfo.check output 1105 | format.publisher.address ":" * output 1106 | no.blank.or.punct 1107 | } 1108 | if$ 1109 | %format.bvolume output 1110 | %format.number.series output 1111 | } 1112 | { format.incoll.inproc.crossref output.nonnull 1113 | } 1114 | if$ 1115 | format.pages "pages" output.check 1116 | fin.entry 1117 | } 1118 | FUNCTION {conference} { inproceedings } 1119 | 1120 | FUNCTION {manual} 1121 | { output.bibitem 1122 | author empty$ 1123 | { organization "organization" bibinfo.check 1124 | duplicate$ empty$ 'pop$ 1125 | { output 1126 | address "address" bibinfo.check output 1127 | } 1128 | if$ 1129 | } 1130 | { format.authors output.nonnull } 1131 | if$ 1132 | new.block 1133 | format.btitle "[EB/OL]" * "title" output.check 1134 | author empty$ 1135 | { organization empty$ 1136 | { 1137 | address new.block.checka 1138 | address "address" bibinfo.check output 1139 | } 1140 | 'skip$ 1141 | if$ 1142 | } 1143 | { 1144 | organization address new.block.checkb 1145 | organization "organization" bibinfo.check output 1146 | address "address" bibinfo.check output 1147 | } 1148 | if$ 1149 | new.block 1150 | format.url output 1151 | year "-" * "year" bibinfo.check output 1152 | no.blank.or.punct 1153 | month "-" * "month" bibinfo.check output 1154 | no.blank.or.punct 1155 | date "date" bibinfo.check output 1156 | new.block 1157 | format.note output 1158 | fin.entry 1159 | } 1160 | 1161 | FUNCTION {database} 1162 | { output.bibitem 1163 | author empty$ 1164 | { organization "organization" bibinfo.check 1165 | duplicate$ empty$ 'pop$ 1166 | { output 1167 | address "address" bibinfo.check output 1168 | } 1169 | if$ 1170 | } 1171 | { format.authors output.nonnull } 1172 | if$ 1173 | new.block 1174 | format.btitle "[DB/OL]" * "title" output.check 1175 | author empty$ 1176 | { organization empty$ 1177 | { 1178 | address new.block.checka 1179 | address "address" bibinfo.check output 1180 | } 1181 | 'skip$ 1182 | if$ 1183 | } 1184 | { 1185 | organization address new.block.checkb 1186 | organization "organization" bibinfo.check output 1187 | address "address" bibinfo.check output 1188 | } 1189 | if$ 1190 | new.block 1191 | format.url output 1192 | year "-" * "year" bibinfo.check output 1193 | no.blank.or.punct 1194 | month "-" * "month" bibinfo.check output 1195 | no.blank.or.punct 1196 | date "date" bibinfo.check output 1197 | new.block 1198 | format.note output 1199 | fin.entry 1200 | } 1201 | 1202 | 1203 | FUNCTION {software} 1204 | { output.bibitem 1205 | author empty$ 1206 | { organization "organization" bibinfo.check 1207 | duplicate$ empty$ 'pop$ 1208 | { output 1209 | address "address" bibinfo.check output 1210 | } 1211 | if$ 1212 | } 1213 | { format.authors output.nonnull } 1214 | if$ 1215 | new.block 1216 | format.btitle "[CP/DK]" * "title" output.check 1217 | author empty$ 1218 | { organization empty$ 1219 | { 1220 | address new.block.checka 1221 | address "address" bibinfo.check output 1222 | } 1223 | 'skip$ 1224 | if$ 1225 | } 1226 | { 1227 | organization address new.block.checkb 1228 | organization "organization" bibinfo.check output 1229 | address "address" bibinfo.check output 1230 | } 1231 | if$ 1232 | new.block 1233 | format.url output 1234 | year "-" * "year" bibinfo.check output 1235 | no.blank.or.punct 1236 | month "-" * "month" bibinfo.check output 1237 | no.blank.or.punct 1238 | date "date" bibinfo.check output 1239 | new.block 1240 | format.note output 1241 | fin.entry 1242 | } 1243 | 1244 | FUNCTION {mastersthesis} 1245 | { output.bibitem 1246 | format.authors "author" output.check 1247 | new.block 1248 | format.btitle 1249 | "[D]" * "title" output.check 1250 | new.block 1251 | school "school" bibinfo.warn format.org.or.pub output 1252 | new.block 1253 | format.url output 1254 | new.block 1255 | format.note output 1256 | fin.entry 1257 | } 1258 | 1259 | FUNCTION {phdthesis}{ mastersthesis } 1260 | 1261 | FUNCTION {proceedings} 1262 | { output.bibitem 1263 | editor empty$ 1264 | { organization "organization" bibinfo.check output 1265 | } 1266 | { format.editors output.nonnull } 1267 | if$ 1268 | new.block 1269 | format.btitle "[C]" * "title" output.check 1270 | format.bvolume output 1271 | format.number.series output 1272 | editor empty$ 1273 | { publisher empty$ 1274 | 'skip$ 1275 | { 1276 | new.sentence 1277 | format.publisher.address output 1278 | } 1279 | if$ 1280 | } 1281 | { publisher empty$ 1282 | { 1283 | new.sentence 1284 | format.organization.address output } 1285 | { 1286 | new.sentence 1287 | organization "organization" bibinfo.check output 1288 | format.publisher.address output 1289 | } 1290 | if$ 1291 | } 1292 | if$ 1293 | fin.entry 1294 | } 1295 | 1296 | FUNCTION {techreport} 1297 | { output.bibitem 1298 | format.authors "author" output.check 1299 | new.block 1300 | format.btitle 1301 | "[R]" * "title" output.check 1302 | new.block 1303 | institution "institution" bibinfo.warn format.org.or.pub output 1304 | fin.entry 1305 | } 1306 | 1307 | FUNCTION {patent} 1308 | { output.bibitem 1309 | format.authors "author" output.check 1310 | new.block 1311 | format.btitle 1312 | ":" * "title" output.check 1313 | no.blank.or.punct 1314 | address "address" output.check 1315 | key "[P]" * "key" output.check 1316 | new.block 1317 | year "-" * "year" bibinfo.check output 1318 | no.blank.or.punct 1319 | month "-" * "month" bibinfo.check output 1320 | no.blank.or.punct 1321 | date "date" bibinfo.check output 1322 | fin.entry 1323 | } 1324 | 1325 | FUNCTION {misc} 1326 | { output.bibitem 1327 | format.authors "author" output.check 1328 | new.block 1329 | format.title "[Z]" * "title" output.check 1330 | format.date output 1331 | new.block 1332 | format.url output 1333 | new.block 1334 | format.note "note" output.check 1335 | fin.entry 1336 | } 1337 | 1338 | FUNCTION {default.type} { misc } 1339 | READ 1340 | STRINGS { longest.label } 1341 | INTEGERS { number.label longest.label.width } 1342 | FUNCTION {initialize.longest.label} 1343 | { "" 'longest.label := 1344 | #1 'number.label := 1345 | #0 'longest.label.width := 1346 | } 1347 | FUNCTION {longest.label.pass} 1348 | { number.label int.to.str$ 'label := 1349 | number.label #1 + 'number.label := 1350 | label width$ longest.label.width > 1351 | { label 'longest.label := 1352 | label width$ 'longest.label.width := 1353 | } 1354 | 'skip$ 1355 | if$ 1356 | } 1357 | EXECUTE {initialize.longest.label} 1358 | ITERATE {longest.label.pass} 1359 | FUNCTION {begin.bib} 1360 | { preamble$ empty$ 1361 | 'skip$ 1362 | { preamble$ write$ newline$ } 1363 | if$ 1364 | "\begin{thebibliography}{" longest.label * "}" * 1365 | write$ newline$ 1366 | "\providecommand{\url}[1]{\texttt{#1}}" 1367 | write$ newline$ 1368 | "\providecommand{\urlprefix}{}" 1369 | write$ newline$ 1370 | "\renewcommand{\selectlanguage}[1]{\relax}" 1371 | write$ newline$ 1372 | "\providecommand{\bibAnnoteFile}[1]{%" 1373 | write$ newline$ 1374 | " \IfFileExists{#1}{\begin{quotation}\noindent\textsc{Key:} #1\\" 1375 | write$ newline$ 1376 | " \textsc{Annotation:}\ \input{#1}\end{quotation}}{}}" 1377 | write$ newline$ 1378 | "\providecommand{\bibAnnote}[2]{%" 1379 | write$ newline$ 1380 | " \begin{quotation}\noindent\textsc{Key:} #1\\" 1381 | write$ newline$ 1382 | " \textsc{Annotation:}\ #2\end{quotation}}" 1383 | write$ newline$ 1384 | } 1385 | EXECUTE {begin.bib} 1386 | EXECUTE {init.state.consts} 1387 | ITERATE {call.type$} 1388 | FUNCTION {end.bib} 1389 | { newline$ 1390 | "\end{thebibliography}" write$ newline$ 1391 | } 1392 | EXECUTE {end.bib} 1393 | %% End of customized bst file 1394 | %% 1395 | %% End of file `sysuthesis.bst'. 1396 | -------------------------------------------------------------------------------- /code/demo.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | int main() 3 | { 4 | ::std::cout << "hello world" << ::std::endl; 5 | return 0; 6 | } -------------------------------------------------------------------------------- /ctex-fontset-adobe2.def: -------------------------------------------------------------------------------- 1 | \ProvidesExplFile{ctex-fontset-adobe2.def} 2 | {\ExplFileDate}{2.5.6}{\ExplFileDescription} 3 | \setCJKmainfont { AdobeSongStd-Light.otf } 4 | [ 5 | Path=./fonts/, 6 | BoldFont = AdobeHeitiStd-Regular.otf, 7 | ItalicFont = AdobeKaitiStd-Regular.otf 8 | ] 9 | \setCJKsansfont { AdobeHeitiStd-Regular.otf } 10 | [ 11 | Path=./fonts/, 12 | ] 13 | \setCJKmonofont { AdobeFangsongStd-Regular.otf } 14 | [ 15 | Path = ./fonts/, 16 | ] 17 | \setCJKfamilyfont { zhsong } { AdobeSongStd-Light.otf } 18 | [ 19 | Path = ./fonts/, 20 | BoldFont = AdobeHeitiStd-Regular.otf, 21 | ItalicFont = AdobeKaitiStd-Regular.otf 22 | ] 23 | \setCJKfamilyfont { zhhei } { AdobeHeitiStd-Regular.otf } 24 | [ 25 | Path = ./fonts/, 26 | ] 27 | \setCJKfamilyfont { zhkai } { AdobeKaitiStd-Regular.otf } 28 | [ 29 | Path = ./fonts/, 30 | ] 31 | \setCJKfamilyfont { zhfs } { AdobeFangsongStd-Regular.otf } 32 | [ 33 | Path = ./fonts/, 34 | ] 35 | 36 | \NewDocumentCommand \songti { } { \CJKfamily { zhsong } } 37 | \NewDocumentCommand \heiti { } { \CJKfamily { zhhei } } 38 | \NewDocumentCommand \fangsong { } { \CJKfamily { zhfs } } 39 | \NewDocumentCommand \kaishu { } { \CJKfamily { zhkai } } -------------------------------------------------------------------------------- /docs/abstract.tex: -------------------------------------------------------------------------------- 1 | %% 2 | % 摘要信息 3 | % 本文档中前缀"c-"代表中文版字段, 前缀"e-"代表英文版字段 4 | % 摘要内容应概括地反映出本论文的主要内容,主要说明本论文的研究目的、内容、方法、成果和结论。要突出本论文的创造性成果或新见解,不要与引言相 混淆。语言力求精练、准确,以 300—500 字为宜。 5 | % 在摘要的下方另起一行,注明本文的关键词(3—5 个)。关键词是供检索用的主题词条,应采用能覆盖论文主要内容的通用技术词条(参照相应的技术术语 标准)。按词条的外延层次排列(外延大的排在前面)。摘要与关键词应在同一页。 6 | % modifier: 黄俊杰(huangjj27, 349373001dc@gmail.com) 7 | % update date: 2017-04-15 8 | %% 9 | 10 | \cabstract{ 11 | 12 | 摘要应概括论文的主要信息,应具有独立性和自含性,即不阅读论文的全文,就能获得必要的信息。摘要内容一般应包括研究目的、内容、方法、成果和结论,要突出论文的创造性成果或新见解,不要与绪论相混淆。语言力求精练、准确,以300-500字为宜。关键词是供检索用的主题词条,应体现论文特色,具有语义性,在论文中有明确的出处,并应尽量采用《汉语主题词表》或各专业主题词表提供的规范词。关键词与摘要应在同一页,在摘要的下方另起一行注明,一般列3-5个,按词条的外延层次排列(外延大的排在前面)。 13 | 14 | } 15 | % 中文关键词(每个关键词之间用“,”分开,最后一个关键词不打标点符号。) 16 | \ckeywords{本科毕业论文,\LaTeX\ 模板,中山大学} 17 | 18 | \eabstract{ 19 | % 英文摘要及关键词内容应与中文摘要及关键词内容相同。中英文摘要及其关键词各置一页内。 20 | The content of the English abstract is the same as the Chinese abstract, 250-400 content words are appropriate. Start another line below the abstract to indicate English keywords (Keywords 3-5). 21 | } 22 | % 英文文关键词(每个关键词之间用,分开, 最后一个关键词不打标点符号。) 23 | \ekeywords{undergraduate thesis, \LaTeX\ template, Sun Yat-Sen University} 24 | 25 | -------------------------------------------------------------------------------- /docs/ack.tex: -------------------------------------------------------------------------------- 1 | %% 2 | % 致谢 3 | % 谢辞应以简短的文字对课题研究与论文撰写过程中曾直接给予帮助的人员(例如指导教师、答疑教师及其他人员)表示对自己的谢意,这不仅是一种礼貌,也是对他人劳动的尊重,是治学者应当遵循的学术规范。内容限一页。 4 | % modifier: 黄俊杰 5 | % update date: 2017-04-15 6 | %% 7 | 8 | \chapter{致谢} 9 | 10 | 四年时间转眼即逝,青涩而美好的本科生活快告一段落了。回首这段时间,我不仅学习到了很多知识和技能,而且提高了分析和解决问题的能力与养成了一定的科学素养。虽然走过了一些弯路,但更加坚定我后来选择学术研究的道路,实在是获益良多。这一切与老师的教诲和同学们的帮助是分不开的,在此对他们表达诚挚的谢意。 11 | 12 | 首先要感谢的是我的指导老师王大明教授。我作为一名本科生,缺少学术研究经验,不能很好地弄清所研究问题的重点、难点和热点,也很难分析自己的工作所能够达到的层次。王老师对整个研究领域有很好的理解,以其渊博的知识和敏锐的洞察力给了我非常有帮助的方向性指导。他严谨的治学态度与辛勤的工作方式也是我学习的榜样,在此向王老师致以崇高的敬意和衷心的感谢。 13 | 14 | 最后我要感谢我的家人,正是他们的无私的奉献和支持,我才有了不断拼搏的信心和勇气,才能取得现在的成果。 15 | 16 | \vskip 108pt 17 | \begin{flushright} 18 | 王小明\makebox[1cm]{} \\ 19 | \today 20 | \end{flushright} 21 | 22 | -------------------------------------------------------------------------------- /docs/appendix1.tex: -------------------------------------------------------------------------------- 1 | \chapter{补充更多细节} 2 | 3 | \section{补充图} 4 | 5 | \subsection{补充图} 6 | 7 | 这是附录内容,应该用宋体小四号字体。 8 | 9 | \begin{figure}[h!] 10 | \centering 11 | \makebox[0.16\textwidth]{\scriptsize 图像} 12 | \makebox[0.16\textwidth]{\scriptsize 真值} 13 | \makebox[0.16\textwidth]{\scriptsize Grid-5LSTM1} 14 | \makebox[0.16\textwidth]{\scriptsize Grid-5LSTM3} 15 | \makebox[0.16\textwidth]{\scriptsize Grid-5LSTM5} \\ 16 | \includegraphics[width=0.16\textwidth]{image/appendix1/2007_000042.jpg} 17 | \includegraphics[width=0.16\textwidth]{image/appendix1/2007_000042.png} 18 | \includegraphics[width=0.16\textwidth]{image/appendix1/1/2007_000042.png} 19 | \includegraphics[width=0.16\textwidth]{image/appendix1/3/2007_000042.png} 20 | \includegraphics[width=0.16\textwidth]{image/appendix1/5/2007_000042.png} \\ 21 | 22 | \includegraphics[width=0.16\textwidth]{image/appendix1/2011_003256.jpg} 23 | \includegraphics[width=0.16\textwidth]{image/appendix1/2011_003256.png} 24 | \includegraphics[width=0.16\textwidth]{image/appendix1/1/2011_003256.png} 25 | \includegraphics[width=0.16\textwidth]{image/appendix1/3/2011_003256.png} 26 | \includegraphics[width=0.16\textwidth]{image/appendix1/5/2011_003256.png} \\ 27 | \includegraphics[width=0.16\textwidth]{image/appendix1/2011_001159.jpg} 28 | \includegraphics[width=0.16\textwidth]{image/appendix1/2011_001159.png} 29 | \includegraphics[width=0.16\textwidth]{image/appendix1/1/2011_001159.png} 30 | \includegraphics[width=0.16\textwidth]{image/appendix1/3/2011_001159.png} 31 | \includegraphics[width=0.16\textwidth]{image/appendix1/5/2011_001159.png} \\ 32 | \includegraphics[width=0.16\textwidth]{image/appendix1/2011_000813.jpg} 33 | \includegraphics[width=0.16\textwidth]{image/appendix1/2011_000813.png} 34 | \includegraphics[width=0.16\textwidth]{image/appendix1/1/2011_000813.png} 35 | \includegraphics[width=0.16\textwidth]{image/appendix1/3/2011_000813.png} 36 | \includegraphics[width=0.16\textwidth]{image/appendix1/5/2011_000813.png} \\ 37 | \includegraphics[width=0.16\textwidth]{image/appendix1/2011_003145.jpg} 38 | \includegraphics[width=0.16\textwidth]{image/appendix1/2011_003145.png} 39 | \includegraphics[width=0.16\textwidth]{image/appendix1/1/2011_003145.png} 40 | \includegraphics[width=0.16\textwidth]{image/appendix1/3/2011_003145.png} 41 | \includegraphics[width=0.16\textwidth]{image/appendix1/5/2011_003145.png} \\ 42 | \includegraphics[width=0.16\textwidth]{image/appendix1/2009_004579.jpg} 43 | \includegraphics[width=0.16\textwidth]{image/appendix1/2009_004579.png} 44 | \includegraphics[width=0.16\textwidth]{image/appendix1/1/2009_004579.png} 45 | \includegraphics[width=0.16\textwidth]{image/appendix1/3/2009_004579.png} 46 | \includegraphics[width=0.16\textwidth]{image/appendix1/5/2009_004579.png} \\ 47 | \color[rgb]{0.9,0.9,0.9}\bfseries 48 | \begin{tabular}{*{7}{>{\centering\arraybackslash}p{0.10\textwidth}}} 49 | \hline 50 | \cellcolor[rgb]{0,0,0} 背景 & \cellcolor[rgb]{0.5020,0,0} 飞机 & \cellcolor[rgb]{0,0.5020,0} 自行车 & \cellcolor[rgb]{0.5020,0.5020,0} 鸟 & \cellcolor[rgb]{0,0,0.5020} 船 & \cellcolor[rgb]{0.5020,0,0.5020} 瓶子 & \cellcolor[rgb]{0,0.5020,0.5020} 大巴 51 | \\ 52 | \hline 53 | \cellcolor[rgb]{0.5020,0.5020,0.5020} 汽车 & \cellcolor[rgb]{0.2510,0,0} 猫 & \cellcolor[rgb]{0.7529,0,0} 椅子 & \cellcolor[rgb]{0.2510,0.5020,0} 牛 & \cellcolor[rgb]{0.7529,0.5020,0} 桌子 & \cellcolor[rgb]{0.2510,0,0.5020} 狗 & \cellcolor[rgb]{0.7529,0,0.5020} 马 \\ 54 | \hline 55 | \cellcolor[rgb]{0.2510,0.5020,0.5020} 摩托车 & \cellcolor[rgb]{0.7529,0.5020,0.5020} 人 & \cellcolor[rgb]{0,0.2510,0} 盆栽 & \cellcolor[rgb]{0.5020,0.2510,0} 羊 & \cellcolor[rgb]{0,0.7529,0} 沙发 & \cellcolor[rgb]{0.5020,0.7529,0} 火车 & \cellcolor[rgb]{0,0.2510,0.5020} 电视 \\ 56 | \hline 57 | \end{tabular} 58 | 59 | \caption{一个配有彩色表格的插图} 60 | \end{figure} 61 | 62 | \endinput 63 | -------------------------------------------------------------------------------- /docs/chap01.tex: -------------------------------------------------------------------------------- 1 | %% 2 | % 引言或背景 3 | % 引言是论文正文的开端,应包括毕业论文选题的背景、目的和意义;对国内外研究现状和相关领域中已有的研究成果的简要评述;介绍本项研究工作研究设想、研究方法或实验设计、理论依据或实验基础;涉及范围和预期结果等。要求言简意赅,注意不要与摘要雷同或成为摘要的注解。 4 | % modifier: 黄俊杰(huangjj27, 349373001dc@gmail.com) 5 | % update date: 2017-04-15 6 | %% 7 | 8 | \chapter{绪论} 9 | %定义,过去的研究和现在的研究,意义,与图像分割的不同,going deeper 10 | \label{cha:introduction} 11 | \section{选题背景与意义} 12 | \label{sec:background} 13 | % What is the problem 14 | % why is it interesting and important 15 | % Why is it hards, why do naive approaches fails 16 | % why hasn't it been solved before 17 | % what are the key components of my approach and results, also include any specific limitations,do not repeat the abstract 18 | %contribution 19 | 引言是论文正文的开端,应包括毕业论文选题的背景、目的和意义;对国内外研究现状和相关领域中已有的研究成果的简要评述;介绍本项研究工作研究设想、研究方法或实验设计、理论依据或实验基础;涉及范围和预期结果等。要求言简意赅,注意不要与摘要雷同或成为摘要的注解。 20 | 21 | \section{国内外研究现状和相关工作} 22 | \label{sec:related_work} 23 | 对国内外研究现状和相关领域中已有的研究成果的简要评述。 24 | \section{本文的论文结构与章节安排} 25 | 26 | \label{sec:arrangement} 27 | 28 | 本文共分为六章,各章节内容安排如下: 29 | 30 | 第一章绪论。简单说明了本文章的选题背景与意义。 31 | 32 | 第二章为本科生毕业论文写作与印制规范。本章节就学校的规范,逐点进行描述,并给出来了相关例子说明本模板在格式上的正确性。 33 | 34 | 第三章为本模板的使用说明。 35 | 36 | 第四章为可用的\LaTeX 的代码段方便大家进行编辑。 37 | 38 | 第五、六章是本文的最后两章,作为空白章节例子。 39 | 40 | -------------------------------------------------------------------------------- /docs/chap02.tex: -------------------------------------------------------------------------------- 1 | \chapter{本科生毕业论文写作与印制规范} 2 | 3 | \label{cha:sysu-thesis-contents-format-requirement} 4 | 5 | 6 | % TODO 引用 7 | 该部分将学校规定中的毕业论文(设计)写作与印制规范复制了过来,并在其中展示相关例子表明格式的正确性。 8 | 9 | 10 | \section{毕业论文的撰写内容与要求} 11 | 12 | \subsection{封面} 13 | 14 | 15 | 纸质版封面由学校统一印发(电子版请参见文后示例)。封面内容包括论文题目、所在院系专业、学生姓名学号、指导教师(姓名及职称)等信息。论文题目应以简短、明确的词语恰当概括整个论文的核心内容,避免使用不常见的缩略词、缩写字。读者通过题目可大致了解毕业论文的内容、专业特点和学科范畴。论文题目一般不宜超过25个字,必要时可增加副标题。 16 | 17 | \subsection{扉页} 18 | 19 | 扉页内容包括论文中英文题目、学生姓名、学号、院系、专业、指导教师(姓名及职称)等信息。格式详见文后示例。 20 | 21 | \subsection{学术诚信声明} 22 | 23 | 内容及格式详见文后示例。 24 | 25 | \subsection{摘要和关键词} 26 | 27 | \begin{enumerate} 28 | \item \textbf{中文摘要和关键词} \\ 29 | 摘要应概括论文的主要信息,应具有独立性和自含性,即不阅读论文的全文,就能获得必要的信息。摘要内容一般应包括研究目的、内容、方法、成果和结论,要突出论文的创造性成果或新见解,不要与绪论相混淆。语言力求精练、准确,以300-500字为宜。关键词是供检索用的主题词条,应体现论文特色,具有语义性,在论文中有明确的出处,并应尽量采用《汉语主题词表》或各专业主题词表提供的规范词。关键词与摘要应在同一页,在摘要的下方另起一行注明,一般列3-5个,按词条的外延层次排列(外延大的排在前面)。 30 | \item \textbf{英文摘要和关键词} \\ 31 | 英文摘要及关键词内容应与中文摘要及关键词内容相同。中英文摘要及其关键词各置一页内。 32 | \end{enumerate} 33 | 34 | \subsection{目录} 35 | 36 | 目录是论文的提纲,也是论文各章节组成部分的小标题。要求标题层次清晰,目录中的标题要与正文中的标题一致。 37 | 38 | 39 | \subsection{正文} 40 | 41 | 正文是毕业论文的主体和核心部分,不同学科专业和不同的选题可以有不同的写作方式。正文一般包括以下几个方面: 42 | 43 | \begin{enumerate} 44 | \item \textbf{绪论} \\ 45 | 绪论应包括毕业论文选题的背景、目的和意义;对国内外研究现状和相关领域中已有的研究成果的简要评述;介绍本项研究工作研究设想、研究方法或实验设计、理论依据或实验基础;涉及范围和预期结果等。要求言简意赅,注意不要与摘要雷同或成为摘要的注解。 46 | \item \textbf{主体} \\ 47 | 论文主体是毕业论文的主要部分,必须言之成理,论据可靠,严格遵循本学科国际通行的学术规范。在写作上要注意结构合理、层次分明、重点突出,章节标题、公式图表符号必须规范统一。论文主体的内容根据不同学科有不同的特点,一般应包括以下几个方面: 48 | \begin{enumerate} 49 | \item 毕业论文总体方案或选题的论证; 50 | \item 毕业论文各部分的设计实现,包括实验数据的获取、数据可行性及有效性的处理与分析、各部分的设计计算等; 51 | \item 对研究内容及成果的客观阐述,包括理论依据、创新见解、创造性成果及其改进与实际应用价值等; 52 | \item 论文主体的所有数据必须真实可靠,凡引用他人观点、方案、资料、数据等,无论曾否发表,无论来源于纸质或电子版材料,均应详加注释。自然科学论文应推理正确、结论清晰;人文和社会学科的论文应把握论点正确、论证充分、论据可靠,恰当运用系统分析和比较研究的方法进行模型或方案设计,注重实证研究和案例分析,根据分析结果提出建议和改进措施等。 53 | \end{enumerate} 54 | \item \textbf{结论} \\ 55 | 结论是毕业论文的总结,是整篇论文的归宿,应精炼、准确、完整。结论应着重阐述自己的创造性成果及其在本研究领域中的意义和作用,还可进一步提出需要讨论的问题和建议。 56 | \end{enumerate} 57 | 58 | \subsection{参考文献} 59 | 60 | 参考文献是毕业论文不可缺少的组成部分,它反映毕业论文的取材来源、材料的广博和可靠程度,也是作者对他人知识成果的承认和尊重。凡有引用他人的著作、论文等,均应列于参考文献中。 61 | 62 | \subsection{相关的科研成果目录} 63 | 64 | 本科期间发表的与毕业论文相关的论文或被鉴定的技术成果、发明专利等,应在成果目录中列出。此项不是必需项,空缺时可以省略。 65 | 66 | \subsection{附录} 67 | 68 | 对于一些不宜放在正文中的重要支撑材料,可编入毕业论文的附录中,包括某些重要的原始数据、详细数学推导、程序全文及其说明、复杂的图表、设计图纸等一系列需要补充提供的说明材料。如果毕业论文中引用的实例、数据资料,实验结果等符号较多时,为了节约篇幅,便于读者查阅,可以编写一个符号说明,注明符号代表的意义。附录的篇幅不宜太多,一般不超过正文。此项不是必需项,空缺时可以省略。 69 | 70 | \subsection{致谢} 71 | 72 | 致谢应以简短的文字对课题研究与论文撰写过程中曾直接给予帮助的人员(例如指导教师、答疑教师及其他人员)表达自己的谢意,这不仅是一种礼貌,也是对他人劳动的尊重,是治学者应当遵循的学术规范。内容限一页。 73 | 74 | 75 | \section{毕业论文的撰写格式要求} 76 | 77 | 78 | \subsection{文字和字数} 79 | 80 | 81 | 除外国语言文学类专业外,其他专业的毕业论文须采用简化汉语文字撰写。论文正文部分一般不少于8000 字,各专业可根据需要确定具体的字数要求,并报教务部备案。 82 | 83 | \subsection{字体和字号} 84 | 85 | 标题一般用黑体,内容一般用宋体,数字和英文字母一般用Times New Roman,具体如\autoref{tab:font-spec}。 86 | 87 | \begin{table}[] 88 | \caption{字体使用规范} 89 | \begin{tabular}{|c|c|} 90 | \hline 91 | 论文题目 & 黑体二号居中 \\ \hline 92 | 中文摘要标题 & 黑体三号居中 \\ \hline 93 | 中文摘要内容 & 宋体小四号 \\ \hline 94 | 中文关键词 & 宋体小四号(标题``关键词''加粗) \\ \hline 95 | 英文摘要标题 & Times New Roman加粗三号全部大写 \\ \hline 96 | 英文摘要内容 & Times New Roman小四号 \\ \hline 97 | 英文关键词 & Times New Roman小四号(标题``Keywords''加粗) \\ \hline 98 | 目录标题 & 黑体三号居中 \\ \hline 99 | 目录内容 & 宋体小四号 \\ \hline 100 | 正文各章标题 & 黑体三号居中 \\ \hline 101 | 正文各节一级标题 & 黑体四号左对齐 \\ \hline 102 | 正文各节二级及以下标题 & 宋体小四号加粗左对齐空两格 \\ \hline 103 | 正文内容 & 宋体小四号 \\ \hline 104 | 参考文献标题 & 黑体三号居中 \\ \hline 105 | 参考文献内容 & 宋体五号 \\ \hline 106 | 致谢、附录标题 & 黑体三号居中 \\ \hline 107 | 致谢、附录内容 & 宋体小四号 \\ \hline 108 | 页眉与页脚 & 宋体五号居中 \\ \hline 109 | 图题、表题 & 宋体五号 \\ \hline 110 | 脚注、尾注 & 宋体小五号 \\ \hline 111 | \end{tabular} 112 | \label{tab:font-spec} 113 | \end{table} 114 | 115 | 116 | 字体样例可见如下(以居中形式展现): \\ 117 | 118 | 119 | 120 | \begin{center} 121 | {\heiti\zihao{2}黑体二号居中} \\ 122 | 123 | {\heiti\zihao{3}黑体三号居中} \\ 124 | 125 | {\heiti\zihao{4}黑体四号居中} \\ 126 | 127 | {\songti\zihao{4}宋体四号居中} \\ 128 | 129 | {\songti\zihao{-4}宋体小四号居中} \\ 130 | 131 | {\songti\zihao{5}宋体五号居中} \\ 132 | 133 | {\songti\zihao{-5}宋体小五号居中} \\ 134 | 135 | {\zihao{3} Times New Roman : Three} 三号居中 \\ 136 | 137 | {\zihao{-4} Times New Roman : Small Four} 小四号居中 \\ 138 | 139 | \end{center} 140 | 141 | 142 | \subsection{页面设置} 143 | 144 | 纸张大小:A4。 145 | 146 | 页边距:上边距25 mm,下边距20 mm,左右边距均为30 mm。 147 | 148 | 行距:1.5倍行距,章和节标题段前段后各空0.5行。 149 | 150 | \subsection{页码} 151 | 152 | 页面底端居中,从摘要开始至绪论之前以大写罗马数字( 153 | \uppercase\expandafter{\romannumeral1} , 154 | \uppercase\expandafter{\romannumeral2} , 155 | \uppercase\expandafter{\romannumeral3} , 156 | …)单独编连续码,绪论开始至论文结尾,以阿拉伯数字(1,2,3…)编连续码。 157 | 158 | \subsection{关键词} 159 | 160 | 161 | 摘要正文下方另起一行顶格打印``关键词''款项,后加冒号,多个关键词以逗号分隔。 162 | 163 | \subsection{目录} 164 | 165 | 目录应另起一页,包括论文中的各级标题,按照``一……''、``(一)……''或``1……''、``1.1……''格式编写。 166 | 167 | \subsection{各级标题} 168 | 169 | 正文各部分的标题应简明扼要,不使用标点符号。论文内文各大部分的标题用``一、二……(或1、2……)'',次级标题为``(一)、(二)……(或1.1、2.1……)'',三级标题用``1、2……(或1.1.1、2.1.1……)'',四级标题用``(1)、(2)……(或1.1.1.1、2.1.1.1……)'',不再使用五级以下标题。两类标题不要混编。 170 | 171 | \subsection{名词术语} 172 | 173 | \begin{enumerate} 174 | \item 科学技术名词术语尽量采用全国自然科学名词审定委员会公布的规范词或国家标准、部标准中规定的名称,尚未统一规定或叫法有争议的名词术语,可采用惯用的名称。 175 | \item 特定含义的名词术语或新名词、以及使用外文缩写代替某一名词术语时,首次出现时应在括号内注明其含义,如:经济合作与发展组织(Organisation for Economic Co-operation and Development, OECD)。 176 | \item 外国人名一般采用英文原名,可不译成中文,英文人名按姓前名后的原则书写,如:CRAY P,不可将外国人姓名中的名部分漏写,例如:不能只写CRAY, 应写成CRAY P。一般很熟知的外国人名(如牛顿、爱因斯坦、达尔文、马克思等)可按通常标准译法写译名。 177 | \end{enumerate} 178 | 179 | \subsection{物理量名称、符号与计量单位} 180 | 181 | \begin{enumerate} 182 | \item 论文中某一物理量的名称和符号应统一,应采用国务院发布的《中华人民共和国法定计量单位》、国际公认或各行业领域惯用的计量单位。单位名称和符号的书写方式,应采用国际通用符号。 183 | \item 在不涉及具体数据表达时允许使用中文计量单位如``千克''。 184 | \item 表达时刻应采用中文计量单位,如``下午3点10分'',不能写成``3h10min'',在表格中可以用``3:10PM''表示。 185 | \item 物理量符号、物理量常量、变量符号用斜体,计量单位符号均用正体。 186 | \end{enumerate} 187 | 188 | \subsection{数字} 189 | 190 | \begin{enumerate} 191 | \item 无特别约定情况下,一般均采用阿拉伯数字表示。 192 | \item 年份一律使用4位数字表示。 193 | % \item 统计符号的格式:一般除$\mu$、$\alpha$、$\beta$、$\lambda$、$\varepsilon$ 以及$V$等符号外,其余统计符号一律以斜体字呈现,如$ANCOVA$,$ANOVA$,$MANOVA$,$N$,$nl$,$M$,$SD$,$F$,$p$,$r$等。 194 | \item 统计符号的格式:一般除μ、α、β、λ、ε以及V等符号外,其余统计符号一律以斜体字呈现,如\textit{ANCOVA},\textit{ANOVA},\textit{MANOVA},\textit{N},\textit{nl},\textit{M},\textit{SD},\textit{F},\textit{p},\textit{r}等。 195 | \end{enumerate} 196 | 197 | 198 | \subsection{公式} 199 | 200 | \begin{enumerate} 201 | \item 公式应另起一行写在稿纸中央。一行写不完的长公式,最好在等号处转行,如做不到这一点,可在运算符号(如``+''、``-''号)处转行,等号或运算符号应在转行后的行首。 202 | \item 公式的编号用圆括号括起,放在公式右边行末,在公式和编号之间不加虚线。公式可按全文统编序号,也可按章编独立序号,如(49)、(4.11)、(4-11)等。采用哪一种序号应和图序、表序编法一致。不应出现某章里的公式编序号,有的则不编序号。子公式可不编序号,需要引用时可加编a、b、c……,重复引用的公式不得另编新序号。公式序号必须连续,不得重复或跳缺。 203 | \item 文中引用某一公式时,可写成``由式(序号)''。 204 | \end{enumerate} 205 | 206 | \ \\ 207 | 208 | 这是一个例子: 209 | 210 | \begin{equation} 211 | \label{eq:example-formulas} 212 | ax^2 +bx+c = 0 213 | \end{equation} 214 | 215 | 216 | 如\autoref{eq:example-formulas}所示,为了求解该一元二次方程,我们可以推导得到该方程的求根公式。因此,由\autoref{eq:example-formulas2}即可求解该方程的两个根。 217 | 218 | \begin{equation} 219 | \label{eq:example-formulas2} 220 | \begin{split} 221 | x_1 = & \frac{-b+\sqrt{b^2-4ac}}{2a} \\ 222 | & \\ 223 | x_2 = & \frac{-b-\sqrt{b^2-4ac}}{2a} 224 | \end{split} 225 | \end{equation} 226 | 227 | \subsection{表格} 228 | 229 | \begin{enumerate} 230 | \item 表格必须与论文叙述有直接联系,不得出现与论文叙述脱节的表格。表格中的内容在技术上不得与正文矛盾。 231 | \item 每个表格都应有自己的标题和序号。标题应写在表格上方正中,不加标点,序号写在标题左方。 232 | \item 全文的表格可以统一编序,也可以逐章单独编序。采用哪一种方式应和插图、公式的编序方式统一。表序必须连续,不得跳缺。 233 | \item 表格允许下页接写,接写时标题省略,表头应重复书写,并在右上方写``续表××''。多项大表可以分割成块,多页书写,接口处必须注明``接下页''、``接上页''、``接第×页''字样。 234 | \item 表格应放在离正文首次出现处最近的地方,不应超前和过分拖后。 235 | \end{enumerate} 236 | 237 | 238 | 例子可见\autoref{tab:table-example}。 239 | 240 | \begin{table}[!htbp] 241 | \centering 242 | \caption{表格例子} 243 | \label{tab:table-example} 244 | \begin{tabular}{|l|l|} 245 | \hline 246 | \multicolumn{1}{|c|}{这是表格第一行第一列} & 这是表格第一行第二列 \\ \hline 247 | 这是表格第二行第一列 & 这是表格第二行第二列 \\ \hline 248 | \end{tabular} 249 | \end{table} 250 | 251 | \subsection{图} 252 | 253 | 254 | \begin{enumerate} 255 | \item 插图应与文字内容相符,技术内容正确。所有制图应符合国家标准和专业标准。对无规定符号的图形应采用该行业的常用画法。 256 | \item 每幅插图应有标题和序号,全文的插图可以统一编序,也可以逐章单独编序,采取哪一种方式应和表格、公式的编序方式统一。图序必须连续,不重复,不跳缺。 257 | \item 由若干分图组成的插图,分图用a、b、c……标序。分图的图名以及图中各种代号的意义,以图注形式写在图题下方,先写分图名,另起行写代号的意义。 258 | \item 图与图标题、图序号为一个整体,不得拆开排版为两页。当页空白不够排版该图整体时,可将其后文字部分提前,将图移至次页最前面。 259 | \item 对坐标轴必须进行文字标示,有数字标注的坐标图必须注明坐标单位。 260 | \end{enumerate} 261 | 262 | 例子可见\autoref{fig:example-figure}。 263 | 264 | \begin{figure}[!htbp] 265 | \centering 266 | \includegraphics[width=3cm]{example-image-a} 267 | \caption{图片例子} 268 | \label{fig:example-figure} 269 | \end{figure} 270 | 271 | \subsection{注释} 272 | 273 | 毕业论文(设计)中有个别名词或情况需要解释时,可加注说明。注释采用脚注或尾注,应根据注释的先后顺序编排序号。注释序号以``①、②''等数字形式标示在正文中被注释词条的右上角,脚注或尾注内容中的序号应与被注释词条序号保持一致。 274 | 275 | 脚注例子可见这里\footnote{这是一个脚注}。 276 | 277 | \subsection{参考文献} 278 | 279 | 参考文献的序号左顶格,并用数字加方括号表示,如``[1]''。每一条参考文献著录均以``.''结束。各类参考文献的具体编排格式请参照国家标准《信息与文献 参考文献著录规则》(GB/T 7714-2015)。 280 | 281 | 参考文献例子可见这里\cite{sysu-thesis}。 282 | 283 | 284 | \subsection{附录} 285 | 286 | 论文附录依次用大写字母``附录A、附录B、附录C……''表示,附录内的分级序号可采用``附A1、附A1.1、附A1.1.1''等表示,图、表、公式均依此类推为``图A1、表A1、式A1''等。 287 | 288 | % TODO:增加引用例子。 -------------------------------------------------------------------------------- /docs/chap03.tex: -------------------------------------------------------------------------------- 1 | \chapter{\LaTeX 模板配置与使用} 2 | 3 | 4 | \label{cha:sysu-thesis-latex-install-guide} 5 | 6 | 本部分内容将让你能够通过本\LaTeX 模板生成一份可用的pdf,并为后面修改源码撰写毕设做准备。 7 | 8 | 首先,我们会展示最简单的方法:直接使用overleaf进行编写。然后,我们整理了不同环境下\LaTeX 环境的配置指南与不同写作工具的配置技巧,方便各位同学使用本\LaTeX 模板。最后,我们说明了如何开始编写自己的毕业论文(设计)。 9 | 10 | 11 | \section{使用Overleaf编写毕设} 12 | 13 | Overleaf\footnote{网址可见\url{https://www.overleaf.com/}}是一个在线的Latex文档协作平台。我们不需要配置任何环境,便能够在上面直接使用本模板进行写作。操作步骤如下: 14 | 15 | 第一步,下载本项目压缩包(从\url{https://github.com/SYSU-SCC/sysu-thesis/releases}处下载即可),注意需要下载zip格式的压缩包。 16 | 然后,我们在Overleaf上新建项目,并上传该压缩包,可参考\autoref{fig:overleaf-new-proj}。 17 | 18 | 19 | \begin{figure}[h] 20 | \centering 21 | \includegraphics[width=0.2\textwidth]{image/chap03/overleaf-create-proj.jpg} 22 | \includegraphics[width=0.7\textwidth]{image/chap03/overleaf-upload-proj.jpg} 23 | \caption{在Overleaf上创建并上传压缩包。} 24 | \label{fig:overleaf-new-proj} 25 | \end{figure} 26 | 27 | 第二步,在Overleaf的菜单中调整编译工具为\texttt{xelatex},可参考\autoref{fig:overleaf-config}。 28 | 29 | \begin{figure}[h] 30 | \centering 31 | \includegraphics[width=0.6\textwidth]{image/chap03/overleaf-config.jpg} 32 | \caption{在Overleaf上调整编译工具} 33 | \label{fig:overleaf-config} 34 | \end{figure} 35 | 36 | 37 | 第三步,点击编译,得到本pdf,可以开始修改pdf了!最终可见\autoref{fig:overleaf-example}。 38 | 39 | 40 | \begin{figure}[h] 41 | \centering 42 | \includegraphics[width=0.9\textwidth]{image/chap03/overleaf-example.jpg} 43 | \caption{Overleaf使用例子} 44 | \label{fig:overleaf-example} 45 | \end{figure} 46 | 47 | 48 | 49 | \section{编译环境配置} 50 | 51 | 编译环境配置相对来说比较简单,下载Tex Live2020并如同一般的程序一样安装即可。 52 | 53 | \subsection{编译环境配置:Window篇} 54 | 55 | 在\url{https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/}上下载Tex Live2020并参考教程\footnote{可以参考\url{https://zhuanlan.zhihu.com/p/58811994}}安装即可。 56 | 57 | \subsection{编译环境配置:Linux篇} 58 | 59 | 在\url{https://mirrors.tuna.tsinghua.edu.cn/CTAN/systems/texlive/Images/}上下载Tex Live2020并参考教程\footnote{可以参考\url{https://zhuanlan.zhihu.com/p/55894177}}安装即可。 60 | 61 | 62 | \subsection{编译环境配置:MacOS篇} 63 | 64 | 在MacOS上配置Latex的环境,这里我们使用的是MacTex。 65 | 66 | \begin{enumerate} 67 | \item \url{https://www.tug.org/mactex/}下载MacTex安装。 68 | \item 安装步骤:不详细展开,按照图形界面点击即可, 傻瓜式安装。 69 | \end{enumerate} 70 | 71 | TIPS:MacTex文件比较大,有2G多,介意的话可以选择MacTex\_Basic包,只有100M以内,但是如果安装MacTex\_Basic,后期可能会遇到各种缺包的问题。 72 | 73 | 74 | 安装完成之后,可以简单测试一下安装是否成功。如可以查看Texshop应用是否安装好,或者在命令行测试一下\texttt{xelatex}命令是否可用。 75 | 76 | \section{写作环境配置} 77 | 78 | 不同的写作工具对应不同的写作环境。这里我们给出几个工具的配置例子以供参考。 79 | 80 | \subsection{模板编译流程} 81 | 82 | 由于\LaTeX 的限制,本模板需要经过四次编译才能生成完整的论文: 83 | 84 | \begin{enumerate} 85 | \item 先使用xelatex编译一次 86 | \item 再使用bibtex编译一次 87 | \item 然后使用xelatex编译两次 88 | \end{enumerate} 89 | 90 | 本编译流程已经写在Makefile中,修改模板源码后只需要执行\texttt{make pdf}即可按照该流程进行编译并生成最终的pdf。 91 | 92 | 93 | 94 | \subsection{写作环境配置:Visual Studio Code} 95 | 96 | Visual Studio Code是微软公司推出的轻量代码编辑器,我们可以做一些简单的配置,便可以用该编辑器修改我们的\LaTeX 模板,并实现一键编译。 97 | 98 | \begin{enumerate} 99 | \item 安装 Visual Studio Code。 100 | \item 安装 LaTeX Workshop 插件。 101 | \end{enumerate} 102 | 103 | 本项目的\texttt{.vscode/setting.json}下已经包含了与前面所述编译流程相同的配置。正常配置下,每次修改模板源码后按下保存(Ctrl+S),就能够自动进行编译产生pdf。效果图如\autoref{fig:vscode-example}所示。 104 | 105 | 106 | \begin{figure}[h] 107 | \centering 108 | \includegraphics[width=\linewidth]{image/chap03/vscode-example.png} 109 | \caption{vscode配置好后的样例} 110 | \label{fig:vscode-example} 111 | \end{figure} 112 | 113 | 114 | \section{如何开始写毕业论文(设计)} 115 | 116 | 首先将所有个人信息,包括学号、姓名、专业、论文题目等,在\texttt{./docs/info.tex}中逐项进行更新。 117 | 118 | 然后我们再编辑\texttt{./docs/abstract.tex}补充论文摘要。 119 | 120 | 到了论文主体部分,我们可以自行编辑\texttt{./docs/chap01.tex},\texttt{./docs/chap02.tex}等文件进行编辑。如果章数不够,可以自行修改\texttt{main.tex}增加新的章节。 121 | 122 | 当论文主体编写完成后,我们再编辑\texttt{./docs/ack.tex}作为论文致谢。 123 | 124 | 125 | % 首先将个人信息写到\texttt{./docs/info.tex}中。 -------------------------------------------------------------------------------- /docs/chap04.tex: -------------------------------------------------------------------------------- 1 | \chapter{简单的使用例子} 2 | \label{cha:usage-example} 3 | 4 | 本部分将会根据毕设论文的写作需要,放置相关的例子和代码段供大家参考,方便大家的论文写作,如果更多有用的Latex使用例子也会欢迎提出PR,贡献更多的例子。 5 | 6 | \section{图像的插入} 7 | 8 | \subsection{镶嵌在文中的图像} 9 | \begin{wrapfigure}{r}{0.5\linewidth} 10 | \centering 11 | \includegraphics[width=0.5\textwidth]{image/chap04/confusion.pdf} 12 | \caption{镶嵌在文中的图像} 13 | \label{fig:image-embedding-text} 14 | \end{wrapfigure} 15 | 论文主体是毕业论文的主要部分,必须言之成理,论据可靠,严格遵循本学科国际通行的学术规范。在写作上要注意结构合理、层次分明、重点突出,章节标题、公式图表符号必须规范统一。论文主体的内容根据不同学科有不同的特点,一般应包括以下几个方面: (1)毕业论文(设计)总体方案或选题的论证; (2)毕业论文(设计)各部分的设计实现,包括实验数据的获取、数据可行性及有效性的处理与分析、各部分的设计计算等; (3)对研究内容及成果的客观阐述,包括理论依据、创新见解、创造性成果及其改进与实际应用价值等; (4)论文主体的所有数据必须真实可靠,凡引用他人观点、方案、资料、数据等,无论曾否发表,无论是纸质或电子版,均应详加注释。自然科学论文应推理正确、结论清晰;人文和社会学科的论文应把握论点正确、论证充分、论据可靠,恰当运用系统分析和比较研究的方法进行模型或方案设计,注重实证研究和案例分析,根据分析结果提出建议和改进措施等。 16 | 论文主体是毕业论文的主要部分,必须言之成理,论据可靠,严格遵循本学科国际通行的学术规范。在写作上要注意结构合理、层次分明、重点突出,章节标题、公式图表符号必须规范统一。论文主体的内容根据不同学科有不同的特点,一般应包括以下几个方面: (1)毕业论文(设计)总体方案或选题的论证; (2)毕业论文(设计)各部分的设计实现,包括实验数据的获取、数据可行性及有效性的处理与分析、各部分的设计计算等; (3)对研究内容及成果的客观阐述,包括理论依据、创新见解、创造性成果及其改进与实际应用价值等; (4)论文主体的所有数据必须真实可靠,凡引用他人观点、方案、资料、数据等,无论曾否发表,无论是纸质或电子版,均应详加注释。自然科学论文应推理正确、结论清晰;人文和社会学科的论文应把握论点正确、论证充分、论据可靠,恰当运用系统分析和比较研究的方法进行模型或方案设计,注重实证研究和案例分析,根据分析结果提出建议和改进措施等。 17 | 18 | 19 | 20 | \subsection{单张图像的插入} 21 | 22 | \begin{figure}[h] 23 | \centering 24 | \includegraphics[width=0.5\textwidth]{image/chap04/illustration/hole.pdf} 25 | \caption{单张图像} 26 | \label{fig:hole} 27 | \end{figure} 28 | 29 | 30 | \subsection{多张图像的并排插入} 31 | 32 | 33 | \begin{figure}[h!]%文中的Grid-LSTM模型做的语义图像分割的例子 34 | \centering 35 | \includegraphics[width=.2\textwidth,height=.15\textwidth]{image/chap04/example/2007_000799.jpg} 36 | \includegraphics[width=.2\textwidth,height=.15\textwidth]{image/chap04/example/2007_002094.jpg} 37 | \includegraphics[width=.2\textwidth,height=.15\textwidth]{image/chap04/example/2007_004483.jpg} 38 | \includegraphics[width=.2\textwidth,height=.15\textwidth]{image/chap04/example/2007_003194.jpg} 39 | \\ 40 | \includegraphics[width=.2\textwidth,height=.15\textwidth]{image/chap04/example/2007_000799.pdf} 41 | \includegraphics[width=.2\textwidth,height=.15\textwidth]{image/chap04/example/2007_002094.pdf} 42 | \includegraphics[width=.2\textwidth,height=.15\textwidth]{image/chap04/example/2007_004483.pdf} 43 | \includegraphics[width=.2\textwidth,height=.15\textwidth]{image/chap04/example/2007_003194.pdf} 44 | \caption{并排的多张图像} 45 | \label{fig:multi-image-example1} 46 | \end{figure} 47 | 48 | 49 | \begin{figure}[h] 50 | \centering 51 | \makebox[0.11\textwidth]{\scriptsize 图像} 52 | \enspace 53 | \makebox[0.11\textwidth]{\scriptsize 真值} 54 | \enspace 55 | \makebox[0.11\textwidth]{\scriptsize CNN+5LSTM\textbf{1}} 56 | \enspace\thinspace 57 | \makebox[0.11\textwidth]{\scriptsize CNN+5LSTM\textbf{2}} 58 | \enspace\thinspace 59 | \makebox[0.11\textwidth]{\scriptsize CNN+5LSTM\textbf{3}} 60 | \enspace\thinspace 61 | \makebox[0.11\textwidth]{\scriptsize CNN+5LSTM\textbf{4}} 62 | \enspace\thinspace 63 | \makebox[0.11\textwidth]{\scriptsize CNN+5LSTM\textbf{5}}\\ 64 | \includegraphics[width=0.11\textwidth]{image/chap04/improvement/2007_000663.jpg} 65 | \enspace\thinspace %\hfill 66 | \includegraphics[width=0.11\textwidth]{image/chap04/improvement/2007_000663.png} 67 | \enspace\thinspace 68 | \includegraphics[width=0.11\textwidth]{image/chap04/improvement/2007_000663_1.png} 69 | \enspace\thinspace 70 | \includegraphics[width=0.11\textwidth]{image/chap04/improvement/2007_000663_2.png} 71 | \enspace\thinspace 72 | \includegraphics[width=0.11\textwidth]{image/chap04/improvement/2007_000663_3.png} 73 | \enspace\thinspace 74 | \includegraphics[width=0.11\textwidth]{image/chap04/improvement/2007_000663_4.png} 75 | \enspace\thinspace 76 | \includegraphics[width=0.11\textwidth]{image/chap04/improvement/2007_000663_5.png} 77 | \enspace\thinspace 78 | \caption{并排的多张图像加各自的注解} 79 | \label{fig:improvement} 80 | \end{figure} 81 | 82 | 83 | \subsection{两列图像的插入} 84 | 85 | \begin{figure}[h!] % image examples & compare 86 | \begin{subfigure}{0.55\textwidth} 87 | \makebox[0.18\textwidth]{\scriptsize Grid-5LSTM} 88 | \makebox[0.18\textwidth]{\scriptsize FCN-8s\cite{long2015fully}} 89 | \makebox[0.18\textwidth]{\scriptsize SDS\cite{hariharan2014simultaneous}} 90 | \makebox[0.18\textwidth]{\scriptsize 真值} 91 | \makebox[0.18\textwidth]{\scriptsize 图像} \\ 92 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/my_horse.pdf} 93 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/fcn_horse.png} 94 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/sds_horse.png} 95 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/gt_horse.pdf} 96 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/im_horse.pdf} 97 | \\ 98 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/my_motor.png} 99 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/fcn_motor.png} 100 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/sds_motor.png} 101 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/2007_005173.png} 102 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/2007_005173.jpg} 103 | \\ 104 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/my_sheep.pdf} 105 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/fcn_sheep.png} 106 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/sds_sheep.png} 107 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/gt_sheep.pdf} 108 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/im_sheep.pdf} 109 | \\ 110 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/my_boat.png} 111 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/fcn_boat.png} 112 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/sds_boat.png} 113 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/2007_004241.png} 114 | \includegraphics[width=0.18\textwidth]{image/chap04/result/compare/2007_004241.jpg} 115 | \caption{左边的图像} 116 | \label{fig:compare1} 117 | \end{subfigure} 118 | \begin{subfigure}{0.4\textwidth} 119 | \centering 120 | % \makebox[0.3\textwidth]{} \\ 121 | % \makebox[0.3\textwidth]{} \\ 122 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/2010_005284.jpg} 123 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/2007_003349.jpg} 124 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/2009_004507.jpg} 125 | \\ 126 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/2010_005284.png} 127 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/2007_003349.png} 128 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/2009_004507.png} \\ 129 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/zoom_bus.png} 130 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/zoom_bird.png} 131 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/zoom_dog.png} \\ 132 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/deeplab_bus.png} 133 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/deeplab_bird.png} 134 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/deeplab_dog.png} \\ 135 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/my_bus.png} 136 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/my_bird.png} 137 | \includegraphics[width=0.25\textwidth]{image/chap04/result/compare/my_dog.png} 138 | \caption{右边的图像} 139 | \label{fig:compare2} 140 | \end{subfigure} 141 | \caption{复杂的两列对象的插入} 142 | \label{fig:complex} 143 | \end{figure} 144 | 145 | 146 | \clearpage 147 | 148 | \section{表格的插入} 149 | 150 | \begin{table}[h] %voc table result 151 | \centering 152 | \caption{典型的实验对比表格} 153 | \begin{tabular}{*{4}{c}} 154 | \toprule 155 | Method & Pixel Acc. & Mean Acc. & Mean Iu. \\ 156 | \midrule 157 | Liu等人\cite{liu2011sift} & 76.7 & - & - \\ 158 | Tighe等人\cite{tighe2013finding} & 78.6 & 39.2 & - \\ 159 | FCN-16s\cite{long2015fully} & 85.2 & \textbf{51.7} & 39.5 \\ 160 | Deeplab-LargeFOV\cite{chen14semantic} & 85.6 & 51.2 & 39.7 \\ 161 | \midrule 162 | Grid-LSTM5 & \textbf{86.2} & 51.0 & \textbf{41.2} \\ 163 | \bottomrule 164 | \end{tabular} 165 | \label{tab:siftflow} 166 | \end{table} 167 | 168 | \begin{table}[h] %voc table result 169 | \centering 170 | \caption{复杂一些的表格} 171 | \resizebox{\textwidth}{!}{ 172 | \begin{tabular}{c|*{20}{c}|c} 173 | \toprule 174 | Method & aero & bike & bird & boat & bottle & bus & car & cat & chair & cow & table & dog & horse & mbike & person & plant & shep & sofa & train & tv & mIoU. \\ 175 | \midrule 176 | CNN & 72.6 & 29.6 & 70.2 & 53.1 & 65.1 & 81.0 & 74.3 & 79.8 & 25.0 & 64.8 & 47.8 & 69.5 & 66.2 & 65.2 & 74.2 & 42.1 & 69.6 & 38.8 & 74.4 & 58.6 & 62.5 \\ 177 | CNN+\textbf{1}LSTM & 71.5 & 30.6 & 70.5 & 53.8 & 64.9 & 82.4 & 77.1 & 79.5 & 25.1 & 65.8 & 47.8 & 71.5 & 64.6 & 67.0 & 74.0 & 43.9 & 69.6 & 38.6 & 74.9 & 59.4 & 63.0 \\ 178 | CNN+\textbf{2}LSTM & 76.1 & 32.6 & 72.1 & 57.0 & 65.3 & 83.6 & 75.4 & 81.7 & 24.7 & 69.3 & 47.5 & 72.3 & 68.9 & 69.5 & 74.7 & 41.5 & 69.8 & 38.3 & 77.8 & 62.1 & 64.3 \\ 179 | CNN+\textbf{3}LSTM & 77.7 & 32.3 & 72.6 & 60.0 & 68.3 & 85.5 & 78.5 & 82.3 & 25.3 & 71.1 & 49.7 & 71.5 & 69.7 & 70.8 & 75.9 & 47.9 & 71.2 & 38.9 & 80.2 & 61.7 & 65.8 \\ 180 | CNN+\textbf{4}LSTM & 79.1 & \textbf{33.7} & \textbf{73.6} & \textbf{62.0} & \textbf{70.4} & 85.5 & \textbf{80.9} & 83.7 & \textbf{24.1} & 70.7 & 45.7 & 73.7 & 69.6 & 72.1 & 75.6 & 47.2 & \textbf{76.0} & 37.3 & 80.5 & 62.2 & 66.4 \\ 181 | CNN+\textbf{5}LSTM & \textbf{79.9} & 33.6 & \textbf{73.6} & 61.7 & 68.0 & \textbf{88.5} & \textbf{80.9} & \textbf{84.0} & 23.6 & \textbf{71.3} & \textbf{49.7} & \textbf{73.1} & \textbf{71.3} & \textbf{72.9} & \textbf{76.4} & \textbf{48.9} & 75.1 & \textbf{38.1} & \textbf{84.5} & \textbf{63.8} & \textbf{67.2} \\ 182 | \midrule 183 | CNN+\textbf{5}LSTM$^\dag$ & 84.8 & 36.4 & 82.0 & 69.4 & 73.0 & 87.2 & 81.8 & 86.1 & 34.5 & 82.4 & 53.1 & 81.5 & 77.4 & 79.0 & 81.3 & 54.8 & 81.1 & 47.0 & 84.3 & 67.3 & 72.3 \\ 184 | \bottomrule 185 | \end{tabular}} 186 | \label{tab:vocval} 187 | \end{table} 188 | 189 | 190 | \section{公式} 191 | \label{sec:formula} 192 | 没有编号的公式 193 | \begin{align*} 194 | \begin{split} 195 | \label{eq:feedforward} 196 | \mybold{z}^{(l)} & = \mybold{W}^{(l)}\mybold{a}^{(l-1)} + \mybold{b}^{(l)} \\ 197 | \mybold{a}^{(l)} & = f(\mybold{z}^{(l)}) 198 | \end{split} 199 | \end{align*} 200 | 公式中含有中文 201 | \begin{align} 202 | \begin{split} 203 | \mbox{像素准确率} &= \sum_{i=1}^{n_{cl}}n_{ii} / \sum_{i=1}^{n_{cl}}t_i \\ 204 | \mbox{平均像素准确率} &= \frac{1}{n_{cl}} \sum_{i=1}^{n_{cl}}(n_{ii}/ t_i) \\ 205 | \mbox{Mean IU} &= \frac{1}{n_{cl}} \sum_{i=1}^{n_{cl}}\frac{n_{ii}}{t_i + \sum_j^{n_{cl}} n_{ji} - n_{ii}} 206 | \end{split} 207 | \end{align} 208 | 公式中含有矩阵 209 | \begin{equation} 210 | \textbf{H} = \begin{bmatrix} 211 | I*\mybold{x}_i \\ \textbf{h} 212 | \end{bmatrix} 213 | \end{equation} 214 | 每行后面都有编号的公式 215 | \begin{align} 216 | \frac{\partial}{\partial W_{ij}^{(l)}} J(\mybold{W},\mybold{b};\mybold{x},y) & = \frac{\partial J(\mybold{W},\mybold{b};\mybold{x},y)}{\partial z_i^{(l+1)}}\cdot \frac{\partial z_i^{(l+1)}}{\partial W_{ij}^{(l)}} = \delta_i^{(l+1)}a_j^{(l)} \\ 217 | \frac{\partial}{\partial b_i^{(l)}} J(\mybold{W},\mybold{b};\mybold{x},y) & = \frac{\partial J(\mybold{W},\mybold{b};\mybold{x},y)}{\partial z_i^{(l+1)}}\cdot \frac{\partial z_i^{(l+1)}}{\partial b_i^{(l)}} = \delta_i^{(l+1)} 218 | \end{align} 219 | 220 | \section{算法流程图} 221 | \label{sec:algorithm} 222 | \begin{algorithm}[h] 223 | \KwIn{$m$个训练样本} 224 | \lFor{$l=1$ \emph{\KwTo} $n_l$}{ 225 | 初始化:$\Delta \mybold{W}^{(l)}=0$,$\Delta \mybold{b}^{(l)}=0$} 226 | \ForEach{训练样本}{ 227 | \lFor{$l=1$ \emph{\KwTo} $n_l-1$}{ 228 | 前向传播:$\mybold{z}^{(l+1)}=\mybold{W}^la^l+\mybold{b}^l$,$\mybold{a}^{(l+1)}=f(\mybold{z}^{(l+1)})$} 229 | 输出误差计算:$\delta^{(n_l)} = \frac{\partial}{\partial \mybold{z}^{(n_l)}} J(\mybold{W},\mybold{b};\mybold{x},y)$\; 230 | \lFor{$l=n_l-1$ \emph{\KwTo} $1$}{ 231 | 后向传播:$\delta^{(l)} = \bigl((\mybold{W}^{(l)})^T \delta^{(l+1)}\bigr)f'(\mybold{z}^{(l)})$} 232 | \ForAll{层l}{ 233 | 计算梯度:$\nabla_{\mybold{W}^{(l)}}J(\mybold{W},\mybold{b};\mybold{x},y)=\delta^{(l+1)}(\mybold{a}^{(l)})^T$ \\ 234 | \hspace{60pt}$\nabla_{\mybold{b}^{(l)}}J(\mybold{W},\mybold{b};\mybold{x},y)=\delta^{(l+1)}$\; 235 | 累加梯度:$\Delta \mybold{W}^{(l)} \leftarrow \Delta \mybold{W}^{(l)} + \nabla_{\mybold{W}^{(l)}}J(\mybold{W},\mybold{b};\mybold{x},y)$; \\ 236 | \hspace{60pt}$\Delta \mybold{b}^{(l)} \leftarrow \Delta \mybold{b}^{(l)} + \nabla_{\mybold{b}^{(l)}}J(\mybold{W},\mybold{b};\mybold{x},y)$\; 237 | } 238 | } 239 | \ForAll{层$l$}{ 240 | 更新权重:$\mybold{W}^{(l)} \leftarrow \mybold{W}^{(l)} - \alpha \biggl[\frac 1m \Delta \mybold{W}^{(l)}\biggr]$ \\ 241 | \hspace{60pt} $\mybold{b}^{(l)} \leftarrow \mybold{b}^{(l)} - \alpha \biggl[\frac 1m \Delta \mybold{b}^{(l)}\biggr]$ 242 | } 243 | \caption{梯度下降算法} 244 | \label{algo:sgd} 245 | \end{algorithm} 246 | 247 | \section{例子、定理与证明} 248 | 249 | \begin{eg} 250 | 这是一个例子, 用以验证特殊环境的字体成功更改为楷体. 251 | \end{eg} 252 | 253 | \begin{theorem}[定理例子] 254 | \label{the:example-theorem} 255 | 这是一个定理。 256 | \end{theorem} 257 | 258 | \begin{corollary}[推论例子] 259 | \label{the:example-corollary} 260 | 这是一个推论。 261 | \end{corollary} 262 | 263 | \begin{lemma}[引理例子] 264 | \label{the:example-lemma} 265 | 这是一个引理。 266 | \end{lemma} 267 | 268 | 这里我们先给出\autoref{the:example-theorem-sysu-thesis} 269 | 270 | \begin{theorem}[中山大学毕业论文模板定理] 271 | \label{the:example-theorem-sysu-thesis} 272 | 中山大学 \LaTeX 毕业论文模板\cite{sysu-thesis}可以用于写各种证明。 273 | \end{theorem} 274 | 275 | 下面我们对\autoref{the:example-theorem-sysu-thesis}进行证明: 276 | 277 | 278 | \begin{proof} 279 | 280 | 下面我们开始证明: 281 | 282 | 由本定理的证明可见,我可以引用\autoref{the:example-theorem}和引理\ref{the:example-corollary}以及推论\ref{the:example-lemma}来证明我这个 \LaTeX 可以用来写各种证明。 \\ 283 | 284 | \autoref{the:example-theorem-sysu-thesis}得证。 285 | \end{proof} 286 | 287 | \section{代码} 288 | 289 | 本模版支持在论文中插入代码片段,或直接从源码文件进行插入\footnote{请参考\url{https://www.overleaf.com/learn/latex/Code_listing}}。 290 | 291 | 例如,在论文中插入代码片段的效果为: 292 | 293 | \begin{lstlisting}[ 294 | numbers=left, 295 | basicstyle=\ttfamily, 296 | breaklines=true, 297 | keywordstyle=\color{SeaGreen4}, 298 | caption=Python example, 299 | language=Python 300 | ] 301 | for i in range(N): 302 | A[i] += 1 303 | \end{lstlisting} 304 | 305 | 也可在行内插入代码片段,例如:Python中重载加法运算符的函数为\lstinline[language=Python,keywordstyle=\color{SeaGreen4}]{__add__}。 306 | 此外,还可直接插入代码文件,例如插入\texttt{./code/demo.cpp}的效果为: 307 | 308 | \lstinputlisting[ 309 | basicstyle=\ttfamily, 310 | breaklines=true, 311 | keywordstyle=\color{SeaGreen4}, 312 | language=C++ 313 | ]{code/demo.cpp} 314 | 315 | \section{其他的一些用法} 316 | \label{sec:font} 317 | \subsection{子章节编号} 318 | \label{sec:font:subsection} 319 | \subsubsection{更小的章节} 320 | \label{sec:font:subsection:subsub} 321 | 更小的章节编号也是支持的。 322 | 323 | 可以如此引用章节: 324 | 325 | \begin{itemize} 326 | \item \autoref{cha:usage-example} 327 | \item \autoref{sec:font} 328 | \item \autoref{sec:font:subsection} 329 | \item \autoref{sec:font:subsection:subsub} 330 | \end{itemize} 331 | 332 | 333 | \subsection{列表的使用} 334 | \label{sec:font:list} 335 | 336 | 这是一个无序列表 337 | \begin{itemize} 338 | \item 引用文献\cite{long2015fully} 339 | \item 引用文献作者\citeauthor{long2015fully} 340 | \item 引用文献年份\citeyear{long2015fully} 341 | \item 字体{\color{red}{变红}},\textbf{粗体},\textit{斜体},\underline{下划线}。 342 | \end{itemize} 343 | 344 | 这是一个有序列表 345 | \begin{enumerate} 346 | \item 索引前面的\autoref{sec:formula}、图像\ref{fig:complex}、表格\ref{tab:siftflow} 347 | \item 加脚注\footnote{测{\zihao{-5}试一下}脚注和URL \url{http://cs231n.github.io/transfer-learning/}} 348 | \end{enumerate} 349 | -------------------------------------------------------------------------------- /docs/chap05.tex: -------------------------------------------------------------------------------- 1 | %% chapter 5 dataset, network structure, experiment and result 2 | \chapter{实验与结果} 3 | \label{cha:experiment} 4 | 5 | \section{关于生僻字} 6 | 7 | 测试生僻字 8 | 9 | 昇䊒熗庈焾燋庼廎㶭粌纇颣炥䊧彂㢕糑鄜麛麚䴫麌䴠麎塵䴣麆麠䴤麖䴨䴩䴪麘麞麡麍麏麐麔 10 | -------------------------------------------------------------------------------- /docs/disclaim.tex: -------------------------------------------------------------------------------- 1 | \zihao{2}\heiti\selectfont 2 | \centering \textbf{学术诚信声明} 3 | \zihao{-4}\songti\selectfont 4 | 5 | % 旧版的学术诚信声明 6 | % 本人所呈交的毕业论文,是在导师的指导下,独立进行研究工作所取得的成果,所有数据、图片资料均真实可靠。除文中已经注明引用的内容外,本论文不包含任何其他人或集体已经发表或撰写过的作品或成果。对本论文的研究作出重要贡献的个人和集体,均已在文中以明确的方式标明。本毕业论文的知识产权归属于培养单位。本人完全意识到本声明的法律结果由本人承担。 7 | 8 | % 新版的 9 | 本人郑重声明:所呈交的毕业论文(设计),是本人在导师的指导下,独立进行研究工作所取得的成果。除文中已经注明引用的内容外,本论文(设计)不包含任何其他个人或集体已经发表或撰写过的作品成果。对本论文(设计)的研究做出重要贡献的个人和集体,均已在文中以明确方式标明。本论文(设计)的知识产权归属于培养单位。本人完全意识到本声明的法律结果由本人承担。 10 | 11 | \vspace{2\baselineskip} 12 | 13 | \begin{flushright} 14 | \makebox[2.1cm][s]{作者签名:} \makebox[5cm]{\hspace{1cm}} \\ 15 | \vspace{2\baselineskip} 16 | \makebox[2.1cm][s]{日期:} \makebox[5cm]{\hspace{1cm}年\hspace{1cm}月\hspace{1cm}日} \\ 17 | \end{flushright} 18 | 19 | 20 | % \vspace{2\baselineskip} 21 | 22 | % \begin{center} 23 | % {\zihao{-2}\bfseries Statement of Academic Integrity} 24 | % \end{center} 25 | 26 | % I hereby acknowledge that the thesis submitted is a product of my own independent research under the supervision of my supervisor, and that all the data, statistics, pictures and materials are reliable and trustworthy, and that all the previous research and sources are appropriately marked in the thesis, and that the intellectual property of the thesis belongs to the school. I am fully aware of the legal effect of this statement. 27 | 28 | % \vspace{2\baselineskip} 29 | 30 | % Student Signature: \hfill Date: \hspace{4cm} 31 | \endinput 32 | -------------------------------------------------------------------------------- /docs/grading.tex: -------------------------------------------------------------------------------- 1 | %% 2 | % 成绩评定记录表 3 | % modifier: 黄俊杰(huangjj27, 349373001dc@gmail.com) 4 | % update date: 2017-05-17 5 | 6 | \gradingComment{ 7 | 某某同学针对什么问题研究了什么算法/实现了什么系统/针对这个系统做了什么测试,本文选题合理,实验结果表明技术路线……论文写作规范,引用文献充分,符合中山大学本科论文的规范,是篇优秀/良好/中等/合格的论文。 8 | } 9 | -------------------------------------------------------------------------------- /docs/info.tex: -------------------------------------------------------------------------------- 1 | %% 2 | % 论文相关信息 3 | % 本文档中前缀"c-"代表中文版字段, 前缀"e-"代表英文版字段 4 | % modifyer: 黄俊杰(huangjj27, 349373001dc@gmail.com) 5 | % update date: 2017-04-13 6 | %% 7 | 8 | % 标题 9 | % 论文题目应以简短、明确的词语恰当概括整个论文的核心内容,避免使用不常见的缩略词、缩写字。读者通过标题可大致了解毕业设计(论文)的内容、专业的特点和科学的范畴。中文题目一般不宜超过 24 个字,必要时可增加副标题。外文题目一般不宜超过 12 个实词 10 | 11 | % 封面标题。由于技术所限,封面题目过长的划分交由用户您进行定夺 12 | % 这也能让您的论文封面看起来更有美感 13 | \covertitlefirst{中山大学} 14 | \covertitlesecond{本科毕业论文(设计)} 15 | 16 | % Author: Souler Ou 17 | % 修改者: 欧一锋 18 | % Date: 3/30/2018 19 | % Mail: ou@souler.cc 20 | %如果英文标题过长可以使用此两项作为表三(答辩记录表)的标题。 21 | \etitlefirst{\LaTeX \ Template} 22 | \etitlesecond{for SYSU Graduation Thesis} 23 | 24 | % 中文标题 25 | \ctitle{中山大学本科毕业论文} 26 | \etitle{ \LaTeX \ Template for SYSU Graduation Thesis} 27 | 28 | % 作者详细信息 29 | \author{王小明} 30 | \cauthor{王\ 小\ 明} % 封面作者 31 | \eauthor{Wang Xiaoming} 32 | \studentid{12350004} 33 | \cschool{计算机学院} 34 | 35 | \cmajor{计算机科学与技术} 36 | \emajor{Computer Science and Technology} 37 | 38 | % 指导老师 39 | \cmentor{王大明 \ (教授)} 40 | \ementor{Prof. 王大明} 41 | 42 | -------------------------------------------------------------------------------- /docs/progress.tex: -------------------------------------------------------------------------------- 1 | %% 2 | % 四次进度报告相关信息 3 | 4 | % Author: Souler Ou 5 | % 修改者: 欧一锋 6 | % Date: 3/30/2018 7 | % Mail: ou@souler.cc 8 | 9 | % 第一次进度报告 10 | \firstsummary{ 11 | \begin{adjustwidth}{2em}{2em} 12 | 在这一阶段,XXX工作基本完成,主要在如下几个方面: 13 | \begin{enumerate} 14 | \item 完成了第一项。 15 | \item 完成了第二项 16 | \item 完成了第三项。 17 | \end{enumerate} 18 | \end{adjustwidth} 19 | } 20 | % 第2次进度报告 21 | \secondsummary{ 22 | \begin{adjustwidth}{2em}{2em} 23 | ... 24 | \end{adjustwidth} 25 | } 26 | % 第3次进度报告 27 | \thirdsummary{ 28 | \begin{adjustwidth}{2em}{2em} 29 | ... 30 | \end{adjustwidth} 31 | } 32 | % 第4次进度报告 33 | \fourthsummary{ 34 | \begin{adjustwidth}{2em}{2em} 35 | ... 36 | \end{adjustwidth} 37 | } 38 | % 第1次老师评价 39 | \firstcomment{ 40 | \begin{adjustwidth}{2em}{2em} 41 | 论文完成情况良好。 42 | \end{adjustwidth} 43 | } 44 | % 第2次老师评价 45 | \secondcomment{ 46 | \begin{adjustwidth}{2em}{2em} 47 | ... 48 | \end{adjustwidth} 49 | } 50 | % 第3次老师评价 51 | \thirdcomment{ 52 | \begin{adjustwidth}{2em}{2em} 53 | ... 54 | \end{adjustwidth} 55 | } 56 | % 第4次老师评价 57 | \fourthcomment{ 58 | \begin{adjustwidth}{2em}{2em} 59 | ... 60 | \end{adjustwidth} 61 | } 62 | % 老师总评价 63 | \finalcomment{ 64 | \begin{adjustwidth}{2em}{2em} 65 | ... 66 | \end{adjustwidth} 67 | } -------------------------------------------------------------------------------- /docs/proposal.tex: -------------------------------------------------------------------------------- 1 | %% 2 | % 开题报告 3 | % modifier: 黄俊杰(huangjj27, 349373001dc@gmail.com) 4 | % update date: 2017-05-14 5 | 6 | % 选题目的 7 | \objective{ 8 | 9 | } 10 | 11 | % 思路 12 | \methodology{ 13 | 14 | } 15 | 16 | % 研究方法/程序/步骤 17 | \researchProcedure{ 18 | 19 | } 20 | 21 | % 相关支持条件 22 | \supportment{ 23 | 24 | } 25 | 26 | % 进度安排 27 | \schedule{ 28 | 29 | } 30 | 31 | % 指导老师意见 32 | \proposalInstructions{ 33 | 34 | } 35 | 36 | -------------------------------------------------------------------------------- /fonts/init_fonts.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | wget https://cs.fit.edu/code/projects/ndworld/repository/revisions/12/raw/Resources/Fonts/AdobeSongStd-Light.otf 4 | wget https://cs.fit.edu/code/projects/ndworld/repository/revisions/12/raw/Resources/Fonts/AdobeHeitiStd-Regular.otf 5 | wget https://cs.fit.edu/code/projects/ndworld/repository/revisions/12/raw/Resources/Fonts/AdobeKaitiStd-Regular.otf 6 | wget https://cs.fit.edu/code/projects/ndworld/repository/revisions/11/raw/Resources/Fonts/AdobeFangsongStd-Regular.otf 7 | -------------------------------------------------------------------------------- /image/appendix1/1/2007_000042.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/1/2007_000042.png -------------------------------------------------------------------------------- /image/appendix1/1/2007_000663.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/1/2007_000663.png -------------------------------------------------------------------------------- /image/appendix1/1/2009_004579.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/1/2009_004579.png -------------------------------------------------------------------------------- /image/appendix1/1/2011_000813.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/1/2011_000813.png -------------------------------------------------------------------------------- /image/appendix1/1/2011_001159.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/1/2011_001159.png -------------------------------------------------------------------------------- /image/appendix1/1/2011_003145.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/1/2011_003145.png -------------------------------------------------------------------------------- /image/appendix1/1/2011_003256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/1/2011_003256.png -------------------------------------------------------------------------------- /image/appendix1/2007_000042.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2007_000042.jpg -------------------------------------------------------------------------------- /image/appendix1/2007_000042.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2007_000042.png -------------------------------------------------------------------------------- /image/appendix1/2007_000663.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2007_000663.jpg -------------------------------------------------------------------------------- /image/appendix1/2007_000663.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2007_000663.png -------------------------------------------------------------------------------- /image/appendix1/2009_004579.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2009_004579.jpg -------------------------------------------------------------------------------- /image/appendix1/2009_004579.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2009_004579.png -------------------------------------------------------------------------------- /image/appendix1/2011_000813.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2011_000813.jpg -------------------------------------------------------------------------------- /image/appendix1/2011_000813.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2011_000813.png -------------------------------------------------------------------------------- /image/appendix1/2011_001159.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2011_001159.jpg -------------------------------------------------------------------------------- /image/appendix1/2011_001159.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2011_001159.png -------------------------------------------------------------------------------- /image/appendix1/2011_003145.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2011_003145.jpg -------------------------------------------------------------------------------- /image/appendix1/2011_003145.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2011_003145.png -------------------------------------------------------------------------------- /image/appendix1/2011_003256.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2011_003256.jpg -------------------------------------------------------------------------------- /image/appendix1/2011_003256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/2011_003256.png -------------------------------------------------------------------------------- /image/appendix1/3/2007_000042.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/3/2007_000042.png -------------------------------------------------------------------------------- /image/appendix1/3/2007_000663.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/3/2007_000663.png -------------------------------------------------------------------------------- /image/appendix1/3/2009_004579.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/3/2009_004579.png -------------------------------------------------------------------------------- /image/appendix1/3/2011_000813.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/3/2011_000813.png -------------------------------------------------------------------------------- /image/appendix1/3/2011_001159.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/3/2011_001159.png -------------------------------------------------------------------------------- /image/appendix1/3/2011_003145.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/3/2011_003145.png -------------------------------------------------------------------------------- /image/appendix1/3/2011_003256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/3/2011_003256.png -------------------------------------------------------------------------------- /image/appendix1/5/2007_000042.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/5/2007_000042.png -------------------------------------------------------------------------------- /image/appendix1/5/2007_000663.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/5/2007_000663.png -------------------------------------------------------------------------------- /image/appendix1/5/2009_004579.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/5/2009_004579.png -------------------------------------------------------------------------------- /image/appendix1/5/2011_000813.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/5/2011_000813.png -------------------------------------------------------------------------------- /image/appendix1/5/2011_001159.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/5/2011_001159.png -------------------------------------------------------------------------------- /image/appendix1/5/2011_003145.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/5/2011_003145.png -------------------------------------------------------------------------------- /image/appendix1/5/2011_003256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/appendix1/5/2011_003256.png -------------------------------------------------------------------------------- /image/chap03/overleaf-config.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap03/overleaf-config.jpg -------------------------------------------------------------------------------- /image/chap03/overleaf-create-proj.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap03/overleaf-create-proj.jpg -------------------------------------------------------------------------------- /image/chap03/overleaf-example.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap03/overleaf-example.jpg -------------------------------------------------------------------------------- /image/chap03/overleaf-upload-proj.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap03/overleaf-upload-proj.jpg -------------------------------------------------------------------------------- /image/chap03/vscode-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap03/vscode-example.png -------------------------------------------------------------------------------- /image/chap04/colorbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/colorbar.png -------------------------------------------------------------------------------- /image/chap04/confusion.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/confusion.pdf -------------------------------------------------------------------------------- /image/chap04/example/2007_000799.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/example/2007_000799.jpg -------------------------------------------------------------------------------- /image/chap04/example/2007_000799.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/example/2007_000799.pdf -------------------------------------------------------------------------------- /image/chap04/example/2007_002094.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/example/2007_002094.jpg -------------------------------------------------------------------------------- /image/chap04/example/2007_002094.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/example/2007_002094.pdf -------------------------------------------------------------------------------- /image/chap04/example/2007_003194.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/example/2007_003194.jpg -------------------------------------------------------------------------------- /image/chap04/example/2007_003194.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/example/2007_003194.pdf -------------------------------------------------------------------------------- /image/chap04/example/2007_004483.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/example/2007_004483.jpg -------------------------------------------------------------------------------- /image/chap04/example/2007_004483.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/example/2007_004483.pdf -------------------------------------------------------------------------------- /image/chap04/illustration/hole.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/illustration/hole.pdf -------------------------------------------------------------------------------- /image/chap04/illustration/neighboring.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/illustration/neighboring.pdf -------------------------------------------------------------------------------- /image/chap04/illustration/network1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/illustration/network1.pdf -------------------------------------------------------------------------------- /image/chap04/illustration/networkstructure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/illustration/networkstructure.pdf -------------------------------------------------------------------------------- /image/chap04/improvement/2007_000663.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/improvement/2007_000663.jpg -------------------------------------------------------------------------------- /image/chap04/improvement/2007_000663.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/improvement/2007_000663.png -------------------------------------------------------------------------------- /image/chap04/improvement/2007_000663_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/improvement/2007_000663_1.png -------------------------------------------------------------------------------- /image/chap04/improvement/2007_000663_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/improvement/2007_000663_2.png -------------------------------------------------------------------------------- /image/chap04/improvement/2007_000663_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/improvement/2007_000663_3.png -------------------------------------------------------------------------------- /image/chap04/improvement/2007_000663_4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/improvement/2007_000663_4.png -------------------------------------------------------------------------------- /image/chap04/improvement/2007_000663_5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/improvement/2007_000663_5.png -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_003349.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_003349.jpg -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_003349.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_003349.png -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_004241.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_004241.jpg -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_004241.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_004241.png -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_005173.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_005173.jpg -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_005173.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_005173.png -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_005331.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_005331.jpg -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_005331.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_005331.png -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_006678.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_006678.jpg -------------------------------------------------------------------------------- /image/chap04/result/compare/2007_006678.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2007_006678.png -------------------------------------------------------------------------------- /image/chap04/result/compare/2009_004507.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2009_004507.jpg -------------------------------------------------------------------------------- /image/chap04/result/compare/2009_004507.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2009_004507.png -------------------------------------------------------------------------------- /image/chap04/result/compare/2010_005284.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2010_005284.jpg -------------------------------------------------------------------------------- /image/chap04/result/compare/2010_005284.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/2010_005284.png -------------------------------------------------------------------------------- /image/chap04/result/compare/compare_horse.odg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/compare_horse.odg -------------------------------------------------------------------------------- /image/chap04/result/compare/compare_sheep.odg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/compare_sheep.odg -------------------------------------------------------------------------------- /image/chap04/result/compare/deeplab_bird.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/deeplab_bird.png -------------------------------------------------------------------------------- /image/chap04/result/compare/deeplab_bus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/deeplab_bus.png -------------------------------------------------------------------------------- /image/chap04/result/compare/deeplab_dog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/deeplab_dog.png -------------------------------------------------------------------------------- /image/chap04/result/compare/fcn_boat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/fcn_boat.png -------------------------------------------------------------------------------- /image/chap04/result/compare/fcn_horse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/fcn_horse.png -------------------------------------------------------------------------------- /image/chap04/result/compare/fcn_motor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/fcn_motor.png -------------------------------------------------------------------------------- /image/chap04/result/compare/fcn_sheep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/fcn_sheep.png -------------------------------------------------------------------------------- /image/chap04/result/compare/gt_horse.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/gt_horse.pdf -------------------------------------------------------------------------------- /image/chap04/result/compare/gt_horse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/gt_horse.png -------------------------------------------------------------------------------- /image/chap04/result/compare/gt_sheep.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/gt_sheep.pdf -------------------------------------------------------------------------------- /image/chap04/result/compare/im_horse.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/im_horse.pdf -------------------------------------------------------------------------------- /image/chap04/result/compare/im_sheep.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/im_sheep.pdf -------------------------------------------------------------------------------- /image/chap04/result/compare/my_bird.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_bird.png -------------------------------------------------------------------------------- /image/chap04/result/compare/my_boat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_boat.png -------------------------------------------------------------------------------- /image/chap04/result/compare/my_bus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_bus.png -------------------------------------------------------------------------------- /image/chap04/result/compare/my_dog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_dog.png -------------------------------------------------------------------------------- /image/chap04/result/compare/my_horse.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_horse.pdf -------------------------------------------------------------------------------- /image/chap04/result/compare/my_horse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_horse.png -------------------------------------------------------------------------------- /image/chap04/result/compare/my_motor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_motor.png -------------------------------------------------------------------------------- /image/chap04/result/compare/my_sheep.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_sheep.pdf -------------------------------------------------------------------------------- /image/chap04/result/compare/my_sheep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/my_sheep.png -------------------------------------------------------------------------------- /image/chap04/result/compare/sds_boat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/sds_boat.png -------------------------------------------------------------------------------- /image/chap04/result/compare/sds_horse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/sds_horse.png -------------------------------------------------------------------------------- /image/chap04/result/compare/sds_motor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/sds_motor.png -------------------------------------------------------------------------------- /image/chap04/result/compare/sds_sheep.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/sds_sheep.png -------------------------------------------------------------------------------- /image/chap04/result/compare/zoom_bird.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/zoom_bird.png -------------------------------------------------------------------------------- /image/chap04/result/compare/zoom_bus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/zoom_bus.png -------------------------------------------------------------------------------- /image/chap04/result/compare/zoom_dog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/compare/zoom_dog.png -------------------------------------------------------------------------------- /image/chap04/result/error/2007_002539.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2007_002539.jpg -------------------------------------------------------------------------------- /image/chap04/result/error/2007_002539.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2007_002539.png -------------------------------------------------------------------------------- /image/chap04/result/error/2007_008964.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2007_008964.jpg -------------------------------------------------------------------------------- /image/chap04/result/error/2007_008964.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2007_008964.png -------------------------------------------------------------------------------- /image/chap04/result/error/2007_009088.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2007_009088.jpg -------------------------------------------------------------------------------- /image/chap04/result/error/2007_009088.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2007_009088.png -------------------------------------------------------------------------------- /image/chap04/result/error/2008_000673.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2008_000673.jpg -------------------------------------------------------------------------------- /image/chap04/result/error/2008_000673.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2008_000673.png -------------------------------------------------------------------------------- /image/chap04/result/error/2008_000763.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2008_000763.jpg -------------------------------------------------------------------------------- /image/chap04/result/error/2008_000763.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2008_000763.png -------------------------------------------------------------------------------- /image/chap04/result/error/2008_001580.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2008_001580.jpg -------------------------------------------------------------------------------- /image/chap04/result/error/2008_001580.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/2008_001580.png -------------------------------------------------------------------------------- /image/chap04/result/error/p_2007_002539.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/p_2007_002539.png -------------------------------------------------------------------------------- /image/chap04/result/error/p_2007_008964.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/p_2007_008964.png -------------------------------------------------------------------------------- /image/chap04/result/error/p_2007_009088.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/p_2007_009088.png -------------------------------------------------------------------------------- /image/chap04/result/error/p_2008_000673.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/p_2008_000673.png -------------------------------------------------------------------------------- /image/chap04/result/error/p_2008_000763.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/p_2008_000763.png -------------------------------------------------------------------------------- /image/chap04/result/error/p_2008_001580.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/chap04/result/error/p_2008_001580.png -------------------------------------------------------------------------------- /image/template/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/template/.DS_Store -------------------------------------------------------------------------------- /image/template/SYSULogo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/template/SYSULogo.pdf -------------------------------------------------------------------------------- /image/template/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/template/logo.png -------------------------------------------------------------------------------- /image/template/readme.md: -------------------------------------------------------------------------------- 1 | # README 2 | 3 | 这里放置了一些模板中用到了图片素材。素材来源如下: 4 | 5 | 1. [中山大学视觉形象识别系统](http://home3.sysu.edu.cn/sysuvi/content/) 6 | -------------------------------------------------------------------------------- /image/template/sysu-logo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/image/template/sysu-logo.pdf -------------------------------------------------------------------------------- /main.bib: -------------------------------------------------------------------------------- 1 | %% 2 | % 参考文献 3 | % 参考文献是毕业设计(论文)不可缺少的组成部分,它反映毕业设计(论文)的取材来源、材料的广博程度和材料的可靠程度,也是作者对他人知识成果的承认和尊重。一份完整的参考文献可向读者提供一份有价值的信息资料,列入的文献应在 10 篇以上,其中外文文献在 2 篇以上。 4 | %% 5 | 6 | @program{sysu-thesis, 7 | title = {中山大学毕业论文Latex模板}, 8 | author = {Songguang Chen and Junjie Huang and Yongfeng, Wang}, 9 | url = {https://github.com/SYSU-SCC/sysu-thesis}, 10 | year = {2020} 11 | } 12 | 13 | @article{liu2011sift, 14 | title = {Sift flow: Dense correspondence across scenes and its applications}, 15 | author = {Liu, Ce and Yuen, Jenny and Torralba, Antonio}, 16 | journal = {Pattern Analysis and Machine Intelligence, IEEE Transactions on}, 17 | volume = {33}, 18 | number = {5}, 19 | pages = {978--994}, 20 | year = {2011}, 21 | publisher = {IEEE} 22 | } 23 | @inproceedings{tighe2013finding, 24 | title = {Finding things: Image parsing with regions and per-exemplar detectors}, 25 | author = {Tighe, Joseph and Lazebnik, Svetlana}, 26 | booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition}, 27 | pages = {3001--3008}, 28 | year = {2013} 29 | } 30 | @inproceedings{long2015fully, 31 | title = {Fully convolutional networks for semantic segmentation}, 32 | author = {Long, Jonathan and Shelhamer, Evan and Darrell, Trevor}, 33 | booktitle = {Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition}, 34 | pages = {3431--3440}, 35 | year = {2015} 36 | } 37 | @inproceedings{chen14semantic, 38 | title = {Semantic Image Segmentation with Deep Convolutional Nets and Fully Connected CRFs}, 39 | author = {Liang-Chieh Chen and George Papandreou and Iasonas Kokkinos and Kevin Murphy and Alan L Yuille}, 40 | booktitle = {ICLR}, 41 | url = {http://arxiv.org/abs/1412.7062}, 42 | year = {2015} 43 | } 44 | @incollection{hariharan2014simultaneous, 45 | title = {Simultaneous detection and segmentation}, 46 | author = {Hariharan, Bharath and Arbel{\'a}ez, Pablo and Girshick, Ross and Malik, Jitendra}, 47 | booktitle = {Computer vision--ECCV 2014}, 48 | pages = {297--312}, 49 | year = {2014}, 50 | publisher = {Springer} 51 | } 52 | 53 | -------------------------------------------------------------------------------- /main.tex: -------------------------------------------------------------------------------- 1 | % 可自定义论文时间戳 \today 2 | % \year=2021 3 | % \month=5 4 | % \day=20 5 | 6 | \documentclass{sysuthesis} % 默认使用电子版(不填充空白页)。如果需要双面打印版,请注释掉本行并启用下一行 7 | % \documentclass[print-both-sides]{sysuthesis} % 使用双面打印版(填充额外空白页以保证每一章开头都在奇数页) 8 | 9 | \input{docs/info} % 论文相关信息 10 | \input{docs/proposal} % 开题报告内容 11 | \input{docs/abstract} % 摘要内容 12 | \input{docs/grading} % 成绩评定记录表评语 13 | \input{docs/progress} % 过程检查报告数据 14 | \begin{document} 15 | % 论文前置部分 16 | \frontmatter 17 | \pagenumbering{Roman} 18 | \makeUndergraduateCover % 封面 19 | \makeUndergraduateTitlePage % 扉页 20 | % \makeProposal% 开题报告 21 | % \makeProgressCheck % 过程检查记录表 22 | % \makeDefenseRecord % 答辩情况等级表 23 | \makedisclaim % 学术诚信声明 24 | \makeabstract % 中英文摘要 25 | \maketableofcontents % 目录 26 | \makelistoffiguretable 27 | 28 | % 论文主体部分 29 | \mainmatter 30 | % 引言 31 | 32 | % 正文 33 | \include{docs/chap01} 34 | \newclearpage 35 | \include{docs/chap02} 36 | \newclearpage 37 | \include{docs/chap03} 38 | \newclearpage 39 | \include{docs/chap04} 40 | \newclearpage 41 | \include{docs/chap05} 42 | \newclearpage 43 | 44 | % 结语 45 | 46 | % 附录部分 47 | \backmatter 48 | % 参考文献. 因不需要纳入章节目录, 故放入附录部分 49 | % 实际上参考文献是属于论文主体部分 50 | \makereferences 51 | 52 | % 附录 53 | { 54 | \appendix 55 | \include{docs/appendix1} 56 | \newclearpage 57 | } 58 | 59 | \include{docs/ack} % 致谢 60 | \newclearpage 61 | 62 | % \makeGrade % 成绩评定记录表 63 | \end{document} 64 | -------------------------------------------------------------------------------- /packages/ctex-xecjk-adobefonts.def: -------------------------------------------------------------------------------- 1 | % ctex-xecjk-adobefonts.def: Adobe 的 xeCJK 字体设置,为 Adobe 的四套字体 2 | % vim:ft=tex 3 | 4 | \setCJKmainfont[BoldFont=FandolHei,ItalicFont=FandolKai]{FandolSong} 5 | \setCJKfallbackfamilyfont{\CJKrmdefault}{WenQuanYi Zen Hei} 6 | \setCJKfamilyfont{zhsong}{FandolSong} 7 | \setCJKfamilyfont{zhhei}{FandolHei} 8 | \setCJKfamilyfont{zhfs}{FandolFang} 9 | \setCJKfamilyfont{zhkai}{FandolKai} 10 | \setCJKfamilyfont{zhback}{WenQuanYi Zen Hei} 11 | \newcommand*{\songti}{\CJKfamily{zhsong}} 12 | \newcommand*{\heiti}{\CJKfamily{zhhei}} 13 | \newcommand*{\kaishu}{\CJKfamily{zhkai}} 14 | \newcommand*{\fangsong}{\CJKfamily{zhfs}} 15 | 16 | \endinput 17 | -------------------------------------------------------------------------------- /pre.tex: -------------------------------------------------------------------------------- 1 | \documentclass[ 2 | % fontset=ubuntu, % 生僻字可用思源字体,如“昇腾” 3 | fontset=fandol, 4 | xcolor=x11names % SeaGreen4 5 | ]{ctexbeamer} 6 | \usepackage{listings} 7 | 8 | \usetheme[ 9 | % compress % 进度条压缩在一行,可选 10 | ]{Berlin} 11 | 12 | \usecolortheme[named=SeaGreen4]{structure} 13 | 14 | \title{{\LaTeX} Template for SYSU Graduation Thesis} 15 | 16 | \subtitle{申请中山大学工学学士学位论文答辩报告} 17 | 18 | \author[王小明]{ 19 | \texorpdfstring{ 20 | 学生:王小明\\ 21 | ~\\ 22 | \href{mailto:yourname@mail2.sysu.edu.cn}{yourname@mail2.sysu.edu.cn} 23 | }{PDF Bookmark Version} 24 | } 25 | 26 | \institute[中山大学~计算机学院(软件学院)]{ 27 | \includegraphics[height=0.1\textheight]{./image/template/logo.png} 28 | % \includegraphics[height=0.1\textheight]{./image/template/sysu-logo.pdf} % 这里可以放一排所在实验室的logo,可以去学院官网底部或实验室主页弄到,如 29 | } 30 | 31 | \logo{\includegraphics[width=.08\linewidth]{./image/template/sysu-logo.pdf}} % 这个是每页都会出现的水印,可能会影响观感,自行决定放不放 32 | 33 | \date{ 34 | %\today 35 | 二〇二一年五月 36 | } 37 | 38 | \begin{document} 39 | 40 | \section{Intro} 41 | 42 | \begin{frame} 43 | 44 | \titlepage 45 | 46 | \end{frame} 47 | 48 | \subsection{选题背景} 49 | 50 | \begin{frame} 51 | 52 | \begin{block}{要点一\footnote{引用一}} 53 | \begin{itemize} 54 | \item 条目一,每一行字不要太密 55 | \item 条目二 56 | \item 条目三 57 | \end{itemize} 58 | \end{block} 59 | 60 | \begin{block}{要点二} 61 | \begin{itemize} 62 | \item 条目一\footnote{引用二} 63 | \item 条目二 64 | \end{itemize} 65 | \end{block} 66 | 67 | \end{frame} 68 | 69 | \section{相关概念与面临的挑战} 70 | 71 | \subsection{图像搭配单页说明} 72 | 73 | \begin{frame} 74 | 75 | \begin{block}{生僻字测试} 76 | \begin{itemize} 77 | \item 华为昇腾异构处理器\footnote{\url{https://www.hisilicon.com/cn/products/Ascend}} 78 | \item 条目二 79 | \end{itemize} 80 | \end{block} 81 | 82 | \begin{figure} 83 | \includegraphics[width=0.618\linewidth]{./image/chap04/illustration/hole.pdf} 84 | \caption{单张图像} 85 | \label{fig:hole} 86 | \end{figure} 87 | 88 | \end{frame} 89 | 90 | \begin{frame} 91 | 92 | \begin{block}{要点一} 93 | \begin{itemize} 94 | \item 条目一 95 | \item 条目二 96 | \end{itemize} 97 | \end{block} 98 | 99 | \begin{figure} %文中的Grid-LSTM模型做的语义图像分割的例子 100 | \includegraphics[width=.2\linewidth,height=.15\linewidth]{./image/chap04/example/2007_000799.jpg} 101 | \includegraphics[width=.2\linewidth,height=.15\linewidth]{./image/chap04/example/2007_002094.jpg} 102 | \includegraphics[width=.2\linewidth,height=.15\linewidth]{./image/chap04/example/2007_004483.jpg} 103 | \includegraphics[width=.2\linewidth,height=.15\linewidth]{./image/chap04/example/2007_003194.jpg} 104 | \\ 105 | \includegraphics[width=.2\linewidth,height=.15\linewidth]{./image/chap04/example/2007_000799.pdf} 106 | \includegraphics[width=.2\linewidth,height=.15\linewidth]{./image/chap04/example/2007_002094.pdf} 107 | \includegraphics[width=.2\linewidth,height=.15\linewidth]{./image/chap04/example/2007_004483.pdf} 108 | \includegraphics[width=.2\linewidth,height=.15\linewidth]{./image/chap04/example/2007_003194.pdf} 109 | \caption{并排的多张图像} 110 | \label{fig:multi-image-example1} 111 | \end{figure} 112 | 113 | \end{frame} 114 | 115 | \subsection{单页并排} 116 | 117 | \begin{frame} 118 | 119 | \begin{minipage}{.35\linewidth} 120 | \begin{block}{sysu-thesis 真滴很好用} 121 | \begin{itemize} 122 | \item 排版美观 123 | \item 格式清晰 124 | \end{itemize} 125 | \end{block} 126 | \end{minipage}\begin{minipage}{.6\linewidth} 127 | 128 | \begin{figure} 129 | \includegraphics[width=.95\linewidth]{./image/chap03/overleaf-example.jpg} 130 | \end{figure} 131 | 132 | \end{minipage} 133 | 134 | \end{frame} 135 | 136 | \subsection{单页双图} 137 | 138 | \begin{frame} 139 | 140 | \begin{block}{要点一} 141 | \begin{itemize} 142 | \item 条目一 143 | \item 条目二 144 | \end{itemize} 145 | \end{block} 146 | 147 | \begin{figure} 148 | \begin{minipage}{0.49\linewidth} 149 | \includegraphics[height=0.45\textheight]{./image/chap04/example/2007_004483.pdf} 150 | \caption{一} 151 | \end{minipage} 152 | \begin{minipage}{0.49\linewidth} 153 | \includegraphics[height=0.45\textheight]{./image/chap04/example/2007_003194.pdf} 154 | \caption{二} 155 | \end{minipage} 156 | \end{figure} 157 | 158 | \end{frame} 159 | 160 | \subsection{单页大图} 161 | 162 | \begin{frame} 163 | 164 | \begin{figure} 165 | \includegraphics[width=0.9\linewidth]{./image/chap03/overleaf-example.jpg} 166 | \caption{Overleaf使用例子,这里的描述可以长一些} 167 | \label{fig:overleaf-example} 168 | \end{figure} 169 | 170 | \end{frame} 171 | 172 | \section{算法设计} 173 | 174 | \subsection{代码块} 175 | 176 | \begin{frame}[fragile] % 注意 177 | 178 | 参考 \url{https://www.overleaf.com/learn/latex/Code_listing}。 179 | 180 | \begin{minipage}{.49\linewidth} 181 | 182 | \begin{lstlisting}[ 183 | numbers=left, 184 | basicstyle=\ttfamily, 185 | breaklines=true, 186 | keywordstyle=\color{SeaGreen4}, 187 | caption=Python example, 188 | language=Python 189 | ] 190 | for i in range(N): 191 | A[i] += 1 192 | \end{lstlisting} 193 | 194 | \end{minipage}\begin{minipage}{.49\linewidth} 195 | 196 | \begin{lstlisting}[ 197 | basicstyle=\ttfamily, 198 | breaklines=true, 199 | keywordstyle=\color{SeaGreen4}, 200 | caption=C++ example, 201 | language=C++ 202 | ] 203 | for (int i = 0; i < N; ++i) 204 | A[i] += 1; 205 | \end{lstlisting} 206 | 207 | \end{minipage} 208 | 209 | \end{frame} 210 | 211 | \subsection{图像搭配单页说明} 212 | 213 | \begin{frame} 214 | 215 | \begin{block}{再试试公式} 216 | \begin{itemize} 217 | \item 看下面! 218 | \end{itemize} 219 | \end{block} 220 | 221 | \begin{equation} 222 | e^{i\pi}+1=0 223 | \end{equation} 224 | 225 | \end{frame} 226 | 227 | \section{实验与结果} 228 | 229 | \begin{frame} 230 | 231 | \begin{block}{最后还有表格} 232 | \begin{itemize} 233 | \item 往下看! 234 | \end{itemize} 235 | \end{block} 236 | 237 | \begin{table} 238 | \begin{tabular}{ccc} 239 | \hline 240 | 姓名 & 学号 & 性别 \\ 241 | \hline 242 | Steve Jobs & 001 & Male \\ 243 | Bill Gates & 002 & Female \\ 244 | \hline 245 | \end{tabular} 246 | \caption{表格示例,乱写的} 247 | \label{fig:table-example} 248 | \end{table} 249 | 250 | \end{frame} 251 | 252 | \section{总结与展望} 253 | 254 | \subsection{其他块语法示例} 255 | 256 | \begin{frame} 257 | 258 | \begin{block}{带标号的条目\footnote{引用一}} 259 | \begin{enumerate} 260 | \item 条目一,每一行字不要太密 261 | \item 条目二 262 | \end{enumerate} 263 | \end{block} 264 | 265 | \begin{alertblock}{重要理论} 266 | \begin{itemize} 267 | \item 条目一\footnote{引用二}和\alert{高亮字色} 268 | \end{itemize} 269 | \end{alertblock} 270 | 271 | \begin{examples} 272 | \begin{itemize} 273 | \item 举个栗子 274 | \end{itemize} 275 | \end{examples} 276 | 277 | \end{frame} 278 | 279 | \section{Q \& A} 280 | 281 | \begin{frame} 282 | 283 | \begin{block}{Questions?} 284 | ~\\ 285 | ~\\ 286 | \center{\Large{Thank you!}}\\ 287 | ~\\ 288 | ~\\ 289 | ~\\ 290 | ~\\ 291 | \end{block} 292 | 293 | \end{frame} 294 | \end{document} -------------------------------------------------------------------------------- /specifications/附件1.中山大学本科生毕业论文(设计)写作与印制规范.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SYSU-SCC/sysu-thesis/423861339e8e356784d1ba9efd41da3037755bb9/specifications/附件1.中山大学本科生毕业论文(设计)写作与印制规范.doc --------------------------------------------------------------------------------