Linux
  • Linux
  • Bash
  • Debian
  • Ubuntu
  • Shell
  • CentOS
  • SSH
☰

如何縮排鑄造的程式碼區塊?

tag-icon 2024-6-19 • tag-icon indentation minted code org-mode
如何縮排鑄造的程式碼區塊?

我正在使用 org-mode 生成 pdf 並將代碼後端設置為minted.組織來源如下圖所示:

Some text.

#+begin_src c
#include <stdio.h>
int main() {
    printf("Hello, world!);
}
#+end_src

Some text.

結果如下:

在此輸入影像描述

我想要的是程式碼區塊有一個像段落第一行那樣的縮排。

THE END
森林中的節點定位 森林中的節點定位
哪個 LaTeX 套件擁有最長的文件? 哪個 LaTeX 套件擁有最長的文件?

相關內容

熱門問答

熱門問答

  • indentation
  • minted
  • code
  • org-mode
  • forest
  • tikz-node

© 2024 rvso.com 版權所有. 網站地圖