├── .gitignore ├── LICENSE ├── README.md ├── abstract.docx ├── cover.pptx ├── fig ├── error.dat ├── error.pdf ├── error.plt ├── makedata.py ├── makefile ├── pressure.dat ├── pressure.pdf ├── pressure.plt ├── temperature.dat ├── temperature.pdf └── temperature.plt ├── jlisting.sty ├── makefile ├── reference.bib ├── src └── sample.py └── thesis.tex /.gitignore: -------------------------------------------------------------------------------- 1 | *.aux 2 | *.lof 3 | *.log 4 | *.lot 5 | *.fls 6 | *.out 7 | *.toc 8 | *.fmt 9 | *.fot 10 | *.cb 11 | *.cb2 12 | *.xbb 13 | .*.lb 14 | *.bbl 15 | *.blg 16 | 17 | *.dvi 18 | *.xdv 19 | *-converted-to.* 20 | *.fdb_latexmk 21 | *.synctex.gz 22 | thesis.pdf 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Attribution 4.0 International 2 | 3 | ======================================================================= 4 | 5 | Creative Commons Corporation ("Creative Commons") is not a law firm and 6 | does not provide legal services or legal advice. Distribution of 7 | Creative Commons public licenses does not create a lawyer-client or 8 | other relationship. Creative Commons makes its licenses and related 9 | information available on an "as-is" basis. Creative Commons gives no 10 | warranties regarding its licenses, any material licensed under their 11 | terms and conditions, or any related information. Creative Commons 12 | disclaims all liability for damages resulting from their use to the 13 | fullest extent possible. 14 | 15 | Using Creative Commons Public Licenses 16 | 17 | Creative Commons public licenses provide a standard set of terms and 18 | conditions that creators and other rights holders may use to share 19 | original works of authorship and other material subject to copyright 20 | and certain other rights specified in the public license below. The 21 | following considerations are for informational purposes only, are not 22 | exhaustive, and do not form part of our licenses. 23 | 24 | Considerations for licensors: Our public licenses are 25 | intended for use by those authorized to give the public 26 | permission to use material in ways otherwise restricted by 27 | copyright and certain other rights. Our licenses are 28 | irrevocable. Licensors should read and understand the terms 29 | and conditions of the license they choose before applying it. 30 | Licensors should also secure all rights necessary before 31 | applying our licenses so that the public can reuse the 32 | material as expected. Licensors should clearly mark any 33 | material not subject to the license. This includes other CC- 34 | licensed material, or material used under an exception or 35 | limitation to copyright. More considerations for licensors: 36 | wiki.creativecommons.org/Considerations_for_licensors 37 | 38 | Considerations for the public: By using one of our public 39 | licenses, a licensor grants the public permission to use the 40 | licensed material under specified terms and conditions. If 41 | the licensor's permission is not necessary for any reason--for 42 | example, because of any applicable exception or limitation to 43 | copyright--then that use is not regulated by the license. Our 44 | licenses grant only permissions under copyright and certain 45 | other rights that a licensor has authority to grant. Use of 46 | the licensed material may still be restricted for other 47 | reasons, including because others have copyright or other 48 | rights in the material. A licensor may make special requests, 49 | such as asking that all changes be marked or described. 50 | Although not required by our licenses, you are encouraged to 51 | respect those requests where reasonable. More considerations 52 | for the public: 53 | wiki.creativecommons.org/Considerations_for_licensees 54 | 55 | ======================================================================= 56 | 57 | Creative Commons Attribution 4.0 International Public License 58 | 59 | By exercising the Licensed Rights (defined below), You accept and agree 60 | to be bound by the terms and conditions of this Creative Commons 61 | Attribution 4.0 International Public License ("Public License"). To the 62 | extent this Public License may be interpreted as a contract, You are 63 | granted the Licensed Rights in consideration of Your acceptance of 64 | these terms and conditions, and the Licensor grants You such rights in 65 | consideration of benefits the Licensor receives from making the 66 | Licensed Material available under these terms and conditions. 67 | 68 | 69 | Section 1 -- Definitions. 70 | 71 | a. Adapted Material means material subject to Copyright and Similar 72 | Rights that is derived from or based upon the Licensed Material 73 | and in which the Licensed Material is translated, altered, 74 | arranged, transformed, or otherwise modified in a manner requiring 75 | permission under the Copyright and Similar Rights held by the 76 | Licensor. For purposes of this Public License, where the Licensed 77 | Material is a musical work, performance, or sound recording, 78 | Adapted Material is always produced where the Licensed Material is 79 | synched in timed relation with a moving image. 80 | 81 | b. Adapter's License means the license You apply to Your Copyright 82 | and Similar Rights in Your contributions to Adapted Material in 83 | accordance with the terms and conditions of this Public License. 84 | 85 | c. Copyright and Similar Rights means copyright and/or similar rights 86 | closely related to copyright including, without limitation, 87 | performance, broadcast, sound recording, and Sui Generis Database 88 | Rights, without regard to how the rights are labeled or 89 | categorized. For purposes of this Public License, the rights 90 | specified in Section 2(b)(1)-(2) are not Copyright and Similar 91 | Rights. 92 | 93 | d. Effective Technological Measures means those measures that, in the 94 | absence of proper authority, may not be circumvented under laws 95 | fulfilling obligations under Article 11 of the WIPO Copyright 96 | Treaty adopted on December 20, 1996, and/or similar international 97 | agreements. 98 | 99 | e. Exceptions and Limitations means fair use, fair dealing, and/or 100 | any other exception or limitation to Copyright and Similar Rights 101 | that applies to Your use of the Licensed Material. 102 | 103 | f. Licensed Material means the artistic or literary work, database, 104 | or other material to which the Licensor applied this Public 105 | License. 106 | 107 | g. Licensed Rights means the rights granted to You subject to the 108 | terms and conditions of this Public License, which are limited to 109 | all Copyright and Similar Rights that apply to Your use of the 110 | Licensed Material and that the Licensor has authority to license. 111 | 112 | h. Licensor means the individual(s) or entity(ies) granting rights 113 | under this Public License. 114 | 115 | i. Share means to provide material to the public by any means or 116 | process that requires permission under the Licensed Rights, such 117 | as reproduction, public display, public performance, distribution, 118 | dissemination, communication, or importation, and to make material 119 | available to the public including in ways that members of the 120 | public may access the material from a place and at a time 121 | individually chosen by them. 122 | 123 | j. Sui Generis Database Rights means rights other than copyright 124 | resulting from Directive 96/9/EC of the European Parliament and of 125 | the Council of 11 March 1996 on the legal protection of databases, 126 | as amended and/or succeeded, as well as other essentially 127 | equivalent rights anywhere in the world. 128 | 129 | k. You means the individual or entity exercising the Licensed Rights 130 | under this Public License. Your has a corresponding meaning. 131 | 132 | 133 | Section 2 -- Scope. 134 | 135 | a. License grant. 136 | 137 | 1. Subject to the terms and conditions of this Public License, 138 | the Licensor hereby grants You a worldwide, royalty-free, 139 | non-sublicensable, non-exclusive, irrevocable license to 140 | exercise the Licensed Rights in the Licensed Material to: 141 | 142 | a. reproduce and Share the Licensed Material, in whole or 143 | in part; and 144 | 145 | b. produce, reproduce, and Share Adapted Material. 146 | 147 | 2. Exceptions and Limitations. For the avoidance of doubt, where 148 | Exceptions and Limitations apply to Your use, this Public 149 | License does not apply, and You do not need to comply with 150 | its terms and conditions. 151 | 152 | 3. Term. The term of this Public License is specified in Section 153 | 6(a). 154 | 155 | 4. Media and formats; technical modifications allowed. The 156 | Licensor authorizes You to exercise the Licensed Rights in 157 | all media and formats whether now known or hereafter created, 158 | and to make technical modifications necessary to do so. The 159 | Licensor waives and/or agrees not to assert any right or 160 | authority to forbid You from making technical modifications 161 | necessary to exercise the Licensed Rights, including 162 | technical modifications necessary to circumvent Effective 163 | Technological Measures. For purposes of this Public License, 164 | simply making modifications authorized by this Section 2(a) 165 | (4) never produces Adapted Material. 166 | 167 | 5. Downstream recipients. 168 | 169 | a. Offer from the Licensor -- Licensed Material. Every 170 | recipient of the Licensed Material automatically 171 | receives an offer from the Licensor to exercise the 172 | Licensed Rights under the terms and conditions of this 173 | Public License. 174 | 175 | b. No downstream restrictions. You may not offer or impose 176 | any additional or different terms or conditions on, or 177 | apply any Effective Technological Measures to, the 178 | Licensed Material if doing so restricts exercise of the 179 | Licensed Rights by any recipient of the Licensed 180 | Material. 181 | 182 | 6. No endorsement. Nothing in this Public License constitutes or 183 | may be construed as permission to assert or imply that You 184 | are, or that Your use of the Licensed Material is, connected 185 | with, or sponsored, endorsed, or granted official status by, 186 | the Licensor or others designated to receive attribution as 187 | provided in Section 3(a)(1)(A)(i). 188 | 189 | b. Other rights. 190 | 191 | 1. Moral rights, such as the right of integrity, are not 192 | licensed under this Public License, nor are publicity, 193 | privacy, and/or other similar personality rights; however, to 194 | the extent possible, the Licensor waives and/or agrees not to 195 | assert any such rights held by the Licensor to the limited 196 | extent necessary to allow You to exercise the Licensed 197 | Rights, but not otherwise. 198 | 199 | 2. Patent and trademark rights are not licensed under this 200 | Public License. 201 | 202 | 3. To the extent possible, the Licensor waives any right to 203 | collect royalties from You for the exercise of the Licensed 204 | Rights, whether directly or through a collecting society 205 | under any voluntary or waivable statutory or compulsory 206 | licensing scheme. In all other cases the Licensor expressly 207 | reserves any right to collect such royalties. 208 | 209 | 210 | Section 3 -- License Conditions. 211 | 212 | Your exercise of the Licensed Rights is expressly made subject to the 213 | following conditions. 214 | 215 | a. Attribution. 216 | 217 | 1. If You Share the Licensed Material (including in modified 218 | form), You must: 219 | 220 | a. retain the following if it is supplied by the Licensor 221 | with the Licensed Material: 222 | 223 | i. identification of the creator(s) of the Licensed 224 | Material and any others designated to receive 225 | attribution, in any reasonable manner requested by 226 | the Licensor (including by pseudonym if 227 | designated); 228 | 229 | ii. a copyright notice; 230 | 231 | iii. a notice that refers to this Public License; 232 | 233 | iv. a notice that refers to the disclaimer of 234 | warranties; 235 | 236 | v. a URI or hyperlink to the Licensed Material to the 237 | extent reasonably practicable; 238 | 239 | b. indicate if You modified the Licensed Material and 240 | retain an indication of any previous modifications; and 241 | 242 | c. indicate the Licensed Material is licensed under this 243 | Public License, and include the text of, or the URI or 244 | hyperlink to, this Public License. 245 | 246 | 2. You may satisfy the conditions in Section 3(a)(1) in any 247 | reasonable manner based on the medium, means, and context in 248 | which You Share the Licensed Material. For example, it may be 249 | reasonable to satisfy the conditions by providing a URI or 250 | hyperlink to a resource that includes the required 251 | information. 252 | 253 | 3. If requested by the Licensor, You must remove any of the 254 | information required by Section 3(a)(1)(A) to the extent 255 | reasonably practicable. 256 | 257 | 4. If You Share Adapted Material You produce, the Adapter's 258 | License You apply must not prevent recipients of the Adapted 259 | Material from complying with this Public License. 260 | 261 | 262 | Section 4 -- Sui Generis Database Rights. 263 | 264 | Where the Licensed Rights include Sui Generis Database Rights that 265 | apply to Your use of the Licensed Material: 266 | 267 | a. for the avoidance of doubt, Section 2(a)(1) grants You the right 268 | to extract, reuse, reproduce, and Share all or a substantial 269 | portion of the contents of the database; 270 | 271 | b. if You include all or a substantial portion of the database 272 | contents in a database in which You have Sui Generis Database 273 | Rights, then the database in which You have Sui Generis Database 274 | Rights (but not its individual contents) is Adapted Material; and 275 | 276 | c. You must comply with the conditions in Section 3(a) if You Share 277 | all or a substantial portion of the contents of the database. 278 | 279 | For the avoidance of doubt, this Section 4 supplements and does not 280 | replace Your obligations under this Public License where the Licensed 281 | Rights include other Copyright and Similar Rights. 282 | 283 | 284 | Section 5 -- Disclaimer of Warranties and Limitation of Liability. 285 | 286 | a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE 287 | EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS 288 | AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF 289 | ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, 290 | IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, 291 | WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR 292 | PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, 293 | ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT 294 | KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT 295 | ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. 296 | 297 | b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE 298 | TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, 299 | NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, 300 | INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, 301 | COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR 302 | USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN 303 | ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR 304 | DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR 305 | IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. 306 | 307 | c. The disclaimer of warranties and limitation of liability provided 308 | above shall be interpreted in a manner that, to the extent 309 | possible, most closely approximates an absolute disclaimer and 310 | waiver of all liability. 311 | 312 | 313 | Section 6 -- Term and Termination. 314 | 315 | a. This Public License applies for the term of the Copyright and 316 | Similar Rights licensed here. However, if You fail to comply with 317 | this Public License, then Your rights under this Public License 318 | terminate automatically. 319 | 320 | b. Where Your right to use the Licensed Material has terminated under 321 | Section 6(a), it reinstates: 322 | 323 | 1. automatically as of the date the violation is cured, provided 324 | it is cured within 30 days of Your discovery of the 325 | violation; or 326 | 327 | 2. upon express reinstatement by the Licensor. 328 | 329 | For the avoidance of doubt, this Section 6(b) does not affect any 330 | right the Licensor may have to seek remedies for Your violations 331 | of this Public License. 332 | 333 | c. For the avoidance of doubt, the Licensor may also offer the 334 | Licensed Material under separate terms or conditions or stop 335 | distributing the Licensed Material at any time; however, doing so 336 | will not terminate this Public License. 337 | 338 | d. Sections 1, 5, 6, 7, and 8 survive termination of this Public 339 | License. 340 | 341 | 342 | Section 7 -- Other Terms and Conditions. 343 | 344 | a. The Licensor shall not be bound by any additional or different 345 | terms or conditions communicated by You unless expressly agreed. 346 | 347 | b. Any arrangements, understandings, or agreements regarding the 348 | Licensed Material not stated herein are separate from and 349 | independent of the terms and conditions of this Public License. 350 | 351 | 352 | Section 8 -- Interpretation. 353 | 354 | a. For the avoidance of doubt, this Public License does not, and 355 | shall not be interpreted to, reduce, limit, restrict, or impose 356 | conditions on any use of the Licensed Material that could lawfully 357 | be made without permission under this Public License. 358 | 359 | b. To the extent possible, if any provision of this Public License is 360 | deemed unenforceable, it shall be automatically reformed to the 361 | minimum extent necessary to make it enforceable. If the provision 362 | cannot be reformed, it shall be severed from this Public License 363 | without affecting the enforceability of the remaining terms and 364 | conditions. 365 | 366 | c. No term or condition of this Public License will be waived and no 367 | failure to comply consented to unless expressly agreed to by the 368 | Licensor. 369 | 370 | d. Nothing in this Public License constitutes or may be interpreted 371 | as a limitation upon, or waiver of, any privileges and immunities 372 | that apply to the Licensor or You, including from the legal 373 | processes of any jurisdiction or authority. 374 | 375 | 376 | ======================================================================= 377 | 378 | Creative Commons is not a party to its public 379 | licenses. Notwithstanding, Creative Commons may elect to apply one of 380 | its public licenses to material it publishes and in those instances 381 | will be considered the “Licensor.” The text of the Creative Commons 382 | public licenses is dedicated to the public domain under the CC0 Public 383 | Domain Dedication. Except for the limited purpose of indicating that 384 | material is shared under a Creative Commons public license or as 385 | otherwise permitted by the Creative Commons policies published at 386 | creativecommons.org/policies, Creative Commons does not authorize the 387 | use of the trademark "Creative Commons" or any other trademark or logo 388 | of Creative Commons without its prior written consent including, 389 | without limitation, in connection with any unauthorized modifications 390 | to any of its public licenses or any other arrangements, 391 | understandings, or agreements concerning use of licensed material. For 392 | the avoidance of doubt, this paragraph does not form part of the 393 | public licenses. 394 | 395 | Creative Commons may be contacted at creativecommons.org. 396 | 397 | 398 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 卒業論文テンプレート 2 | 3 | ## 概要 4 | 5 | 慶應義塾大学理工学部物理情報工学科の卒業論文のための**非公式**テンプレートです。提出にあたっては実際の指示に従ってください。 6 | 7 | ## 内容 8 | 9 | * `thesis.tex` 卒論本体のLaTeXファイル。 10 | * `abstract.docx` 要旨提出用のWordファイル。 11 | * `cover.pptx` 製本を依頼する際の表紙データ。 12 | * 印刷して「上製本で」と指定して生協に出すときれいに製本をしてくれる。製本しない場合は不要。 13 | 14 | ## 使い方 15 | 16 | HTTPSでクローンして、リポジトリを初期化し、新たにリポジトリを作る。 17 | 18 | ```sh 19 | cd 20 | cd github 21 | git clone https://github.com/kaityo256/graduate_thesis.git 22 | cd graduate_thesis 23 | rm -rf .git 24 | git init 25 | git add . 26 | git commit -m ":tada: initial commit" 27 | ``` 28 | 29 | さらにGitHub等でプライベートリポジトリとして管理することを強く推奨する。 30 | 31 | ## コンパイル方法 32 | 33 | TeXLiveをインストールし、LaTeXでコンパイルすればよいが、`latexmk`によるコンパイルを推奨する。`.latexmkrc`は、例えば以下のようにすれば良い。 34 | 35 | ```sh 36 | #!/usr/bin/env perl 37 | 38 | $latex = 'platex -synctex=1 %O %S'; 39 | $bibtex = 'pbibtex %O %B'; 40 | $makeindex = 'memindex %O -o %D %S'; 41 | $pdf_mode = 3; 42 | $dvipdf = 'dvipdfmx -V 7 %O -o %D %S'; 43 | ``` 44 | 45 | 正しくインストールされていれば、 46 | 47 | ```sh 48 | latexmk 49 | ``` 50 | 51 | を実行することで`thesis.pdf`が作成される。 52 | 53 | ## ライセンス 54 | 55 | CC-BY 56 | -------------------------------------------------------------------------------- /abstract.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaityo256/graduate_thesis/d10007a9df7dbcc1dd56aa82ee5256f3853a83eb/abstract.docx -------------------------------------------------------------------------------- /cover.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaityo256/graduate_thesis/d10007a9df7dbcc1dd56aa82ee5256f3853a83eb/cover.pptx -------------------------------------------------------------------------------- /fig/error.dat: -------------------------------------------------------------------------------- 1 | 0.000000 1.040824 0.026080 2 | 0.100000 0.868409 0.022352 3 | 0.200000 0.812060 0.018609 4 | 0.300000 0.714624 0.030739 5 | 0.400000 0.600569 0.039357 6 | 0.500000 0.545557 0.025427 7 | 0.600000 0.473968 0.043478 8 | 0.700000 0.350790 0.030418 9 | 0.800000 0.349084 0.017408 10 | 0.900000 0.335051 0.018985 11 | 1.000000 0.236837 0.021970 12 | 1.100000 0.250483 0.000024 13 | 1.200000 0.210080 0.014614 14 | 1.300000 0.196358 0.047287 15 | 1.400000 0.183292 0.039029 16 | 1.500000 0.105981 0.009478 17 | 1.600000 0.103543 0.025624 18 | 1.700000 0.160809 0.023886 19 | 1.800000 0.100521 0.004099 20 | 1.900000 0.062686 0.023436 21 | 2.000000 0.098502 0.012338 22 | 2.100000 0.055056 0.012761 23 | 2.200000 0.066517 0.035458 24 | 2.300000 0.052410 0.033994 25 | 2.400000 0.024998 0.018472 26 | 2.500000 0.048885 0.003629 27 | 2.600000 0.086931 0.039134 28 | 2.700000 0.066811 0.035708 29 | 2.800000 0.049499 0.011574 30 | 2.900000 0.055658 0.008535 31 | 3.000000 0.046669 0.018553 32 | 3.100000 0.043602 0.000890 33 | 3.200000 0.072298 0.005663 34 | 3.300000 0.077286 0.021465 35 | 3.400000 0.016669 0.020196 36 | 3.500000 0.012262 0.009897 37 | 3.600000 0.024775 0.044537 38 | 3.700000 0.094880 0.031397 39 | 3.800000 0.068917 0.000508 40 | 3.900000 0.020122 0.018547 41 | 4.000000 0.034599 0.008321 42 | 4.100000 0.002875 0.006561 43 | 4.200000 0.074765 0.039339 44 | 4.300000 0.085228 0.023202 45 | 4.400000 0.075420 0.047217 46 | 4.500000 0.032349 0.007574 47 | 4.600000 0.093386 0.019683 48 | 4.700000 0.064583 0.036934 49 | 4.800000 0.040310 0.027544 50 | 4.900000 0.061360 0.023050 51 | 5.000000 0.010872 0.006784 52 | 5.100000 0.002826 0.048583 53 | 5.200000 0.055616 0.026826 54 | 5.300000 0.018576 0.010063 55 | 5.400000 0.005121 0.020693 56 | 5.500000 0.081081 0.046854 57 | 5.600000 0.086710 0.006529 58 | 5.700000 0.081764 0.006711 59 | 5.800000 0.004282 0.018192 60 | 5.900000 0.028020 0.010102 61 | 6.000000 0.073427 0.027759 62 | 6.100000 0.033196 0.047214 63 | 6.200000 0.096942 0.037672 64 | 6.300000 0.030064 0.017398 65 | 6.400000 0.060150 0.020096 66 | 6.500000 0.061471 0.026335 67 | 6.600000 0.054207 0.045695 68 | 6.700000 0.071203 0.014688 69 | 6.800000 0.079265 0.017156 70 | 6.900000 0.087155 0.032496 71 | 7.000000 0.020398 0.018419 72 | 7.100000 0.013030 0.028785 73 | 7.200000 0.058835 0.000199 74 | 7.300000 0.068856 0.038000 75 | 7.400000 0.079666 0.027849 76 | 7.500000 0.062502 0.006925 77 | 7.600000 0.098179 0.002142 78 | 7.700000 0.000292 0.011421 79 | 7.800000 0.038875 0.044953 80 | 7.900000 0.072704 0.033481 81 | 8.000000 0.027108 0.015131 82 | 8.100000 0.097938 0.028713 83 | 8.200000 0.001130 0.018558 84 | 8.300000 0.057021 0.018467 85 | 8.400000 0.011132 0.018621 86 | 8.500000 0.087808 0.049160 87 | 8.600000 0.025373 0.027908 88 | 8.700000 0.011184 0.044783 89 | 8.800000 0.002453 0.023719 90 | 8.900000 0.020826 0.032903 91 | 9.000000 0.019814 0.025845 92 | 9.100000 0.097775 0.048284 93 | 9.200000 0.038728 0.008525 94 | 9.300000 0.061715 0.004206 95 | 9.400000 0.008974 0.048948 96 | 9.500000 0.063890 0.016604 97 | 9.600000 0.025162 0.014449 98 | 9.700000 0.045535 0.006975 99 | 9.800000 0.040824 0.044564 100 | 9.900000 0.021307 0.000309 101 | -------------------------------------------------------------------------------- /fig/error.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaityo256/graduate_thesis/d10007a9df7dbcc1dd56aa82ee5256f3853a83eb/fig/error.pdf -------------------------------------------------------------------------------- /fig/error.plt: -------------------------------------------------------------------------------- 1 | set term pdf 2 | set out "error.pdf" 3 | set xlabel "Parameter" 4 | set ylabel "Estimated Value" 5 | p "error.dat" u 1:2:3 with errorbars pt 6 ps 0.6 t "Data" 6 | -------------------------------------------------------------------------------- /fig/makedata.py: -------------------------------------------------------------------------------- 1 | from math import exp, pi, sin 2 | import random 3 | 4 | with open("pressure.dat", "w") as f: 5 | for i in range(100): 6 | x = i * 2 * pi / 100 7 | y = sin(x) + random.random() * 0.1 8 | f.write(f"{i*0.1:02f} {y:04f}\n") 9 | 10 | with open("temperature.dat", "w") as f: 11 | for i in range(100): 12 | x = i * 2 * pi / 100 13 | y = 1.0 - exp(-x/0.4) + random.random() * 0.1 14 | f.write(f"{i*0.1:02f} {y:04f}\n") 15 | 16 | with open("error.dat", "w") as f: 17 | for i in range(100): 18 | x = i * 2 * pi / 100 19 | y = exp(-x/0.4) + random.random() * 0.1 20 | e = random.random()*0.05 21 | f.write(f"{i*0.1:02f} {y:04f} {e:04f}\n") 22 | -------------------------------------------------------------------------------- /fig/makefile: -------------------------------------------------------------------------------- 1 | all: pressure.pdf temperature.pdf error.pdf 2 | 3 | %.pdf: %.plt %.dat 4 | gnuplot $< 5 | -------------------------------------------------------------------------------- /fig/pressure.dat: -------------------------------------------------------------------------------- 1 | 0.000000 0.019504 2 | 0.100000 0.081213 3 | 0.200000 0.150895 4 | 0.300000 0.250934 5 | 0.400000 0.287502 6 | 0.500000 0.328773 7 | 0.600000 0.412739 8 | 0.700000 0.487390 9 | 0.800000 0.499872 10 | 0.900000 0.549182 11 | 1.000000 0.683402 12 | 1.100000 0.713941 13 | 1.200000 0.689885 14 | 1.300000 0.770905 15 | 1.400000 0.838791 16 | 1.500000 0.816577 17 | 1.600000 0.878332 18 | 1.700000 0.938984 19 | 1.800000 0.942955 20 | 1.900000 0.977289 21 | 2.000000 1.017422 22 | 2.100000 1.045162 23 | 2.200000 1.025007 24 | 2.300000 1.085158 25 | 2.400000 1.041698 26 | 2.500000 1.027364 27 | 2.600000 1.079390 28 | 2.700000 1.023953 29 | 2.800000 1.065193 30 | 2.900000 0.993555 31 | 3.000000 0.969452 32 | 3.100000 0.981932 33 | 3.200000 0.973369 34 | 3.300000 0.904152 35 | 3.400000 0.883679 36 | 3.500000 0.822679 37 | 3.600000 0.847515 38 | 3.700000 0.826103 39 | 3.800000 0.708112 40 | 3.900000 0.650638 41 | 4.000000 0.660324 42 | 4.100000 0.616767 43 | 4.200000 0.524299 44 | 4.300000 0.509031 45 | 4.400000 0.378320 46 | 4.500000 0.401898 47 | 4.600000 0.325976 48 | 4.700000 0.210606 49 | 4.800000 0.132676 50 | 4.900000 0.127826 51 | 5.000000 0.019346 52 | 5.100000 -0.000924 53 | 5.200000 -0.044825 54 | 5.300000 -0.135119 55 | 5.400000 -0.177518 56 | 5.500000 -0.235337 57 | 5.600000 -0.344275 58 | 5.700000 -0.368444 59 | 5.800000 -0.415295 60 | 5.900000 -0.455402 61 | 6.000000 -0.539963 62 | 6.100000 -0.565247 63 | 6.200000 -0.670929 64 | 6.300000 -0.659875 65 | 6.400000 -0.750503 66 | 6.500000 -0.734163 67 | 6.600000 -0.776377 68 | 6.700000 -0.853172 69 | 6.800000 -0.809616 70 | 6.900000 -0.901201 71 | 7.000000 -0.901127 72 | 7.100000 -0.940137 73 | 7.200000 -0.931271 74 | 7.300000 -0.957990 75 | 7.400000 -0.898285 76 | 7.500000 -0.985319 77 | 7.600000 -0.972760 78 | 7.700000 -0.975933 79 | 7.800000 -0.933291 80 | 7.900000 -0.952331 81 | 8.000000 -0.910647 82 | 8.100000 -0.909867 83 | 8.200000 -0.879090 84 | 8.300000 -0.801246 85 | 8.400000 -0.771288 86 | 8.500000 -0.774268 87 | 8.600000 -0.764758 88 | 8.700000 -0.706430 89 | 8.800000 -0.618361 90 | 8.900000 -0.566647 91 | 9.000000 -0.560409 92 | 9.100000 -0.503076 93 | 9.200000 -0.409030 94 | 9.300000 -0.349185 95 | 9.400000 -0.304748 96 | 9.500000 -0.241395 97 | 9.600000 -0.205017 98 | 9.700000 -0.091156 99 | 9.800000 -0.035686 100 | 9.900000 -0.055294 101 | -------------------------------------------------------------------------------- /fig/pressure.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaityo256/graduate_thesis/d10007a9df7dbcc1dd56aa82ee5256f3853a83eb/fig/pressure.pdf -------------------------------------------------------------------------------- /fig/pressure.plt: -------------------------------------------------------------------------------- 1 | set term pdf 2 | set out "pressure.pdf" 3 | set xlabel "t" 4 | set ylabel "P" 5 | p "pressure.dat" pt 6 t "Data" 6 | -------------------------------------------------------------------------------- /fig/temperature.dat: -------------------------------------------------------------------------------- 1 | 0.000000 0.046371 2 | 0.100000 0.160277 3 | 0.200000 0.322097 4 | 0.300000 0.430133 5 | 0.400000 0.469105 6 | 0.500000 0.595186 7 | 0.600000 0.690537 8 | 0.700000 0.713043 9 | 0.800000 0.753829 10 | 0.900000 0.792575 11 | 1.000000 0.853265 12 | 1.100000 0.884045 13 | 1.200000 0.913589 14 | 1.300000 0.881212 15 | 1.400000 0.932528 16 | 1.500000 0.907247 17 | 1.600000 1.012413 18 | 1.700000 0.946558 19 | 1.800000 0.940977 20 | 1.900000 1.004017 21 | 2.000000 1.020057 22 | 2.100000 1.015297 23 | 2.200000 1.039158 24 | 2.300000 1.013822 25 | 2.400000 1.063761 26 | 2.500000 1.048889 27 | 2.600000 1.078597 28 | 2.700000 1.007367 29 | 2.800000 1.080543 30 | 2.900000 0.990203 31 | 3.000000 1.004713 32 | 3.100000 1.012509 33 | 3.200000 1.069025 34 | 3.300000 1.051691 35 | 3.400000 1.064528 36 | 3.500000 1.033779 37 | 3.600000 1.039406 38 | 3.700000 1.017169 39 | 3.800000 0.999970 40 | 3.900000 1.026443 41 | 4.000000 1.086611 42 | 4.100000 1.089964 43 | 4.200000 1.046343 44 | 4.300000 1.094313 45 | 4.400000 1.013032 46 | 4.500000 1.020260 47 | 4.600000 1.003422 48 | 4.700000 1.083345 49 | 4.800000 1.012616 50 | 4.900000 1.075759 51 | 5.000000 1.039675 52 | 5.100000 1.011471 53 | 5.200000 1.056933 54 | 5.300000 1.007623 55 | 5.400000 1.032084 56 | 5.500000 1.068917 57 | 5.600000 1.050549 58 | 5.700000 1.026180 59 | 5.800000 1.075056 60 | 5.900000 1.086471 61 | 6.000000 1.014239 62 | 6.100000 1.082860 63 | 6.200000 1.022487 64 | 6.300000 1.087916 65 | 6.400000 1.042880 66 | 6.500000 1.016303 67 | 6.600000 1.072568 68 | 6.700000 1.077073 69 | 6.800000 1.040849 70 | 6.900000 1.029834 71 | 7.000000 1.086718 72 | 7.100000 1.099789 73 | 7.200000 1.009659 74 | 7.300000 1.036160 75 | 7.400000 1.007738 76 | 7.500000 1.090286 77 | 7.600000 1.071412 78 | 7.700000 1.030041 79 | 7.800000 1.099772 80 | 7.900000 1.097153 81 | 8.000000 1.023939 82 | 8.100000 1.014865 83 | 8.200000 1.019455 84 | 8.300000 1.059895 85 | 8.400000 1.062763 86 | 8.500000 1.083303 87 | 8.600000 1.083463 88 | 8.700000 1.028988 89 | 8.800000 1.040262 90 | 8.900000 1.081725 91 | 9.000000 1.050039 92 | 9.100000 1.019521 93 | 9.200000 1.082812 94 | 9.300000 1.077449 95 | 9.400000 1.087366 96 | 9.500000 1.027554 97 | 9.600000 1.035154 98 | 9.700000 1.072244 99 | 9.800000 1.058419 100 | 9.900000 1.035107 101 | -------------------------------------------------------------------------------- /fig/temperature.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kaityo256/graduate_thesis/d10007a9df7dbcc1dd56aa82ee5256f3853a83eb/fig/temperature.pdf -------------------------------------------------------------------------------- /fig/temperature.plt: -------------------------------------------------------------------------------- 1 | set term pdf 2 | set out "temperature.pdf" 3 | set xlabel "t" 4 | set ylabel "T" 5 | p "temperature.dat" pt 6 t "Data" 6 | -------------------------------------------------------------------------------- /jlisting.sty: -------------------------------------------------------------------------------- 1 | \NeedsTeXFormat{LaTeX2e} 2 | \def\filedate{2006/02/20} 3 | \def\fileversion{0.2} 4 | \ProvidesPackage{jlisting}[\filedate\space\fileversion\space(Thor)] 5 | % 6 | \newcount\lst@nextchar 7 | \let\lst@@ProcessSpace\lst@ProcessSpace 8 | \def\lst@ProcessSpace#1{% 9 | \lst@check@chartype{#1}% 10 | \lst@@ProcessSpace 11 | \lst@whitespacetrue} 12 | \let\lst@@ProcessLetter\lst@ProcessLetter 13 | \def\lst@ProcessLetter#1#2{% 14 | \lst@check@chartype{#2}% 15 | {\lst@@ProcessLetter{#1}}% 16 | \relax} 17 | \let\lst@@ProcessDigit\lst@ProcessDigit 18 | \def\lst@ProcessDigit#1#2{% 19 | \lst@check@chartype{#2}% 20 | {\lst@@ProcessDigit{#1}}% 21 | \relax} 22 | \let\lst@@ProcessOther\lst@ProcessOther 23 | \def\lst@ProcessOther#1#2{% 24 | \lst@check@chartype{#2}% 25 | {\lst@@ProcessOther{#1}}% 26 | \relax} 27 | \let\lst@@ProcessTabulator\lst@ProcessTabulator 28 | \def\lst@ProcessTabulator#1{% 29 | \lst@check@chartype{#1}% 30 | \lst@@ProcessTabulator 31 | \relax} 32 | \def\lst@check@chartype#1#2#3{% 33 | \edef\@tempa{\lst@nextchar=`\string#1\relax}% 34 | \afterassignment\remove@to@nnil 35 | \@tempa\@nnil 36 | #2% 37 | \ifnum\lst@nextchar<\@cclvi 38 | #3% 39 | \else 40 | \lst@ifletter \else \lst@OutputOther \fi 41 | \lst@whitespacefalse 42 | \expandafter\lst@AppendJchar 43 | \fi 44 | #1} 45 | \def\lst@AppendJchar#1#2{% 46 | \lst@check@chartype{#2}% 47 | {\advance\lst@length\@ne\lst@Append{#1}}% 48 | \relax} 49 | \def\lst@check@chartype@BOL#1{% 50 | \edef\@tempa{\lst@nextchar=`\string#1\relax}% 51 | \afterassignment\remove@to@nnil 52 | \@tempa\@nnil 53 | \ifnum\lst@nextchar<\@cclvi\else 54 | \lst@whitespacefalse 55 | \expandafter\lst@AppendJchar 56 | \fi 57 | #1} 58 | \def\lst@InputListing#1{% 59 | \begingroup 60 | \lsthk@PreSet \gdef\lst@intname{#1}% 61 | \expandafter\lstset\expandafter{\lst@set}% 62 | \lsthk@DisplayStyle 63 | \catcode\active=\active 64 | \lst@Init\relax \let\lst@gobble\z@ 65 | \lst@SkipToFirst 66 | \lst@ifprint \def\lst@next{\lst@get@filecontents{#1}}% 67 | \else \let\lst@next\@empty 68 | \fi 69 | \lst@next 70 | \lst@DeInit 71 | \endgroup} 72 | \newread\lst@inputfile 73 | \def\lst@get@filecontents#1{% 74 | \let\lst@filecontents\@empty 75 | \openin\lst@inputfile=#1\relax 76 | \let\@lst@get@filecontents@prevline\relax 77 | \lst@get@filecontents@loop 78 | \closein\lst@inputfile 79 | \lst@filecontents\empty} 80 | \def\lst@get@filecontents@loop{% 81 | \read\lst@inputfile to\@lst@get@filecontents@currline 82 | \ifx\@lst@get@filecontents@prevline\relax\else 83 | \expandafter\expandafter\expandafter\def 84 | \expandafter\expandafter\expandafter\lst@filecontents 85 | \expandafter\expandafter\expandafter{% 86 | \expandafter\lst@filecontents\@lst@get@filecontents@prevline}% 87 | \fi 88 | \let\@lst@get@filecontents@prevline\@lst@get@filecontents@currline 89 | \ifeof\lst@inputfile\else 90 | \expandafter\lst@get@filecontents@loop 91 | \fi} 92 | %%% [$B$3$N=hM}$b!$AjEv6/0z$G$9!%(B] 93 | \def\lst@BOLGobble{% 94 | \ifnum\lst@gobble>\z@ 95 | \@tempcnta\lst@gobble\relax 96 | \expandafter\lst@BOLGobble@ 97 | \else 98 | \expandafter\lst@check@chartype@BOL 99 | \fi} 100 | \def\lst@BOLGobble@#1{% 101 | \let\lst@next#1% 102 | \ifx \lst@next\relax\else 103 | \ifx \lst@next\lst@MProcessListing\else 104 | \ifx \lst@next\lst@ProcessFormFeed\else 105 | \ifx \lst@next\lstenv@backslash 106 | \let\lst@next\lstenv@BOLGobble@@ 107 | \else 108 | \let\lst@next\lst@BOLGobble@@ 109 | \ifx #1\lst@ProcessTabulator 110 | \advance\@tempcnta-\lst@tabsize\relax 111 | \ifnum\@tempcnta<\z@ 112 | \lst@length-\@tempcnta \lst@PreGotoTabStop 113 | \fi 114 | \else 115 | \edef\@tempa{\lst@nextchar=`\string#1\relax}% 116 | \@tempa 117 | \ifnum\lst@nextchar<\@cclvi\else 118 | \advance\@tempcnta\m@ne 119 | \fi 120 | \advance\@tempcnta\m@ne 121 | \fi 122 | \fi \fi \fi \fi 123 | \lst@next} 124 | \def\lst@BOLGobble@@{% 125 | \ifnum\@tempcnta>\z@ 126 | \expandafter\lst@BOLGobble@ 127 | \else 128 | \expandafter\lst@check@chartype@BOL 129 | \fi 130 | } 131 | % 132 | % \begin{$B=$@5;v9`(B}{1.3} 133 | % $B$A$g$C$H$7$?=$@5(B 134 | \gdef\lst@breakProcessOther#1{\lst@ProcessOther#1} 135 | % $B%=!<%9%3!<%IL\:\$7$^$7$?!#(B 194 | 195 | \begin{quote} 196 | \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21172.html}\\ 197 | \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21184.html}\\ 198 | \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21189.html}\\ 199 | \url{http://http://cise.edu.mie-u.ac.jp/~okumura/texfaq/qa/21197.html} 200 | \end{quote} 201 | 202 | Copyright $B$O5H1JE/H~;a$K$"$k$N$@$H;W$$$^$9!%(B 203 | 204 | \section{$B99?7MzNr(B}% ChageLogs 205 | 206 | \begin{description} 207 | \item[ver.~0.1 (2004/03/24)] 208 | $B$H$j$"$($:8x3+!%(B 209 | \item[ver.~0.2 (2006/02/20)] 210 | \verb|\lst@breakProcessOther| $BL?Na$NDj5A$NDI2C!%(B 211 | \end{description} 212 | 213 | \section{$B%=!<%9%3!<%I(B} 214 | \par\narrowbaselines 215 | \verbatiminput{jlisting.sty} 216 | \end{document} 217 | -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- 1 | TARGET=thesis 2 | SRC=$(TARGET).tex 3 | 4 | all: $(TARGET).pdf 5 | 6 | %.pdf: %.tex 7 | latexmk $< 8 | 9 | .PHONY: clean 10 | clean: 11 | rm -f $(TARGET).aux 12 | rm -f $(TARGET).dvi 13 | rm -f $(TARGET).pdf 14 | rm -f $(TARGET).log 15 | rm -f $(TARGET).fdb_latexmk 16 | rm -f $(TARGET).synctex.gz 17 | rm -f $(TARGET).fls 18 | rm -f $(TARGET).bbl 19 | rm -f $(TARGET).blg 20 | rm -f $(TARGET).toc 21 | 22 | -------------------------------------------------------------------------------- /reference.bib: -------------------------------------------------------------------------------- 1 | @article{Watanabe2012, 2 | author = {Watanabe, Hiroshi and Ito, Nobuyasu and Hu, Chin-Kun}, 3 | title = {Phase diagram and universality of the Lennard-Jones gas-liquid system}, 4 | journal = {The Journal of Chemical Physics}, 5 | volume = {136}, 6 | pages = {204102}, 7 | year = {2012} 8 | } 9 | 10 | @book{okumura2020, 11 | author = {奥村 晴彦 and 黒木 裕介}, 12 | title = {LaTeX2ε美文書作成入門}, 13 | publisher = {技術評論社}, 14 | year = {2020} 15 | } 16 | 17 | @misc{github, 18 | howpublished = {\url{https://github.com/kaityo256/rbs}} 19 | } -------------------------------------------------------------------------------- /src/sample.py: -------------------------------------------------------------------------------- 1 | import random 2 | from math import sin, pi 3 | 4 | # Comment 5 | with open("pressure.dat", "w") as f: 6 | for i in range(100): 7 | x = i * 2 * pi / 100 8 | y = sin(x) + random.random() * 0.1 9 | f.write(f"{i*0.1:02f} {y:04f}\n") 10 | -------------------------------------------------------------------------------- /thesis.tex: -------------------------------------------------------------------------------- 1 | \documentclass[titlepage]{jsreport} 2 | 3 | \usepackage[dvipdfmx]{graphicx} 4 | \usepackage[dvipdfmx]{color} 5 | \usepackage{listings, jlisting} 6 | \usepackage{cite} 7 | \usepackage{url} 8 | 9 | % ソースコードを挿入するための設定 10 | \lstset{ 11 | language={Python}, 12 | basicstyle={\ttfamily\small}, 13 | backgroundcolor={\color[gray]{.95}}, 14 | keywordstyle={\color[rgb]{0.0,0.0,0.8}}, 15 | commentstyle={\color[rgb]{0.5,0.5,0.5}}, 16 | stringstyle={\color[rgb]{0.0,0.5,0.5}}, 17 | frame=single, 18 | numbers=left, 19 | numberstyle={\ttfamily\small}, 20 | breaklines=true, 21 | breakindent = 10pt, 22 | tabsize=2, 23 | captionpos=t 24 | } 25 | 26 | \title{卒業論文のタイトル} 27 | \author{慶應義塾大学理工学部物理情報工学科\\ 28 | 指導教員 指導刷男\\ 29 | 学籍番号 XXXXXXXXXX\\ 30 | 卒論太郎} 31 | \date{2023年3月} 32 | 33 | \begin{document} 34 | \pagenumbering{roman} 35 | \maketitle 36 | \setcounter{tocdepth}{2} 37 | \tableofcontents 38 | 39 | \chapter{はじめに} \label{chap:introduction} 40 | \pagenumbering{arabic} 41 | 42 | 「はじめに」もしくは「緒言」では、研究背景、目的、そして論文の構成を書く。第一章の前に目次をつける場合、目次のページ番号はi, ii,とローマ数字にして、本文からアラビア数字にするのが一般的だ。それを実現するため、\verb|\begin{document}|の直後にページ番号をローマ数字にするコマンド\verb|\pagenumbering{roman}|が、最初の\verb|\chapter|の後にアラビア数字にするコマンド\verb|\pagenumbering{arabic}|が挿入されている。 43 | 44 | \section{研究の背景} 45 | 46 | 研究の背景は「なぜこの研究をしなければならないか」を、「大きい理由から小さい理由」へ書いていく。「大きい理由」は、「エネルギー問題」「安全」「便利」といった、「多くの人がほぼ納得するような理由」を挙げる。次に、その「大きな理由」を実現するために、これまでどのような試みがなされてきたかを説明する。これまでに読んだ論文のイントロダクションを参考に、必要な文献を引用しながら説得力のある文章を書くこと。 47 | 48 | \section{研究の目的} 49 | 50 | 研究の背景を受けて、この研究分野は重要であるが、なんらかの不満点があることを述べる。その不満点は解決すべき問題であることを文献を引用しながら読者に納得させる。本研究の目的は、その不満点を解消することであることを述べ、その方法について簡単に述べる。 51 | 52 | \section{本論文の構成} 53 | 54 | 論文の構成を説明する。まず本研究の目的を一行で書いてから、各章に何が書いてあるかを説明する。以下は例である。 55 | 56 | \begin{quotation} 57 | 本研究では、では、分野Aにおける手法Xの精度改善を行う。以下に本論文の構成を示す。第\ref{chap:introduction}章では、分野Aにおける手法の概観を紹介し、手法Xが広く用いられていることを示した。第\ref{chap:method}章では、本研究で用いる手法X、及びその改善手法であるX'について説明する。第\ref{chap:results}章では、本研究で提案した手法X'と、もととなった手法Xとの精度の比較を行う。第\ref{chap:summary}章では本研究で得られた知見を総括し、結論と今後の展望について述べる。 58 | \end{quotation} 59 | 60 | \chapter{原理} 61 | 62 | 卒業論文の章立ては「はじめに」「原理」「手法」「結果」「考察及び結論」とすることが多い。「原理」と「手法」はどちらも研究に用いた手法を記述するが、たとえば機械学習や分子動力学法の説明など、基礎的な手法の説明を「原理」に、卒業論文のために考案、採用した手法の説明を「手法」に分けて書く。 63 | 64 | \chapter{手法} \label{chap:method} 65 | 66 | \section{引用の仕方} 67 | 68 | \subsection{論文の引用} 69 | 70 | 原則として科学技術論文では、引用のない文章は「著者のオリジナル」であるとみなされる。LAMMPSなどのツールを使えばその関連論文を、手法の説明をするならその手法を提案した論文を引用しなければならない。 71 | 72 | 引用するのは、原則として書籍か査読論文とし、ウェブサイトの引用はさけること。特に何かの説明の参照先としてWikipediaやSlideShareなどを挙げないこと。機械学習の論文であればプレプリント(arXiv)を読むことも多いと思われるが、引用したくなるような論文はどこかのカンファレンスに採択されていることが多いので、そちらを引用すること。たとえ自分がWikipediaで知識を得たとしても、Wikipediaで引用されている文献にあたり、書籍なり論文なりを参考にすること。 73 | 74 | 参考文献は、原則としてBibTeXで管理する。これにより、「本文で参照されていない文献を参考文献に入れてはならない」「本文で参照される順番に並べないとならない」などのルールが自動的に満たされる。 75 | 76 | BibTeXでは、参考文献を「エントリ」と呼ばれる構造で管理する。エントリにはいくつか種別(エントリタイプ)があるが、良く使うのは書籍(book)、論文(article)、プロシーディング(inproceedings)などであろう。 77 | 78 | 例えば論文は\verb|@article|を使う。以下のようなエントリを用意しよう。 79 | 80 | \begin{lstlisting}[language={[LaTeX]TeX}] 81 | @article{Watanabe2012, 82 | author = {Watanabe, Hiroshi and Ito, Nobuyasu and Hu, Chin-Kun}, 83 | title = {Phase diagram and universality of the Lennard-Jones gas-liquid system}, 84 | journal = {The Journal of Chemical Physics}, 85 | volume = {136}, 86 | pages = {204102}, 87 | year = {2012} 88 | } 89 | \end{lstlisting} 90 | 91 | これをTeXファイル中で以下のように引用する。 92 | 93 | \begin{verbatim} 94 | 分子動力学法によりLennard-Jones原子の相図が調べられた\cite{Watanabe2012}。 95 | \end{verbatim} 96 | 97 | これは以下のようにタイプセットされる。 98 | \begin{quotation} 99 | 分子動力学法によりLennard-Jones原子の相図が調べられた\cite{Watanabe2012}。 100 | \end{quotation} 101 | 102 | 雑誌のウェブサイトからその論文のBiBTeXエントリがダウンロード可能であることが多く、手で作成する必要はほとんどない。 103 | 104 | \subsection{書籍の引用} 105 | 106 | 書籍は以下のように\verb|@book|を使う。 107 | 108 | \begin{lstlisting}[language={[LaTeX]TeX}] 109 | @book{okumura2020, 110 | author = {奥村 晴彦 and 黒木 裕介}, 111 | title = {LaTeX2ε美文書作成入門}, 112 | publisher = {技術評論社}, 113 | year = {2020} 114 | } 115 | \end{lstlisting} 116 | 117 | これをTeXファイル中で以下のように引用する。 118 | 119 | \begin{verbatim} 120 | 本論文の執筆にあたり、LaTeXの書き方については奥村・黒木の書籍を参考にした\cite{okumura2020}。 121 | \end{verbatim} 122 | 123 | これは以下のようにタイプセットされる。 124 | \begin{quotation} 125 | 本論文の執筆にあたり、LaTeXの書き方については奥村・黒木の書籍を参考にした\cite{okumura2020}。 126 | \end{quotation} 127 | 128 | \subsection{URLの引用} 129 | 130 | GitHubのサイトなど、やむを得ずURLを引用する場合には、bibitemのmiscを使って以下のようにする。 131 | 132 | \begin{lstlisting}[language=TeX] 133 | @misc{github, 134 | howpublished = {\url{https://github.com/kaityo256/rbs} 135 | }, 136 | \end{lstlisting} 137 | 138 | 例えば 139 | 140 | \begin{verbatim} 141 | この論文の参照実装はGitHubにて利用可能である\cite{github}。 142 | \end{verbatim} 143 | として引用すると、 144 | 145 | \begin{quotation} 146 | この論文の参照実装はGitHubにて利用可能である\cite{github}。 147 | \end{quotation} 148 | となる。 149 | 150 | \chapter{結果} \label{chap:results} 151 | 152 | \section{図の入れ方} 153 | 154 | 図は、数が多くなければとりえあずfigといったディレクトリにまとめて入れておくと良いだろう。数が増えてきて管理が難しくなったら節ごとにわけるなど工夫すること。画像ファイルは原則としてPDFにすること。例えば\verb|temperature.pdf|を入れたいなら、 155 | 156 | \begin{lstlisting}[language={[LaTeX]TeX}] 157 | \begin{figure}[htbp] 158 | \centering 159 | \includegraphics[width=10cm]{fig/temperature.pdf} 160 | \caption{温度の時間発展。} 161 | \label{fig:temperature} 162 | \end{figure} 163 | \end{lstlisting} 164 | 165 | とすると、以下のような図が得られる。 166 | 167 | \begin{figure}[htbp] 168 | \centering 169 | \includegraphics[width=10cm]{fig/temperature.pdf} 170 | \caption{温度の時間発展。} 171 | \label{fig:temperature} 172 | \end{figure} 173 | 174 | この時、元データと、データからPDFを作るためのプロットファイルもしくはスクリプトファイルを一緒に入れておく。この時、画像ファイルとプロットファイルの名前を同じにしておくと良い。例えばgnuplotを使って\verb|temperature.pdf|という画像を作るなら、プロットファイルを\verb|temperature.plt|にしておく。すると、 175 | 176 | \begin{lstlisting}[language=bash] 177 | gnuplot temperature.plt 178 | \end{lstlisting} 179 | 180 | を実行することで\verb|temperature.pdf|ができるのでわかりやすい。 181 | 182 | また、名前を揃えておくとmakefileとの相性が良くなる。例えば\verb|pressure.pdf|、\verb|temperature.pdf|、\verb|error.pdf|の三つのファイルが、同名のpltファイルから作成されるなら 183 | 184 | \lstinputlisting[language=make]{fig/makefile} 185 | 186 | といったmakefileを作っておけば、make一発で三つのファイルを作ることができるので便利だ。 187 | 188 | もちろんPythonのMatplotlibを使っても良いが、いずれにせよ「データとスクリプトからコマンド一発で図のファイルが作成できる状況にしておく。 189 | 190 | \chapter{考察および結論} \label{chap:summary} 191 | 192 | 考察は、「研究の背景」及び「目的」において提起した問題に正しく答えるようにする。得られた結果は満足すべきものだったか?不満があるならその理由はなにか?解決できそうなのか?また、「大きい理由」にも言及する。本研究によりどのような課題が見つかったかを書き、この分野における「研究の流れ」においてのような位置づけにあるかを説明した上で、今後、どのような発展の方向があるかについて書く。 193 | 194 | \chapter*{謝辞} 195 | 196 | 謝辞は卒業論文を執筆するにあたって、お世話になった人への感謝の気持ちを書く。まず指導教員、次にお世話になった先生、研究室の助教や研究員、その他研究の相談に載ってもらったり、アドバイスをもらった人への感謝を書く。次に研究室の仲間に一言ずつ。最後に家族、特に両親への感謝で締めると良い。 197 | 198 | \appendix 199 | 200 | \chapter{ソースコード} 201 | 202 | \lstinputlisting[caption = 適当なPythonスクリプト, label = prog:sample]{src/sample.py} 203 | 204 | \bibliographystyle{junsrt} 205 | \bibliography{reference} 206 | 207 | \end{document} 208 | --------------------------------------------------------------------------------