Skip to content

Commit 9f7fb6e

Browse files
committed
L-more-11.md translation
1 parent 2720f3a commit 9f7fb6e

1 file changed

Lines changed: 23 additions & 18 deletions

File tree

zh/more-11.md

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,35 @@
11
---
22
layout: "lesson"
3-
lang: "en"
4-
title: "More on: Formatting: fonts and spacing"
5-
description: "This lesson shows how to suppress the paragraph indentation for a single paragraph."
6-
toc-anchor-text: "More on: Formatting: fonts and spacing"
3+
lang: "zh"
4+
title: "更多内容:格式:字体和间距"
5+
description: "本课展示了如何抑制单个段落的缩进。"
6+
toc-anchor-text: "更多内容:格式:字体和间距"
77
---
88

9-
## Suppressing the indent for one paragraph
9+
## 抑制单个段落的缩进
1010

11-
12-
If you want to suppress indentation for a single paragraph, you can use
13-
`\noindent`.
14-
This should be _very_ rarely used; most of the time, you should let LaTeX
15-
handle this automatically.
11+
如果您想抑制单个段落的缩进,可以使用`\noindent`命令。
12+
这种用法应该 _非常_ 少见;大多数时候,您应该让LaTeX自动处理这个问题。
1613

1714
```latex
18-
\documentclass{article}
19-
\usepackage[T1]{fontenc}
15+
% !TEX program=xelatex
16+
17+
% 临时patch,否则使用中文标点,TexLive.net会编译错误
18+
\ExplSyntaxOn
19+
\clist_map_inline:nn { fp, int, dim, skip, muskip }
20+
{
21+
\cs_generate_variant:cn { #1_set:Nn } { NV }
22+
\cs_generate_variant:cn { #1_gset:Nn } { NV }
23+
}
24+
\ExplSyntaxOff
25+
26+
\documentclass[UTF8]{ctexart}
27+
\usepackage{xeCJK}
2028
\begin{document}
21-
One small paragraph, which we have filled out a little to make sure you can
22-
see the effect here!
29+
一个小段落,我们稍微填充一些内容以确保您能在这里看到效果!
2330
24-
One small paragraph, which we have filled out a little to make sure you can
25-
see the effect here!
31+
一个小段落,我们稍微填充一些内容以确保您能在这里看到效果!
2632
27-
\noindent One small paragraph, which we have filled out a little to make sure
28-
you can see the effect here!
33+
\noindent 一个小段落,我们稍微填充一些内容以确保您能在这里看到效果!
2934
\end{document}
3035
```

0 commit comments

Comments
 (0)