使用LaTeX将带有/不带有行的文本涂成灰色? [英] Graying out texts with/without lines with LaTeX?

查看:696
本文介绍了使用LaTeX将带有/不带有行的文本涂成灰色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是实用书架的屏幕截图.

This is a screen capture from Pragmatic Bookshelf.

如何使用LaTeX制作此文本框?它有自己的标题并带有下划线,并使用颜色.

How to make this boxed text with LaTeX? It has it's own heading with underline, and uses color.

如何制作一些带有灰色背景的文本,如下所示?

And how to make some text with gray background as follows?

http://img20.imageshack.us/img20/7351/screenshot20100718at916.png

Konrad的方法行得通,但似乎不适用于多列软件包.

Konrad's method works, but it looks like that it doesn't work well with multicolumn package.

Tonio的方法仅显示字符的灰色,但是我想将灰色框扩展到\ textwidth的末尾.

Tonio's method shows the gray only for the characters, but I want to have the gray box expanded to the end of \textwidth.

http://img714.imageshack.us/img714/8417/screenshot20100718at247.png

我针对\ texwidth发布了另一个问题,它似乎仍然可以正常工作.

I posted another question with respect to the \texwidth, and it seems to working anyway.

推荐答案

使用 查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆