寫論文已經(jīng)夠頭禿了, 再浪費時間來反復折騰格式, 幸福感就忒低了. 用工具把自己從重復性的工作中解放出來, 去享受創(chuàng)造的樂趣~
bing每日壁紙
工具
- vscode + markdown preview enhance(簡稱 MPE)
- 文檔格式處理屆的瑞士軍刀 pandoc: 常見發(fā)布格式 md docx pdf LaTeX epub HTML
- zotero 文獻管理器: chrome/app 進行收集, 然后導出 bibTex(
.bib
) 等格式使用 - Anaconda: python env for data science, 為數(shù)據(jù)科學準備的 py 開發(fā)環(huán)境
- 樣例文件夾, 省去部分重復工作
brew install pandoc
pip install pandoc-fignos # 處理圖片交叉引用, 需要先安裝 anaconda
pandoc demo.md -o demo.docx # md -> docx
# 文獻引用
pandoc --filter pandoc-citeproc --bibliography=myref.bib --csl=chinese-gb7714-2005-numeric.csl demo-citation.md -o demo-citation.docx
# 圖片引用
pandoc --filter pandoc-fignos --filter pandoc-citeproc --bibliography=myref.bib --csl=chinese-gb7714-2005-numeric.csl demo-figref.md -o demo-figref.docx
# pandoc 開箱即用版
pandoc
--filter pandoc-fignos # 有圖: 圖片交叉引用
--filter pandoc-tablenos # 有表格
--filter pandoc-citeproc --bibliography=ref.bib # 文獻應用
--metadata link-citations=true --metadata reference-section-title="參考文獻"
--csl=chinese-gb7714-2005-numeric.csl # 格式規(guī)范
--toc # 生成目錄
# --reference-doc democonf.docx # 文檔樣式模板
paper.md -o paper.docx # md -> docx
論文格式示例
- markdown 知識小抄
- 數(shù)學公式: latex
- 格式規(guī)范: GB/T 7714-2015
- 文本繪圖, 流程圖/甘特圖/美人魚圖 等
- 目錄自動生成
- 腳注:
[^1]
, 腳注只要不重復即可, MPE 會自動按照順序 render
a[^1]
c[^3]
b[^2]
[^1]: a
[^3]: b
[^2]: c
- 參考文獻引用: 百度學術 bibTex(
.bib
)/EndNote/RefMan/NoteFirst/NoteExpress- 使用
.bib
文件中@
下的第一個字段, 示例如下
- 使用
@article{王國成2017從,
title={從3V到5V:大數(shù)據(jù)助推經(jīng)濟行為的深化研究},
author={王國成},
journal={天津社會科學},
number={2},
pages={94-99},
year={2017},
}
王國成闡述了大數(shù)據(jù)的特性變遷過程[@王國成2017從]
- 圖片交叉索引
- 注意事項: 文檔中圖的信息, 要 隔行
---
fignos-cleveref: On
fignos-plus-name: 圖
___
# 圖片引用
大數(shù)據(jù)的3V特性如{@fig:bigdata3v}所示
{#fig:bigdata3v}
大數(shù)據(jù)的5V特性如{@fig:bigdata5v}所示
{#fig:bigdata5v}
mark 參考資料
- 使用 markdown 寫論文, 簡單易上手的例子, 分別來自 簡書[1] 知乎1[2] 知乎2[3]
- 準備看論文了, 這個 論文閱讀筆記markdown 模板 正好可以用上
- 知乎 markdown 話題下的精華問答
-
簡書 - 如何用 markdown 寫論文: http://www.reibang.com/p/b0ac7ae98100 ?
-
知乎 - Sci.Fun | 如何使用markdown撰寫論文赫舒?https://zhuanlan.zhihu.com/p/103234043 ?
-
知乎 - 用markdown 和 pandoc 寫論文的語法小抄: https://zhuanlan.zhihu.com/p/111750527 ?