WordProcessingML的解剖学翻译04--Wordprocessing段落02--属性01--水平对齐

Wordprocessing 段落 – 属性

对齐 / 调整

用 <w:jc> 元素指定要应用于段落的对齐方式或调整方式。

<w:pPr>
	<w:jc w:val="end"/>
</w:pPr>

参考文献:ECMA-376, 3rd Edition (June, 2011), Fundamentals and Markup Language Reference § 17.3.1.13.

Word 2007 示例:
<w:pPr>
	<w:jc w:val="left"/>
</w:pPr>

<w:pPr>
	<w:jc w:val="right"/>
</w:pPr>

<w:pPr>
	<w:jc w:val="both"/>
</w:pPr>

Word 2007 示例

属性:

最常用的属性值如下:

val

指定段落对齐的值。可能的值为:

  • start - 左到右文档的左边距对齐。
    注意:在2003版标准中,该值为 left

  • end - 左到右文档的右边距对齐。
    注意:在2003版标准中,该值为 right

  • center - 将文字居中。

  • both - 在两个页边距之间均等地对齐文本,但字符间距不受影响。

  • distribute - 在两个页边距之间均等地对齐文本,并且单词间和字符间的间距都会受到影响。

相关的开放文档格式(Open Document Format, ODF)属性:

通过在应用于样式的样式内的 style:paragraph-properties 元素上设置 fo:text-align 属性,可以指定段落的对齐方式。可能的值是 start, end, left, right, center, 和 justify

参议文献:Open Document Format for Office Applications Version 1.2 (May, 2011) § 20.216

<style:style style:name="P1" style:family="paragraph" style:parent-style-name="Standard">
	<style:paragraph-properties fo:text-align="end"/>
</style:style>
相关的 HTML / CSS 属性:
text-align: right;
text-align: center;
text-align: justify;
CSS 示例:

I feel that there is much to be said for the Celtic belief that the souls of those whom we have lost are held captive in some inferior being, in an animal, in a plant, in some inanimate object, and so effectively lost to us until the day (which to many never comes) when we happen to pass by the tree or to obtain possession of the object which forms their prison.

Then they start and tremble, they call us by our name, and as soon as we have recognized their voice the spell is broken. We have delivered them: they have overcome death and return to share our life. And so it is with our own past. It is a labor in vain to attempt to recapture it: all the efforts of our intellect must prove futile.

The past is hidden somewhere outside the realm, beyond the reach of intellect, in some material object (in the sensation which that material object will give us) which we do not suspect. And as for that object, it depends on chance whether we come upon it or not before we ourselves must die

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值