作业帮 > 综合 > 作业

word关于文字处理的一个问题

来源:学生作业帮 编辑:拍题作业网作业帮 分类:综合作业 时间:2024/05/02 01:53:13
word关于文字处理的一个问题
比如说这样一段文字(威尼斯商人中的):
ANTONIO Believe me, no: I thank my fortune for it,
My ventures are not in one bottom trusted,
Nor to one place; nor is my whole estate
Upon the fortune of this present year:
Therefore my merchandise makes me not sad.
SALARINO Why, then you are in love.
ANTONIO Fie, fie!
我想排成这样的:
ANTONIO
Believe me, no: I thank my fortune for it,
My ventures are not in one bottom trusted,
Nor to one place; nor is my whole estate
Upon the fortune of this present year:
Therefore my merchandise makes me not sad.
SALARINO
Why, then you are in love.
ANTONIO
Fie, fie!
该怎么处理?
由于整篇文章都是第一种排版,看着不太爽。按死方法一个个改量又太大。故希望有高手能来指点一下
直接利用'查找替换'在大写人名后加换行符就行了.
例:查找'ANTONIO'
替换为'ANTONIO^p'(引号不用输入),同法操作另一个人名.....
注意到原文中每个人名后都有一个空格,那么有一个更好的办法:
查找:([A-Z]{3})^32
替换为:\1^p
你只需要把以上直接复制到word的相应的栏中,并勾选'使用通配符'就可以了.
说明一点:那个{ }中是数字是指要查找的人名中连续的大写字母的个数(其实如果人名后确定有空格的话,这个数字是几都无所谓)