Skip to content

Commit b5aee9b

Browse files
author
dauwhe
committed
[css-inline] add example of multi-line drop cap
1 parent 3878989 commit b5aee9b

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

css-inline/Multi-line-initial.png

30.3 KB
Loading

css-inline/Overview.bs

+7
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,13 @@ Indentation and Multi-line Effects</h3>
253253

254254
If an initial letter is too long to fit on one line, it wraps (according to the usual text-wrapping rules), each line filled and formatted exactly as if it were the first line and the initial letter too long to fit any subsequent normal text. Any normal text after the initial letter starts on its last line, affected exactly as if that line were the first line.
255255

256+
257+
<figure>
258+
<img alt="multi-line drop cap" src="Multi-line-initial.png" width="300">
259+
<p class="caption">Drop cap extends to two lines.</p>
260+
</figure>
261+
262+
256263
<!--
257264
]]]]]]]]]]]]
258265
]]]]]=======

css-inline/Overview.html

+7
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,13 @@ <h3 class="heading settled" data-level=2.6 id=initial-letter-indentation><span c
331331
<p>If an initial letter is too long to fit on one line, it wraps (according to the usual text-wrapping rules), each line filled and formatted exactly as if it were the first line and the initial letter too long to fit any subsequent normal text. Any normal text after the initial letter starts on its last line, affected exactly as if that line were the first line.</p>
332332

333333

334+
<figure>
335+
<img alt="multi-line drop cap" src=Multi-line-initial.png width=300>
336+
<p class=caption>Drop cap extends to two lines.</p>
337+
</figure>
338+
339+
340+
334341
<h3 class="heading settled" data-level=2.7 id=sizing-initial-letters><span class=secno>2.7. </span><span class=content>Sizing Initial Letters</span><a class=self-link href=#sizing-initial-letters></a></h3>
335342

336343
<p>The size of a drop initial is determined by the need to satisfy the required alignment. For an N-line drop initial in a Western script, the cap-height of the letter needs to be (N – 1) times the line-height, plus the cap-height of the surrounding text. Note this height is <b>not</b> the font size of the drop initial.</p>

0 commit comments

Comments
 (0)