[Latex layout] latex paper Template

Source: Internet
Author: User
This article is a summary of the previous latex article. The previous articles described latex's typographical problem from several aspects of the paper. Here we have integrated the previous content, The paper layout template is provided. Template usage: 1. First, create a main. Tex file, which is used to manage the overall architecture of the paper. The file code is:
\ Documentclass [a4paper, 12pt] {book} \ usepackage {ctexcap} \ usepackage {amsmath} \ usepackage {graphicx} \ usepackage {fancyhdr} \ usepackage [Super, square, comma, sort & compress] {natbib} % set the reference format % set the page margin \ usepackage {geometry} \ geometry {left = 4 cm, Right = 2 cm, Top = 3 cm, bottom = 2 cm} \ newcommand {\ tabincell} [2] {\ begin {tabular} {{}# [email protected] {}# 2 \ end {tabular} % set line feed \ graphicspath {pics /}, {figs/}}\ usepackage {float} % is image float \ usepackage {BM} \ usepackage {times} \ usepackage {mathptmx} % is set to Rome \ usepackage {caption }\ captionsetup {labelsep = space }%\ usepackage [colorlinks, dvipdfm, % this package % bookmarksopenlevel = 2, % pdfpagemode = usenone, % export startview = fitb, % linkcolor = Black, % citecolor = blue, % linkcolor = black, % hyperindex = true, % pagebackref = true, % cjkbookmarks = true, % colorlinks] {hyperref} \ renewcommand {\ captionfont} {\ zihao {5} \ songti} \ renewcommand \ theequation {\ thechapter-\ Arabic {equation} % formula no. \ usepackage {setspace} % use spacing macro package \ usepackage {comment} \ linespread {1.5} \ ctexsetup [beforeskip = {0pt}] {Chapter} \ ctexsetup [nameformat = {\ heiti \ zihao {3} \ centering}] {Chapter} % Chapter title format \ ctexsetup [titleformat ={\ heiti \ zihao {3} \ centering}] {Chapter} % Chapter title format \ ctexsetup [format = {\ songti \ zihao {4} \ centering}] {Section} % section title format \ ctexsetup [format ={\ songti \ zihao {-4}] {subsection} % section title format \ ctexsetup [format ={\ songti \ zihao {-4 }}] {subsubsection} % section title format \ usepackage {titletoc} \ begin {document} \ songti \ zihao {-4} % set the text font format \ pagenumbering {Roman} \ include {abstract} \ songti \ zihao {-4} \ setcounter {tocdepth} {2} % to set the Directory deep \ thispagestyle {plain} \ titlecontents {Chapter} [0.0em] {\ songti \ zihao {-4} \ bfseries \ addvspace {10bp minus 0bp }}%\ song {\ thecontentslabel \ hspace {0.5em }{}{\ normalfont \ dotfill \ textrm {\ contentspage [{\ bfseries \ thecontentspage}] }}\ newgeometry {Bottom = 3 cm, top = 3 cm }\ tableofcontents \ restoregeometry % \ include {Chapter1 }%\ include {Chapter2 }%\ include {Chapter3 }%\ include {Chapter4 }%\ include {Chapter5} % \ include {thanks }%\ include {Appendix }%\ include {reference} \ end {document}
In the above code, I have commented out the \ include command. You can remove the corresponding % according to the chapter in your paper. For example, if I have five chapters in my thesis and I also have the acknowledgment, appendix, and reference sections, I need to remove the % before the include command in the code above. At the same time, I need to create chapter1.tex ...... Chapter 1-5 is written in chapter5.tex. Thanks. Tex corresponds to the acknowledgment section, appendix. Tex corresponds to the appendix section, and reference. Tex corresponds to the reference section. You can add, delete, and modify the corresponding parts based on the actual situation. 2. The content of each chapter is roughly as follows (taking Chapter 1 chapter1.tex as an example ):
\ Chapter {introduction} \ section {research background and significance} \ subsection {allocation and utilization of wireless spectrum} \ subsection {Methods for Improving Spectrum Utilization Efficiency} \ section {overview of Cognitive Radio} \ subsection {definition of Cognitive Radio} \ subsection {Key Technologies of Cognitive Radio} \ subsection {current situation of research on Cognitive Radio at Home and Abroad} \ section {content and structure of the paper}

Insert the relevant content of the title under each command statement above, The results are shown as follows:
So far, latex's article layout has finally come to an end. Although these articles only explain some simple problems, it is enough to complete the paper layout. It has been more than half a month since I completed my defense. Due to my busy schedule, I have just finished writing my article on the paper layout. I am ashamed to say that I have stopped learning English for more than a month. I will make up for it next month. BTW: the day before yesterday, we held a graduation ceremony. We were lucky enough to have the opportunity for the principal to issue a degree certificate. Today, the College has held another ceremony, and it is really about to graduate.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.