├── .gitignore
├── .gitmodules
├── LICENSE
├── Main.lyx
├── Main_English.lyx
├── README.md
├── Ref.bib
├── USTCthesis.cls
├── USTCthesis.layout
├── chapters
├── Appendix.lyx
├── FrontMatter.lyx
├── Introduction.lyx
├── Publication.lyx
├── Skills.lyx
├── USTCthesis.cls
├── USTCthesis.layout
└── thanks.lyx
├── figures
├── release.sh
├── ustcsetup.tex
├── ustcthesis-authoryear.bst
├── ustcthesis-bachelor.bst
└── ustcthesis-numerical.bst
/.gitignore:
--------------------------------------------------------------------------------
1 | # ignore folder
2 | release/
3 |
4 | # ignore temp file types
5 | *.acn
6 | *.acr
7 | *.alg
8 | *.aux
9 | *.bbl
10 | *.blg
11 | *.dvi
12 | *.fdb_latexmk
13 | *.glg
14 | *.glo
15 | *.gls
16 | *.idx
17 | *.ilg
18 | *.ind
19 | *.ist
20 | *.lof
21 | *.log
22 | *.lot
23 | *.maf
24 | *.mtc
25 | *.mtc0
26 | *.nav
27 | *.nlo
28 | *.out
29 | *.pdfsync
30 | *.ps
31 | *.snm
32 | *.synctex.gz
33 | *.toc
34 | *.vrb
35 | *.xdy
36 | *.tdo
37 | *.lyx~
38 | *.lyx#
39 |
--------------------------------------------------------------------------------
/.gitmodules:
--------------------------------------------------------------------------------
1 | [submodule "ustcthesis"]
2 | path = ustcthesis
3 | url = https://github.com/ustctug/ustcthesis
4 |
--------------------------------------------------------------------------------
/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 | {one line to give the program's name and a brief idea of what it does.}
635 | Copyright (C) {year} {name of author}
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 | {project} Copyright (C) {year} {fullname}
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 | .
--------------------------------------------------------------------------------
/Main.lyx:
--------------------------------------------------------------------------------
1 | #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 | \lyxformat 544
3 | \begin_document
4 | \begin_header
5 | \save_transient_properties true
6 | \origin unavailable
7 | \textclass USTCthesis
8 | \begin_preamble
9 | % Lyx template for USTC doctor/master thesis
10 | % Created by jmcui 6-23-2011 @USTC
11 | % use USTCthesis class: https://github.com/jmcui/USTC-Lyx
12 |
13 | % Template setup parameter
14 | % degree = doctor | master | bachelor
15 | % degree-type = academic | professional
16 | % language = chinese | english
17 | % fontset = windows | mac | ubuntu | fandol
18 |
19 |
20 | \def\myref{Ref}
21 | \usepackage{bibentry}
22 |
23 | \input{ustcsetup.tex}
24 | \end_preamble
25 | \options degree=doctor
26 | \use_default_options false
27 | \begin_modules
28 | theorems-ams
29 | algorithm2e
30 | \end_modules
31 | \maintain_unincluded_children false
32 | \language chinese-simplified
33 | \language_package none
34 | \inputencoding gbk
35 | \fontencoding global
36 | \font_roman "default" "default"
37 | \font_sans "default" "default"
38 | \font_typewriter "default" "default"
39 | \font_math "auto" "auto"
40 | \font_default_family default
41 | \use_non_tex_fonts true
42 | \font_sc false
43 | \font_osf false
44 | \font_sf_scale 100 100
45 | \font_tt_scale 100 100
46 | \font_cjk gbsn
47 | \use_microtype false
48 | \use_dash_ligatures true
49 | \graphics default
50 | \default_output_format pdf4
51 | \output_sync 0
52 | \bibtex_command default
53 | \index_command default
54 | \paperfontsize default
55 | \spacing single
56 | \use_hyperref false
57 | \pdf_bookmarks false
58 | \pdf_bookmarksnumbered false
59 | \pdf_bookmarksopen false
60 | \pdf_bookmarksopenlevel 1
61 | \pdf_breaklinks false
62 | \pdf_pdfborder true
63 | \pdf_colorlinks false
64 | \pdf_backref false
65 | \pdf_pdfusetitle false
66 | \pdf_quoted_options "xetex,unicode=true"
67 | \papersize default
68 | \use_geometry false
69 | \use_package amsmath 0
70 | \use_package amssymb 0
71 | \use_package cancel 0
72 | \use_package esint 0
73 | \use_package mathdots 0
74 | \use_package mathtools 0
75 | \use_package mhchem 0
76 | \use_package stackrel 0
77 | \use_package stmaryrd 0
78 | \use_package undertilde 0
79 | \cite_engine basic
80 | \cite_engine_type default
81 | \biblio_style plain
82 | \use_bibtopic false
83 | \use_indices false
84 | \paperorientation portrait
85 | \suppress_date false
86 | \justification true
87 | \use_refstyle 0
88 | \use_minted 0
89 | \branch GroupVersion
90 | \selected 1
91 | \filename_suffix 0
92 | \color #aaaa00
93 | \end_branch
94 | \index 索引
95 | \shortcut idx
96 | \color #008000
97 | \end_index
98 | \secnumdepth 2
99 | \tocdepth 2
100 | \paragraph_separation indent
101 | \paragraph_indentation default
102 | \is_math_indent 0
103 | \math_numbering_side default
104 | \quotes_style english
105 | \dynamic_quotes 0
106 | \papercolumns 1
107 | \papersides 2
108 | \paperpagestyle default
109 | \tracking_changes false
110 | \output_changes false
111 | \html_math_output 0
112 | \html_css_as_file 0
113 | \html_be_strict false
114 | \end_header
115 |
116 | \begin_body
117 |
118 | \begin_layout Standard
119 | \begin_inset Note Note
120 | status open
121 |
122 | \begin_layout Plain Layout
123 | Main 文档
124 | \end_layout
125 |
126 | \begin_layout Enumerate
127 | 整体结构,导航子章节。同目录下USTCthesis.layout 为\SpecialChar LyX
128 | 的布局文件(或称为layout 文件)。
129 | \end_layout
130 |
131 | \begin_layout Enumerate
132 | 注意打开菜单: 视图\SpecialChar menuseparator
133 | 大纲边栏 ,或者使用菜单 导航,以便 导航切换章节。
134 | \end_layout
135 |
136 | \begin_layout Enumerate
137 | 包含子文件时注意使用相对路径,便于整个项目移动。
138 | \end_layout
139 |
140 | \begin_layout Enumerate
141 | 子章节lyx文件可以单独编译查看,不必在Main文档中编译查,节省查看时间。
142 | \end_layout
143 |
144 | \end_inset
145 |
146 |
147 | \end_layout
148 |
149 | \begin_layout Standard
150 | \begin_inset Note Note
151 | status open
152 |
153 | \begin_layout Plain Layout
154 | 封面
155 | \end_layout
156 |
157 | \begin_layout Enumerate
158 | 封面设置。在ustcsetup.tex文件里设置封面。可以使用vscode编辑tex文件。
159 | \end_layout
160 |
161 | \end_inset
162 |
163 |
164 | \end_layout
165 |
166 | \begin_layout Standard
167 | \begin_inset ERT
168 | status open
169 |
170 | \begin_layout Plain Layout
171 |
172 |
173 | \backslash
174 | maketitle
175 | \end_layout
176 |
177 | \begin_layout Plain Layout
178 |
179 |
180 | \backslash
181 | makestatement
182 | \end_layout
183 |
184 | \end_inset
185 |
186 |
187 | \end_layout
188 |
189 | \begin_layout Standard
190 | \begin_inset Note Note
191 | status open
192 |
193 | \begin_layout Plain Layout
194 | 扉页
195 | \end_layout
196 |
197 | \begin_layout Enumerate
198 | 摘要,目录,图像、表格、算法列表
199 | \end_layout
200 |
201 | \begin_layout Enumerate
202 | FrontMatter.lyx文件。可进入此文件编辑,把不需要的部注释掉,或者参考例子添加内容。
203 | \end_layout
204 |
205 | \end_inset
206 |
207 |
208 | \end_layout
209 |
210 | \begin_layout Standard
211 | \begin_inset CommandInset include
212 | LatexCommand include
213 | filename "./chapters/FrontMatter.lyx"
214 |
215 | \end_inset
216 |
217 |
218 | \end_layout
219 |
220 | \begin_layout MainMatter
221 |
222 | \end_layout
223 |
224 | \begin_layout Standard
225 | \begin_inset Note Note
226 | status collapsed
227 |
228 | \begin_layout Plain Layout
229 |
230 | \end_layout
231 |
232 | \end_inset
233 |
234 |
235 | \end_layout
236 |
237 | \begin_layout Standard
238 | \begin_inset Note Note
239 | status open
240 |
241 | \begin_layout Plain Layout
242 | 正文章节
243 | \end_layout
244 |
245 | \begin_layout Enumerate
246 | 章节排序只需要把include的顺序改变即可。也可以直接包含 tex文件。
247 | \end_layout
248 |
249 | \begin_layout Enumerate
250 | 新建LyX文件,需要copy已有的子章节,例如Introduction.lyx,然后重命名文件,最点击菜单 插入\SpecialChar menuseparator
251 | 文件\SpecialChar menuseparator
252 | 子文档,选择子文档。
253 | \end_layout
254 |
255 | \begin_layout Enumerate
256 | Tip: 编辑论文时,可以从Skill.lyx直接copy需要的格式,然后在此基础上修改。
257 | \end_layout
258 |
259 | \end_inset
260 |
261 |
262 | \end_layout
263 |
264 | \begin_layout Standard
265 | \begin_inset CommandInset include
266 | LatexCommand include
267 | filename "chapters/Introduction.lyx"
268 |
269 | \end_inset
270 |
271 |
272 | \end_layout
273 |
274 | \begin_layout Standard
275 | \begin_inset CommandInset include
276 | LatexCommand include
277 | filename "chapters/Skills.lyx"
278 |
279 | \end_inset
280 |
281 |
282 | \end_layout
283 |
284 | \begin_layout Standard
285 | \begin_inset Note Note
286 | status open
287 |
288 | \begin_layout Plain Layout
289 | 参考文献。
290 | \end_layout
291 |
292 | \end_inset
293 |
294 |
295 | \end_layout
296 |
297 | \begin_layout Standard
298 | \begin_inset CommandInset bibtex
299 | LatexCommand bibtex
300 | btprint "btPrintCited"
301 | bibfiles "Ref"
302 |
303 | \end_inset
304 |
305 |
306 | \end_layout
307 |
308 | \begin_layout Standard
309 | \begin_inset Note Note
310 | status open
311 |
312 | \begin_layout Plain Layout
313 | 附录
314 | \end_layout
315 |
316 | \begin_layout Plain Layout
317 | 在Apendix.lyx中设置了附录,需在底页之前放置。底页后放置章序号会被省略。
318 | \end_layout
319 |
320 | \end_inset
321 |
322 |
323 | \end_layout
324 |
325 | \begin_layout Standard
326 | \begin_inset CommandInset include
327 | LatexCommand include
328 | filename "chapters/Appendix.lyx"
329 |
330 | \end_inset
331 |
332 |
333 | \end_layout
334 |
335 | \begin_layout BackMatter
336 |
337 | \end_layout
338 |
339 | \begin_layout Standard
340 | \begin_inset Note Note
341 | status open
342 |
343 | \begin_layout Plain Layout
344 | 底页之后的各章会把章序号省掉。也可以使用模板已定义好的ChapterSpecial 生成一无序号的章节。ChapterSpecial不限于在底页后,也可在正文中
345 | 使用
346 | \end_layout
347 |
348 | \end_inset
349 |
350 |
351 | \end_layout
352 |
353 | \begin_layout Standard
354 | \begin_inset CommandInset include
355 | LatexCommand include
356 | filename "chapters/thanks.lyx"
357 |
358 | \end_inset
359 |
360 |
361 | \end_layout
362 |
363 | \begin_layout Standard
364 | \begin_inset CommandInset include
365 | LatexCommand include
366 | filename "chapters/Publication.lyx"
367 |
368 | \end_inset
369 |
370 |
371 | \end_layout
372 |
373 | \end_body
374 | \end_document
375 |
--------------------------------------------------------------------------------
/Main_English.lyx:
--------------------------------------------------------------------------------
1 | #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 | \lyxformat 544
3 | \begin_document
4 | \begin_header
5 | \save_transient_properties true
6 | \origin unavailable
7 | \textclass USTCthesis
8 | \begin_preamble
9 | % Lyx template for USTC doctor/master thesis
10 | % Created by jmcui 6-23-2011 @USTC
11 | % use USTCthesis class: https://github.com/jmcui/USTC-Lyx
12 |
13 | % Template setup parameter
14 | % degree = doctor | master | bachelor
15 | % degree-type = academic | professional
16 | % language = chinese | english
17 | % fontset = windows | mac | ubuntu | fandol
18 |
19 |
20 | \def\myref{Ref}
21 | \usepackage{bibentry}
22 |
23 | \input{ustcsetup.tex}
24 | \end_preamble
25 | \options degree=doctor, language=english, numbers
26 | \use_default_options false
27 | \begin_modules
28 | theorems-ams
29 | algorithm2e
30 | \end_modules
31 | \maintain_unincluded_children false
32 | \language chinese-simplified
33 | \language_package none
34 | \inputencoding gbk
35 | \fontencoding global
36 | \font_roman "default" "default"
37 | \font_sans "default" "default"
38 | \font_typewriter "default" "default"
39 | \font_math "auto" "auto"
40 | \font_default_family default
41 | \use_non_tex_fonts true
42 | \font_sc false
43 | \font_osf false
44 | \font_sf_scale 100 100
45 | \font_tt_scale 100 100
46 | \font_cjk gbsn
47 | \use_microtype false
48 | \use_dash_ligatures true
49 | \graphics default
50 | \default_output_format pdf4
51 | \output_sync 0
52 | \bibtex_command default
53 | \index_command default
54 | \paperfontsize default
55 | \spacing single
56 | \use_hyperref false
57 | \pdf_bookmarks false
58 | \pdf_bookmarksnumbered false
59 | \pdf_bookmarksopen false
60 | \pdf_bookmarksopenlevel 1
61 | \pdf_breaklinks false
62 | \pdf_pdfborder true
63 | \pdf_colorlinks false
64 | \pdf_backref false
65 | \pdf_pdfusetitle false
66 | \pdf_quoted_options "xetex,unicode=true"
67 | \papersize default
68 | \use_geometry false
69 | \use_package amsmath 0
70 | \use_package amssymb 0
71 | \use_package cancel 0
72 | \use_package esint 0
73 | \use_package mathdots 0
74 | \use_package mathtools 0
75 | \use_package mhchem 0
76 | \use_package stackrel 0
77 | \use_package stmaryrd 0
78 | \use_package undertilde 0
79 | \cite_engine basic
80 | \cite_engine_type default
81 | \biblio_style plain
82 | \use_bibtopic false
83 | \use_indices false
84 | \paperorientation portrait
85 | \suppress_date false
86 | \justification true
87 | \use_refstyle 0
88 | \use_minted 0
89 | \branch GroupVersion
90 | \selected 1
91 | \filename_suffix 0
92 | \color #aaaa00
93 | \end_branch
94 | \index 索引
95 | \shortcut idx
96 | \color #008000
97 | \end_index
98 | \secnumdepth 2
99 | \tocdepth 2
100 | \paragraph_separation indent
101 | \paragraph_indentation default
102 | \is_math_indent 0
103 | \math_numbering_side default
104 | \quotes_style english
105 | \dynamic_quotes 0
106 | \papercolumns 1
107 | \papersides 2
108 | \paperpagestyle default
109 | \tracking_changes false
110 | \output_changes false
111 | \html_math_output 0
112 | \html_css_as_file 0
113 | \html_be_strict false
114 | \end_header
115 |
116 | \begin_body
117 |
118 | \begin_layout Standard
119 | \begin_inset Note Note
120 | status open
121 |
122 | \begin_layout Plain Layout
123 | Main Document
124 | \end_layout
125 |
126 | \begin_layout Enumerate
127 | The main structure,give an outlook of the whole document project。Use the
128 | USTCthesis.layout in the working directory.
129 | By click the view button in the main document, the whole project document
130 | can be generated.
131 | \end_layout
132 |
133 | \begin_layout Enumerate
134 | Note:open the view: View\SpecialChar menuseparator
135 | Outlook side bar.
136 | \end_layout
137 |
138 | \begin_layout Enumerate
139 | When creat a new document,copy and dumplicate the
140 | \begin_inset Quotes eld
141 | \end_inset
142 |
143 | Skills.lyx
144 | \begin_inset Quotes erd
145 | \end_inset
146 |
147 | file and rename it to the file you needed, then open the file and edit
148 | the content .
149 | \end_layout
150 |
151 | \begin_layout Enumerate
152 | Child document can be individually complied, which can efficiently improve
153 | debug process.
154 | By click the view button in the child document.
155 | \end_layout
156 |
157 | \end_inset
158 |
159 |
160 | \end_layout
161 |
162 | \begin_layout Standard
163 | \begin_inset Note Note
164 | status open
165 |
166 | \begin_layout Plain Layout
167 | 封面
168 | \end_layout
169 |
170 | \begin_layout Enumerate
171 | Cover:
172 | \end_layout
173 |
174 | \begin_deeper
175 | \begin_layout Enumerate
176 | Set author information in the “ustcsetup.tex
177 | \begin_inset Quotes erd
178 | \end_inset
179 |
180 | file.
181 | \end_layout
182 |
183 | \begin_layout Enumerate
184 | Setting premeable area in the Main_English.lyx.
185 |
186 | \end_layout
187 |
188 | \end_deeper
189 | \end_inset
190 |
191 |
192 | \end_layout
193 |
194 | \begin_layout Standard
195 | \begin_inset ERT
196 | status open
197 |
198 | \begin_layout Plain Layout
199 |
200 |
201 | \backslash
202 | maketitle
203 | \end_layout
204 |
205 | \begin_layout Plain Layout
206 |
207 |
208 | \backslash
209 | makestatement
210 | \end_layout
211 |
212 | \end_inset
213 |
214 |
215 | \end_layout
216 |
217 | \begin_layout Standard
218 | \begin_inset Note Note
219 | status open
220 |
221 | \begin_layout Plain Layout
222 | Front Pages
223 | \end_layout
224 |
225 | \begin_layout Enumerate
226 | Abstract, Figure list, Table List and Algrathem List
227 | \end_layout
228 |
229 | \begin_layout Enumerate
230 | FrontMatter.lyx.
231 | Open and edit this file, comment what is not needed and uncomment what
232 | is need.
233 | \end_layout
234 |
235 | \end_inset
236 |
237 |
238 | \end_layout
239 |
240 | \begin_layout Standard
241 | \begin_inset CommandInset include
242 | LatexCommand include
243 | filename "./chapters/FrontMatter.lyx"
244 |
245 | \end_inset
246 |
247 |
248 | \end_layout
249 |
250 | \begin_layout MainMatter
251 |
252 | \end_layout
253 |
254 | \begin_layout Standard
255 | \begin_inset Note Note
256 | status collapsed
257 |
258 | \begin_layout Plain Layout
259 |
260 | \end_layout
261 |
262 | \end_inset
263 |
264 |
265 | \end_layout
266 |
267 | \begin_layout Standard
268 | \begin_inset Note Note
269 | status open
270 |
271 | \begin_layout Plain Layout
272 | Chapters in thesis:
273 | \end_layout
274 |
275 | \begin_layout Enumerate
276 | Include the child document in sequence。You can also include tex file.
277 | \end_layout
278 |
279 | \begin_layout Enumerate
280 | Note: When you need a new chapter file, do not creat a new lyx file directly.
281 | You should copy and dumplicate the
282 | \begin_inset Quotes eld
283 | \end_inset
284 |
285 | Skills.lyx
286 | \begin_inset Quotes erd
287 | \end_inset
288 |
289 | file, then rename it to the file you needed.
290 | At last include the child document in the main document: Insert \SpecialChar menuseparator
291 | File\SpecialChar menuseparator
292 | Lyx
293 | child file.
294 | \end_layout
295 |
296 | \end_inset
297 |
298 |
299 | \end_layout
300 |
301 | \begin_layout Standard
302 | \begin_inset CommandInset include
303 | LatexCommand include
304 | filename "chapters/Introduction.lyx"
305 |
306 | \end_inset
307 |
308 |
309 | \end_layout
310 |
311 | \begin_layout Standard
312 | \begin_inset CommandInset include
313 | LatexCommand include
314 | filename "chapters/Skills.lyx"
315 |
316 | \end_inset
317 |
318 |
319 | \end_layout
320 |
321 | \begin_layout Standard
322 | \begin_inset Note Note
323 | status open
324 |
325 | \begin_layout Plain Layout
326 | Bibiliograpghy
327 | \end_layout
328 |
329 | \begin_layout Plain Layout
330 | Using Bibtex.
331 | Already included in the main document, child document not need to include
332 | it.
333 | \end_layout
334 |
335 | \end_inset
336 |
337 |
338 | \end_layout
339 |
340 | \begin_layout Standard
341 | \begin_inset CommandInset bibtex
342 | LatexCommand bibtex
343 | btprint "btPrintCited"
344 | bibfiles "Ref"
345 |
346 | \end_inset
347 |
348 |
349 | \end_layout
350 |
351 | \begin_layout Standard
352 | \begin_inset Note Note
353 | status open
354 |
355 | \begin_layout Plain Layout
356 | Appendix:
357 | \end_layout
358 |
359 | \begin_layout Plain Layout
360 | Setting in the Apendix.lyx file,should be layed before back matter.
361 |
362 | \end_layout
363 |
364 | \end_inset
365 |
366 |
367 | \end_layout
368 |
369 | \begin_layout Standard
370 | \begin_inset CommandInset include
371 | LatexCommand include
372 | filename "chapters/Appendix.lyx"
373 |
374 | \end_inset
375 |
376 |
377 | \end_layout
378 |
379 | \begin_layout BackMatter
380 |
381 | \end_layout
382 |
383 | \begin_layout Standard
384 | \begin_inset Note Note
385 | status open
386 |
387 | \begin_layout Plain Layout
388 | The page number after back matter will be ignored.
389 |
390 | \end_layout
391 |
392 | \begin_layout Plain Layout
393 | Here only thanks and publication are listed.
394 | \end_layout
395 |
396 | \begin_layout Plain Layout
397 | To insert new chapters files in here, similarily, you need to dumplicate
398 | the
399 | \begin_inset Quotes eld
400 | \end_inset
401 |
402 | thanks.lyx
403 | \begin_inset Quotes erd
404 | \end_inset
405 |
406 | to a new file, rename the new file and include it.
407 | \end_layout
408 |
409 | \begin_layout Plain Layout
410 | If you need other chapter in the back matter, you can also use
411 | \begin_inset Quotes eld
412 | \end_inset
413 |
414 | ChapterSpecial
415 | \begin_inset Quotes erd
416 | \end_inset
417 |
418 | format to generate a chapter without chapter number in a file already existed.
419 |
420 | \begin_inset Quotes erd
421 | \end_inset
422 |
423 | ChapterSpecial
424 | \begin_inset Quotes erd
425 | \end_inset
426 |
427 | format can also used in the main matter.
428 | \end_layout
429 |
430 | \end_inset
431 |
432 |
433 | \end_layout
434 |
435 | \begin_layout Standard
436 | \begin_inset CommandInset include
437 | LatexCommand include
438 | filename "chapters/thanks.lyx"
439 |
440 | \end_inset
441 |
442 |
443 | \end_layout
444 |
445 | \begin_layout Standard
446 | \begin_inset CommandInset include
447 | LatexCommand include
448 | filename "chapters/Publication.lyx"
449 |
450 | \end_inset
451 |
452 |
453 | \end_layout
454 |
455 | \end_body
456 | \end_document
457 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 中国科学技术大学学位论文LyX模板 #
2 |
3 | [](https://travis-ci.org/jmcui/USTC-Lyx)
4 | [](https://github.com/jmcui/USTC-Lyx/releases)
5 | [](https://github.com/jmcui/USTC-Lyx/releases/latest)
6 | [](https://github.com/jmcui/USTC-Lyx/commits/master)
7 |
8 |
9 | ## 目的 ##
10 |
11 | 中国科学技术大学学位论文LyX模板,方便USTCer编辑学位论文。
12 |
13 | * 底层了调用[ustcthesis latex模板](https://github.com/ustctug/ustcthesis),目前包含博士、硕士、学士模版。
14 | * 包含了各种环境、格式实例,根据需求,直接在Lyx中复制粘贴即可。
15 |
16 | ## 下载 ##
17 |
18 | * 下载最新发布版本
19 |
20 | * 从ustclug服务器下载: https://git.lug.ustc.edu.cn/jmcui/ustclyx/-/releases , 下载V**.zip 文件。
21 | * 从github下载: https://github.com/ustctug/ustclyx/releases , 解压即可使用。
22 |
23 | * 此外,还可以使用git克隆项目,从而下载最新版,或者参与项目开发。
24 |
25 | Note: 本项目使用了ustcthesis项目,作为一个git子模块。因此,注意使用git clone --recursive,下载所有文件,模版才能直接使用。否则需要用[ustcthesis项目](https://github.com/ustctug/ustcthesis)中的文件替换相应的文件链接。
26 |
27 | ````bash
28 | # linux或Mac系统
29 | git clone --recursive https://github.com/ustctug/ustclyx.git
30 | ````
31 |
32 | ````bash
33 | # windows 系统用 -c core.symlinks=true 选项, 保证链接正确
34 | git clone -c core.symlinks=true --recursive https://github.com/ustctug/ustclyx.git
35 | ````
36 |
37 | 或者从中国科大Lug服务器上git下来
38 |
39 | ```bash
40 | # linux或Mac系统
41 | git clone --recursive https://git.lug.ustc.edu.cn/jmcui/ustclyx.git
42 | ```
43 | ````bash
44 | # windows 系统用 -c core.symlinks=true 选项, 保证链接正确
45 | git clone -c core.symlinks=true --recursive https://git.lug.ustc.edu.cn/jmcui/ustclyx.git
46 | ````
47 |
48 |
49 |
50 | Note: 不要使用github 网页上code中“Clone or download” 按钮下载。这样方法不能下载子项目,导致文件缺失。
51 |
52 | Note:git子模块更新命令
53 |
54 | ```bash
55 | git submodule update --recursive --remote
56 | ```
57 |
58 | * 从ustclug 下载ustcthesis
59 |
60 | 模版底层使用了github上的latex 模版ustcthesis,如果遇到github不能访问的情况,可以使用ustclug服务器里 [ustcthesis模版镜像](https://git.lug.ustc.edu.cn/ustctug/ustcthesis),下载ustcthesis模版。
61 |
62 | https://git.lug.ustc.edu.cn/ustctug/ustcthesis
63 |
64 | ## 使用 ##
65 |
66 | * 下载安装 Texlive, 参考 [ustcthesis 新手指南](https://github.com/ustctug/ustcthesis/wiki/新手指南)。
67 |
68 | 推荐使用镜像文件安装,镜像ISO文件下载:
69 |
70 | * http://mirrors.ustc.edu.cn/CTAN/systems/texlive/Images/texlive.iso
71 |
72 | * 下载最新版[LyX](https://www.lyx.org/Download). LyX 版本要求 >= 2.3。
73 |
74 | 注意先安装texlive,再安装LyX, LyX可以自动识别latex路径,并配置。 如果后安装texlive, 需要在LyX中设置,菜单: 工具->重配置LyX。重启LyX。
75 |
76 | * 设置论文信息。
77 | 在”ustcsetup.tex“里设置作者和论文的信息。
78 |
79 | * 选择学位论文类型:
80 |
81 | 打开Main.lyx文档,菜单 文档->首选项->文档类->文档类选项。填写文档类选项,默认为doctor。
82 |
83 | * doctor 博士模版
84 | * master 硕士模版
85 | * bachelor 学士模版
86 |
87 | * 编译:
88 |
89 | Main.lyx文档中点击👀[查看]图标,编译可获得整篇论文的pdf;在子章节文件中,点击👀[查看]图标,获得单独章节的pdf。
90 |
91 | * 创建新文件:
92 |
93 | 请copy Introduction.lyx, 然后重命名。如果直接新建文档,需要按照Introduction.lyx的文档属性重新设置,采用拷贝重命名的方法可以避免这个问题。
94 |
95 | * 更具体技巧见模板中Introduction.yx 和 skill.lyx
96 |
97 |
98 | ## 为何LyX
99 |
100 | 1. 可视化地编辑Tex。
101 | 2. 与latex一样,可以结构化包含文档。并且编辑器提供的目录、导航、标签等功能,可以快速方便地定位、显示内容。编撰比较大的工程,例如书籍类工程, 这个功能会很重要。
102 | 3. 存在与Word类似的修订模式,方便多人编辑。
103 | 4. 方便的自动编译过程,只需要一次按键即可。
104 | 5. 内部许多文件转换器,支持较多的文件格式。
105 | 6. 与其他工具有很好的接口(Jabref, Inkscape,Zotero)。
106 |
107 | . . . . .
108 |
109 | 主要前两点,引入latex优点的同时,克服了编辑文本不友好、不直观问题。避免反复编译文档,因此可以极大提高撰写论文的效率。设计本论文模版的目的就是为了方便广大USTCer攥写学位论文,将写作精力放在论文内容上。
110 |
111 | ## 模版原理
112 |
113 | 本LyX模版的latex底层使用ustcthesis模版,[github链接](https://github.com/ustctug/ustcthesis)。感谢众多USTCer的努力,这个模版已经是研究生院认可的学位论文模版[学位论文模版](https://gradschool.ustc.edu.cn/ylb/xw.html)。本模版主要在ustcthesis模版上加了一个Lyx layout层 (USTCtheisis.layout文件),在此基础上定义了一些常用的命令,以方便编辑文档。
114 |
115 | ustcthesis中模版选项:
116 |
117 | ````
118 | % 学位论文类选项
119 | doctor|master|bachelor [academic|professional] [chinese|english] [print|pdf]
120 | % 参考文献选项
121 | [super|numebers|authoryear]
122 | ````
123 |
124 | 详细说明参考[ustcthesis](https://github.com/ustctug/ustcthesis)。
--------------------------------------------------------------------------------
/Ref.bib:
--------------------------------------------------------------------------------
1 | % This file was created with JabRef 2.8.1.
2 | % Encoding: GBK
3 |
4 | @ARTICLE{balasubramanian2008nanoscale,
5 | author = {Balasubramanian, Gopalakrishnan and Chan, I. Y. and Kolesov, Roman
6 | and {Al-Hmoud}, Mohannad and Tisler, Julia and Shin, Chang and Kim,
7 | Changdong and Wojcik, Aleksander and Hemmer, Philip R. and Krueger,
8 | Anke and Hanke, Tobias and Leitenstorfer, Alfred and Bratschitsch,
9 | Rudolf and Jelezko, Fedor and Wrachtrup, Jorg},
10 | title = {Nanoscale imaging magnetometry with diamond spins under ambient conditions},
11 | journal = {Nature},
12 | year = {2008},
13 | volume = {455},
14 | pages = {648--651},
15 | number = {7213},
16 | month = oct,
17 | doi = {10.1038/nature07278},
18 | issn = {0028-0836},
19 | url = {http://dx.doi.org/10.1038/nature07278}
20 | }
21 |
22 | @ARTICLE{barclay2011hybridnanocavities,
23 | author = {Barclay, Paul E and Fu, {Kai-Mei} C and Santori, Charles and Faraon,
24 | Andrei and Beausoleil, Raymond G},
25 | title = {Hybrid nanocavities for resonant enhancement of color center emission
26 | in diamond},
27 | journal = {1105.5137},
28 | year = {2011},
29 | month = may,
30 | abstract = {Resonantly enhanced emission from the zero phonon line of a diamond
31 | nitrogen-vacancy {(NV)} center in single crystal diamond is demonstrated
32 | experimentally using a hybrid whispering gallery mode nanocavity.
33 | A 900 nm diameter ring nanocavity formed from gallium phosphide,
34 | whose sidewalls extend into a diamond substrate, is tuned onto resonance
35 | at low-temperature with the zero phonon line of a negatively charged
36 | {NV} center implanted near the diamond surface. When the nanocavity
37 | is on resonance, the zero phonon line intensity is enhanced by approximately
38 | an order of magnitude, and the spontaneous emission lifetime of the
39 | {NV} is reduced as much as 18\%, corresponding to a {6.3X} enhancement
40 | of emission in the zero photon line.},
41 | keywords = {Condensed Matter - Mesoscale and Nanoscale Physics, Quantum Physics},
42 | url = {http://arxiv.org/abs/1105.5137}
43 | }
44 |
45 | @ARTICLE{childress2006faulttolerant,
46 | author = {Childress, L. and Taylor, J. M. and S?rensen, A. S. and Lukin, M.
47 | D.},
48 | title = {{Fault-Tolerant} Quantum Communication Based on {Solid-State} Photon
49 | Emitters},
50 | journal = {Physical Review Letters},
51 | year = {2006},
52 | volume = {96},
53 | pages = {070504},
54 | number = {7},
55 | month = feb,
56 | abstract = {We describe a novel protocol for a quantum repeater that enables long-distance
57 | quantum communication through realistic, lossy photonic channels.
58 | Contrary to previous proposals, our protocol incorporates active
59 | purification of arbitrary errors at each step of the protocol using
60 | only two qubits at each repeater station. Because of these minimal
61 | physical requirements, the present protocol can be realized in simple
62 | physical systems such as solid-state single photon emitters. As an
63 | example, we show how nitrogen-vacancy color centers in diamond can
64 | be used to implement the protocol, using the nuclear and electronic
65 | spin to form the two qubits.},
66 | doi = {10.1103/PhysRevLett.96.070504},
67 | url = {http://link.aps.org/doi/10.1103/PhysRevLett.96.070504}
68 | }
69 |
70 | @ARTICLE{degen2008scanning,
71 | author = {Degen, C. L.},
72 | title = {Scanning magnetic field microscope with a diamond single-spin sensor},
73 | journal = {Applied Physics Letters},
74 | year = {2008},
75 | volume = {92},
76 | pages = {243111},
77 | number = {24},
78 | doi = {10.1063/1.2943282},
79 | issn = {00036951},
80 | url = {http://link.aip.org/link/APPLAB/v92/i24/p243111/s1&Agg=doi}
81 | }
82 |
83 | @ARTICLE{faraon2010resonant,
84 | author = {Faraon, Andrei and Barclay, Paul E and Santori, Charles and Fu, {Kai-Mei}
85 | C and Beausoleil, Raymond G},
86 | title = {Resonant enhancement of the zero-phonon emission from a color center
87 | in a diamond cavity},
88 | journal = {1012.3815},
89 | year = {2010},
90 | month = dec,
91 | abstract = {We demonstrate coupling of the zero-phonon line of individual nitrogen-vacancy
92 | centers and the modes of microring resonators fabricated in single-crystal
93 | diamond. A zero-phonon line enhancement exceeding ten-fold is estimated
94 | from lifetime measurements at cryogenic temperatures. The devices
95 | are fabricated using standard semiconductor techniques and off-the-shelf
96 | materials, thus enabling integrated diamond photonics.},
97 | keywords = {Physics - Optics, Quantum Physics},
98 | url = {http://arxiv.org/abs/1012.3815}
99 | }
100 |
101 | @ARTICLE{fu2008coupling,
102 | author = {Fu, K. {M.C} and Santori, C. and Barclay, P. E. and Aharonovich,
103 | I. and Prawer, S. and Meyer, N. and Holm, A. M. and Beausoleil, R.
104 | G.},
105 | title = {Coupling of nitrogen-vacancy centers in diamond to a {GaP} waveguide},
106 | journal = {Applied Physics Letters},
107 | year = {2008},
108 | volume = {93},
109 | pages = {234107}
110 | }
111 |
112 | @ARTICLE{gaebel2006roomtemperature,
113 | author = {Gaebel, T. and Domhan, M. and Popa, I. and Wittmann, C. and Neumann,
114 | P. and Jelezko, F. and Rabeau, J. R and Stavrias, N. and Greentree,
115 | A. D and Prawer, S. and others},
116 | title = {Room-temperature coherent coupling of single spins in diamond},
117 | journal = {Nature Physics},
118 | year = {2006},
119 | volume = {2},
120 | pages = {408{\textendash}413},
121 | number = {6}
122 | }
123 |
124 | @ARTICLE{hadden2010strongly,
125 | author = {Hadden, J. P. and Harrison, J. P. and {Stanley-Clarke}, A. C. and
126 | Marseglia, L. and Ho, {Y.-L.} D. and Patton, B. R. and {O{\textquoteright}Brien},
127 | J. L. and Rarity, J. G.},
128 | title = {Strongly enhanced photon collection from diamond defect centers under
129 | microfabricated integrated solid immersion lenses},
130 | journal = {Applied Physics Letters},
131 | year = {2010},
132 | volume = {97},
133 | pages = {241901},
134 | number = {24},
135 | doi = {10.1063/1.3519847},
136 | issn = {00036951},
137 | url = {http://link.aip.org/link/APPLAB/v97/i24/p241901/s1&Agg=doi}
138 | }
139 |
140 | @ARTICLE{maze2008nanoscale,
141 | author = {Maze, J. R. and Stanwix, P. L. and Hodges, J. S. and Hong, S. and
142 | Taylor, J. M. and Cappellaro, P. and Jiang, L. and Dutt, M. {V.G}
143 | and Togan, E. and Zibrov, A. S. and others},
144 | title = {Nanoscale magnetic sensing with an individual electronic spin in
145 | diamond},
146 | journal = {Nature},
147 | year = {2008},
148 | volume = {455},
149 | pages = {644{\textendash}648},
150 | number = {7213}
151 | }
152 |
153 | @ARTICLE{meijer2005generation,
154 | author = {Meijer, J. and Burchard, B. and Domhan, M. and Wittmann, C. and Gaebel,
155 | T. and Popa, I. and Jelezko, F. and Wrachtrup, J.},
156 | title = {Generation of single color centers by focused nitrogen implantation},
157 | journal = {Applied Physics Letters},
158 | year = {2005},
159 | volume = {87},
160 | pages = {261909},
161 | number = {26},
162 | doi = {10.1063/1.2103389},
163 | issn = {00036951},
164 | lccn = {0000},
165 | url = {http://link.aip.org/link/APPLAB/v87/i26/p261909/s1&Agg=doi}
166 | }
167 |
168 | @ARTICLE{oort1988optically,
169 | author = {Oort, E. and Manson, N. B. and Glasbeek, M.},
170 | title = {Optically detected spin coherence of the diamond {NV} centre in its
171 | triplet ground state},
172 | journal = {Journal of Physics C: Solid State Physics},
173 | year = {1988},
174 | volume = {21},
175 | pages = {4385}
176 | }
177 |
178 | @ARTICLE{Meijer10NJoP,
179 | author = {Pezzagna, S and Naydenov, B and Jelezko, F and Wrachtrup, J and Meijer,
180 | J},
181 | title = {Creation efficiency of nitrogen-vacancy centres in diamond},
182 | journal = {New Journal of Physics},
183 | year = {2010},
184 | volume = {12},
185 | pages = {065017},
186 | number = {6},
187 | month = jun,
188 | doi = {10.1088/1367-2630/12/6/065017},
189 | issn = {1367-2630},
190 | lccn = {0000},
191 | url = {http://iopscience.iop.org/1367-2630/12/6/065017}
192 | }
193 |
194 | @ARTICLE{pezzagna2010creation,
195 | author = {Pezzagna, S and Naydenov, B and Jelezko, F and Wrachtrup, J and Meijer,
196 | J},
197 | title = {Creation efficiency of nitrogen-vacancy centres in diamond},
198 | journal = {New Journal of Physics},
199 | year = {2010},
200 | volume = {12},
201 | pages = {065017},
202 | number = {6},
203 | month = jun,
204 | doi = {10.1088/1367-2630/12/6/065017},
205 | issn = {1367-2630},
206 | lccn = {0000},
207 | url = {http://iopscience.iop.org/1367-2630/12/6/065017}
208 | }
209 |
210 | @ARTICLE{pezzagna2011creation,
211 | author = {Pezzagna, S\'{e}bastien and Rogalla, Detlef and Wildanger, Dominik
212 | and Meijer, Jan and Zaitsev, Alexander},
213 | title = {Creation and nature of optical centres in diamond for single-photon
214 | emission{\textemdash}overview and critical remarks},
215 | journal = {New Journal of Physics},
216 | year = {2011},
217 | volume = {13},
218 | pages = {035024},
219 | number = {3},
220 | month = mar,
221 | doi = {10.1088/1367-2630/13/3/035024},
222 | issn = {1367-2630},
223 | url = {http://iopscience.iop.org/1367-2630/13/3/035024}
224 | }
225 |
226 | @ARTICLE{schietinger2009plasmonenhanced,
227 | author = {Schietinger, S. and Barth, M. and Aichele, T. and Benson, O.},
228 | title = {{Plasmon-Enhanced} Single Photon Emission from a Nanoassembled Metal-
229 | Diamond Hybrid Structure at Room Temperature},
230 | journal = {Nano letters},
231 | year = {2009},
232 | volume = {9},
233 | pages = {1694{\textendash}1698},
234 | number = {4}
235 | }
236 |
237 | @ARTICLE{steinmetz2010singlephoton,
238 | author = {Steinmetz, David and Neu, Elke and Hepp, Christian and Albrecht,
239 | Roland and Bolse, Wolfgang and Meijer, Jan and Rogalla, Detlef and
240 | Becher, Christoph},
241 | title = {Single-photon emission from Ni-related color centers in {CVD} diamond},
242 | journal = {1003.3388},
243 | year = {2010},
244 | month = mar,
245 | note = {Proc. {SPIE}, Vol. 7727, {77270P} (2010)},
246 | abstract = {Color centers in diamond are very promising candidates among the possible
247 | realizations for practical single-photon sources because of their
248 | long-time stable emission at room temperature. The popular nitrogen-vacancy
249 | center shows single-photon emission, but within a large, phonon-broadened
250 | spectrum ({\textasciitilde}100nm), which strongly limits its applicability
251 | for quantum communication. By contrast, Ni-related centers exhibit
252 | narrow emission lines at room temperature. We present investigations
253 | on single color centers consisting of Ni and Si created by ion implantation
254 | into single crystalline {IIa} diamond. We use systematic variations
255 | of ion doses between 10{\textasciicircum}8/cm{\textasciicircum}2
256 | and 10{\textasciicircum}14/cm{\textasciicircum}2 and energies between
257 | {30keV} and {1.8MeV.} The Ni-related centers show emission in the
258 | near infrared spectral range ({\textasciitilde}770nm to 787nm) with
259 | a small line-width ({\textasciitilde}3nm {FWHM).} A measurement of
260 | the intensity correlation function proves single-photon emission.
261 | Saturation measurements yield a rather high saturation count rate
262 | of 77.9 kcounts/s. Polarization dependent measurements indicate the
263 | presence of two orthogonal dipoles.},
264 | doi = {doi:10.1117/12.854453},
265 | keywords = {Condensed Matter - Materials Science, Quantum Physics},
266 | url = {http://arxiv.org/abs/1003.3388}
267 | }
268 |
269 | @ARTICLE{thomas2010adiamond,
270 | author = {Thomas, M. B and Birgit, J. M. and Mughees Khan, Y. Z and Jeronimo,
271 | R. and Philip, R. H and others},
272 | title = {A diamond nanowire single-photon source},
273 | journal = {Nature Nanotechnology},
274 | year = {2010},
275 | volume = {5},
276 | pages = {195{\textendash}199},
277 | number = {3}
278 | }
279 |
280 | @ARTICLE{wrachtrup2006processing,
281 | author = {Wrachtrup, J\"{o}rg and Jelezko, Fedor},
282 | title = {Processing quantum information in diamond},
283 | journal = {Journal of Physics: Condensed Matter},
284 | year = {2006},
285 | volume = {18},
286 | pages = {S807--S824},
287 | number = {21},
288 | month = may,
289 | doi = {10.1088/0953-8984/18/21/S08},
290 | issn = {0953-8984},
291 | url = {http://iopscience.iop.org/0953-8984/18/21/S08}
292 | }
293 |
294 |
--------------------------------------------------------------------------------
/USTCthesis.cls:
--------------------------------------------------------------------------------
1 | ./ustcthesis/ustcthesis.cls
--------------------------------------------------------------------------------
/USTCthesis.layout:
--------------------------------------------------------------------------------
1 | #% Do not delete the line below; configure depends on this
2 | # \DeclareLaTeXClass[ustcthesis]{USTC Thesis Lyx Template}
3 | # Author : Cui Jinming
4 |
5 |
6 | Format 35
7 |
8 | Preamble
9 |
10 | \newcommand{\ChapterSpecial}[1]
11 | {
12 | \chapter*{#1}
13 | \addcontentsline{toc}{chapter}{#1}
14 | \markboth{#1}{#1}
15 | }
16 |
17 | EndPreamble
18 |
19 |
20 | Input stdclass.inc
21 | Input numreport.inc
22 |
23 | Sides 2
24 | PageStyle Headings
25 |
26 | Style Standard
27 | ParSkip 0.4
28 | ParSep 0.4
29 | Spacing onehalf
30 | End
31 |
32 | Style Cover
33 | Margin Dynamic
34 | Category Part
35 | LabelString "封面"
36 | LabelType Counter
37 | LabelCounter part
38 | TocLevel 0
39 | LatexType Paragraph
40 | LatexName dummy
41 | KeepEmpty 1
42 | NeedProtect 1
43 | NextNoIndent 1
44 | Labelsep xxx
45 | ParSkip 0.4
46 | TopSep 4
47 | BottomSep 4
48 | ParSep 0.8
49 | Align Center
50 | Alignpossible Center
51 | Font
52 | Series Bold
53 | Size Huge
54 | Color Blue
55 | EndFont
56 | HTMLTag h1
57 | End
58 |
59 | Style FrontMatter
60 | CopyStyle Cover
61 | LatexType Command
62 | LabelString "扉页"
63 | LatexName frontmatter
64 | End
65 |
66 |
67 | Style MainMatter
68 | CopyStyle FrontMatter
69 | LabelString "正文"
70 | LatexName mainmatter
71 | End
72 |
73 | Style BackMatter
74 | CopyStyle FrontMatter
75 | LabelString "底页"
76 | LatexName backmatter
77 | End
78 |
79 | ##############################
80 |
81 | Style Abstract
82 | Margin Static
83 | LatexType Environment
84 | LatexName abstract
85 | Category FrontMatter
86 | NextNoIndent 1
87 | LeftMargin MMM
88 | RightMargin MMM
89 | ParIndent MM
90 | ItemSep 0
91 | TopSep 0.7
92 | BottomSep 0.7
93 | ParSep 0
94 | Align Block
95 | LabelType Centered_Top_Environment
96 | LabelString "Abstract"
97 | LabelBottomSep 0.5
98 | Font
99 | Size Small
100 | EndFont
101 | LabelFont
102 | Series Bold
103 | Size Large
104 | EndFont
105 | HTMLLabelFirst 1
106 | HTMLForceCSS 1
107 | HTMLStyle
108 | div.abstract {
109 | margin: 4ex;
110 | }
111 | div.abstract_item {
112 | font-size: small;
113 | padding-top: 1ex;
114 | }
115 | div.abstract_label {
116 | font-weight: bold;
117 | }
118 | EndHTMLStyle
119 | End
120 |
121 | Style EnglishAbstract
122 | CopyStyle Abstract
123 | LatexName enabstract
124 | LabelString " Abstract"
125 | End
126 |
127 |
128 | #####################################
129 | Style ChapterSpecial
130 | CopyStyle Chapter*
131 | Align Center
132 | LatexName ChapterSpecial
133 | End
134 |
135 | Style Denotation
136 | CopyStyle Description
137 | LatexName denotation
138 | HTMLTag ddl
139 | HTMLAttr class='denotation'
140 | HTMLItem dd
141 | HTMLLabel dt
142 | HTMLLabelFirst 1
143 | HTMLStyle
144 | ddl.denotation dt { font-weight: bold; }
145 | EndHTMLStyle
146 | End
147 |
148 | #####################################
149 |
150 | # Custom Inset Layout
151 | InsetLayout Flex:href
152 | LyXType custom
153 | # LyXType element
154 | LabelString 超链接
155 | LatexType Command
156 | LatexName href
157 | Decoration Classic
158 | Argument 1
159 | Mandatory 1
160 | LabelString "Link"
161 | LabelFont
162 | Shape Up
163 | Color blue
164 | EndFont
165 | EndArgument
166 | End
167 |
168 | #####################################
169 |
170 | # delete style
171 | NoStyle Part
172 | NoStyle Part*
173 | NoStyle Bibliography
174 | NoStyle Author
175 | NoStyle Title
176 | NoStyle Date
177 | NoStyle Address
178 | NoStyle Right_Address
179 | NoStyle Cover
180 | NoStyle Denotation
--------------------------------------------------------------------------------
/chapters/Appendix.lyx:
--------------------------------------------------------------------------------
1 | #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 | \lyxformat 544
3 | \begin_document
4 | \begin_header
5 | \save_transient_properties true
6 | \origin unavailable
7 | \textclass USTCthesis
8 | \begin_preamble
9 | %Created by jmcui
10 |
11 | \usepackage{xcolor}
12 | \usepackage{hyperref}
13 | %\graphicspath{{figures/}}
14 | \end_preamble
15 | \options doctor,twoside
16 | \use_default_options false
17 | \master ../Main.lyx
18 | \begin_modules
19 | theorems-ams
20 | algorithm2e
21 | \end_modules
22 | \maintain_unincluded_children false
23 | \begin_local_layout
24 | NoStyle Thanks
25 | NoStyle ChapterSpecial
26 | NoStyle Abstract
27 | NoStyle EnglishAbstract
28 | \end_local_layout
29 | \language chinese-simplified
30 | \language_package babel
31 | \inputencoding gbk
32 | \fontencoding global
33 | \font_roman "default" "default"
34 | \font_sans "default" "default"
35 | \font_typewriter "default" "default"
36 | \font_math "auto" "auto"
37 | \font_default_family default
38 | \use_non_tex_fonts true
39 | \font_sc false
40 | \font_osf false
41 | \font_sf_scale 100 100
42 | \font_tt_scale 100 100
43 | \font_cjk fs
44 | \use_microtype false
45 | \use_dash_ligatures true
46 | \graphics default
47 | \default_output_format pdf4
48 | \output_sync 0
49 | \bibtex_command default
50 | \index_command default
51 | \paperfontsize default
52 | \spacing single
53 | \use_hyperref false
54 | \pdf_bookmarks true
55 | \pdf_bookmarksnumbered false
56 | \pdf_bookmarksopen false
57 | \pdf_bookmarksopenlevel 1
58 | \pdf_breaklinks false
59 | \pdf_pdfborder false
60 | \pdf_colorlinks false
61 | \pdf_backref false
62 | \pdf_pdfusetitle false
63 | \papersize default
64 | \use_geometry false
65 | \use_package amsmath 2
66 | \use_package amssymb 2
67 | \use_package cancel 1
68 | \use_package esint 2
69 | \use_package mathdots 1
70 | \use_package mathtools 1
71 | \use_package mhchem 1
72 | \use_package stackrel 1
73 | \use_package stmaryrd 1
74 | \use_package undertilde 1
75 | \cite_engine basic
76 | \cite_engine_type default
77 | \biblio_style plain
78 | \use_bibtopic false
79 | \use_indices false
80 | \paperorientation portrait
81 | \suppress_date false
82 | \justification true
83 | \use_refstyle 0
84 | \use_minted 0
85 | \index 索引
86 | \shortcut idx
87 | \color #008000
88 | \end_index
89 | \secnumdepth 3
90 | \tocdepth 3
91 | \paragraph_separation indent
92 | \paragraph_indentation default
93 | \is_math_indent 0
94 | \math_numbering_side default
95 | \quotes_style english
96 | \dynamic_quotes 0
97 | \papercolumns 1
98 | \papersides 2
99 | \paperpagestyle default
100 | \tracking_changes false
101 | \output_changes false
102 | \html_math_output 0
103 | \html_css_as_file 0
104 | \html_be_strict false
105 | \end_header
106 |
107 | \begin_body
108 |
109 | \begin_layout Chapter
110 | \start_of_appendix
111 | 修改记录
112 | \end_layout
113 |
114 | \begin_layout Itemize
115 | 1/26-2022
116 | \end_layout
117 |
118 | \begin_deeper
119 | \begin_layout Itemize
120 | 升级模版兼容 ustcthesis V3.3.01
121 | \end_layout
122 |
123 | \begin_layout Itemize
124 | 每章添加参考文献,单独编译章节的时可以显示参考文献列表,引用处也不是问号了。利用tex条件判断代码控制编译,解决与主文档参考文献冲突的问题。
125 | \end_layout
126 |
127 | \end_deeper
128 | \begin_layout Itemize
129 | 1/30-2019
130 | \end_layout
131 |
132 | \begin_deeper
133 | \begin_layout Itemize
134 | 升级模版兼容 ustcthesis V3.1.03
135 | \end_layout
136 |
137 | \end_deeper
138 | \begin_layout Itemize
139 | 10/20-2018
140 | \end_layout
141 |
142 | \begin_deeper
143 | \begin_layout Itemize
144 | 修改底层latex模版,使用ustcthesis模版。博士,硕士,学士模版通用了。
145 | \end_layout
146 |
147 | \begin_layout Itemize
148 | 添加了自定义超链接 InsetLayout,以后新的Layout例子可以参考这个例子扩展。
149 | \end_layout
150 |
151 | \end_deeper
152 | \begin_layout Itemize
153 | 3/11-2014
154 | \begin_inset Separator latexpar
155 | \end_inset
156 |
157 |
158 | \end_layout
159 |
160 | \begin_deeper
161 | \begin_layout Itemize
162 | 修改封面布局、细节
163 | \end_layout
164 |
165 | \begin_layout Itemize
166 | 解决标题需要两行书写的问题,但是书脊的标题需要单独在
167 | \backslash
168 | makebookspline中给出(最好用命令直接将标题中的回车删除,需要下一步改进)
169 | \end_layout
170 |
171 | \begin_layout Itemize
172 | 超链接显示为蓝色(打印仍然是黑色)
173 | \end_layout
174 |
175 | \begin_layout Itemize
176 | 添加一个设置的比较漂亮的listings例子
177 | \end_layout
178 |
179 | \end_deeper
180 | \begin_layout Itemize
181 | 12/28-2012 修正字体选项,出现字体问题时下载Adobefont 安装即可
182 | \end_layout
183 |
184 | \begin_layout Itemize
185 | 04/11-2012 修正最初版本的一些bug;去掉模板中冗余的些命令;整理使用技巧一章
186 | \end_layout
187 |
188 | \begin_layout Standard
189 | \begin_inset Separator plain
190 | \end_inset
191 |
192 |
193 | \end_layout
194 |
195 | \begin_layout Standard
196 | \begin_inset ERT
197 | status collapsed
198 |
199 | \begin_layout Plain Layout
200 |
201 |
202 | \backslash
203 | ifx
204 | \backslash
205 | myref
206 | \backslash
207 | undefined
208 | \end_layout
209 |
210 | \end_inset
211 |
212 |
213 | \begin_inset CommandInset bibtex
214 | LatexCommand bibtex
215 | btprint "btPrintCited"
216 | bibfiles "../Ref"
217 | options "../ustcthesis-numerical"
218 |
219 | \end_inset
220 |
221 |
222 | \begin_inset ERT
223 | status collapsed
224 |
225 | \begin_layout Plain Layout
226 |
227 |
228 | \backslash
229 | fi
230 | \end_layout
231 |
232 | \end_inset
233 |
234 |
235 | \end_layout
236 |
237 | \begin_layout Standard
238 | \begin_inset Newpage cleardoublepage
239 | \end_inset
240 |
241 |
242 | \end_layout
243 |
244 | \end_body
245 | \end_document
246 |
--------------------------------------------------------------------------------
/chapters/FrontMatter.lyx:
--------------------------------------------------------------------------------
1 | #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 | \lyxformat 544
3 | \begin_document
4 | \begin_header
5 | \save_transient_properties true
6 | \origin unavailable
7 | \textclass USTCthesis
8 | \begin_preamble
9 | %Created by jmcui
10 | %\graphicspath{{C:/Users/jmcui/Desktop/Lyxthesis/USTCthesis}}
11 | \end_preamble
12 | \options doctor
13 | \use_default_options false
14 | \master ../Main.lyx
15 | \maintain_unincluded_children false
16 | \begin_local_layout
17 | #####################Keywords
18 | InsetLayout Flex:eKeywords
19 | LyXType element
20 | LabelString " Keywords:"
21 | LatexType Command
22 | LatexName enkeywords
23 | Decoration Classic
24 | Font
25 | Series Bold
26 | EndFont
27 | LabelFont
28 | Shape Up
29 | Color blue
30 | EndFont
31 | End
32 |
33 | InsetLayout Flex:Keywords
34 | CopyStyle Flex:eKeywords
35 | LabelString " 关键词:"
36 | LatexType Command
37 | LatexName keywords
38 | End
39 |
40 | Style notationlist
41 | Category List
42 | Margin First_Dynamic
43 | LatexType Item_environment
44 | LatexName notationlist
45 | NextNoIndent 1
46 | LeftMargin MM
47 | LabelSep xxx
48 | ParSkip 0.4
49 | ItemSep 0.2
50 | TopSep 0.7
51 | BottomSep 0.7
52 | ParSep 0.3
53 | Align Block
54 | AlignPossible Block, Left
55 | LabelType Manual
56 | LabelFont
57 | Series Bold
58 | EndFont
59 | HTMLTag dl
60 | HTMLAttr class='description'
61 | HTMLItem dd
62 | HTMLLabel dt
63 | HTMLLabelFirst 1
64 | HTMLStyle
65 | dl.description dt { font-weight: bold; }
66 | EndHTMLStyle
67 | End
68 |
69 |
70 | Style 符号说明
71 | Margin Static
72 | LatexType Environment
73 | LatexName notation
74 | Category FrontMatter
75 | NextNoIndent 1
76 | ToggleIndent Always
77 | LeftMargin MMM
78 | RightMargin MMM
79 | ParIndent MM
80 | ItemSep 0
81 | TopSep 0.7
82 | BottomSep 0.7
83 | ParSep 0
84 | Align Block
85 | LabelType Centered
86 | LabelString "符号说明"
87 | LabelBottomSep 0.5
88 | Font
89 | Size Small
90 | EndFont
91 | LabelFont
92 | Series Bold
93 | Size Large
94 | EndFont
95 | HTMLLabelFirst 1
96 | HTMLForceCSS 1
97 | HTMLStyle
98 | div.abstract {
99 | margin: 4ex;
100 | }
101 | div.abstract_item {
102 | font-size: small;
103 | padding-top: 1ex;
104 | }
105 | div.abstract_label {
106 | font-weight: bold;
107 | }
108 | EndHTMLStyle
109 | End
110 |
111 |
112 | #######
113 | NoStyle Chapter
114 | NoStyle Chapter*
115 | NoStyle Section
116 | NoStyle Section*
117 | NoStyle Subsection
118 | NoStyle Subsection*
119 | NoStyle Subsubsection
120 | NoStyle Subsubsection*
121 | NoStyle Paragraph
122 | NoStyle Paragraph*
123 | NoStyle Subparagraph
124 | NoStyle Subparagraph*
125 | NoStyle Thanks
126 | NoStyle Bibliography
127 | NoStyle ChapterSpecial
128 | \end_local_layout
129 | \language chinese-simplified
130 | \language_package babel
131 | \inputencoding gbk
132 | \fontencoding global
133 | \font_roman "default" "default"
134 | \font_sans "default" "default"
135 | \font_typewriter "default" "default"
136 | \font_math "auto" "auto"
137 | \font_default_family default
138 | \use_non_tex_fonts true
139 | \font_sc false
140 | \font_osf false
141 | \font_sf_scale 100 100
142 | \font_tt_scale 100 100
143 | \font_cjk fs
144 | \use_microtype false
145 | \use_dash_ligatures true
146 | \graphics default
147 | \default_output_format pdf4
148 | \output_sync 0
149 | \bibtex_command default
150 | \index_command default
151 | \paperfontsize default
152 | \spacing single
153 | \use_hyperref false
154 | \pdf_bookmarks true
155 | \pdf_bookmarksnumbered false
156 | \pdf_bookmarksopen false
157 | \pdf_bookmarksopenlevel 1
158 | \pdf_breaklinks false
159 | \pdf_pdfborder false
160 | \pdf_colorlinks false
161 | \pdf_backref false
162 | \pdf_pdfusetitle false
163 | \papersize default
164 | \use_geometry false
165 | \use_package amsmath 0
166 | \use_package amssymb 0
167 | \use_package cancel 0
168 | \use_package esint 0
169 | \use_package mathdots 0
170 | \use_package mathtools 0
171 | \use_package mhchem 0
172 | \use_package stackrel 0
173 | \use_package stmaryrd 0
174 | \use_package undertilde 0
175 | \cite_engine basic
176 | \cite_engine_type default
177 | \biblio_style plain
178 | \use_bibtopic false
179 | \use_indices false
180 | \paperorientation portrait
181 | \suppress_date false
182 | \justification true
183 | \use_refstyle 0
184 | \use_minted 0
185 | \index 索引
186 | \shortcut idx
187 | \color #008000
188 | \end_index
189 | \secnumdepth 3
190 | \tocdepth 3
191 | \paragraph_separation indent
192 | \paragraph_indentation default
193 | \is_math_indent 0
194 | \math_numbering_side default
195 | \quotes_style english
196 | \dynamic_quotes 0
197 | \papercolumns 1
198 | \papersides 2
199 | \paperpagestyle default
200 | \tracking_changes false
201 | \output_changes false
202 | \html_math_output 0
203 | \html_css_as_file 0
204 | \html_be_strict false
205 | \end_header
206 |
207 | \begin_body
208 |
209 | \begin_layout FrontMatter
210 |
211 | \end_layout
212 |
213 | \begin_layout Standard
214 | \begin_inset Newpage cleardoublepage
215 | \end_inset
216 |
217 |
218 | \end_layout
219 |
220 | \begin_layout Abstract
221 | 摘要是论文内容的总结概括,应简要说明论文的研究目的、基本研究内容、 研究方法或 过程、结果和结论,突出论文的创新之处。摘要中不宜使用公式、图表,不引用文献。
222 | 博士论文中文摘要一般800~1000个汉字,硕士论文中文摘要一般600个汉字。英文摘要的 篇幅参照中文摘要。
223 | \end_layout
224 |
225 | \begin_layout Abstract
226 | 关键词另起一行并隔写在摘要下方,一般3~8个词,中文关键词间空一字或用分号“;”隔 开。英文摘要的关键词与中文摘要的关键词应完全一致,中间用逗号“,”或分号“;
227 | ”隔开。
228 | \end_layout
229 |
230 | \begin_layout Abstract
231 | \begin_inset Flex Keywords
232 | status open
233 |
234 | \begin_layout Plain Layout
235 | 中国科学技术大学;学位论文;\SpecialChar LyX
236 | 模板;
237 | \begin_inset ERT
238 | status open
239 |
240 | \begin_layout Plain Layout
241 |
242 |
243 | \backslash
244 | LaTeX{}
245 | \end_layout
246 |
247 | \end_inset
248 |
249 | 模版;博士;硕士;学士
250 | \end_layout
251 |
252 | \end_inset
253 |
254 |
255 | \end_layout
256 |
257 | \begin_layout Standard
258 | \begin_inset Newpage cleardoublepage
259 | \end_inset
260 |
261 |
262 | \end_layout
263 |
264 | \begin_layout EnglishAbstract
265 | This is a sample document of USTC thesis \SpecialChar LyX
266 | template for bachelor, master
267 | and doctor.
268 | The template is created by zepinglee and seisman, which orignate from the
269 | template created by ywg.
270 | The template meets the equirements of USTC theiss writing standards.
271 | \end_layout
272 |
273 | \begin_layout EnglishAbstract
274 | This document will show the usage of basic commands provided by
275 | \begin_inset ERT
276 | status open
277 |
278 | \begin_layout Plain Layout
279 |
280 |
281 | \backslash
282 | LaTeX{}
283 | \end_layout
284 |
285 | \end_inset
286 |
287 | and some features provided by the template.
288 | For more information, please refer to the template document ustcthesis.pdf..
289 | \end_layout
290 |
291 | \begin_layout EnglishAbstract
292 | \begin_inset Flex eKeywords
293 | status open
294 |
295 | \begin_layout Plain Layout
296 | USTC; Thesis; Bachelor; Master; PhD
297 | \end_layout
298 |
299 | \end_inset
300 |
301 |
302 | \end_layout
303 |
304 | \begin_layout Standard
305 | \begin_inset Newpage cleardoublepage
306 | \end_inset
307 |
308 |
309 | \end_layout
310 |
311 | \begin_layout Standard
312 | \begin_inset CommandInset toc
313 | LatexCommand tableofcontents
314 |
315 | \end_inset
316 |
317 |
318 | \end_layout
319 |
320 | \begin_layout Standard
321 | \begin_inset FloatList table
322 |
323 | \end_inset
324 |
325 |
326 | \end_layout
327 |
328 | \begin_layout Standard
329 | \begin_inset Note Note
330 | status open
331 |
332 | \begin_layout Plain Layout
333 | \begin_inset ERT
334 | status open
335 |
336 | \begin_layout Plain Layout
337 |
338 |
339 | \backslash
340 | addcontentsline{toc}{chapter}{表
341 | \backslash
342 | hspace{1em}格}%加入目录
343 | \end_layout
344 |
345 | \end_inset
346 |
347 |
348 | \end_layout
349 |
350 | \end_inset
351 |
352 |
353 | \end_layout
354 |
355 | \begin_layout Standard
356 | \begin_inset FloatList figure
357 |
358 | \end_inset
359 |
360 |
361 | \end_layout
362 |
363 | \begin_layout Standard
364 | \begin_inset Note Note
365 | status open
366 |
367 | \begin_layout Plain Layout
368 | \begin_inset ERT
369 | status open
370 |
371 | \begin_layout Plain Layout
372 |
373 |
374 | \backslash
375 | addcontentsline{toc}{chapter}{插
376 | \backslash
377 | hspace{1em}图}%加入目录
378 | \end_layout
379 |
380 | \end_inset
381 |
382 |
383 | \end_layout
384 |
385 | \end_inset
386 |
387 |
388 | \end_layout
389 |
390 | \begin_layout Standard
391 | \begin_inset Note Note
392 | status open
393 |
394 | \begin_layout Plain Layout
395 | \begin_inset FloatList algorithm
396 |
397 | \end_inset
398 |
399 |
400 | \end_layout
401 |
402 | \begin_layout Plain Layout
403 | \begin_inset ERT
404 | status open
405 |
406 | \begin_layout Plain Layout
407 |
408 |
409 | \backslash
410 | addcontentsline{toc}{chapter}{算
411 | \backslash
412 | hspace{1em}法}%加入目录
413 | \end_layout
414 |
415 | \end_inset
416 |
417 |
418 | \end_layout
419 |
420 | \end_inset
421 |
422 |
423 | \end_layout
424 |
425 | \begin_layout Standard
426 | \begin_inset Note Note
427 | status open
428 |
429 | \begin_layout Plain Layout
430 | 生成目录,表格,图像,算法列表
431 | \end_layout
432 |
433 | \end_inset
434 |
435 |
436 | \end_layout
437 |
438 | \begin_layout Standard
439 | \begin_inset Newpage cleardoublepage
440 | \end_inset
441 |
442 |
443 | \end_layout
444 |
445 | \begin_layout Standard
446 | \begin_inset Note Note
447 | status open
448 |
449 | \begin_layout Plain Layout
450 | 符号对照表
451 | \end_layout
452 |
453 | \begin_layout Plain Layout
454 | 这是一个扉页添加特殊页面的例子
455 | \end_layout
456 |
457 | \end_inset
458 |
459 |
460 | \end_layout
461 |
462 | \begin_layout Standard
463 | \begin_inset ERT
464 | status open
465 |
466 | \begin_layout Plain Layout
467 |
468 |
469 | \backslash
470 | chapter{符号说明}
471 | \end_layout
472 |
473 | \end_inset
474 |
475 |
476 | \end_layout
477 |
478 | \begin_layout Standard
479 | \begin_inset VSpace bigskip
480 | \end_inset
481 |
482 |
483 | \end_layout
484 |
485 | \begin_layout Standard
486 | \begin_inset Tabular
487 |
488 |
489 |
490 |
491 |
492 |
493 | \begin_inset Text
494 |
495 | \begin_layout Plain Layout
496 | HPC
497 | \end_layout
498 |
499 | \end_inset
500 | |
501 |
502 | \begin_inset Text
503 |
504 | \begin_layout Plain Layout
505 | 高性能计算 (High Performance Computing)
506 | \end_layout
507 |
508 | \end_inset
509 | |
510 |
511 |
512 |
513 | \begin_inset Text
514 |
515 | \begin_layout Plain Layout
516 | CLS
517 | \end_layout
518 |
519 | \end_inset
520 | |
521 |
522 | \begin_inset Text
523 |
524 | \begin_layout Plain Layout
525 | 集群
526 | \end_layout
527 |
528 | \end_inset
529 | |
530 |
531 |
532 |
533 | \begin_inset Text
534 |
535 | \begin_layout Plain Layout
536 | \begin_inset Formula $E$
537 | \end_inset
538 |
539 |
540 | \end_layout
541 |
542 | \end_inset
543 | |
544 |
545 | \begin_inset Text
546 |
547 | \begin_layout Plain Layout
548 | 能量
549 | \end_layout
550 |
551 | \end_inset
552 | |
553 |
554 |
555 |
556 | \begin_inset Text
557 |
558 | \begin_layout Plain Layout
559 | \begin_inset Formula $\ensuremath{{\displaystyle \sum_{i=1}^{n}a_{i}}}$
560 | \end_inset
561 |
562 |
563 | \end_layout
564 |
565 | \end_inset
566 | |
567 |
568 | \begin_inset Text
569 |
570 | \begin_layout Plain Layout
571 | The sum of
572 | \begin_inset Formula $a_{i}$
573 | \end_inset
574 |
575 |
576 | \end_layout
577 |
578 | \end_inset
579 | |
580 |
581 |
582 |
583 | \begin_inset Text
584 |
585 | \begin_layout Plain Layout
586 | \begin_inset Formula $\ensuremath{{\displaystyle m}}$
587 | \end_inset
588 |
589 |
590 | \end_layout
591 |
592 | \end_inset
593 | |
594 |
595 | \begin_inset Text
596 |
597 | \begin_layout Plain Layout
598 | The mass of one angel
599 | \end_layout
600 |
601 | \end_inset
602 | |
603 |
604 |
605 |
606 | \end_inset
607 |
608 |
609 | \end_layout
610 |
611 | \begin_layout Standard
612 | \begin_inset Newpage cleardoublepage
613 | \end_inset
614 |
615 |
616 | \end_layout
617 |
618 | \end_body
619 | \end_document
620 |
--------------------------------------------------------------------------------
/chapters/Introduction.lyx:
--------------------------------------------------------------------------------
1 | #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 | \lyxformat 544
3 | \begin_document
4 | \begin_header
5 | \save_transient_properties true
6 | \origin unavailable
7 | \textclass USTCthesis
8 | \begin_preamble
9 | %Created by jmcui
10 |
11 |
12 | \usepackage{xcolor}
13 | %\graphicspath{{figures/}}
14 | \usepackage{hyperref}
15 | \end_preamble
16 | \options doctor,twoside
17 | \use_default_options false
18 | \master ../Main.lyx
19 | \begin_modules
20 | theorems-ams
21 | algorithm2e
22 | \end_modules
23 | \maintain_unincluded_children false
24 | \begin_local_layout
25 | NoStyle Thanks
26 | NoStyle ChapterSpecial
27 | NoStyle Abstract
28 | NoStyle EnglishAbstract
29 | NoStyle Cover
30 | \end_local_layout
31 | \language chinese-simplified
32 | \language_package none
33 | \inputencoding gbk
34 | \fontencoding global
35 | \font_roman "default" "default"
36 | \font_sans "default" "default"
37 | \font_typewriter "default" "default"
38 | \font_math "auto" "auto"
39 | \font_default_family default
40 | \use_non_tex_fonts true
41 | \font_sc false
42 | \font_osf false
43 | \font_sf_scale 100 100
44 | \font_tt_scale 100 100
45 | \font_cjk fs
46 | \use_microtype false
47 | \use_dash_ligatures true
48 | \graphics default
49 | \default_output_format pdf4
50 | \output_sync 0
51 | \bibtex_command default
52 | \index_command default
53 | \paperfontsize default
54 | \spacing single
55 | \use_hyperref false
56 | \pdf_bookmarks false
57 | \pdf_bookmarksnumbered false
58 | \pdf_bookmarksopen false
59 | \pdf_bookmarksopenlevel 1
60 | \pdf_breaklinks false
61 | \pdf_pdfborder false
62 | \pdf_colorlinks false
63 | \pdf_backref false
64 | \pdf_pdfusetitle false
65 | \papersize default
66 | \use_geometry false
67 | \use_package amsmath 0
68 | \use_package amssymb 0
69 | \use_package cancel 0
70 | \use_package esint 0
71 | \use_package mathdots 0
72 | \use_package mathtools 0
73 | \use_package mhchem 0
74 | \use_package stackrel 0
75 | \use_package stmaryrd 0
76 | \use_package undertilde 0
77 | \cite_engine natbib
78 | \cite_engine_type numerical
79 | \biblio_style plainnat
80 | \biblio_options sort
81 | \use_bibtopic false
82 | \use_indices false
83 | \paperorientation portrait
84 | \suppress_date false
85 | \justification true
86 | \use_refstyle 0
87 | \use_minted 0
88 | \branch Chapter
89 | \selected 1
90 | \filename_suffix 0
91 | \color #55aa00
92 | \end_branch
93 | \index 索引
94 | \shortcut idx
95 | \color #008000
96 | \end_index
97 | \secnumdepth 3
98 | \tocdepth 3
99 | \paragraph_separation indent
100 | \paragraph_indentation default
101 | \is_math_indent 0
102 | \math_numbering_side default
103 | \quotes_style english
104 | \dynamic_quotes 0
105 | \papercolumns 1
106 | \papersides 2
107 | \paperpagestyle default
108 | \tracking_changes false
109 | \output_changes false
110 | \html_math_output 0
111 | \html_css_as_file 0
112 | \html_be_strict false
113 | \end_header
114 |
115 | \begin_body
116 |
117 | \begin_layout Chapter
118 | 本LyX模板介绍
119 | \end_layout
120 |
121 | \begin_layout Section
122 | 为何\SpecialChar LyX
123 |
124 | \end_layout
125 |
126 | \begin_layout Subsubsection*
127 | \SpecialChar LyX
128 | 优点:
129 | \end_layout
130 |
131 | \begin_layout Enumerate
132 | 可视化地编辑Tex
133 | \end_layout
134 |
135 | \begin_layout Enumerate
136 | 与latex一样,可以结构化包含文档。并且编辑器提供的目录、导航、标签等功能,可以快速方便地定位、显示内容。编撰比较大的工程,例如书籍类工程,
137 | 这个功能会很重要
138 | \end_layout
139 |
140 | \begin_layout Enumerate
141 | 存在与word类似的修订模式,方便多人编辑
142 | \end_layout
143 |
144 | \begin_layout Enumerate
145 | 方便的自动编译过程,只需要一次按键即可
146 | \end_layout
147 |
148 | \begin_layout Enumerate
149 | 内部许多文件转换器,支持较多的文件格式
150 | \end_layout
151 |
152 | \begin_layout Enumerate
153 | 与其他工具有很好的接口(Jabref, Inkscape,Zotero)
154 | \end_layout
155 |
156 | \begin_layout Standard
157 | .
158 | .
159 | .
160 | .
161 | .
162 |
163 | \end_layout
164 |
165 | \begin_layout Standard
166 | 主要前两点,引入latex优点的同时,克服直接编辑文本不友好、不直观问题,避免反复编译文档而浪费时间。因此可以极大提高撰写论文的效率。设计本论文模版的目的就是为
167 | 了方便广大USTCer攥写学位论文。
168 | \end_layout
169 |
170 | \begin_layout Standard
171 | 本LyX模版的底层就是ustcthesis模版,
172 | \begin_inset Flex href
173 | status open
174 |
175 | \begin_layout Plain Layout
176 | github链接
177 | \begin_inset Argument 1
178 | status open
179 |
180 | \begin_layout Plain Layout
181 | https://github.com/ustctug/ustcthesis
182 | \end_layout
183 |
184 | \end_inset
185 |
186 |
187 | \end_layout
188 |
189 | \end_inset
190 |
191 | 。感谢众多USTCer的努力,这个模版已经是研究生院认可的学位论文模版
192 | \begin_inset Flex href
193 | status open
194 |
195 | \begin_layout Plain Layout
196 | 学位论文模版
197 | \begin_inset Argument 1
198 | status collapsed
199 |
200 | \begin_layout Plain Layout
201 | https://gradschool.ustc.edu.cn/ylb/xw.html
202 | \end_layout
203 |
204 | \end_inset
205 |
206 |
207 | \end_layout
208 |
209 | \end_inset
210 |
211 | 。 本LyX模版主要在ustcthesis模版加了一个LyX层(USTCtheisis.layout文件)。
212 | \end_layout
213 |
214 | \begin_layout Standard
215 | 使用本模版很简单,直接在lyx中文件替换、添加您的内容。务必要参考一下第
216 | \begin_inset CommandInset ref
217 | LatexCommand ref
218 | reference "chap:使用技巧"
219 | plural "false"
220 | caps "false"
221 | noprefix "false"
222 |
223 | \end_inset
224 |
225 | 章。编辑论文时,很多格式可以直接从这一章中直接copy。
226 | \end_layout
227 |
228 | \begin_layout Section
229 | 如何 \SpecialChar LyX
230 |
231 | \end_layout
232 |
233 | \begin_layout Subsection
234 | 安装Texlive
235 | \end_layout
236 |
237 | \begin_layout Standard
238 | 请参考ustcthesis中的
239 | \begin_inset Flex href
240 | status open
241 |
242 | \begin_layout Plain Layout
243 | 新手指南
244 | \begin_inset Argument 1
245 | status open
246 |
247 | \begin_layout Plain Layout
248 | https://github.com/ustctug/ustcthesis/wiki/新手指南
249 | \end_layout
250 |
251 | \end_inset
252 |
253 |
254 | \end_layout
255 |
256 | \end_inset
257 |
258 |
259 | \end_layout
260 |
261 | \begin_layout Subsection
262 | 安装LyX
263 | \end_layout
264 |
265 | \begin_layout Standard
266 | Lyx版本需求:>= Lyx2.3
267 | \end_layout
268 |
269 | \begin_layout Standard
270 | 到Lyx官方网站下载最新的LyX版本。Texlive,安装时Lyx会自动识别tex目录,并进行配置。Lyx 官方网站:
271 | \begin_inset Flex URL
272 | status collapsed
273 |
274 | \begin_layout Plain Layout
275 |
276 | http://www.lyx.org/
277 | \end_layout
278 |
279 | \end_inset
280 |
281 |
282 | \end_layout
283 |
284 | \begin_layout Standard
285 | \begin_inset Box Boxed
286 | position "t"
287 | hor_pos "c"
288 | has_inner_box 1
289 | inner_pos "t"
290 | use_parbox 0
291 | use_makebox 0
292 | width "100col%"
293 | special "none"
294 | height "1in"
295 | height_special "totalheight"
296 | thickness "0.4pt"
297 | separation "3pt"
298 | shadowsize "4pt"
299 | framecolor "black"
300 | backgroundcolor "none"
301 | status open
302 |
303 | \begin_layout Plain Layout
304 | USTCer 推荐校内在线安装, 注意选择 “Change default repository”,并且选择中国科大的 mirror:
305 | \end_layout
306 |
307 | \begin_layout Itemize
308 | Windows系统: http://mirrors.ustc.edu.cn/CTAN/systems/texlive/tlnet/install-tl-windows.
309 | exe
310 | \end_layout
311 |
312 | \begin_layout Itemize
313 | 其他系统: http://mirrors.ustc.edu.cn/CTAN/systems/texlive/tlnet/install-tl-unx.tar.gz
314 |
315 | \end_layout
316 |
317 | \end_inset
318 |
319 |
320 | \end_layout
321 |
322 | \begin_layout Subsection
323 | 下载模版
324 | \end_layout
325 |
326 | \begin_layout Standard
327 | 本模版使用了ustcthesis项目,作为一个git子模块。克隆或者下载时,注意确认ustcthesis中所有文件都已下载,并保持文件夹名和相对路径。
328 |
329 | \end_layout
330 |
331 | \begin_layout Standard
332 | 可以使用git clone --recursive,将所有文件都下载下来:
333 | \end_layout
334 |
335 | \begin_layout Standard
336 | \begin_inset listings
337 | lstparams "numbers=left,numberstyle={\tiny},stepnumber=1,basicstyle={\footnotesize},breaklines=true,showstringspaces=false,tabsize=4,frame=shadowbox,commentstyle={\color{red!50!green!50!blue!50}},rulesepcolor={\color{red!20!green!20!blue!20}},keywordstyle={\color{blue!90}\bfseries},stringstyle={\ttfamily},keepspaces=true,breakindent=22pt,flexiblecolumns=true,breakautoindent=true,breakindent=4em,texcl=true,aboveskip=1em"
338 | inline false
339 | status open
340 |
341 | \begin_layout Plain Layout
342 |
343 | git clone --recursive https://github.com/jmcui/USTC-Lyx.git
344 | \end_layout
345 |
346 | \end_inset
347 |
348 |
349 | \end_layout
350 |
351 | \begin_layout Standard
352 | 或者从科大Lug服务器上git下来
353 | \end_layout
354 |
355 | \begin_layout Standard
356 | \begin_inset listings
357 | lstparams "numbers=left,numberstyle={\tiny},stepnumber=1,basicstyle={\footnotesize},breaklines=true,showstringspaces=false,tabsize=4,frame=shadowbox,commentstyle={\color{red!50!green!50!blue!50}},rulesepcolor={\color{red!20!green!20!blue!20}},keywordstyle={\color{blue!90}\bfseries},stringstyle={\ttfamily},keepspaces=true,breakindent=22pt,flexiblecolumns=true,breakautoindent=true,breakindent=4em,texcl=true,aboveskip=1em"
358 | inline false
359 | status open
360 |
361 | \begin_layout Plain Layout
362 |
363 | git clone --recursive https://git.lug.ustc.edu.cn/jmcui/ustclyx.git
364 | \end_layout
365 |
366 | \end_inset
367 |
368 |
369 | \end_layout
370 |
371 | \begin_layout Subsection
372 | 使用
373 | \end_layout
374 |
375 | \begin_layout Itemize
376 | 选择学位论文类型: 打开Main.lyx文档,菜单 文档\SpecialChar menuseparator
377 | 首选项\SpecialChar menuseparator
378 | 文档类\SpecialChar menuseparator
379 | 文档类选项。填写文档类选项,默认为doctor。
380 | \end_layout
381 |
382 | \begin_deeper
383 | \begin_layout Description
384 | doctor 博士模版
385 | \end_layout
386 |
387 | \begin_layout Description
388 | master 硕士模版
389 | \end_layout
390 |
391 | \begin_layout Description
392 | bachelor 学士模版
393 | \end_layout
394 |
395 | \end_deeper
396 | \begin_layout Itemize
397 | Main.lyx文档中点击[查看]图标,可获得整篇Thesis的pdf;在子章节文件中,点击[查看]图标,获得单独章节的pdf。
398 | \end_layout
399 |
400 | \begin_layout Itemize
401 | 创建新章节文件,请拷贝 Introduction.lyx, 然后重命名。
402 | \end_layout
403 |
404 | \begin_deeper
405 | \begin_layout Standard
406 | \begin_inset Box Boxed
407 | position "t"
408 | hor_pos "c"
409 | has_inner_box 1
410 | inner_pos "t"
411 | use_parbox 0
412 | use_makebox 0
413 | width "100col%"
414 | special "none"
415 | height "1in"
416 | height_special "totalheight"
417 | thickness "0.4pt"
418 | separation "3pt"
419 | shadowsize "4pt"
420 | framecolor "black"
421 | backgroundcolor "none"
422 | status open
423 |
424 | \begin_layout Plain Layout
425 | 如果直接新建文档,需要按照Introduction.lyx的文档属性重新设置,而采用拷贝重命名的方法可以避免这个问题。
426 | \end_layout
427 |
428 | \end_inset
429 |
430 |
431 | \end_layout
432 |
433 | \end_deeper
434 | \begin_layout Itemize
435 | 更具体的介绍、使用技巧,见模板中Introduction.lyx 和 skill.lyx
436 | \end_layout
437 |
438 | \begin_layout Section
439 | 模板选项
440 | \end_layout
441 |
442 | \begin_layout Standard
443 | 本Lyx模版的latex使用ustcthesis模版。本模版主要在ustcthesis模版上加了一个Lyx layout层 (USTCtheisis.layout
444 | 文件),在此基础上定义了一些常用的命令,以方便编辑文档。
445 | \end_layout
446 |
447 | \begin_layout Standard
448 | ustcthesis中模版选项:
449 | \end_layout
450 |
451 | \begin_layout Standard
452 | \begin_inset listings
453 | lstparams "numbers=left,numberstyle={\tiny},stepnumber=1,basicstyle={\footnotesize},breaklines=true,showstringspaces=false,tabsize=4,frame=shadowbox,commentstyle={\color{red!50!green!50!blue!50}},rulesepcolor={\color{red!20!green!20!blue!20}},keywordstyle={\color{blue!90}\bfseries},stringstyle={\ttfamily},keepspaces=true,breakindent=22pt,flexiblecolumns=true,breakautoindent=true,breakindent=4em,texcl=true,aboveskip=1em"
454 | inline false
455 | status open
456 |
457 | \begin_layout Plain Layout
458 |
459 | % 学位论文类选项
460 | \end_layout
461 |
462 | \begin_layout Plain Layout
463 |
464 | doctor|master|bachelor [academic|professional] [chinese|english] [print|pdf]
465 | \end_layout
466 |
467 | \begin_layout Plain Layout
468 |
469 | \end_layout
470 |
471 | \begin_layout Plain Layout
472 |
473 | % 参考文献选项
474 | \end_layout
475 |
476 | \begin_layout Plain Layout
477 |
478 | [super|numebers|authoryear]
479 | \end_layout
480 |
481 | \end_inset
482 |
483 |
484 | \end_layout
485 |
486 | \begin_layout Standard
487 | 详细请参考ustcthesis模版选项.
488 | \end_layout
489 |
490 | \begin_layout Standard
491 | \begin_inset Flex href
492 | status open
493 |
494 | \begin_layout Plain Layout
495 | ustcthesis模版on github
496 | \begin_inset Argument 1
497 | status open
498 |
499 | \begin_layout Plain Layout
500 | https://github.com/ustctug/ustcthesis
501 | \end_layout
502 |
503 | \end_inset
504 |
505 |
506 | \end_layout
507 |
508 | \end_inset
509 |
510 |
511 | \end_layout
512 |
513 | \begin_layout Standard
514 | \begin_inset Flex href
515 | status open
516 |
517 | \begin_layout Plain Layout
518 | ustcthesis模版 on ustc lug
519 | \begin_inset Argument 1
520 | status open
521 |
522 | \begin_layout Plain Layout
523 | https://git.lug.ustc.edu.cn/ustctug/ustcthesis
524 | \end_layout
525 |
526 | \end_inset
527 |
528 |
529 | \end_layout
530 |
531 | \end_inset
532 |
533 |
534 | \end_layout
535 |
536 | \begin_layout Standard
537 | \begin_inset ERT
538 | status collapsed
539 |
540 | \begin_layout Plain Layout
541 |
542 |
543 | \backslash
544 | ifx
545 | \backslash
546 | myref
547 | \backslash
548 | undefined
549 | \end_layout
550 |
551 | \end_inset
552 |
553 |
554 | \begin_inset CommandInset bibtex
555 | LatexCommand bibtex
556 | btprint "btPrintCited"
557 | bibfiles "../Ref"
558 | options "../ustcthesis-numerical"
559 |
560 | \end_inset
561 |
562 |
563 | \begin_inset ERT
564 | status collapsed
565 |
566 | \begin_layout Plain Layout
567 |
568 |
569 | \backslash
570 | fi
571 | \end_layout
572 |
573 | \end_inset
574 |
575 |
576 | \end_layout
577 |
578 | \begin_layout Standard
579 | \begin_inset Newpage cleardoublepage
580 | \end_inset
581 |
582 |
583 | \end_layout
584 |
585 | \end_body
586 | \end_document
587 |
--------------------------------------------------------------------------------
/chapters/Publication.lyx:
--------------------------------------------------------------------------------
1 | #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 | \lyxformat 544
3 | \begin_document
4 | \begin_header
5 | \save_transient_properties true
6 | \origin unavailable
7 | \textclass USTCthesis
8 | \begin_preamble
9 | %Created by jmcui
10 |
11 | \usepackage{bibentry}
12 | \usepackage{hyperref}
13 | %\graphicspath{{figures/}}
14 | \end_preamble
15 | \options doctor,twoside
16 | \use_default_options false
17 | \master ../Main.lyx
18 | \maintain_unincluded_children false
19 | \begin_local_layout
20 | NoStyle Chapter
21 | NoStyle Chapter*
22 | NoStyle Thanks
23 | NoStyle Abstract
24 | NoStyle EnglishAbstract
25 | \end_local_layout
26 | \language chinese-simplified
27 | \language_package babel
28 | \inputencoding gbk
29 | \fontencoding global
30 | \font_roman "default" "default"
31 | \font_sans "default" "default"
32 | \font_typewriter "default" "default"
33 | \font_math "auto" "auto"
34 | \font_default_family default
35 | \use_non_tex_fonts true
36 | \font_sc false
37 | \font_osf false
38 | \font_sf_scale 100 100
39 | \font_tt_scale 100 100
40 | \font_cjk fs
41 | \use_microtype false
42 | \use_dash_ligatures true
43 | \graphics default
44 | \default_output_format pdf4
45 | \output_sync 0
46 | \bibtex_command default
47 | \index_command default
48 | \paperfontsize default
49 | \spacing single
50 | \use_hyperref false
51 | \pdf_bookmarks true
52 | \pdf_bookmarksnumbered false
53 | \pdf_bookmarksopen false
54 | \pdf_bookmarksopenlevel 1
55 | \pdf_breaklinks false
56 | \pdf_pdfborder false
57 | \pdf_colorlinks false
58 | \pdf_backref false
59 | \pdf_pdfusetitle false
60 | \papersize default
61 | \use_geometry false
62 | \use_package amsmath 0
63 | \use_package amssymb 0
64 | \use_package cancel 0
65 | \use_package esint 0
66 | \use_package mathdots 0
67 | \use_package mathtools 0
68 | \use_package mhchem 0
69 | \use_package stackrel 0
70 | \use_package stmaryrd 0
71 | \use_package undertilde 0
72 | \cite_engine natbib
73 | \cite_engine_type numerical
74 | \biblio_style plainnat
75 | \biblio_options sort
76 | \use_bibtopic false
77 | \use_indices false
78 | \paperorientation portrait
79 | \suppress_date false
80 | \justification true
81 | \use_refstyle 0
82 | \use_minted 0
83 | \index 索引
84 | \shortcut idx
85 | \color #008000
86 | \end_index
87 | \secnumdepth 3
88 | \tocdepth 3
89 | \paragraph_separation indent
90 | \paragraph_indentation default
91 | \is_math_indent 0
92 | \math_numbering_side default
93 | \quotes_style english
94 | \dynamic_quotes 0
95 | \papercolumns 1
96 | \papersides 2
97 | \paperpagestyle default
98 | \tracking_changes false
99 | \output_changes false
100 | \html_math_output 0
101 | \html_css_as_file 0
102 | \html_be_strict false
103 | \end_header
104 |
105 | \begin_body
106 |
107 | \begin_layout ChapterSpecial
108 | 在读期间发表的学术论文与取得的研究成果
109 | \end_layout
110 |
111 | \begin_layout Standard
112 | \noindent
113 |
114 | \series bold
115 | 研究工作:
116 | \end_layout
117 |
118 | \begin_layout Enumerate
119 | work
120 | \end_layout
121 |
122 | \begin_layout Enumerate
123 | work hard
124 | \end_layout
125 |
126 | \begin_layout Enumerate
127 | work hell
128 | \end_layout
129 |
130 | \begin_layout Standard
131 | \noindent
132 |
133 | \series bold
134 | 已发表论文:
135 | \end_layout
136 |
137 | \begin_layout Standard
138 | \begin_inset ERT
139 | status open
140 |
141 | \begin_layout Plain Layout
142 |
143 |
144 | \backslash
145 | nobibliography*
146 | \end_layout
147 |
148 | \end_inset
149 |
150 |
151 | \begin_inset Note Note
152 | status open
153 |
154 | \begin_layout Plain Layout
155 | 使用bibentry包, 直接导入文献
156 | \end_layout
157 |
158 | \end_inset
159 |
160 |
161 | \end_layout
162 |
163 | \begin_layout Enumerate
164 | \begin_inset ERT
165 | status open
166 |
167 | \begin_layout Plain Layout
168 |
169 |
170 | \backslash
171 | bibentry{faraon2010resonant}
172 | \end_layout
173 |
174 | \end_inset
175 |
176 |
177 | \end_layout
178 |
179 | \begin_layout Enumerate
180 | \begin_inset ERT
181 | status open
182 |
183 | \begin_layout Plain Layout
184 |
185 |
186 | \backslash
187 | bibentry{fu2008coupling}
188 | \end_layout
189 |
190 | \end_inset
191 |
192 |
193 | \end_layout
194 |
195 | \begin_layout Standard
196 | \begin_inset Separator plain
197 | \end_inset
198 |
199 |
200 | \end_layout
201 |
202 | \begin_layout Standard
203 | \begin_inset ERT
204 | status collapsed
205 |
206 | \begin_layout Plain Layout
207 |
208 |
209 | \backslash
210 | ifx
211 | \backslash
212 | myref
213 | \backslash
214 | undefined
215 | \end_layout
216 |
217 | \end_inset
218 |
219 |
220 | \begin_inset CommandInset bibtex
221 | LatexCommand bibtex
222 | btprint "btPrintCited"
223 | bibfiles "../Ref"
224 | options "../ustcthesis-numerical"
225 |
226 | \end_inset
227 |
228 |
229 | \begin_inset ERT
230 | status collapsed
231 |
232 | \begin_layout Plain Layout
233 |
234 |
235 | \backslash
236 | fi
237 | \end_layout
238 |
239 | \end_inset
240 |
241 |
242 | \end_layout
243 |
244 | \begin_layout Standard
245 | \begin_inset Newpage cleardoublepage
246 | \end_inset
247 |
248 |
249 | \end_layout
250 |
251 | \end_body
252 | \end_document
253 |
--------------------------------------------------------------------------------
/chapters/Skills.lyx:
--------------------------------------------------------------------------------
1 | #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 | \lyxformat 544
3 | \begin_document
4 | \begin_header
5 | \save_transient_properties true
6 | \origin unavailable
7 | \textclass USTCthesis
8 | \begin_preamble
9 | %Created by jmcui
10 |
11 | \usepackage{xcolor}
12 | %\graphicspath{{figures/}}
13 |
14 | \usepackage{hyperref}
15 | \end_preamble
16 | \options degree=doctor
17 | \use_default_options false
18 | \master ../Main.lyx
19 | \begin_modules
20 | theorems-ams
21 | algorithm2e
22 | \end_modules
23 | \maintain_unincluded_children false
24 | \begin_local_layout
25 | NoStyle Thanks
26 | NoStyle ChapterSpecial
27 | NoStyle Abstract
28 | NoStyle EnglishAbstract
29 | \end_local_layout
30 | \language chinese-simplified
31 | \language_package babel
32 | \inputencoding gbk
33 | \fontencoding global
34 | \font_roman "default" "default"
35 | \font_sans "default" "default"
36 | \font_typewriter "default" "default"
37 | \font_math "auto" "auto"
38 | \font_default_family default
39 | \use_non_tex_fonts true
40 | \font_sc false
41 | \font_osf false
42 | \font_sf_scale 100 100
43 | \font_tt_scale 100 100
44 | \font_cjk fs
45 | \use_microtype false
46 | \use_dash_ligatures true
47 | \graphics default
48 | \default_output_format pdf4
49 | \output_sync 0
50 | \bibtex_command default
51 | \index_command default
52 | \paperfontsize default
53 | \spacing single
54 | \use_hyperref false
55 | \pdf_bookmarks true
56 | \pdf_bookmarksnumbered false
57 | \pdf_bookmarksopen false
58 | \pdf_bookmarksopenlevel 1
59 | \pdf_breaklinks false
60 | \pdf_pdfborder false
61 | \pdf_colorlinks false
62 | \pdf_backref false
63 | \pdf_pdfusetitle false
64 | \papersize default
65 | \use_geometry false
66 | \use_package amsmath 0
67 | \use_package amssymb 0
68 | \use_package cancel 0
69 | \use_package esint 0
70 | \use_package mathdots 0
71 | \use_package mathtools 0
72 | \use_package mhchem 0
73 | \use_package stackrel 0
74 | \use_package stmaryrd 0
75 | \use_package undertilde 0
76 | \cite_engine natbib
77 | \cite_engine_type numerical
78 | \biblio_style plainnat
79 | \biblio_options sort
80 | \use_bibtopic false
81 | \use_indices false
82 | \paperorientation portrait
83 | \suppress_date false
84 | \justification true
85 | \use_refstyle 0
86 | \use_minted 0
87 | \index 索引
88 | \shortcut idx
89 | \color #008000
90 | \end_index
91 | \secnumdepth 3
92 | \tocdepth 3
93 | \paragraph_separation indent
94 | \paragraph_indentation default
95 | \is_math_indent 0
96 | \math_numbering_side default
97 | \quotes_style english
98 | \dynamic_quotes 0
99 | \papercolumns 1
100 | \papersides 2
101 | \paperpagestyle default
102 | \tracking_changes false
103 | \output_changes false
104 | \html_math_output 0
105 | \html_css_as_file 0
106 | \html_be_strict false
107 | \end_header
108 |
109 | \begin_body
110 |
111 | \begin_layout Chapter
112 | 使用技巧和格式模板
113 | \begin_inset CommandInset label
114 | LatexCommand label
115 | name "chap:使用技巧"
116 |
117 | \end_inset
118 |
119 |
120 | \end_layout
121 |
122 | \begin_layout Standard
123 | \align center
124 | 建议你阅读完本章,尤其是\SpecialChar LyX
125 | 的新用户
126 | \end_layout
127 |
128 | \begin_layout Standard
129 | \align center
130 | Tips: 本章的格式范例,可直接copy用于您的文档。
131 | \end_layout
132 |
133 | \begin_layout Section
134 | 目录和导航
135 | \end_layout
136 |
137 | \begin_layout Standard
138 | 借助目录导航,可以在章节和对象之间迅速切换,方便定位、寻找、编辑内容。在导航菜单中可以看到文档的目录结构。也可以在大纲边栏中显示目录结构、公式引用、图片列表等。
139 | 使用本模版时,建议打开大纲边栏工具栏,在Lyx菜单中: 视图\SpecialChar menuseparator
140 | 大纲边栏。
141 | \end_layout
142 |
143 | \begin_layout Section
144 | 新建\SpecialChar LyX
145 | 文件
146 | \begin_inset CommandInset label
147 | LatexCommand label
148 | name "sec:新建Lyx文件"
149 |
150 | \end_inset
151 |
152 |
153 | \end_layout
154 |
155 | \begin_layout Standard
156 | 如果你需要新建一章,这一章以单独文件存在(我们称为章节文件),建议你这么做,省去设置文档的麻烦:
157 | \end_layout
158 |
159 | \begin_layout Enumerate
160 | 复制论文模板的第一章,并将其重命名为你需要的名字。
161 | \end_layout
162 |
163 | \begin_layout Enumerate
164 | 在主文档(Main.lyx)正文处include你刚才重命名的文件。插入的位置由你需要编排的章节顺序而定,新章节编辑修改这个文件即可。
165 | \end_layout
166 |
167 | \begin_layout Standard
168 | 与Tex类似,\SpecialChar LyX
169 | 可以将一个大文件分割成几个小文件,然后通过include的方法整合到一块编译。具体操作:插入\SpecialChar menuseparator
170 | 文件\SpecialChar menuseparator
171 | 子文档。使用包含命令的文件为主文档,被包含的文件为
172 | 子文档,子文档是.lyx也可以包含tex文件。
173 | \end_layout
174 |
175 | \begin_layout Standard
176 | 如果你已经有tex文件,没必要将它转换为lyx,可以只保留
177 | \backslash
178 | begin{document}和
179 | \backslash
180 | end{document}之间的文档内容,然后将之包进主文档 (如果导言区有自定义命令,将它复制到主文档的导言区)。
181 | \end_layout
182 |
183 | \begin_layout Standard
184 | 如果include文件是.lyx文件,可以在文档\SpecialChar menuseparator
185 | 首选项\SpecialChar menuseparator
186 | 文档类 中设置主文档。设置主文档优点是子文档的导航是按主文档中的所有章节进行导航,而不是按照子文档中本章节进
187 | 行导航。使用导航功能便于在文件和章节中切换。由于模板中子文档都已经设置为Main.lyx为主文档,所以通过复制的方法新建章节文件时,选项就不需要设置了。
188 | \end_layout
189 |
190 | \begin_layout Standard
191 | 使用章节文件的优势是你在这个章节文件里直接编译查看,此时编译就只对本章进行,可以节省大量的编译时间。而编译整篇论文只需要在Main文档中编译查看即可。
192 | \end_layout
193 |
194 | \begin_layout Section
195 | 使用Lyx帮助文档
196 | \end_layout
197 |
198 | \begin_layout Standard
199 | \SpecialChar LyX
200 | 的帮助文档比较全面,新用户可以几分钟看一下入门教程,上手是非常快的。更详细问题可以用户手册里查看。
201 | \end_layout
202 |
203 | \begin_layout Section
204 | 插图浮动项
205 | \end_layout
206 |
207 | \begin_layout Standard
208 | \begin_inset Box Boxed
209 | position "t"
210 | hor_pos "c"
211 | has_inner_box 1
212 | inner_pos "t"
213 | use_parbox 0
214 | use_makebox 0
215 | width "100col%"
216 | special "none"
217 | height "1in"
218 | height_special "totalheight"
219 | thickness "0.4pt"
220 | separation "3pt"
221 | shadowsize "4pt"
222 | framecolor "black"
223 | backgroundcolor "none"
224 | status open
225 |
226 | \begin_layout Plain Layout
227 |
228 | \series bold
229 | 注意:
230 | \series default
231 | 图片文件的路径要取相对路径,以备整个文件夹移动后,仍然可以找到图片文件
232 | \end_layout
233 |
234 | \end_inset
235 |
236 |
237 | \end_layout
238 |
239 | \begin_layout Standard
240 | 论文中的插图和表格以浮动对象的方式实现,这样可以能放到图片列表中。插入浮动图片(表格),然后在框架里面插入图片(表格),最后完善caption。在浮动框架里面还
241 | 可以再次插入浮动图片(表格),以实现子图(表)功能。
242 | \end_layout
243 |
244 | \begin_layout Standard
245 | \begin_inset Float figure
246 | wide false
247 | sideways false
248 | status open
249 |
250 | \begin_layout Plain Layout
251 | \begin_inset ERT
252 | status open
253 |
254 | \begin_layout Plain Layout
255 |
256 |
257 | \backslash
258 | centering
259 | \end_layout
260 |
261 | \end_inset
262 |
263 |
264 | \end_layout
265 |
266 | \begin_layout Plain Layout
267 | \begin_inset Float figure
268 | wide false
269 | sideways false
270 | status open
271 |
272 | \begin_layout Plain Layout
273 | \begin_inset Graphics
274 | filename ../figures/ustc-badge.pdf
275 | lyxscale 20
276 | width 5cm
277 |
278 | \end_inset
279 |
280 |
281 | \begin_inset Caption Standard
282 |
283 | \begin_layout Plain Layout
284 | USTC Logo
285 | \end_layout
286 |
287 | \end_inset
288 |
289 |
290 | \end_layout
291 |
292 | \end_inset
293 |
294 |
295 | \begin_inset Float figure
296 | wide false
297 | sideways false
298 | status open
299 |
300 | \begin_layout Plain Layout
301 | \begin_inset Graphics
302 | filename ../figures/ustc-name.pdf
303 | lyxscale 30
304 | width 4cm
305 |
306 | \end_inset
307 |
308 |
309 | \begin_inset Caption Standard
310 |
311 | \begin_layout Plain Layout
312 | USTC Name
313 | \end_layout
314 |
315 | \end_inset
316 |
317 |
318 | \end_layout
319 |
320 | \end_inset
321 |
322 |
323 | \begin_inset Caption Standard
324 |
325 | \begin_layout Plain Layout
326 | \begin_inset CommandInset label
327 | LatexCommand label
328 | name "fig:USTC-Elements"
329 |
330 | \end_inset
331 |
332 | USTC Elements
333 | \end_layout
334 |
335 | \end_inset
336 |
337 |
338 | \end_layout
339 |
340 | \end_inset
341 |
342 |
343 | \end_layout
344 |
345 | \begin_layout Standard
346 | 有的同学可能听说“
347 | \begin_inset ERT
348 | status collapsed
349 |
350 | \begin_layout Plain Layout
351 |
352 |
353 | \backslash
354 | LaTeX{}
355 | \end_layout
356 |
357 | \end_inset
358 |
359 | 只能使用 eps 格式的图片”,甚至把 jpg 格式转为 eps。 事实上,这种做法已经过时。 而且每次编译时都要要调用外部工具解析 eps,导致降低编译速度
360 | 。 所以我们推荐矢量图直接使用 pdf , svg,位图使用 jpeg 或 png 格式。如果系统上安装了inkscape,可以右键点击图,使用外部编辑器编辑s
361 | vg图片。
362 | \end_layout
363 |
364 | \begin_layout Section
365 | 表格浮动项
366 | \end_layout
367 |
368 | \begin_layout Standard
369 | \begin_inset Float table
370 | wide false
371 | sideways false
372 | status open
373 |
374 | \begin_layout Plain Layout
375 | \align center
376 | \begin_inset Caption Standard
377 |
378 | \begin_layout Plain Layout
379 | \begin_inset CommandInset label
380 | LatexCommand label
381 | name "tab:atoms"
382 |
383 | \end_inset
384 |
385 | 三线表。表号和表题在表的正上方。
386 | \end_layout
387 |
388 | \end_inset
389 |
390 |
391 | \begin_inset Tabular
392 |
393 |
394 |
395 |
396 |
397 |
398 |
399 |
400 | \begin_inset Text
401 |
402 | \begin_layout Plain Layout
403 |
404 | \end_layout
405 |
406 | \end_inset
407 | |
408 |
409 | \begin_inset Text
410 |
411 | \begin_layout Plain Layout
412 | \begin_inset Formula $r_{c}$
413 | \end_inset
414 |
415 | (
416 | \begin_inset Formula $\mathring{A}$
417 | \end_inset
418 |
419 | )
420 | \end_layout
421 |
422 | \end_inset
423 | |
424 |
425 | \begin_inset Text
426 |
427 | \begin_layout Plain Layout
428 | \begin_inset Formula $r_{0}$
429 | \end_inset
430 |
431 | (
432 | \begin_inset Formula $\mathring{A}$
433 | \end_inset
434 |
435 | )
436 | \end_layout
437 |
438 | \end_inset
439 | |
440 |
441 | \begin_inset Text
442 |
443 | \begin_layout Plain Layout
444 | \begin_inset Formula $\kappa r_{0}$
445 | \end_inset
446 |
447 |
448 | \end_layout
449 |
450 | \end_inset
451 | |
452 |
453 |
454 |
455 | \begin_inset Text
456 |
457 | \begin_layout Plain Layout
458 | Cu
459 | \end_layout
460 |
461 | \end_inset
462 | |
463 |
464 | \begin_inset Text
465 |
466 | \begin_layout Plain Layout
467 | 0.800
468 | \end_layout
469 |
470 | \end_inset
471 | |
472 |
473 | \begin_inset Text
474 |
475 | \begin_layout Plain Layout
476 | 14.10
477 | \end_layout
478 |
479 | \end_inset
480 | |
481 |
482 | \begin_inset Text
483 |
484 | \begin_layout Plain Layout
485 | 2.550
486 | \end_layout
487 |
488 | \end_inset
489 | |
490 |
491 |
492 |
493 | \begin_inset Text
494 |
495 | \begin_layout Plain Layout
496 | Ag
497 | \end_layout
498 |
499 | \end_inset
500 | |
501 |
502 | \begin_inset Text
503 |
504 | \begin_layout Plain Layout
505 | 0.990
506 | \end_layout
507 |
508 | \end_inset
509 | |
510 |
511 | \begin_inset Text
512 |
513 | \begin_layout Plain Layout
514 | 15.90
515 | \end_layout
516 |
517 | \end_inset
518 | |
519 |
520 | \begin_inset Text
521 |
522 | \begin_layout Plain Layout
523 | 2.710
524 | \end_layout
525 |
526 | \end_inset
527 | |
528 |
529 |
530 |
531 | \begin_inset Text
532 |
533 | \begin_layout Plain Layout
534 | Au
535 | \end_layout
536 |
537 | \end_inset
538 | |
539 |
540 | \begin_inset Text
541 |
542 | \begin_layout Plain Layout
543 | 1.150
544 | \end_layout
545 |
546 | \end_inset
547 | |
548 |
549 | \begin_inset Text
550 |
551 | \begin_layout Plain Layout
552 | 15.90
553 | \end_layout
554 |
555 | \end_inset
556 | |
557 |
558 | \begin_inset Text
559 |
560 | \begin_layout Plain Layout
561 | 2.710
562 | \end_layout
563 |
564 | \end_inset
565 | |
566 |
567 |
568 |
569 | \begin_inset Text
570 |
571 | \begin_layout Plain Layout
572 | Mg
573 | \end_layout
574 |
575 | \end_inset
576 | |
577 |
578 | \begin_inset Text
579 |
580 | \begin_layout Plain Layout
581 | 0.490
582 | \end_layout
583 |
584 | \end_inset
585 | |
586 |
587 | \begin_inset Text
588 |
589 | \begin_layout Plain Layout
590 | 17.60
591 | \end_layout
592 |
593 | \end_inset
594 | |
595 |
596 | \begin_inset Text
597 |
598 | \begin_layout Plain Layout
599 | 3.200
600 | \end_layout
601 |
602 | \end_inset
603 | |
604 |
605 |
606 |
607 | \end_inset
608 |
609 |
610 | \end_layout
611 |
612 | \end_inset
613 |
614 |
615 | \end_layout
616 |
617 | \begin_layout Standard
618 | 编制表格应简单明了,表达一致,明晰易懂,表文呼应、内容一致。 排版时表格字号略小,或变换字体,尽量不分页,尽量不跨节。 表格太大需要转页是,需要在续表上方注明“
619 | 续表”,表头页应重复排出。
620 | \end_layout
621 |
622 | \begin_layout Standard
623 | 表格的具体格式可以通过鼠标右键调出表格首选项里设置。增加表格列或行,点击表格后,在表格工具栏里点击对应图标设置。
624 | \end_layout
625 |
626 | \begin_layout Section
627 | 算法浮动项
628 | \end_layout
629 |
630 | \begin_layout Standard
631 | 模板中使用
632 | \backslash
633 | pkg{algorithm2e} 宏包实现算法环境。关于该宏包的具体用法, 请阅读宏包的官方文档。
634 | \end_layout
635 |
636 | \begin_layout Standard
637 | \begin_inset Float algorithm
638 | placement htb
639 | wide false
640 | sideways false
641 | status open
642 |
643 | \begin_layout Plain Layout
644 |
645 | \size small
646 | \begin_inset ERT
647 | status open
648 |
649 | \begin_layout Plain Layout
650 |
651 |
652 | \backslash
653 | SetAlgoLined
654 | \end_layout
655 |
656 | \begin_layout Plain Layout
657 |
658 |
659 | \backslash
660 | KwData{this text}
661 | \end_layout
662 |
663 | \begin_layout Plain Layout
664 |
665 |
666 | \backslash
667 | KwResult{how to write algorithm with
668 | \backslash
669 | LaTeX2e }
670 | \end_layout
671 |
672 | \begin_layout Plain Layout
673 |
674 | initialization
675 | \backslash
676 | ;
677 | \end_layout
678 |
679 | \begin_layout Plain Layout
680 |
681 |
682 | \backslash
683 | While{not at end of this document}{
684 | \end_layout
685 |
686 | \begin_layout Plain Layout
687 |
688 | read current
689 | \backslash
690 | ;
691 | \end_layout
692 |
693 | \begin_layout Plain Layout
694 |
695 |
696 | \backslash
697 | eIf{understand}{
698 | \end_layout
699 |
700 | \begin_layout Plain Layout
701 |
702 | go to next section
703 | \backslash
704 | ;
705 | \end_layout
706 |
707 | \begin_layout Plain Layout
708 |
709 | current section becomes this one
710 | \backslash
711 | ;
712 | \end_layout
713 |
714 | \begin_layout Plain Layout
715 |
716 | }{
717 | \end_layout
718 |
719 | \begin_layout Plain Layout
720 |
721 | go back to the beginning of current section
722 | \backslash
723 | ;
724 | \end_layout
725 |
726 | \begin_layout Plain Layout
727 |
728 | }
729 | \end_layout
730 |
731 | \begin_layout Plain Layout
732 |
733 | }
734 | \end_layout
735 |
736 | \end_inset
737 |
738 |
739 | \begin_inset Caption Standard
740 |
741 | \begin_layout Plain Layout
742 | 算法示例1
743 | \end_layout
744 |
745 | \end_inset
746 |
747 |
748 | \begin_inset CommandInset label
749 | LatexCommand label
750 | name "algo:algorithm1"
751 |
752 | \end_inset
753 |
754 |
755 | \end_layout
756 |
757 | \end_inset
758 |
759 |
760 | \end_layout
761 |
762 | \begin_layout Standard
763 | 注意,我们可以在论文正文中插入算法,不建议插入大段代码。如果需要在论文中附带代码,可以在论文的附录中加入源码。参考本章第
764 | \begin_inset CommandInset ref
765 | LatexCommand ref
766 | reference "sec:程序代码"
767 | plural "false"
768 | caps "false"
769 | noprefix "false"
770 |
771 | \end_inset
772 |
773 | 节的例子,使用程序列表(Listing)插入源码。
774 | \end_layout
775 |
776 | \begin_layout Standard
777 | \begin_inset Newpage clearpage
778 | \end_inset
779 |
780 |
781 | \end_layout
782 |
783 | \begin_layout Section
784 | 公式
785 | \end_layout
786 |
787 | \begin_layout Standard
788 | 公式实例:
789 | \end_layout
790 |
791 | \begin_layout Standard
792 | \begin_inset Formula
793 | \begin{equation}
794 | E=mc^{2}\label{eq:energy}
795 | \end{equation}
796 |
797 | \end_inset
798 |
799 |
800 | \end_layout
801 |
802 | \begin_layout Subsection
803 | Tips
804 | \end_layout
805 |
806 | \begin_layout Enumerate
807 | 快捷键CLT+M (行内公式),CLT+SHIFT+M (独立公式)。公式中按CLT+SHIFT+M可在行内公式和独立公式切换
808 | \end_layout
809 |
810 | \begin_layout Enumerate
811 | 在公式环境中可以按工具键入公式,也可以直接按tex命令键入,例如^ 和 _,
812 | \backslash
813 | cdot
814 | \end_layout
815 |
816 | \begin_layout Enumerate
817 | 插入括号,括号图标的最后一个可以配置需要的括号
818 | \end_layout
819 |
820 | \begin_layout Enumerate
821 | 公式编号和标签,只有独立公式可以编号,点中公式右键选择所需的编号类型和标签即可。这与其他环境添加标签是不同的,其他环境下直接按标签工具即可添加,公式环境下标签工
822 | 具不可用,只能通过右键设置。不过引用方法是一样的
823 | \end_layout
824 |
825 | \begin_layout Enumerate
826 | 可以直接复制公式的tex文本到公式环境中,即可以直接从论文中复制公式
827 | \end_layout
828 |
829 | \begin_layout Enumerate
830 | 换行公式键入:在公式里ctl+enter 即可换行,可以通过右键设置公式属性,例如将整个公式编号还是某一行编号
831 | \end_layout
832 |
833 | \begin_layout Section
834 | 标签和引用
835 | \end_layout
836 |
837 | \begin_layout Subsection
838 | 添加标签
839 | \end_layout
840 |
841 | \begin_layout Standard
842 | 光标放到需要标记的环境或者文本中,然后选择 插入\SpecialChar menuseparator
843 | 标签, 最后设置标签的名字。也可以使用工具栏上‘标签’图标的插入标签工具。\SpecialChar LyX
844 | 会给标签一个默认名字,这个名字包含前缀
845 | (冒号前的内容)和名字。你可以自由的修改标签的名字,建议前缀不要修改,因为前缀会与后面的格式化引用有关,具体看
846 | \begin_inset CommandInset ref
847 | LatexCommand formatted
848 | reference "subsec:引用标签"
849 |
850 | \end_inset
851 |
852 | 。
853 | \end_layout
854 |
855 | \begin_layout Standard
856 | \begin_inset Box Boxed
857 | position "t"
858 | hor_pos "c"
859 | has_inner_box 1
860 | inner_pos "t"
861 | use_parbox 0
862 | use_makebox 0
863 | width "100col%"
864 | special "none"
865 | height "1in"
866 | height_special "totalheight"
867 | thickness "0.4pt"
868 | separation "3pt"
869 | shadowsize "4pt"
870 | framecolor "black"
871 | backgroundcolor "none"
872 | status open
873 |
874 | \begin_layout Plain Layout
875 |
876 | \series bold
877 | 注意:
878 | \series default
879 | 公式不是通过插入标签添加标签的,而是通过右键设置独立公式,行内公式是不提供标签的
880 | \end_layout
881 |
882 | \end_inset
883 |
884 |
885 | \end_layout
886 |
887 | \begin_layout Subsection
888 | 引用标签
889 | \begin_inset CommandInset label
890 | LatexCommand label
891 | name "subsec:引用标签"
892 |
893 | \end_inset
894 |
895 |
896 | \end_layout
897 |
898 | \begin_layout Standard
899 | 光标放到需要标记的环境或者文本中,然后选择 插入\SpecialChar menuseparator
900 | 交叉引用, 选择引用的标签。也可以直接使用工具栏上的插入交叉引用工具。注意有多种引用方式可以选择的,右键点击交叉
901 | 引用的对象可以看到几种引用的对象:
902 | \end_layout
903 |
904 | \begin_layout Enumerate
905 |
906 | \end_layout
907 |
908 | \begin_layout Enumerate
909 | ()
910 | \end_layout
911 |
912 | \begin_layout Enumerate
913 |
914 | \end_layout
915 |
916 | \begin_layout Enumerate
917 | On Page
918 | \end_layout
919 |
920 | \begin_layout Enumerate
921 | On
922 | \end_layout
923 |
924 | \begin_layout Enumerate
925 | Formatted Reference
926 | \end_layout
927 |
928 | \begin_layout Enumerate
929 | Textual
930 | \end_layout
931 |
932 | \begin_layout Standard
933 | 前5种看名字即可明白,第7种就是引用原文。这里主要说Formatted Reference的使用,如果在视图中显示tex代码,会发现是用了一条
934 | \backslash
935 | prettyref的命令或者
936 | \backslash
937 | ##ref,这取决与你在\SpecialChar LyX
938 | 文档首选项\SpecialChar menuseparator
939 | 文档类 中选择使用prettyref还是refstyle。熟悉Tex的同学明白怎么回事了。建议使用默认的prettyref,
940 | 你可以直接在Lyx中修改引用的格式,插入tex几条命令即可。举例如下,冒号后是引用格式的效果
941 | \end_layout
942 |
943 | \begin_layout Itemize
944 | 直接引用:
945 | \begin_inset CommandInset ref
946 | LatexCommand ref
947 | reference "thm:algebra"
948 |
949 | \end_inset
950 |
951 |
952 | \end_layout
953 |
954 | \begin_layout Itemize
955 | 格式引用Formatted Reference:
956 | \begin_inset CommandInset ref
957 | LatexCommand formatted
958 | reference "thm:algebra"
959 |
960 | \end_inset
961 |
962 |
963 | \end_layout
964 |
965 | \begin_layout Standard
966 | 可见直接引用只是对应图、公式、定理等的编号,格式引用则可以附加一定文字或者格式,可以为我们减少一些重复性劳动。编号前的theorem是prettyref中对定理
967 | 环境预定义好的。如果我们需要显示一个中文的格式,例如“定理 1”,可以插入如下tex代码
968 | \end_layout
969 |
970 | \begin_layout LyX-Code
971 |
972 | \backslash
973 | newrefformat{thm}{定理
974 | \backslash
975 | ref{#1}}
976 | \end_layout
977 |
978 | \begin_layout Standard
979 | \begin_inset ERT
980 | status open
981 |
982 | \begin_layout Plain Layout
983 |
984 |
985 | \backslash
986 | newrefformat{thm}{定理
987 | \backslash
988 | ref{#1}}
989 | \end_layout
990 |
991 | \end_inset
992 |
993 |
994 | \end_layout
995 |
996 | \begin_layout Standard
997 | 设置后的格式引用,冒号后是效果
998 | \end_layout
999 |
1000 | \begin_layout Itemize
1001 | 格式引用Formatted Reference:
1002 | \begin_inset CommandInset ref
1003 | LatexCommand formatted
1004 | reference "thm:algebra"
1005 |
1006 | \end_inset
1007 |
1008 |
1009 | \end_layout
1010 |
1011 | \begin_layout Standard
1012 | 下一个问题是如何知道对哪条命令进行设置(本例中是thm),这与你所引用标签的前缀有关,即标签冒号前的命令。这些都可以通过标签机制自由选择和定义的。
1013 | \end_layout
1014 |
1015 | \begin_layout Standard
1016 | 当然我们能还可以使用hyperref包对引用添加链接性质,方便在pdf文档中查看,设置如下
1017 | \end_layout
1018 |
1019 | \begin_layout LyX-Code
1020 |
1021 | \backslash
1022 | newrefformat{thm}{
1023 | \backslash
1024 | hyperref[#1]{定理~
1025 | \backslash
1026 | ref*{#1}}}
1027 | \end_layout
1028 |
1029 | \begin_layout Standard
1030 | \begin_inset ERT
1031 | status open
1032 |
1033 | \begin_layout Plain Layout
1034 |
1035 |
1036 | \backslash
1037 | newrefformat{thm}{
1038 | \backslash
1039 | hyperref[#1]{定理~
1040 | \backslash
1041 | ref*{#1}}}
1042 | \end_layout
1043 |
1044 | \end_inset
1045 |
1046 |
1047 | \end_layout
1048 |
1049 | \begin_layout Standard
1050 | 设置后的格式引用,冒号后是效果
1051 | \end_layout
1052 |
1053 | \begin_layout Itemize
1054 | 格式引用Formatted Reference:
1055 | \begin_inset CommandInset ref
1056 | LatexCommand formatted
1057 | reference "thm:algebra"
1058 |
1059 | \end_inset
1060 |
1061 |
1062 | \end_layout
1063 |
1064 | \begin_layout Standard
1065 | 生成pdf后,可以点击测试链接。如果想统一定义一些格式,可以在模板中或者Lyx文档的导言区进行设置。
1066 | \end_layout
1067 |
1068 | \begin_layout Standard
1069 | 模板已经把图和表的格式引用定义好了,具有链接性质。图片的格式引用效果如下:
1070 | \end_layout
1071 |
1072 | \begin_layout Standard
1073 | \begin_inset CommandInset ref
1074 | LatexCommand formatted
1075 | reference "fig:USTC-Elements"
1076 |
1077 | \end_inset
1078 |
1079 |
1080 | \end_layout
1081 |
1082 | \begin_layout Section
1083 | 数学定理
1084 | \end_layout
1085 |
1086 | \begin_layout Subsection
1087 | 添加定理
1088 | \end_layout
1089 |
1090 | \begin_layout Standard
1091 | 论文模板中并没有提供各种定理环境,可以在文档中插入模块来实现所需的定理环境。在 文档\SpecialChar menuseparator
1092 | 首选项\SpecialChar menuseparator
1093 | 模块 中根据需要载入模块。 例如,在本章文档中已经加入了AMS的The
1094 | orem普通模块,在格式下拉菜单下可以看到添加了很多定理格式。书写一条语句用定理格式化,如下
1095 | \end_layout
1096 |
1097 | \begin_layout Theorem
1098 | 任何一个一元复系数多项式都至少有一个复数根
1099 | \begin_inset CommandInset label
1100 | LatexCommand label
1101 | name "thm:algebra"
1102 |
1103 | \end_inset
1104 |
1105 |
1106 | \end_layout
1107 |
1108 | \begin_layout Section
1109 | 参考文献
1110 | \end_layout
1111 |
1112 | \begin_layout Standard
1113 | 参考文献用Bibtex实现(插入\SpecialChar menuseparator
1114 | 目录/列表\SpecialChar menuseparator
1115 | Bibtex引用),已经放置在在Main文档中,因此不需要再设置。其他子文当自动会引用主文档的Bibtex。
1116 | \end_layout
1117 |
1118 | \begin_layout Standard
1119 | 添加文献只需要在Ref.bib中添加条目,然后在文中引用即可。可以使用Jabref直接编辑bib文件
1120 | \begin_inset Flex URL
1121 | status collapsed
1122 |
1123 | \begin_layout Plain Layout
1124 |
1125 | http://jabref.sourceforge.net/
1126 | \end_layout
1127 |
1128 | \end_inset
1129 |
1130 | 。
1131 | \end_layout
1132 |
1133 | \begin_layout Standard
1134 | 通过工具\SpecialChar menuseparator
1135 | 首选项\SpecialChar menuseparator
1136 | File Handing\SpecialChar menuseparator
1137 | File Formats 来设置bib对应文件的编辑器。
1138 | \end_layout
1139 |
1140 | \begin_layout Standard
1141 | 点击Jabref中的引用按钮里插入文献:Jabref首选项中设置 lyx pipe 路径
1142 | \end_layout
1143 |
1144 | \begin_layout Standard
1145 | \begin_inset Box Boxed
1146 | position "t"
1147 | hor_pos "c"
1148 | has_inner_box 1
1149 | inner_pos "t"
1150 | use_parbox 0
1151 | use_makebox 0
1152 | width "100col%"
1153 | special "none"
1154 | height "1in"
1155 | height_special "totalheight"
1156 | thickness "0.4pt"
1157 | separation "3pt"
1158 | shadowsize "4pt"
1159 | framecolor "black"
1160 | backgroundcolor "none"
1161 | status open
1162 |
1163 | \begin_layout Plain Layout
1164 |
1165 | \backslash
1166 |
1167 | \backslash
1168 | .
1169 | \backslash
1170 | pipe
1171 | \backslash
1172 | lyxpipe
1173 | \end_layout
1174 |
1175 | \end_inset
1176 |
1177 |
1178 | \end_layout
1179 |
1180 | \begin_layout Standard
1181 | 然后在LyX 中设置pipe路径 ,然后重启
1182 | \end_layout
1183 |
1184 | \begin_layout Standard
1185 | \begin_inset Box Boxed
1186 | position "t"
1187 | hor_pos "c"
1188 | has_inner_box 1
1189 | inner_pos "t"
1190 | use_parbox 0
1191 | use_makebox 0
1192 | width "100col%"
1193 | special "none"
1194 | height "1in"
1195 | height_special "totalheight"
1196 | thickness "0.4pt"
1197 | separation "3pt"
1198 | shadowsize "4pt"
1199 | framecolor "black"
1200 | backgroundcolor "none"
1201 | status open
1202 |
1203 | \begin_layout Plain Layout
1204 |
1205 | \backslash
1206 |
1207 | \backslash
1208 | .
1209 | \backslash
1210 | pipe
1211 | \backslash
1212 | lyxpipe
1213 | \end_layout
1214 |
1215 | \end_inset
1216 |
1217 |
1218 | \end_layout
1219 |
1220 | \begin_layout Standard
1221 | 参考文献测试:引用
1222 | \begin_inset CommandInset citation
1223 | LatexCommand cite
1224 | key "childress2006faulttolerant,faraon2010resonant,thomas2010adiamond"
1225 | literal "false"
1226 |
1227 | \end_inset
1228 |
1229 |
1230 | \end_layout
1231 |
1232 | \begin_layout Section
1233 | 程序代码
1234 | \begin_inset CommandInset label
1235 | LatexCommand label
1236 | name "sec:程序代码"
1237 |
1238 | \end_inset
1239 |
1240 |
1241 | \end_layout
1242 |
1243 | \begin_layout Standard
1244 | 要实现C、Matlab等语言语法高亮显示,在Latex中可以使用listings包。相应的在Lyx中可以用以下方式插入: 插入\SpecialChar menuseparator
1245 | Program Listing。
1246 | \series bold
1247 | 将光标放入Listing环境中,注意在菜单 编辑\SpecialChar menuseparator
1248 | 列表选项 中设置列表选项的属性。
1249 | \end_layout
1250 |
1251 | \begin_layout Standard
1252 | 下面是一个已经设置好的Listing,阴影背景,语言设置为python。如有需要,复制这个Listing然后修改,例如更改语言等参数。
1253 | \end_layout
1254 |
1255 | \begin_layout Standard
1256 | \begin_inset Note Note
1257 | status open
1258 |
1259 | \begin_layout Plain Layout
1260 | python listing
1261 | \end_layout
1262 |
1263 | \end_inset
1264 |
1265 |
1266 | \begin_inset listings
1267 | lstparams "language=Python,numbers=left,numberstyle={\tiny},stepnumber=1,breaklines=true,tabsize=4,frame=shadowbox,commentstyle={\color{red!50!green!50!blue!50}},rulesepcolor={\color{red!20!green!20!blue!20}},keywordstyle={\color{blue!90}\bfseries},showstringspaces=false,stringstyle={\ttfamily},keepspaces=true,breakindent=22pt,basicstyle={\footnotesize},showspaces=false,flexiblecolumns=true,breaklines=true,breakautoindent=true,breakindent=4em,texcl=true,aboveskip=1em"
1268 | inline false
1269 | status open
1270 |
1271 | \begin_layout Plain Layout
1272 |
1273 | import time
1274 | \end_layout
1275 |
1276 | \begin_layout Plain Layout
1277 |
1278 | import os.path
1279 | \end_layout
1280 |
1281 | \begin_layout Plain Layout
1282 |
1283 | import wx
1284 | \end_layout
1285 |
1286 | \begin_layout Plain Layout
1287 |
1288 | import scipy
1289 | \end_layout
1290 |
1291 | \begin_layout Plain Layout
1292 |
1293 | import matplotlib.pyplot as plt
1294 | \end_layout
1295 |
1296 | \begin_layout Plain Layout
1297 |
1298 | from wx.lib.wordwrap import wordwrap
1299 | \end_layout
1300 |
1301 | \begin_layout Plain Layout
1302 |
1303 | \end_layout
1304 |
1305 | \begin_layout Plain Layout
1306 |
1307 | Copyright =
1308 | \backslash
1309 | """ Copyright (c) 2011 Luis Andre Fernandes
1310 | \end_layout
1311 |
1312 | \begin_layout Plain Layout
1313 |
1314 | This work is provided by the copyright holders and contributors 'as is'
1315 | \backslash
1316 | and any express or implied warranties, including, but not limited to,
1317 | \backslash
1318 | the implied warranties of merchantability and fitness for a particular
1319 | \backslash
1320 | purpose are disclaimed.
1321 | In no event shall the copyright owener or contributors
1322 | \backslash
1323 | be liable for any direct, indirect, incidental, special, exemplary, or
1324 | \backslash
1325 | consequential damages (including, but not limited to, procurement of substitute
1326 | \backslash
1327 | goods or services; loss of use, data, or profits; or business interruption)
1328 | \backslash
1329 | however caused and on any theory of liability, whether in contract, strict
1330 | \backslash
1331 | liability, or tort (including negligence or otherwise) arising in any way
1332 | out
1333 | \backslash
1334 | of the use of this work, even if advised of the possibility of such damage.
1335 | \end_layout
1336 |
1337 | \begin_layout Plain Layout
1338 |
1339 | Copying and distribution of this file, with or without modification,
1340 | \backslash
1341 | are permitted in any medium without royalty provided the copyright
1342 | \backslash
1343 | notice and this notice are preserved.
1344 | """
1345 | \end_layout
1346 |
1347 | \begin_layout Plain Layout
1348 |
1349 | \end_layout
1350 |
1351 | \begin_layout Plain Layout
1352 |
1353 | error = [0,0,1,1,1,1] # Variable flag to trigger Frame.ErrorAlert()
1354 | \end_layout
1355 |
1356 | \end_inset
1357 |
1358 |
1359 | \end_layout
1360 |
1361 | \begin_layout Section
1362 | 超链接
1363 | \end_layout
1364 |
1365 | \begin_layout Standard
1366 | 本模版已经预定义好的href,用来更友好地插入超链接。
1367 | \end_layout
1368 |
1369 | \begin_layout Standard
1370 | 菜单 插入\SpecialChar menuseparator
1371 | 自定义内嵌项\SpecialChar menuseparator
1372 | href
1373 | \end_layout
1374 |
1375 | \begin_layout Standard
1376 | 文字直接写入,而链接通过插入参数。鼠标右键点击链接对象,调出菜单,点'Link'。
1377 | \end_layout
1378 |
1379 | \begin_layout Standard
1380 | 下面是一个超链接例子。如有需求可以直接复制这个例子,修改即可。
1381 | \end_layout
1382 |
1383 | \begin_layout Standard
1384 | \begin_inset Flex href
1385 | status open
1386 |
1387 | \begin_layout Plain Layout
1388 | 中国科学技术大学学位论文LyX模板
1389 | \begin_inset Argument 1
1390 | status open
1391 |
1392 | \begin_layout Plain Layout
1393 | https://github.com/jmcui/USTC-Lyx
1394 | \end_layout
1395 |
1396 | \end_inset
1397 |
1398 |
1399 | \end_layout
1400 |
1401 | \end_inset
1402 |
1403 |
1404 | \end_layout
1405 |
1406 | \begin_layout Standard
1407 | 这通过定义Lyx中InsetLayout实现的,实现可以参考USTCthesis.layou文件,主要定义部分如下:
1408 | \end_layout
1409 |
1410 | \begin_layout Standard
1411 | \begin_inset listings
1412 | lstparams "numbers=left,numberstyle={\tiny},stepnumber=1,basicstyle={\footnotesize},breaklines=true,showstringspaces=false,tabsize=4,frame=shadowbox,commentstyle={\color{red!50!green!50!blue!50}},rulesepcolor={\color{red!20!green!20!blue!20}},keywordstyle={\color{blue!90}\bfseries},stringstyle={\ttfamily},keepspaces=true,breakindent=22pt,flexiblecolumns=true,breakautoindent=true,breakindent=4em,texcl=true,aboveskip=1em"
1413 | inline false
1414 | status open
1415 |
1416 | \begin_layout Plain Layout
1417 |
1418 | InsetLayout Flex:href
1419 | \end_layout
1420 |
1421 | \begin_layout Plain Layout
1422 |
1423 | LyXType custom
1424 | \end_layout
1425 |
1426 | \begin_layout Plain Layout
1427 |
1428 | # LyXType element
1429 | \end_layout
1430 |
1431 | \begin_layout Plain Layout
1432 |
1433 | LabelString 超链接
1434 | \end_layout
1435 |
1436 | \begin_layout Plain Layout
1437 |
1438 | LatexType Command
1439 | \end_layout
1440 |
1441 | \begin_layout Plain Layout
1442 |
1443 | LatexName href
1444 | \end_layout
1445 |
1446 | \begin_layout Plain Layout
1447 |
1448 | Decoration Classic
1449 | \end_layout
1450 |
1451 | \begin_layout Plain Layout
1452 |
1453 | Argument 1
1454 | \end_layout
1455 |
1456 | \begin_layout Plain Layout
1457 |
1458 | Mandatory 1
1459 | \end_layout
1460 |
1461 | \begin_layout Plain Layout
1462 |
1463 | LabelString "Link"
1464 | \end_layout
1465 |
1466 | \begin_layout Plain Layout
1467 |
1468 | LabelFont
1469 | \end_layout
1470 |
1471 | \begin_layout Plain Layout
1472 |
1473 | Shape Up
1474 | \end_layout
1475 |
1476 | \begin_layout Plain Layout
1477 |
1478 | Color blue
1479 | \end_layout
1480 |
1481 | \begin_layout Plain Layout
1482 |
1483 | EndFont
1484 | \end_layout
1485 |
1486 | \begin_layout Plain Layout
1487 |
1488 | EndArgument
1489 | \end_layout
1490 |
1491 | \begin_layout Plain Layout
1492 |
1493 | End
1494 | \end_layout
1495 |
1496 | \end_inset
1497 |
1498 |
1499 | \end_layout
1500 |
1501 | \begin_layout Standard
1502 | 参考这个例子,可以自己定义新的InsetLayout,来对应latex命令。相比直接插入latex命令,定义Layout后,显示会更友好、方便。
1503 | \end_layout
1504 |
1505 | \begin_layout Section
1506 | 选择字号
1507 | \end_layout
1508 |
1509 | \begin_layout Standard
1510 | 字号选择使用ctex重的zihao命令,例如
1511 | \end_layout
1512 |
1513 | \begin_layout Itemize
1514 | \begin_inset ERT
1515 | status open
1516 |
1517 | \begin_layout Plain Layout
1518 |
1519 | {
1520 | \backslash
1521 | zihao{4}
1522 | \end_layout
1523 |
1524 | \end_inset
1525 |
1526 | 四号字体:
1527 | \backslash
1528 | zihao{4}
1529 | \begin_inset ERT
1530 | status open
1531 |
1532 | \begin_layout Plain Layout
1533 |
1534 | }
1535 | \end_layout
1536 |
1537 | \end_inset
1538 |
1539 |
1540 | \end_layout
1541 |
1542 | \begin_layout Itemize
1543 | \begin_inset ERT
1544 | status open
1545 |
1546 | \begin_layout Plain Layout
1547 |
1548 | {
1549 | \backslash
1550 | zihao{-4}
1551 | \end_layout
1552 |
1553 | \end_inset
1554 |
1555 | 小四字体:
1556 | \backslash
1557 | zihao{-4}
1558 | \begin_inset ERT
1559 | status open
1560 |
1561 | \begin_layout Plain Layout
1562 |
1563 | }
1564 | \end_layout
1565 |
1566 | \end_inset
1567 |
1568 |
1569 | \end_layout
1570 |
1571 | \begin_layout Section
1572 | 特殊章节
1573 | \end_layout
1574 |
1575 | \begin_layout Section
1576 | 更多技巧
1577 | \end_layout
1578 |
1579 | \begin_layout Subsection
1580 | 使用分支
1581 | \end_layout
1582 |
1583 | \begin_layout Standard
1584 | 使用分支可以控制产生几个不同的版本,例如我们不想在公开的论文中提到过多的细节,但是想在小组内部看到这些细节。我们可以建立一个Group分支,把这些细节写入Gro
1585 | up分支。激活或者关闭Group分支,编译就会得到小组内部版本和公开版本。
1586 | \end_layout
1587 |
1588 | \begin_layout Itemize
1589 | 首先建立分支:在Main.lyx中 文档\SpecialChar menuseparator
1590 | 首选项\SpecialChar menuseparator
1591 | 分支 ,新建即可
1592 | \end_layout
1593 |
1594 | \begin_layout Itemize
1595 | 插入分支:插入\SpecialChar menuseparator
1596 | 分支 选择具体分支即可
1597 | \end_layout
1598 |
1599 | \begin_layout Itemize
1600 | 激活或者关闭分支:在Main.lyx中 文档\SpecialChar menuseparator
1601 | 首选项\SpecialChar menuseparator
1602 | 分支 ,双击对应分支对应选项处即可切换。
1603 | \end_layout
1604 |
1605 | \begin_layout Subsubsection*
1606 | 实例:
1607 | \end_layout
1608 |
1609 | \begin_layout Standard
1610 | 以下红色文字需要激活GroupVersion分支才可见:
1611 | \begin_inset Branch GroupVersion
1612 | inverted 0
1613 | status open
1614 |
1615 | \begin_layout Standard
1616 |
1617 | \color red
1618 | 小组内部版本可见
1619 | \end_layout
1620 |
1621 | \end_inset
1622 |
1623 |
1624 | \end_layout
1625 |
1626 | \begin_layout Standard
1627 | 如果分支没被激活,文中分支的标签会显示叉号,激活则显示对号。在Main文档中已经预定义好了GroupVersion分支,可以直接使用。
1628 | \end_layout
1629 |
1630 | \begin_layout Subsection
1631 | 编辑图片
1632 | \end_layout
1633 |
1634 | \begin_layout Standard
1635 | 可以通过工具\SpecialChar menuseparator
1636 | 首选项\SpecialChar menuseparator
1637 | File Handing\SpecialChar menuseparator
1638 | File Formats 来设置相应图片格式的编辑器。这样对图片右键,选择Edit Externally即可用编辑器编
1639 | 辑。
1640 | \end_layout
1641 |
1642 | \begin_layout Standard
1643 | 如果已经安装了Inkscape,矢量图格式svg文件就可以直接在\SpecialChar LyX
1644 | 中使用。
1645 | \end_layout
1646 |
1647 | \begin_layout Subsection
1648 | 即时预览
1649 | \end_layout
1650 |
1651 | \begin_layout Standard
1652 | 工具\SpecialChar menuseparator
1653 | 首选项\SpecialChar menuseparator
1654 | 外观\SpecialChar menuseparator
1655 | 显示 即时预览 选择打开。 可以查看一些latex中复杂的公式,例如费曼图、XY-pic、树形图等。即时预览是通过预编译实现的,所以显示速度会有些
1656 | 慢。
1657 | \end_layout
1658 |
1659 | \begin_layout Section
1660 | tex转换为lyx
1661 | \end_layout
1662 |
1663 | \begin_layout Standard
1664 | 使用winedit编写的tex文件,默认是GBK编码的。可以使用lyx自带的tex2lyx.exe程序转换.假设lyx安装在D盘,需要转换chap3.tex这个文件,
1665 | 在cmd先切换到lyx/bin文件夹下:
1666 | \end_layout
1667 |
1668 | \begin_layout Standard
1669 | \begin_inset listings
1670 | lstparams "numbers=left,numberstyle={\tiny},stepnumber=1,basicstyle={\footnotesize},breaklines=true,showstringspaces=false,tabsize=4,frame=shadowbox,commentstyle={\color{red!50!green!50!blue!50}},rulesepcolor={\color{red!20!green!20!blue!20}},keywordstyle={\color{blue!90}\bfseries},stringstyle={\ttfamily},keepspaces=true,breakindent=22pt,flexiblecolumns=true,breakautoindent=true,breakindent=4em,texcl=true,aboveskip=1em"
1671 | inline false
1672 | status open
1673 |
1674 | \begin_layout Plain Layout
1675 |
1676 | D:
1677 | \end_layout
1678 |
1679 | \begin_layout Plain Layout
1680 |
1681 | cd D:
1682 | \backslash
1683 | Program Files (x86)
1684 | \backslash
1685 | LyX 2.2
1686 | \backslash
1687 | bin
1688 | \end_layout
1689 |
1690 | \end_inset
1691 |
1692 |
1693 | \end_layout
1694 |
1695 | \begin_layout Standard
1696 | 然后运行转换命令
1697 | \end_layout
1698 |
1699 | \begin_layout Standard
1700 | \begin_inset listings
1701 | lstparams "numbers=left,numberstyle={\tiny},stepnumber=1,basicstyle={\footnotesize},breaklines=true,showstringspaces=false,tabsize=4,frame=shadowbox,commentstyle={\color{red!50!green!50!blue!50}},rulesepcolor={\color{red!20!green!20!blue!20}},keywordstyle={\color{blue!90}\bfseries},stringstyle={\ttfamily},keepspaces=true,breakindent=22pt,flexiblecolumns=true,breakautoindent=true,breakindent=4em,texcl=true,aboveskip=1em"
1702 | inline false
1703 | status open
1704 |
1705 | \begin_layout Plain Layout
1706 |
1707 | D:
1708 | \backslash
1709 | Program Files (x86)
1710 | \backslash
1711 | LyX 2.2
1712 | \backslash
1713 | bin>tex2lyx.exe chap3.tex -e GBK
1714 | \end_layout
1715 |
1716 | \end_inset
1717 |
1718 |
1719 | \end_layout
1720 |
1721 | \begin_layout Standard
1722 | 如果是utf8编码的文件,-e 后的参数改为utf8。注意生成的lyx文件不能直接使用,因为这个文件没有设置模板。需要从这个文件中将内容拷贝出来,粘贴到设置好模
1723 | 板的lyx文件中。新建lyx文件参考
1724 | \begin_inset CommandInset ref
1725 | LatexCommand formatted
1726 | reference "sec:新建Lyx文件"
1727 | plural "false"
1728 | caps "false"
1729 | noprefix "false"
1730 |
1731 | \end_inset
1732 |
1733 | 。会遇到语言问题,参考
1734 | \begin_inset CommandInset ref
1735 | LatexCommand formatted
1736 | reference "sub:语言问题"
1737 | plural "false"
1738 | caps "false"
1739 | noprefix "false"
1740 |
1741 | \end_inset
1742 |
1743 | 。
1744 | \end_layout
1745 |
1746 | \begin_layout Chapter
1747 | 常见问题和解决方法
1748 | \end_layout
1749 |
1750 | \begin_layout Section
1751 | 语言问题
1752 | \begin_inset CommandInset label
1753 | LatexCommand label
1754 | name "sub:语言问题"
1755 |
1756 | \end_inset
1757 |
1758 |
1759 | \end_layout
1760 |
1761 | \begin_layout Standard
1762 | 如果从直接从其他Lyx文件直接copy内容,粘贴导论文中,有可能会出现语言冲突的问题。出现这个问题后,Lyx 会在文字下面标注下滑线,看起来像修订模式的标注一样
1763 | 。这是因为copy过来的文字内容,设置的是英文语言,而本模版语言为简体中文。可以通过如下操作解决:
1764 | \end_layout
1765 |
1766 | \begin_layout Standard
1767 | 选中有问题的文字,鼠标右键调出属性菜单,语言,选中文。
1768 | \end_layout
1769 |
1770 | \begin_layout Section
1771 | 超链接编译错误
1772 | \end_layout
1773 |
1774 | \begin_layout Standard
1775 | 如果使用lyx中默认定义的‘超链接’,会导致href重新载入。而ustecthesis中href已经载入,两次载入会导致出错。这个错误不会中断编译,选择继续输出
1776 | 内容,仍然能得到最终文档。
1777 | \end_layout
1778 |
1779 | \begin_layout Standard
1780 | 解决方法: 使用本模版已经预定义好的href,替换掉超链接。
1781 | \end_layout
1782 |
1783 | \begin_layout Standard
1784 | 菜单 插入\SpecialChar menuseparator
1785 | 自定义内嵌项\SpecialChar menuseparator
1786 | href
1787 | \end_layout
1788 |
1789 | \begin_layout Standard
1790 | 链接的文字直接写入,而链接通过参数插入。鼠标右键点击链接对象,调出菜单,点'链接'。
1791 | \end_layout
1792 |
1793 | \begin_layout Standard
1794 | \begin_inset ERT
1795 | status open
1796 |
1797 | \begin_layout Plain Layout
1798 |
1799 |
1800 | \backslash
1801 | ifx
1802 | \backslash
1803 | myref
1804 | \backslash
1805 | undefined
1806 | \end_layout
1807 |
1808 | \end_inset
1809 |
1810 |
1811 | \begin_inset CommandInset bibtex
1812 | LatexCommand bibtex
1813 | btprint "btPrintCited"
1814 | bibfiles "../Ref"
1815 | options "../ustcthesis-numerical"
1816 |
1817 | \end_inset
1818 |
1819 |
1820 | \begin_inset ERT
1821 | status collapsed
1822 |
1823 | \begin_layout Plain Layout
1824 |
1825 |
1826 | \backslash
1827 | fi
1828 | \end_layout
1829 |
1830 | \end_inset
1831 |
1832 |
1833 | \end_layout
1834 |
1835 | \begin_layout Standard
1836 | \begin_inset Newpage cleardoublepage
1837 | \end_inset
1838 |
1839 |
1840 | \end_layout
1841 |
1842 | \end_body
1843 | \end_document
1844 |
--------------------------------------------------------------------------------
/chapters/USTCthesis.cls:
--------------------------------------------------------------------------------
1 | ../ustcthesis.cls
--------------------------------------------------------------------------------
/chapters/USTCthesis.layout:
--------------------------------------------------------------------------------
1 | ../USTCthesis.layout
--------------------------------------------------------------------------------
/chapters/thanks.lyx:
--------------------------------------------------------------------------------
1 | #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 | \lyxformat 544
3 | \begin_document
4 | \begin_header
5 | \save_transient_properties true
6 | \origin unavailable
7 | \textclass USTCthesis
8 | \begin_preamble
9 | %Created by jmcui
10 |
11 | \usepackage{xcolor}
12 | \usepackage{hyperref}
13 | %\graphicspath{{figures/}}
14 | \end_preamble
15 | \options doctor,twoside
16 | \use_default_options false
17 | \master ../Main.lyx
18 | \maintain_unincluded_children false
19 | \begin_local_layout
20 | NoStyle Chapter
21 | NoStyle Chapter*
22 | NoStyle Thanks
23 | NoStyle Abstract
24 | NoStyle EnglishAbstract
25 | \end_local_layout
26 | \language chinese-simplified
27 | \language_package babel
28 | \inputencoding gbk
29 | \fontencoding global
30 | \font_roman "default" "default"
31 | \font_sans "default" "default"
32 | \font_typewriter "default" "default"
33 | \font_math "auto" "auto"
34 | \font_default_family default
35 | \use_non_tex_fonts true
36 | \font_sc false
37 | \font_osf false
38 | \font_sf_scale 100 100
39 | \font_tt_scale 100 100
40 | \font_cjk fs
41 | \use_microtype false
42 | \use_dash_ligatures true
43 | \graphics default
44 | \default_output_format pdf4
45 | \output_sync 0
46 | \bibtex_command default
47 | \index_command default
48 | \paperfontsize default
49 | \spacing single
50 | \use_hyperref false
51 | \pdf_bookmarks true
52 | \pdf_bookmarksnumbered false
53 | \pdf_bookmarksopen false
54 | \pdf_bookmarksopenlevel 1
55 | \pdf_breaklinks false
56 | \pdf_pdfborder false
57 | \pdf_colorlinks false
58 | \pdf_backref false
59 | \pdf_pdfusetitle false
60 | \papersize default
61 | \use_geometry false
62 | \use_package amsmath 0
63 | \use_package amssymb 0
64 | \use_package cancel 0
65 | \use_package esint 0
66 | \use_package mathdots 0
67 | \use_package mathtools 0
68 | \use_package mhchem 0
69 | \use_package stackrel 0
70 | \use_package stmaryrd 0
71 | \use_package undertilde 0
72 | \cite_engine basic
73 | \cite_engine_type default
74 | \biblio_style plain
75 | \use_bibtopic false
76 | \use_indices false
77 | \paperorientation portrait
78 | \suppress_date false
79 | \justification true
80 | \use_refstyle 0
81 | \use_minted 0
82 | \index 索引
83 | \shortcut idx
84 | \color #008000
85 | \end_index
86 | \secnumdepth 3
87 | \tocdepth 3
88 | \paragraph_separation indent
89 | \paragraph_indentation default
90 | \is_math_indent 0
91 | \math_numbering_side default
92 | \quotes_style english
93 | \dynamic_quotes 0
94 | \papercolumns 1
95 | \papersides 2
96 | \paperpagestyle default
97 | \tracking_changes false
98 | \output_changes false
99 | \html_math_output 0
100 | \html_css_as_file 0
101 | \html_be_strict false
102 | \end_header
103 |
104 | \begin_body
105 |
106 | \begin_layout ChapterSpecial
107 | 致
108 | \begin_inset space \quad{}
109 | \end_inset
110 |
111 | 谢
112 | \end_layout
113 |
114 | \begin_layout Standard
115 | Thanks everyone
116 | \begin_inset Separator latexpar
117 | \end_inset
118 |
119 |
120 | \end_layout
121 |
122 | \begin_layout Standard
123 | \align right
124 | \begin_inset ERT
125 | status open
126 |
127 | \begin_layout Plain Layout
128 |
129 | ~~~
130 | \end_layout
131 |
132 | \end_inset
133 |
134 | MyName
135 | \begin_inset ERT
136 | status open
137 |
138 | \begin_layout Plain Layout
139 |
140 | ~~~~
141 | \end_layout
142 |
143 | \end_inset
144 |
145 |
146 | \begin_inset Newline newline
147 | \end_inset
148 |
149 |
150 | \begin_inset ERT
151 | status open
152 |
153 | \begin_layout Plain Layout
154 |
155 |
156 | \backslash
157 | today
158 | \end_layout
159 |
160 | \end_inset
161 |
162 |
163 | \end_layout
164 |
165 | \begin_layout Standard
166 | \begin_inset Newpage cleardoublepage
167 | \end_inset
168 |
169 |
170 | \end_layout
171 |
172 | \end_body
173 | \end_document
174 |
--------------------------------------------------------------------------------
/figures:
--------------------------------------------------------------------------------
1 | ./ustcthesis/figures/
--------------------------------------------------------------------------------
/release.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | if [ ! -d "./release/" ];then
3 | mkdir release
4 | else
5 | rm -R ./release/*
6 | fi
7 |
8 | cp *.tex ./release/
9 | cp *.lyx ./release/
10 | cp *.md ./release/
11 | cp *.bib ./release/
12 |
13 | cp ./ustcthesis/ustcthesis-*.bst ./release/
14 | cp ./ustcthesis/ustcthesis.cls ./release/
15 | cp -R ./ustcthesis/figures ./release/
16 | cp ./USTCthesis.layout ./release/
17 |
18 | mkdir ./release/chapters
19 | cp ./chapters/*.lyx ./release/chapters/
20 | cp ./ustcthesis/ustcthesis.cls ./release/chapters/
21 | cp ./USTCthesis.layout ./release/chapters/
22 |
23 | FINDED_FILES=`find . -name *.lyx~`
24 | for file in ${FINDED_FILES}
25 | do
26 | rm -rf ${file}
27 | done
28 |
29 | echo 'reflesh release folder'
30 |
--------------------------------------------------------------------------------
/ustcsetup.tex:
--------------------------------------------------------------------------------
1 | \ustcsetup{
2 | title = {中国科学技术大学\\学位论文模板示例文档 \ustcthesisversion},
3 | title* = {An example of thesis template for University of Science
4 | and Technology of China \ustcthesisversion},
5 | author = {李泽平},
6 | author* = {Li Zeping},
7 | speciality = {数学与应用数学},
8 | speciality* = {Mathematics and Applied Mathematics},
9 | supervisor = {XXX~教授, XXX~教授},
10 | supervisor* = {Prof. XXX, Prof. XXX},
11 | % date = {2017-05-01}, % 默认为今日
12 | % professional-type = {专业学位类型},
13 | % professional-type* = {Professional degree type},
14 | % department = {数学科学学院}, % 院系,本科生需要填写
15 | % student-id = {PB11001000}, % 学号,本科生需要填写
16 | % secret-level = {秘密}, % 绝密|机密|秘密|控阅,注释本行则公开
17 | % secret-level* = {Secret}, % Top secret | Highly secret | Secret
18 | % secret-year = {10}, % 保密/控阅期限
19 | %
20 | % 数学字体
21 | % math-style = GB, % 可选:GB, TeX, ISO
22 | math-font = xits, % 可选:stix, xits, libertinus
23 | }
24 |
25 |
26 | % 加载宏包
27 |
28 | % 插图
29 | \usepackage{graphicx}
30 |
31 | % 三线表
32 | \usepackage{booktabs}
33 |
34 | % 跨页表格
35 | \usepackage{longtable}
36 |
37 | % SI 量和单位
38 | \usepackage{siunitx}
39 |
40 | % 参考文献使用 BibTeX + natbib 宏包
41 | % 顺序编码制
42 | \usepackage[sort]{natbib}
43 | \bibliographystyle{ustcthesis-numerical}
44 |
45 | % 著者-出版年制
46 | % \usepackage{natbib}
47 | % \bibliographystyle{ustcthesis-authoryear}
48 |
49 | % 本科生参考文献的著录格式
50 | % \usepackage[sort]{natbib}
51 | % \bibliographystyle{ustcthesis-bachelor}
52 |
53 | % 参考文献使用 BibLaTeX 宏包
54 | % \usepackage[style=ustcthesis-numeric]{biblatex}
55 | % \usepackage[bibstyle=ustcthesis-numeric,citestyle=ustcthesis-inline]{biblatex}
56 | % \usepackage[style=ustcthesis-authoryear]{biblatex}
57 | % \usepackage[style=ustcthesis-bachelor]{biblatex}
58 | % 声明 BibLaTeX 的数据库
59 | % \addbibresource{bib/ustc.bib}
60 |
61 | % 配置图片的默认目录
62 | \graphicspath{{figures/}}
63 |
64 |
65 | % 用于写文档的命令
66 | \DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
67 | \DeclareRobustCommand\pkg{\textsf}
68 | \DeclareRobustCommand\file{\nolinkurl}
69 |
70 | %%图、表的格式化引用
71 | \newrefformat{fig}{\hyperref[#1]{图\ref*{#1}\,}}
72 | \newrefformat{eq}{\hyperref[#1]{式\ref*{#1}\,}}
73 | \newrefformat{tab}{\hyperref[#1]{表\ref*{#1}\,}}
74 |
75 | %%listings设置
76 | \usepackage{listings}
77 | \usepackage{xcolor}
78 | \lstset{
79 | tabsize=4, %
80 | frame=shadowbox, %把代码用带有阴影的框圈起来
81 | commentstyle=\color{red!50!green!50!blue!50},%浅灰色的注释
82 | rulesepcolor=\color{red!20!green!20!blue!20},%代码块边框为淡青色
83 | keywordstyle=\color{blue!90}\bfseries, %代码关键字的颜色为蓝色,粗体
84 | showstringspaces=false,%不显示代码字符串中间的空格标记
85 | stringstyle=\ttfamily, % 代码字符串的特殊格式
86 | keepspaces=true, %
87 | breakindent=22pt, %
88 | basicstyle=\footnotesize, %
89 | showspaces=false, %
90 | flexiblecolumns=true, %
91 | breaklines=true,%对过长的代码自动换行
92 | breakautoindent=true,%
93 | breakindent=4em,%
94 | texcl=true,
95 | aboveskip=1em %代码块边框
96 | }
97 |
98 | % hyperref 宏包在最后调用
99 | \usepackage{hyperref}
100 |
--------------------------------------------------------------------------------
/ustcthesis-authoryear.bst:
--------------------------------------------------------------------------------
1 | ./ustcthesis/ustcthesis-authoryear.bst
--------------------------------------------------------------------------------
/ustcthesis-bachelor.bst:
--------------------------------------------------------------------------------
1 | ./ustcthesis/ustcthesis-bachelor.bst
--------------------------------------------------------------------------------
/ustcthesis-numerical.bst:
--------------------------------------------------------------------------------
1 | ./ustcthesis/ustcthesis-numerical.bst
--------------------------------------------------------------------------------