diff options
author | Alex Parker <rockbox@aeparker.com> | 2010-06-20 12:58:41 +0000 |
---|---|---|
committer | Alex Parker <rockbox@aeparker.com> | 2010-06-20 12:58:41 +0000 |
commit | 64d4ddf2161f21239539a17705d83478297254f8 (patch) | |
tree | 3e05d72578c4f6ca9e04312923c2f717f83936b6 /manual/advanced_topics | |
parent | 318e99a61e19e4fd31de6519756c9e51063f32bd (diff) | |
download | rockbox-64d4ddf2161f21239539a17705d83478297254f8.tar.gz rockbox-64d4ddf2161f21239539a17705d83478297254f8.zip |
Convert the manual to the new theme syntax. As a result, adds the viewport colour tags which closes FS#11372. Correct multifont tag from %F to %Fl
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26989 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'manual/advanced_topics')
7 files changed, 58 insertions, 56 deletions
diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex index 8580fc54b8..78cc32d90d 100644 --- a/manual/advanced_topics/main.tex +++ b/manual/advanced_topics/main.tex | |||
@@ -231,7 +231,7 @@ are discussed below. | |||
231 | \subsubsection{\label{ref:Viewports}Viewports} | 231 | \subsubsection{\label{ref:Viewports}Viewports} |
232 | 232 | ||
233 | By default, a viewport filling the whole screen contains all the elements | 233 | By default, a viewport filling the whole screen contains all the elements |
234 | defined in the \fname{.wps} file. The | 234 | defined in each theme file. The |
235 | \opt{lcd_non-mono}{elements in this viewport are displayed | 235 | \opt{lcd_non-mono}{elements in this viewport are displayed |
236 | with the same background/\linebreak{}foreground | 236 | with the same background/\linebreak{}foreground |
237 | \opt{lcd_color}{colours}\nopt{lcd_color}{shades} and the} | 237 | \opt{lcd_color}{colours}\nopt{lcd_color}{shades} and the} |
@@ -241,8 +241,8 @@ be defined. A viewport is a rectangular window on the screen% | |||
241 | \opt{lcd_non-mono}{ with its own foreground/background | 241 | \opt{lcd_non-mono}{ with its own foreground/background |
242 | \opt{lcd_color}{colours}\nopt{lcd_color}{shades}}. | 242 | \opt{lcd_color}{colours}\nopt{lcd_color}{shades}}. |
243 | This window also has variable dimensions. To | 243 | This window also has variable dimensions. To |
244 | define a viewport a line starting \config{{\%V{\textbar}\dots}} has to be | 244 | define a viewport a line starting \config{{\%V(\dots}} has to be |
245 | present in the \fname{.wps} file. The full syntax will be explained later in | 245 | present in the theme file. The full syntax will be explained later in |
246 | this section. All elements placed before the | 246 | this section. All elements placed before the |
247 | line defining a viewport are displayed in the default viewport. Elements | 247 | line defining a viewport are displayed in the default viewport. Elements |
248 | defined after a viewport declaration are drawn within that viewport. | 248 | defined after a viewport declaration are drawn within that viewport. |
@@ -263,15 +263,15 @@ area of the screen. | |||
263 | \subsubsection{Conditional Viewports} | 263 | \subsubsection{Conditional Viewports} |
264 | 264 | ||
265 | Any viewport can be displayed either permanently or conditionally. | 265 | Any viewport can be displayed either permanently or conditionally. |
266 | Defining a viewport as \config{{\%V{\textbar}\dots}} | 266 | Defining a viewport as \config{{\%V(\dots}} |
267 | will display it permanently. | 267 | will display it permanently. |
268 | 268 | ||
269 | \begin{itemize} | 269 | \begin{itemize} |
270 | \item {\config{\%Vl{\textbar}'identifier'{\textbar}\dots{\textbar}}} | 270 | \item {\config{\%Vl(`identifier',\dots)}} |
271 | This tag preloads a viewport for later display. `identifier' is a single | 271 | This tag preloads a viewport for later display. `identifier' is a single |
272 | lowercase letter (a-z) and the `\dots' parameters use the same logic as | 272 | lowercase letter (a-z) and the `\dots' parameters use the same logic as |
273 | the \config{\%V} tag explained above. | 273 | the \config{\%V} tag explained above. |
274 | \item {\config{\%Vd'identifier'}} Display the `identifier' viewport. | 274 | \item {\config{\%Vd(`identifier')}} Display the `identifier' viewport. |
275 | \end{itemize} | 275 | \end{itemize} |
276 | 276 | ||
277 | Viewports can share identifiers so that you can display multiple viewports | 277 | Viewports can share identifiers so that you can display multiple viewports |
@@ -292,7 +292,7 @@ As mentioned above, it is possible to set a UI viewport via the theme | |||
292 | file, and to conditionally select different UI viewports. | 292 | file, and to conditionally select different UI viewports. |
293 | 293 | ||
294 | \begin{itemize} | 294 | \begin{itemize} |
295 | \item {\config{\%Vi{\textbar}'label'{\textbar}\dots{\textbar}}} | 295 | \item {\config{\%Vi(`label',\dots)}} |
296 | This viewport is used as Custom UI Viewport in the case that the theme | 296 | This viewport is used as Custom UI Viewport in the case that the theme |
297 | doesn't have a ui viewport set in the theme \fname{.cfg} file. Having this | 297 | doesn't have a ui viewport set in the theme \fname{.cfg} file. Having this |
298 | is strongly recommended since it makes you able to use the SBS | 298 | is strongly recommended since it makes you able to use the SBS |
@@ -300,7 +300,7 @@ file, and to conditionally select different UI viewports. | |||
300 | Info Viewport using the \%VI tag. The `\dots' parameters use the same logic as | 300 | Info Viewport using the \%VI tag. The `\dots' parameters use the same logic as |
301 | the \config{\%V} tag explained above. | 301 | the \config{\%V} tag explained above. |
302 | 302 | ||
303 | \item {\config{\%VI'label'}} Set the Info Viewport to use the viewport called | 303 | \item {\config{\%VI(`label')}} Set the Info Viewport to use the viewport called |
304 | label, as declared with the previous tag. | 304 | label, as declared with the previous tag. |
305 | \end{itemize} | 305 | \end{itemize} |
306 | 306 | ||
@@ -309,7 +309,7 @@ Additional fonts can be loaded within each screen file to be used in that | |||
309 | screen. In this way not only can you have different fonts between e.g. the menu | 309 | screen. In this way not only can you have different fonts between e.g. the menu |
310 | and the WPS, but you can use multiple fonts in each of the individual screens.\\ | 310 | and the WPS, but you can use multiple fonts in each of the individual screens.\\ |
311 | 311 | ||
312 | \config{\%F{\textbar}id{\textbar}filename{\textbar}} | 312 | \config{\%Fl(`id',filename)} |
313 | 313 | ||
314 | \begin{itemize} | 314 | \begin{itemize} |
315 | \item `id' is the number you want to use in viewport declerations, 0 and 1 | 315 | \item `id' is the number you want to use in viewport declerations, 0 and 1 |
@@ -318,7 +318,7 @@ and the WPS, but you can use multiple fonts in each of the individual screens.\\ | |||
318 | \fname{/.rockbox/fonts/} | 318 | \fname{/.rockbox/fonts/} |
319 | \end{itemize} | 319 | \end{itemize} |
320 | 320 | ||
321 | An example would be: \config{\%F{\textbar}2{\textbar}12-Nimbus.fnt{\textbar}} | 321 | An example would be: \config{\%Fl(2,12-Nimbus.fnt)} |
322 | 322 | ||
323 | } | 323 | } |
324 | 324 | ||
@@ -383,8 +383,8 @@ Subline related special characters and tags: | |||
383 | \begin{description} | 383 | \begin{description} |
384 | \item[;] Split items on a line into separate sublines | 384 | \item[;] Split items on a line into separate sublines |
385 | \item[\%t] Set the subline display time. The | 385 | \item[\%t] Set the subline display time. The |
386 | `\config{\%t}' is followed by either integer | 386 | `\config{\%t}' is followed by either integer seconds (\config{\%t5}), or seconds |
387 | seconds (\config{\%t5}), or seconds and tenths of a second (\config{\%t3.5}). | 387 | and tenths of a second within () e.g. (\config{\%t(3.5)}). |
388 | \end{description} | 388 | \end{description} |
389 | 389 | ||
390 | Each alternating subline can still be optionally scrolled while it is | 390 | Each alternating subline can still be optionally scrolled while it is |
@@ -393,7 +393,7 @@ line with non{}-scrollable formats (such as track elapsed time) as long | |||
393 | as they are separated into different sublines. | 393 | as they are separated into different sublines. |
394 | Example subline definition: | 394 | Example subline definition: |
395 | \begin{example} | 395 | \begin{example} |
396 | %s%t4%ia;%s%it;%t3%pc %pr : Display id3 artist for 4 seconds, | 396 | %s%t(4)%ia;%s%it;%t(3)%pc %pr : Display id3 artist for 4 seconds, |
397 | Display id3 title for 2 seconds, | 397 | Display id3 title for 2 seconds, |
398 | Display current and remaining track time | 398 | Display current and remaining track time |
399 | for 3 seconds, | 399 | for 3 seconds, |
@@ -404,7 +404,7 @@ Conditionals can be used with sublines to display a different set and/or number | |||
404 | of sublines on the line depending on the evaluation of the conditional. | 404 | of sublines on the line depending on the evaluation of the conditional. |
405 | Example subline with conditionals: | 405 | Example subline with conditionals: |
406 | \begin{example} | 406 | \begin{example} |
407 | %?it{\textless}%t8%s%it{\textbar}%s%fn{\textgreater};%?ia{\textless}%t3%s%ia{\textbar}%t0{\textgreater}\\ | 407 | %?it{\textless}%t(8)%s%it{\textbar}%s%fn{\textgreater};%?ia{\textless}%t(3)%s%ia{\textbar}%t(0){\textgreater}\\ |
408 | \end{example} | 408 | \end{example} |
409 | 409 | ||
410 | The format above will do two different things depending if ID3 tags are | 410 | The format above will do two different things depending if ID3 tags are |
@@ -438,19 +438,19 @@ displaying images: | |||
438 | % command. | 438 | % command. |
439 | Example on background image use: | 439 | Example on background image use: |
440 | \begin{example} | 440 | \begin{example} |
441 | %X|background.bmp| | 441 | %X(background.bmp) |
442 | \end{example} | 442 | \end{example} |
443 | The image with filename \fname{background.bmp} is loaded and used in the WPS. | 443 | The image with filename \fname{background.bmp} is loaded and used in the WPS. |
444 | }% | 444 | }% |
445 | 445 | ||
446 | Example on bitmap preloading and use: | 446 | Example on bitmap preloading and use: |
447 | \begin{example} | 447 | \begin{example} |
448 | %x|a|static_icon.bmp|50|50| | 448 | %x(a,static_icon.bmp,50,50) |
449 | %xl|b|rep\_off.bmp|16|64| | 449 | %xl(b,rep\_off.bmp,16,64) |
450 | %xl|c|rep\_all.bmp|16|64| | 450 | %xl(c,rep\_all.bmp,16,64) |
451 | %xl|d|rep\_one.bmp|16|64| | 451 | %xl(d,rep\_one.bmp,16,64) |
452 | %xl|e|rep\_shuffle.bmp|16|64| | 452 | %xl(e,rep\_shuffle.bmp,16,64) |
453 | %?mm<%xdb|%xdc|%xdd|%xde> | 453 | %?mm<%xd(b)|%xd(c)|%xd(d)|%xd(e)> |
454 | \end{example} | 454 | \end{example} |
455 | Four images at the same x and y position are preloaded in the example. Which | 455 | Four images at the same x and y position are preloaded in the example. Which |
456 | image to display is determined by the \config{\%mm} tag (the repeat mode). | 456 | image to display is determined by the \config{\%mm} tag (the repeat mode). |
@@ -467,8 +467,8 @@ title [artist]''. | |||
467 | %\opt{lcd_bitmap}{ | 467 | %\opt{lcd_bitmap}{ |
468 | % \begin{verbatim} | 468 | % \begin{verbatim} |
469 | % %s%?it<%?in<%in. |>%it|%fn> | 469 | % %s%?it<%?in<%in. |>%it|%fn> |
470 | % %s%?ia<%ia|%?d2<%d2|(root)>> | 470 | % %s%?ia<%ia|%?d2<%d(2)|(root)>> |
471 | % %s%?id<%id|%?d1<%d1|(root)>> %?iy<(%iy)|> | 471 | % %s%?id<%id|%?d1<%d(1)|(root)>> %?iy<(%iy)|> |
472 | % | 472 | % |
473 | % %al%pc/%pt%ar[%pp:%pe] | 473 | % %al%pc/%pt%ar[%pp:%pe] |
474 | % %fbkBit %?fv<avg|> %?iv<(id3v%iv)|(no id3)> | 474 | % %fbkBit %?fv<avg|> %?iv<(id3v%iv)|(no id3)> |
diff --git a/manual/advanced_topics/viewports/colour-conditional.tex b/manual/advanced_topics/viewports/colour-conditional.tex index f8fc1fa50a..d864194205 100644 --- a/manual/advanced_topics/viewports/colour-conditional.tex +++ b/manual/advanced_topics/viewports/colour-conditional.tex | |||
@@ -1,13 +1,13 @@ | |||
1 | \begin{example} | 1 | \begin{example} |
2 | %?C<%Vda|%Vdb> | 2 | %?C<%Vd(a)|%Vd(b)> |
3 | %Vl|a|10|10|50|50|-|-|-| | 3 | %Vl(a,10,10,50,50,-) |
4 | %Cl|0|0|50|50| | 4 | %Cl(0,0,50,50,c,c) |
5 | %C | 5 | %Cd |
6 | %Vl|a|0|70|70|14|1|-|-| | 6 | %Vl(a,0,70,70,14,1) |
7 | %s%acThere you have it: Album art. | 7 | %s%acThere you have it: Album art. |
8 | %Vl|b|20|14|50|14|1|ff0000|ffffff| | 8 | %Vl(b,20,14,50,14,1) %Vf(ff0000) %Vb(ffffff) |
9 | %t1%acWarning:;%t.1 | 9 | %t(1)%acWarning:;%t(.1) |
10 | %Vl|b|20|30|50|50|1|000000|ffffff| | 10 | %Vl(b,20,30,50,50,1) %Vf(000000) %Vb(ffffff) |
11 | %sNo album art found | 11 | %sNo album art found |
12 | %scheck your filenames. | 12 | %scheck your filenames. |
13 | \end{example} | 13 | \end{example} |
diff --git a/manual/advanced_topics/viewports/colour-vp-syntax.tex b/manual/advanced_topics/viewports/colour-vp-syntax.tex index 10b879241b..e6d0c82cf8 100644 --- a/manual/advanced_topics/viewports/colour-vp-syntax.tex +++ b/manual/advanced_topics/viewports/colour-vp-syntax.tex | |||
@@ -1,6 +1,6 @@ | |||
1 | \subsubsection{Viewport Declaration Syntax} | 1 | \subsubsection{Viewport Declaration Syntax} |
2 | 2 | ||
3 | \config{\%V{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgcolour]{\textbar}[bgcolour]{\textbar}}% | 3 | \config{\%V(x,y,[width],[height],[font]) \%Vf([fgcolour]) \%Vb([bgcolour])}% |
4 | 4 | ||
5 | \begin{itemize} | 5 | \begin{itemize} |
6 | \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF. | 6 | \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF. |
@@ -11,15 +11,16 @@ | |||
11 | definitions blank will set them to their default values. | 11 | definitions blank will set them to their default values. |
12 | \end{itemize} | 12 | \end{itemize} |
13 | 13 | ||
14 | \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in | 14 | \note{The correct number of commas with hyphens in |
15 | blank fields are still needed in any case.} | 15 | blank fields are still needed in any case.} |
16 | 16 | ||
17 | \begin{example} | 17 | \begin{example} |
18 | %V|12|20|-|-|1|-|-| | 18 | %V(12,20,-,-,1) %Vf(000000) %Vb(FFFFFF) |
19 | %sThis viewport is displayed permanently. It starts 12px from the left and | 19 | %sThis viewport is displayed permanently. It starts 12px from the left and |
20 | %s20px from the top of the screen, and fills the rest of the screen from | 20 | %s20px from the top of the screen, and fills the rest of the screen from |
21 | %sthat point. The lines will scroll if this text does not fit in the viewport. | 21 | %sthat point. The lines will scroll if this text does not fit in the viewport. |
22 | %sThe user font is used, as are the default foreground/background colours. | 22 | %sThe user font is used, and the foreground and background are set to black |
23 | %sand white respectively. | ||
23 | \end{example} | 24 | \end{example} |
24 | \begin{rbtabular}{.75\textwidth}{XX}{\textbf{Viewport definition} & \textbf{Default value}}{}{} | 25 | \begin{rbtabular}{.75\textwidth}{XX}{\textbf{Viewport definition} & \textbf{Default value}}{}{} |
25 | width/height & remaining part of screen \\ | 26 | width/height & remaining part of screen \\ |
diff --git a/manual/advanced_topics/viewports/grayscale-conditional.tex b/manual/advanced_topics/viewports/grayscale-conditional.tex index acca85a9e7..698f815172 100644 --- a/manual/advanced_topics/viewports/grayscale-conditional.tex +++ b/manual/advanced_topics/viewports/grayscale-conditional.tex | |||
@@ -1,13 +1,13 @@ | |||
1 | \begin{example} | 1 | \begin{example} |
2 | %?C<%Vda|%Vdb> | 2 | %?C<%Vd(a)|%Vd(b)> |
3 | %Vl|a|10|10|50|50|-|-|-| | 3 | %Vl(a,10,10,50,50,-) |
4 | %Cl|0|0|50|50| | 4 | %Cl(0,0,50,50,c,c) |
5 | %C | 5 | %Cd |
6 | %Vl|a|0|70|70|14|1|-|-| | 6 | %Vl(a,0,70,70,14,1) |
7 | %s%acThere you have it: Album art. | 7 | %s%acThere you have it: Album art. |
8 | %Vl|b|20|14|50|14|1|2|-| | 8 | %Vl(b,20,14,50,14,1) |
9 | %t1%acWarning:;%t.1 | 9 | %t(1)%acWarning:;%t(.1) |
10 | %Vl|b|20|30|50|50|1|-|-| | 10 | %Vl(b,20,30,50,50,1) |
11 | %sNo album art found | 11 | %sNo album art found |
12 | %scheck your filenames. | 12 | %scheck your filenames. |
13 | \end{example} | 13 | \end{example} |
diff --git a/manual/advanced_topics/viewports/grayscale-vp-syntax.tex b/manual/advanced_topics/viewports/grayscale-vp-syntax.tex index a8460703a9..1c0c8bf532 100644 --- a/manual/advanced_topics/viewports/grayscale-vp-syntax.tex +++ b/manual/advanced_topics/viewports/grayscale-vp-syntax.tex | |||
@@ -1,6 +1,6 @@ | |||
1 | \subsubsection{Viewport Declaration Syntax} | 1 | \subsubsection{Viewport Declaration Syntax} |
2 | 2 | ||
3 | \config{\%V{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgshade]{\textbar}[bgshade]{\textbar}}% | 3 | \config{\%V(x,y,[width],[height],[font]) \%Vf([fgshade]) \%Vb([bgshade])}% |
4 | 4 | ||
5 | \begin{itemize} | 5 | \begin{itemize} |
6 | \item `fgshade' and `bgshade' are numbers in the range 0 (= black) to 3 | 6 | \item `fgshade' and `bgshade' are numbers in the range 0 (= black) to 3 |
@@ -12,15 +12,16 @@ | |||
12 | definitions blank will set them to their default values. | 12 | definitions blank will set them to their default values. |
13 | \end{itemize} | 13 | \end{itemize} |
14 | 14 | ||
15 | \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in | 15 | \note{The correct number of commas with hyphens in |
16 | blank fields are still needed in any case.} | 16 | blank fields are still needed in any case.} |
17 | 17 | ||
18 | \begin{example} | 18 | \begin{example} |
19 | %V|12|20|-|-|1|-|-| | 19 | %V(12,20,-,-,1) %Vf(0) %Vb(3) |
20 | %sThis viewport is displayed permanently. It starts 12px from the left and | 20 | %sThis viewport is displayed permanently. It starts 12px from the left and |
21 | %s20px from the top of the screen, and fills the rest of the screen from | 21 | %s20px from the top of the screen, and fills the rest of the screen from |
22 | %sthat point. The lines will scroll if this text does not fit in the viewport. | 22 | %sthat point. The lines will scroll if this text does not fit in the viewport. |
23 | %sThe user font is used, as are the default foreground/background shades. | 23 | %sThe user font is used, the foreground colour is set to black and the |
24 | %sbackground is set to white. | ||
24 | \end{example} | 25 | \end{example} |
25 | \begin{rbtabular}{.75\textwidth}{XX}{\textbf{Viewport definition} & \textbf{Default value}}{}{} | 26 | \begin{rbtabular}{.75\textwidth}{XX}{\textbf{Viewport definition} & \textbf{Default value}}{}{} |
26 | width/height & remaining part of screen \\ | 27 | width/height & remaining part of screen \\ |
diff --git a/manual/advanced_topics/viewports/mono-conditional.tex b/manual/advanced_topics/viewports/mono-conditional.tex index 399832cc79..af6e6f6d2d 100644 --- a/manual/advanced_topics/viewports/mono-conditional.tex +++ b/manual/advanced_topics/viewports/mono-conditional.tex | |||
@@ -1,12 +1,12 @@ | |||
1 | \begin{example} | 1 | \begin{example} |
2 | %?mh<%Vda|%Vdb> | 2 | %?mh<%Vd(a)|%Vd(b)> |
3 | %Vl|a|10|10|50|50|-| | 3 | %Vl(a,10,10,50,50,-) |
4 | %sYou could now show a hold icon using the %%xl and %%xd tags. | 4 | %sYou could now show a hold icon using the %%xl and %%xd tags. |
5 | %Vl|a|0|70|70|14|1| | 5 | %Vl(a,0,70,70,14,1) |
6 | %s%acYour DAP is locked. | 6 | %s%acYour DAP is locked. |
7 | %Vl|b|20|14|50|14|1| | 7 | %Vl(b,20,14,50,14,1) |
8 | %t1%acWarning:;%t.1 | 8 | %t(1)%acWarning:;%t(.1) |
9 | %Vl|b|20|30|50|50|0| | 9 | %Vl(b,20,30,50,50,0) |
10 | %sYou've unlocked your player. | 10 | %sYou've unlocked your player. |
11 | \end{example} | 11 | \end{example} |
12 | This example checks for hold. Viewport `a' will be displayed if it is on, | 12 | This example checks for hold. Viewport `a' will be displayed if it is on, |
diff --git a/manual/advanced_topics/viewports/mono-vp-syntax.tex b/manual/advanced_topics/viewports/mono-vp-syntax.tex index 8c84607499..81194a99d0 100644 --- a/manual/advanced_topics/viewports/mono-vp-syntax.tex +++ b/manual/advanced_topics/viewports/mono-vp-syntax.tex | |||
@@ -1,6 +1,6 @@ | |||
1 | \subsubsection{Viewport Declaration Syntax} | 1 | \subsubsection{Viewport Declaration Syntax} |
2 | 2 | ||
3 | \config{\%V{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}}% | 3 | \config{\%V(x,y,[width],[height],[font]}% |
4 | 4 | ||
5 | \begin{itemize} | 5 | \begin{itemize} |
6 | \item `font' is a number: 0 is the built-in system font, 1 is the | 6 | \item `font' is a number: 0 is the built-in system font, 1 is the |
@@ -10,11 +10,11 @@ | |||
10 | definitions blank will set them to their default values. | 10 | definitions blank will set them to their default values. |
11 | \end{itemize} | 11 | \end{itemize} |
12 | 12 | ||
13 | \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in | 13 | \note{The correct number of commas with hyphens in |
14 | blank fields are still needed in any case.} | 14 | blank fields are still needed in any case.} |
15 | 15 | ||
16 | \begin{example} | 16 | \begin{example} |
17 | %V|12|20|-|-|1| | 17 | %V(12,20,-,-,1) |
18 | %sThis viewport is displayed permanently. It starts 12px from the left and | 18 | %sThis viewport is displayed permanently. It starts 12px from the left and |
19 | %s20px from the top of the screen, and fills the rest of the screen from | 19 | %s20px from the top of the screen, and fills the rest of the screen from |
20 | %sthat point. The lines will scroll if this text does not fit in the viewport. | 20 | %sthat point. The lines will scroll if this text does not fit in the viewport. |