CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/codebox

README.md

Create code box and viewer based on tcolorbox and minted/listings

codebox is a 3 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
    2. Issues and pull requests are welcome. issue or pull request.
  1. gitee repository:
    1. repository: codebox
    2. Issues and pull requests are welcome. issue or pull request.

基于tcolorbox的终端模拟宏包

codebox是一个基于tcolorbox的用3开发的终端模拟宏包,它提供了用于排版程序源代码盒子的环境和命令。

其中codeboxcodeview环境用于根据环境内容排版代码,\codefile\cvfile命令用于根据文件内容排版代码。

codebox同时提供了各环境和命令的星号版本,如codebox*codeview*\codefile*\cvfile*,用于为代码盒子添加底线注释。

可以通过阅读宏包手册(中文/英文)以也解该宏包更多的使用细节和使用样例。

参与贡献


  1. github仓库: (1). 仓库地址: codebox (2). Issues和PR: issue or pull request.
  1. gitee仓库: (1). 仓库地址: codebox (2). Issues and PR: issue or pull request.

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).

Download the contents of this package in one zip archive (381.0k).

codebox – Highlighted source code in a fancy box

This 3 package provides environments codebox and codeview to typset with an environment body, and macros \codefile and \cvfile to typeset programming source code from a file in a fancy box.

Starred versions of these environments and macros are provided to add a comment at the bottom of the fancy box.

The package is based on tcolorbox, minted, and listings.

Packagecodebox
Bug trackerhttps://github.com/registor/codebox/issues
Repositoryhttps://github.com/registor/codebox
Version1.0.4 2022-01-28
LicensesThe Project Public License 1.3c
Copyright2020–2022 Nan Geng
MaintainerNan Geng
Contained inTeX Live as codebox
MiKTeX as codebox
TopicsSyntax highlight
Experimental 3
Boxing
Listing
Decoration
...
Guest Book Sitemap Contact Contact Author