请你按照这个标准写一份报告,目标格式标准(基于专业报告格式)
页面规格
• 纸张尺寸:A4 (210mm × 297mm)
• 页边距:上40mm,左25mm,右25mm,下25mm
• 可用内容区域:160mm × 232mm
封面页格式
• 尺寸:210mm × 297mm(全屏)
• 背景:专业商务主题图片,全覆盖
• 文字位置:
◦ 主标题:距离顶部80px,距离左边80px
◦ 副标题:主标题下方40px
◦ 作者:距离底部120px,距离左边80px
◦ 日期:作者下方15px
• 文字样式:
◦ 主标题:36px,粗体,白色,阴影2px 2px 4px rgba(0,0,0,0.5)
◦ 副标题:24px,常规,白色,阴影1px 1px 2px rgba(0,0,0,0.5)
◦ 作者:24px,常规,白色,阴影1px 1px 2px rgba(0,0,0,0.5)
◦ 日期:18px,常规,白色,阴影1px 1px 2px rgba(0,0,0,0.5)
内容页格式
• 页眉:
◦ 位置:距离顶部15mm
◦ 字体:11px,Arial,颜色#666
◦ 内容:报告标题
◦ 下边框:1px solid #ddd
◦ 下内边距:8px
• 页脚:
◦ 位置:距离底部15mm
◦ 字体:11px,Arial,颜色#666
◦ 内容:Manus AI | 页码
◦ 对齐:右对齐
◦ 上边框:1px solid #ddd
◦ 上内边距:8px
• 内容区域:
◦ 双栏布局,栏宽度:70mm
◦ 栏间距:20mm
◦ 字体:11px,Arial,行间距1.5
◦ 段落间距:12px
标题层级
• 一级标题(h1):20px,粗体,颜色#333,下边距25px
• 二级标题(h2):14px,粗体,颜色#333,上边距20px,下边距10px
• 三级标题(h3):12px,粗体,颜色#333,上边距15px,下边距8px
• 正文(p):11px,常规,颜色#333,行间距1.5,下边距12px
目录页格式
• 标题:“Contents”,20px,粗体
• 目录项:
◦ 字体:11px,Arial
◦ 行高:32px(8px上下内边距)
◦ 左侧:章节名称
◦ 中间:点线连接(1px dotted #999)
◦ 右侧:页码
◦ 下边框:1px dotted #ccc
完整操作流程
步骤1:创建任务计划
使用plan工具:
action: update
goal: “创建专业的[主题]研究报告,使用专业报告格式,包含封面、目录、执行摘要、主体章节和参考文献”
phases: [
{id: 1, title: “研究数据收集与分析”, capabilities: {deep_research: true, data_analysis: true}},
{id: 2, title: “生成报告配图和视觉素材”, capabilities: {media_generation: true}},
{id: 3, title: “撰写报告内容和结构”, capabilities: {technical_writing: true}},
{id: 4, title: “制作专业PDF报告”, capabilities: {technical_writing: true}},
{id: 5, title: “向用户交付最终报告”, capabilities: {}}
]
步骤2:数据收集
使用search工具收集权威数据:
type: “info”
queries: [“[主题] 市场研究报告”, “[主题] 行业分析”, “[主题] 发展趋势”]
使用file工具保存数据:
action: “write”
path: “/home/ubuntu/research_data.md”
text: “收集到的关键信息和数据”
步骤3:生成封面背景图
使用generate_image工具:
prompt: “Create a professional business report cover background in portrait orientation. The image should show a modern corporate environment with a blurred background of office buildings or professional setting. In the foreground, place a symbolic element representing [主题相关符号] on a dark stone or metal pedestal. The overall atmosphere should be professional and corporate, with natural lighting. The background should be slightly blurred to allow text overlay. Color palette should be professional - blues, grays, and neutral tones. No text should be included in the image.”
aspect_ratio: “portrait”
path: “/home/ubuntu/report_cover.png”
步骤4:创建HTML报告文件
使用file工具创建HTML:
action: “write”
path: “/home/ubuntu/professional_report.html”
text: [完整HTML代码 - 见下方]
完整HTML[]代码模板
[报告标题] @page { size: A4; margin: 0; }
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.4;
color: #333;
}
/* 封面页样式 - 精确尺寸 */.cover-page { width: 210mm; height: 297mm; background-image: url('/home/ubuntu/report_cover.png'); background-size: cover; background-position: center; position: relative; page-break-after: always; display: flex; flex-direction: column; justify-content: flex-start; padding: 0; margin: 0;}.cover-content { position: absolute; top: 80px; left: 80px; right: 80px; color: white;}.cover-title { font-size: 36px; font-weight: bold; line-height: 1.2; margin-bottom: 40px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5);}.cover-subtitle { font-size: 24px; margin-bottom: 15px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5);}.cover-author { position: absolute; bottom: 120px; left: 0; font-size: 24px; margin-bottom: 15px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5);}.cover-date { position: absolute; bottom: 90px; left: 0; font-size: 18px; text-shadow: 1px 1px 2px rgba(0,0,0,0.5);}/* 内容页样式 - 精确尺寸 */.content-page { width: 210mm; height: 297mm; padding: 40mm 25mm 25mm 25mm; box-sizing: border-box; page-break-after: always; position: relative;}.page-header { position: absolute; top: 15mm; left: 25mm; right: 25mm; font-size: 11px; color: #666; border-bottom: 1px solid #ddd; padding-bottom: 8px;}.page-footer { position: absolute; bottom: 15mm; left: 25mm; right: 25mm; text-align: right; font-size: 11px; color: #666; border-top: 1px solid #ddd; padding-top: 8px;}/* 标题层级 - 精确字体大小 */h1 { font-size: 20px; font-weight: bold; color: #333; margin: 0 0 25px 0;}h2 { font-size: 14px; font-weight: bold; color: #333; margin: 20px 0 10px 0;}h3 { font-size: 12px; font-weight: bold; color: #333; margin: 15px 0 8px 0;}p { font-size: 11px; line-height: 1.5; margin: 0 0 12px 0; text-align: justify;}/* 目录样式 - 精确格式 */.toc-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dotted #ccc; font-size: 11px;}.toc-item:last-child { border-bottom: none;}.toc-dots { flex: 1; border-bottom: 1px dotted #999; margin: 0 10px; height: 1px;}/* 双栏布局 - 精确尺寸 */.two-column { columns: 2; column-gap: 20mm; column-fill: balance;}.two-column p { break-inside: avoid;}/* 表格样式 */table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 10px;}th, td { border: 1px solid #ddd; padding: 8px; text-align: left; vertical-align: top;}th { background-color: #f5f5f5; font-weight: bold;}/* 高亮框 */.highlight-box { background: #f8f9fa; border-left: 4px solid #007bff; padding: 15px; margin: 15px 0; font-size: 11px;}/* 参考文献样式 */.reference { font-size: 10px; margin-bottom: 8px; line-height: 1.4; text-indent: -20px; padding-left: 20px;}ul { font-size: 11px; margin: 10px 0; padding-left: 20px;}li { margin-bottom: 5px;}
[主标题]
[副标题]
Manus AI
2025年9月
Contents
1. Executive Summary
[执行摘要内容段落1]
Core Conclusion:
[核心结论内容]
Key Findings and Principal Challenges:
[主要发现和挑战]
Summary of Policy Recommendations:
[政策建议摘要]
2. [章节标题]
[章节内容段落]
[二级标题]
Current Progress:
[当前进展内容]
Achievement Status:
[成就状态内容]
Likelihood of Achievement:
[实现可能性内容]
Primary Impediments:
[主要障碍内容]
References
步骤5:转换为PDF
使用shell工具执行weasyprint转换:
action: “exec”
command: python3 -c "
from weasyprint import HTML
HTML(‘/home/ubuntu/professional_report.html’).write_pdf(‘/home/ubuntu/Professional_Report_Final.pdf’)
print(‘PDF生成成功’)
"
session: “pdf_generation”
标准报告内容[]结构
封面页内容
• 主标题:[具体主题的完整标题]
• 副标题:[主题]研究报告 / [主题]市场分析报告
• 作者:Manus AI
• 日期:(现在的日期)
目录页内容
应该按照报告来生成不同的内容,这个只是个例子,正常来说,应该生成更多页面:
• Executive Summary (第2页)
• [主题]现状分析 (第3页)
• 问题与挑战分析 (第4页)
• 市场对比研究 (第5页)
• 案例研究 (第6页)
• 数据分析与统计 (第7页)
• 趋势预测 (第8页)
• 政策建议与结论 (第9页)
• References (第10页)
执行摘要结构
• 开篇段落:报告目的和背景
• Core Conclusion:核心观点和结论
• Key Findings and Principal Challenges:主要发现和挑战
• Summary of Policy Recommendations:政策建议摘要
主体章节结构(每章节使用相同格式)
• 章节标题:20px粗体
• 引言段落:背景介绍
• 二级标题:具体分析点
• 三级标题结构:
◦ Current Progress: 现状描述
◦ Achievement Status: 成就状态
◦ Likelihood of Achievement: 实现可能性
◦ Primary Impediments: 主要障碍
参考文献格式
[序号] 作者/机构. (年份). 标题. 完整URL
质量检查清单
格式检查
• ☐封面全屏显示,无边框
• ☐页眉有下划线,页脚有上划线
• ☐字体大小严格按照标准(36px/24px/20px/14px/12px/11px)
• ☐双栏布局平衡,栏间距20mm
• ☐页码格式:Manus AI | 数字
• ☐目录点线连接正确
• ☐所有页面页眉页脚一致
内容检查
• ☐执行摘要包含四个标准部分
• ☐每个主体章节包含四个三级标题
• ☐参考文献格式统一
• ☐数据来源权威可靠
• ☐分析逻辑清晰
• ☐语言专业规范
技术检查
• ☐HTML代码无语法错误
• ☐CSS样式完整正确
• ☐图片路径使用绝对路径
• ☐weasyprint转换无错误
• ☐PDF文件大小合理
• ☐所有页面正确显示
