Scientific Report Standard
Generate comprehensive scientific reports in PDF using LaTeX, with automatic Chinese/English language selection.
Language Selection
- Default: Chinese (use
ctex+xelatex) - English: Only when user explicitly specifies "English", "in English", or "英文" (use standard LaTeX +
pdflatex)
Report Structures
Research / Experiments (IMRAD)
- Abstract
- Introduction (background, motivation, objectives)
- Related Work (optional)
- Methodology (system design, algorithms, implementation)
- Experiments (setup, data, evaluation metrics)
- Results (data presentation, analysis)
- Discussion (findings, limitations, future work)
- Conclusion
- References
Systems / Projects
- Overview
- System Architecture
- Core Components
- Implementation
- Usage Examples
- Performance Evaluation
- Summary
LaTeX Template (Chinese)
\documentclass[11pt,a4paper]{article}
\usepackage[UTF8]{ctex}
\usepackage{amsmath,amssymb,amsthm}
\usepackage{geometry}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{longtable}
\usepackage{hyperref}
\usepackage{xcolor}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{tcolorbox}
\usepackage{listings}
\geometry{margin=2.5cm}
\hypersetup{colorlinks=true,linkcolor=blue,citecolor=blue,urlcolor=blue}
\pagestyle{fancy}
\fancyhf{}
\rhead{项目报告}
\lhead{系统名称}
\rfoot{\thepage}
\author{Viska Wei}
\date{\today}
Compilation Rules
| Language | Engine | Command |
|---|---|---|
| Chinese (ctex) | XeLaTeX | xelatex report.tex && xelatex report.tex |
| English | pdfLaTeX | pdflatex report.tex && pdflatex report.tex |
Always compile twice for table of contents and cross-references.
Formatting Rules
- Author: Always use "Viska Wei"
- Margins: 2.5cm (
\geometry{margin=2.5cm}) - Font size: 11pt base
- Paper: A4
- Hyperlinks: Blue colored links enabled
- Executive summary: Use
tcolorboxfor key findings at the top - Table of contents: Always include after title page
- Code listings: Use
listingspackage with syntax highlighting - Tables: Use
booktabs(\toprule,\midrule,\bottomrule) - Figures:
\includegraphics[width=0.8\textwidth]{...}default width
Code Listing Style
\lstset{
basicstyle=\ttfamily\small,
backgroundcolor=\color{codebackground},
breaklines=true,
frame=single,
numbers=left,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{green!60!black},
stringstyle=\color{orange},
showstringspaces=false
}
Quality Checklist
- Language correctly detected (Chinese default)
- All sections present and complete
- Chinese characters render properly (if applicable)
- Code listings formatted with syntax highlighting
- Table of contents generated
- Figures and tables numbered correctly
- References formatted
- PDF compiles without errors
- File size reasonable (<10MB)
- Output filename is descriptive