Generate a professional LaTeX document using the template in
assets/hypothesis_report_template.tex
. The report should be well-formatted with colored boxes for visual organization and divided into a concise main text with comprehensive appendices.
Document Structure:
Main Text (Maximum 4 pages):
- Executive Summary - Brief overview in summary box (0.5-1 page)
- Competing Hypotheses - Each hypothesis in its own colored box with brief mechanistic explanation and key evidence (2-2.5 pages for 3-5 hypotheses)
- IMPORTANT: Use before each hypothesis box to prevent content overflow
- Each box should be ≤0.6 pages maximum
- Testable Predictions - Key predictions in amber boxes (0.5-1 page)
- Critical Comparisons - Priority comparison boxes (0.5-1 page)
Keep main text highly concise - only the most essential information. All details go to appendices.
Page Break Strategy:
- Always use before hypothesis boxes to ensure they start on fresh pages
- This prevents content from overflowing off page boundaries
- LaTeX boxes (tcolorbox) do not automatically break across pages
Appendices (Comprehensive, Detailed):
- Appendix A: Comprehensive literature review with extensive citations
- Appendix B: Detailed experimental designs with full protocols
- Appendix C: Quality assessment tables and detailed evaluations
- Appendix D: Supplementary evidence and analogous systems
Colored Box Usage:
Use the custom box environments from
hypothesis_generation.sty
:
- through - For each competing hypothesis (blue, green, purple, teal, orange)
- - For testable predictions (amber)
- - For critical comparisons (steel gray)
- - For supporting evidence highlights (light blue)
- - For executive summary (blue)
Each hypothesis box should contain (keep concise for 4-page limit):
- Mechanistic Explanation: 1-2 brief paragraphs (6-10 sentences max) explaining HOW and WHY
- Key Supporting Evidence: 2-3 bullet points with citations (most important evidence only)
- Core Assumptions: 1-2 critical assumptions
All detailed explanations, additional evidence, and comprehensive discussions belong in the appendices.
Critical Overflow Prevention:
- Insert before each hypothesis box to start it on a fresh page
- Keep each complete hypothesis box to ≤0.6 pages (approximately 15-20 lines of content)
- If content exceeds this, move additional details to Appendix A
- Never let boxes overflow off page boundaries - this creates unreadable PDFs
Citation Requirements:
Aim for extensive citation to support all claims:
- Main text: 10-15 key citations for most important evidence only (keep concise for 4-page limit)
- Appendix A: 40-70+ comprehensive citations covering all relevant literature
- Total target: 50+ references in bibliography
Main text citations should be selective - cite only the most critical papers. All comprehensive citation and detailed literature discussion belongs in the appendices. Use
for parenthetical citations.
LaTeX Compilation:
The template requires XeLaTeX or LuaLaTeX for proper rendering:
bash
xelatex hypothesis_report.tex
bibtex hypothesis_report
xelatex hypothesis_report.tex
xelatex hypothesis_report.tex
Required packages: The
hypothesis_generation.sty
style package must be in the same directory or LaTeX path. It requires: tcolorbox, xcolor, fontspec, fancyhdr, titlesec, enumitem, booktabs, natbib.
Page Overflow Prevention:
To prevent content from overflowing on pages, follow these critical guidelines:
-
Monitor Box Content Length: Each hypothesis box should fit comfortably on a single page. If content exceeds ~0.7 pages, it will likely overflow.
-
Use Strategic Page Breaks: Insert
before boxes that contain substantial content:
latex
\newpage
\begin{hypothesisbox1}[Hypothesis 1: Title]
% Long content here
\end{hypothesisbox1}
-
Keep Main Text Boxes Concise: For the 4-page main text limit:
- Each hypothesis box: Maximum 0.5-0.6 pages
- Mechanistic explanation: 1-2 brief paragraphs only (6-10 sentences max)
- Key evidence: 2-3 bullet points only
- Core assumptions: 1-2 items only
- If content is longer, move details to appendices
-
Break Long Content: If a hypothesis requires extensive explanation, split across main text and appendix:
- Main text box: Brief mechanistic overview + 2-3 key evidence points
- Appendix A: Detailed mechanism explanation, comprehensive evidence, extended discussion
-
Test Page Boundaries: Before each new box, consider if remaining page space is sufficient. If less than 0.6 pages remain, use
to start the box on a fresh page.
-
Appendix Page Management: In appendices, use
between major sections to avoid overflow in detailed content areas.
Quick Reference: See
assets/FORMATTING_GUIDE.md
for detailed examples of all box types, color schemes, and common formatting patterns.
使用
assets/hypothesis_report_template.tex
中的模板生成专业LaTeX文档。报告应格式规范,使用彩色方框进行视觉组织,分为简洁的正文和详尽的附录。
文档结构:
正文(最多4页):
- 执行摘要 - 摘要框中的简要概述(0.5-1页)
- 竞争性假设 - 每个假设放在单独的彩色方框中,包含简要的机制解释和关键证据(3-5个假设占2-2.5页)
- 重要提示: 在每个假设框前使用命令,防止内容溢出
- 每个方框最多≤0.6页
- 可测试预测 - 关键预测放在琥珀色方框中(0.5-1页)
- 关键比较 - 优先级比较方框(0.5-1页)
正文需高度简洁 - 仅保留最必要的信息。所有细节放入附录。
分页策略:
- 始终在假设框前使用命令,确保其从新页面开始
- 这可防止内容溢出页面边界
- LaTeX方框(tcolorbox)不会自动跨页拆分
附录(详尽、详细):
- 附录A: 全面的文献综述,包含大量引用
- 附录B: 详细的实验设计和完整方案
- 附录C: 质量评估表和详细评估结果
- 附录D: 补充证据和类似系统
彩色方框使用:
使用
hypothesis_generation.sty
中的自定义方框环境:
- 至 - 用于每个竞争性假设(蓝色、绿色、紫色、蓝绿色、橙色)
- - 用于可测试预测(琥珀色)
- - 用于关键比较(钢灰色)
- - 用于突出支持证据(浅蓝色)
- - 用于执行摘要(蓝色)
每个假设框应包含(为满足4页限制,请保持简洁):
- 机制解释: 1-2段简短内容(最多6-10句话),解释作用方式和原因
- 关键支持证据: 2-3个带引用的要点(仅保留最重要的证据)
- 核心假设: 1-2个关键假设
所有详细解释、额外证据和全面讨论均放入附录。
引用要求:
所有主张均需大量引用支持:
- 正文: 10-15个关键引用(仅保留最重要的证据,以满足4页限制)
- 附录A: 40-70+个全面引用,涵盖所有相关文献
- 目标总引用数: 50+篇参考文献
正文引用应具有选择性 - 仅引用最关键的论文。所有全面引用和详细文献讨论均放入附录。使用
进行括号引用。
LaTeX编译:
模板需要XeLaTeX或LuaLaTeX才能正确渲染:
bash
xelatex hypothesis_report.tex
bibtex hypothesis_report
xelatex hypothesis_report.tex
xelatex hypothesis_report.tex
所需包: hypothesis_generation.sty
样式包必须位于同一目录或LaTeX路径中。它依赖以下包:tcolorbox、xcolor、fontspec、fancyhdr、titlesec、enumitem、booktabs、natbib。
页面溢出预防:
为防止内容溢出页面,请遵循以下关键指南:
-
监控方框内容长度: 每个假设框应能舒适地放在单个页面上。如果内容超过约0.7页,很可能会溢出。
-
latex
\newpage
\begin{hypothesisbox1}[Hypothesis 1: Title]
% Long content here
\end{hypothesisbox1}
-
保持正文方框简洁: 为满足4页正文限制:
- 每个假设框:最多0.5-0.6页
- 机制解释:仅1-2段简短内容(最多6-10句话)
- 关键证据:仅2-3个要点
- 核心假设:仅1-2项
- 如果内容过长,将细节移至附录
-
拆分长内容: 如果某个假设需要大量解释,将其拆分为正文和附录两部分:
- 正文方框:简要机制概述 + 2-3个关键证据点
- 附录A:详细机制解释、全面证据、扩展讨论
-
测试页面边界: 在每个新方框前,考虑剩余页面空间是否足够。如果剩余空间不足0.6页,使用
让方框从新页面开始。
-
附录页面管理: 在附录中,主要部分之间使用
,避免详细内容区域溢出。
快速参考: 请参阅
assets/FORMATTING_GUIDE.md
获取所有方框类型、配色方案和常见格式模式的详细示例。