24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1365  |  回复: 3

shawmar

金虫 (正式写手)

[求助] latex 如何给一段话(几行字) 标下划线 ?急急急!

我想把一段话(几行字:Hazardous electrical wiring has been identified as an area of critical national and international concern. Faulty and improperly installed electrical wiring is a leading cause of fires in homes and commercial buildings. Wiring is also responsible for numerous problems in consumer product safety, vehicular safety/reliability, safety of nuclear facilities, reliability of power distribution systems, reliability of communication systems, and others. )(图1是latex源代码,图2是生成的PDF中的样子)同时标一下下划线,该如何做?注意啊:这段话是顶头的,没有空两格的,所以前面有\noindent,表完下划线也要是这个样子。万分感谢!好人有好报!!! \underline{}这个命令是不行的,已经试过了.
还有 如果我想给其中的一句话标下划线,我想给第四句话(Wiring is also responsible for numerous problems in consumer product safety, vehicular safety/reliability, safety of nuclear facilities, reliability of power distribution systems, reliability of communication systems, and others. )标下划线,其他都不标。这个该怎么做?
latex 如何给一段话(几行字) 标下划线 ?急急急!
图片1.png


latex 如何给一段话(几行字) 标下划线 ?急急急!-1
图片2.png

[ Last edited by shawmar on 2013-10-15 at 18:25 ]
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

快乐的战士
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

淡水云烟

捐助贵宾 (著名写手)

铁杆木虫

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ...
感谢参与,应助指数 +1
shawmar: 金币+20, ★★★★★最佳答案 2013-10-29 07:22:37
shawmar: 金币+40, ★★★★★最佳答案 2014-03-18 19:41:13
给楼主找到了个链接,希望有帮助。http://blog.sina.com.cn/s/blog_5e16f1770102fcgj.html

有需要绘制多行下划线的,这个包还是不错的,搭建可以看看其说明,摘录如下:
\usepackage{formular}
包链接:http://www.ctan.org/tex-archive/macros/latex/contrib/formular
代码:
\setFRMbreakstyle
\newFRMenvironment{env1}{Foobar}{2}
\setFRMinlinestyle
\newFRMenvironment{env2}{Barfoo}{3}
\begin{env1} This is break style \end{env1}
\begin{env2} This is inline style \end{env2}
耐得住寂寞,才守得住繁华
2楼2013-10-16 01:48:45
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

tuifeibc

金虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
shawmar: 金币+20, ★★★★★最佳答案 2013-10-29 07:22:46
用ulem宏报 的 \uline试试。
3楼2013-10-16 11:46:20
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kanger0

木虫 (小有名气)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
shawmar: 金币+20, ★★★★★最佳答案 2013-10-29 07:22:54
导言部份加入\usepackage{ulem}
然后使用下列命令之一:
\uline{ }  下划线
\uuline{ }  双下划线
\uwave{ } 波浪线
4楼2013-10-17 16:52:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 shawmar 的主题更新
信息提示
请填处理意见