惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
Y
Y Combinator Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
爱范儿
爱范儿
IT之家
IT之家
量子位
小众软件
小众软件
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
有赞技术团队
有赞技术团队
罗磊的独立博客
S
SegmentFault 最新的问题
博客园_首页
N
Netflix TechBlog - Medium
月光博客
月光博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
M
MIT News - Artificial intelligence
A
About on SuperTechFans
The Cloudflare Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
腾讯CDC
MyScale Blog
MyScale Blog

/home/hexchain

在 Linux 上使用 Docker 和 Java 开发酷 Q 插件 跨架构升级 Fedora 使用 networkd 管理 HE.net TunnelBroker OpenWrt 编译配置笔记 tar 分卷压缩与解压缩 为不同 GitHub repo 使用不同 ssh key Linux 上使用财付通控件
LaTeX 笔记
hexchain · 2015-01-09 · via /home/hexchain

长得还不错的listing设置(不知道从哪抄来的)

\DeclareCaptionFont{white}{\color{white}}
\DeclareCaptionFormat{listing}{\colorbox[cmyk]{0.43, 0.35, 0.35,0.01}{\parbox{\linewidth}{\hspace{15pt}#1#2#3}}}
\captionsetup[lstlisting]{format=listing,labelfont=white,textfont=white,singlelinecheck=false,margin=0pt,font={bf,footnotesize}}

\lstset{
    basicstyle=\small\ttfamily,
    numbers=left,
    numbersep=5pt,
    numberstyle=\ttfamily\color{gray},
    tabsize=4,
    extendedchars=true,
    breaklines=true,
    frame=b,
    showspaces=false,
    showtabs=false,
    xleftmargin=17pt,
    framexleftmargin=17pt,
    framexrightmargin=6pt,
    framexbottommargin=4pt,
    escapechar=`,
    showstringspaces=false,
}