Create code box and viewer based on tcolorbox and minted/listings ======= `codebox` is a LaTeX3 package developed based on tcolorbox and minted/listings, which provides environments `codebox` and `codeview` to typset with environment body, and macros `\codefile` and `\cvfile` to typeset programming source code from a file in a fancy box. The starred version of all environments and macros are provided at the same time, such as `codebox*`, `codeview*`, `\codefile*` and `\cvfile*` which adds comment at bottom of the fancy box. You can read the manual (in Chinese/English) for more details and examples. Contributing ------------ 1. github repository: 1. repository: [codebox](https://github.com/registor/codebox) 2. Issues and pull requests are welcome. [issue](https://github.com/registor/codebox/issues) or [pull request](https://github.com/registor/codebox/pulls). 2. gitee repository: 1. repository: [codebox](https://gitee.com/nwafu_nan/codebox) 2. Issues and pull requests are welcome. [issue](https://gitee.com/nwafu_nan/codebox/issues) or [pull request](https://gitee.com/nwafu_nan/codebox/pulls). 基于tcolorbox的终端模拟å®åŒ… ======= `codebox`是一个基于tcolorbox的用LaTeX3å¼€å‘的终端模拟LaTeXå®åŒ…,它æä¾›äº†ç”¨äºŽæŽ’ç‰ˆç¨‹åºæºä»£ç ç›’å的环境和命令。 å…¶ä¸`codebox`å’Œ`codeview`çŽ¯å¢ƒç”¨äºŽæ ¹æ®çŽ¯å¢ƒå†…å®¹æŽ’ç‰ˆä»£ç ,`\codefile`å’Œ`\cvfile`å‘½ä»¤ç”¨äºŽæ ¹æ®æ–‡ä»¶å†…容排版代ç 。 `codebox`åŒæ—¶æä¾›äº†å„环境和命令的星å·ç‰ˆæœ¬ï¼Œå¦‚`codebox*`å’Œ`codeview*`,`\codefile*`å’Œ`\cvfile*`,用于为代ç ç›’åæ·»åŠ åº•çº¿æ³¨é‡Šã€‚ å¯ä»¥é€šè¿‡é˜…读å®åŒ…手册(䏿–‡/英文)以也解该å®åŒ…æ›´å¤šçš„ä½¿ç”¨ç»†èŠ‚å’Œä½¿ç”¨æ ·ä¾‹ã€‚ ### å‚与贡献 --------------------- 1. github仓库: (1). 仓库地å€: [codebox](https://github.com/registor/codebox) (2). Issueså’ŒPR: [issue](https://github.com/registor/codebox/issues) or [pull request](https://github.com/registor/codebox/pulls). 2. gitee仓库: (1). 仓库地å€: [codebox](https://gitee.com/nwafu_nan/codebox) (2). Issues and PR: [issue](https://gitee.com/nwafu_nan/codebox/issues) or [pull request](https://gitee.com/nwafu_nan/codebox/pulls). Copyright and Licence --------------------- Copyright (C) 2020-2022 by Nan Geng <nangeng@nwafu.edu.cn> ---------------------------------------------------------------------- This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3c of this license or (at your option) any later version. This version of this license is in http://www.latex-project.org/lppl/lppl-1-3c.txt and the latest version of this license is in http://www.latex-project.org/lppl.txt and version 1.3 or later is part of all distributions of LaTeX version 2005/12/01 or later. This work has the LPPL maintenance status "maintained". The Current Maintainer of this work is Nan Geng. This package consists of the file codebox.dtx, and the derived files codebox.sty, codebox.pdf, codebox.ins, README.md (this file).