1
0
Fork 0
forked from len0rd/rockbox

Improve typesetting and fix a typo

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24103 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Alexander Levin 2009-12-23 20:05:29 +00:00
parent 87ecc7020e
commit b57fe483be
7 changed files with 25 additions and 18 deletions

View file

@ -160,7 +160,7 @@ file find the instructions on the Rockbox website:
} }
Only the first two parameters \emph{have} to be specified, the others can Only the first two parameters \emph{have} to be specified, the others can
be omitted using '-' as a placeholder. The syntax is very similar to WPS be omitted using `-' as a placeholder. The syntax is very similar to WPS
viewports (see \reference{ref:Viewports}). Briefly: viewports (see \reference{ref:Viewports}). Briefly:
\nopt{lcd_non-mono}{\input{advanced_topics/viewports/mono-uivp-syntax.tex}} \nopt{lcd_non-mono}{\input{advanced_topics/viewports/mono-uivp-syntax.tex}}
@ -580,3 +580,4 @@ This can be used to test new firmware versions without deleting your
current version. current version.
\opt{archos}{\input{advanced_topics/archos-flashing.tex}} \opt{archos}{\input{advanced_topics/archos-flashing.tex}}

View file

@ -1,6 +1,6 @@
\begin{itemize} \begin{itemize}
\item 'fgcolour' and 'bgcolour' are 6-digit RGB888 colours - e.g. FF00FF. \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF.
\item 'font' is a number - '0' is the built-in system font, '1' is the \item `font' is a number: 0 is the built-in system font, 1 is the
user-selected font. user-selected font.
\end{itemize} \end{itemize}
@ -11,3 +11,4 @@ This displays the menu starting at 15px from the left of the screen and 20px
from the top of the screen. It is 100px wide and 150px high. from the top of the screen. It is 100px wide and 150px high.
The font and the foreground/background colours are defined in the theme The font and the foreground/background colours are defined in the theme
\fname{.cfg} file or in the \setting{Theme Settings} menu. \fname{.cfg} file or in the \setting{Theme Settings} menu.

View file

@ -3,13 +3,13 @@
{\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgcolour]{\textbar}[bgcolour]{\textbar}% {\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgcolour]{\textbar}[bgcolour]{\textbar}%
\begin{itemize} \begin{itemize}
\item 'fgcolour' and 'bgcolour' are 6-digit RGB888 colours - e.g. FF00FF. \item `fgcolour' and `bgcolour' are 6-digit RGB888 colours, e.g. FF00FF.
\item 'font' is a number - '0' is the built-in system font, '1' is the \item `font' is a number: 0 is the built-in system font, 1 is the
user-selected font. user-selected font.
\item Only the coordinates \emph{have} to be specified. Leaving the other \item Only the coordinates \emph{have} to be specified. Leaving the other
definitions blank will set them to their default values. definitions blank will set them to their default values.
\note{The correct number of {\textbar}s with hyphens in blank fields \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in
are still needed in any case.} blank fields are still needed in any case.}
\end{itemize} \end{itemize}
\begin{example} \begin{example}
@ -23,4 +23,5 @@
width/height & remaining part of screen \\ width/height & remaining part of screen \\
font & user defined \\ font & user defined \\
forground/background colours & defined by theme \\ forground/background colours & defined by theme \\
\end{rbtabular} \end{rbtabular}

View file

@ -1,14 +1,15 @@
\begin{itemize} \begin{itemize}
\item 'fgshade' and bgshade are numbers in the range '0' (= black) to '3' \item `fgshade' and `bgshade' are numbers in the range 0 (= black) to 3
(= white). (= white).
\item 'font' is a number - '0' is the built-in system font, '1' is the \item `font' is a number: 0 is the built-in system font, 1 is the
user-selected font. user-selected font.
\end{itemize} \end{itemize}
\begin{example} \begin{example}
\config{ui viewport: 15,20,100,150,-,-,-} \config{ui viewport: 15,20,100,150,-,-,-}
\end{example} \end{example}
his displays the menu starting at 15px from the left of the screen and 20px This displays the menu starting at 15px from the left of the screen and 20px
from the top of the screen. It is 100px wide and 150px high. from the top of the screen. It is 100px wide and 150px high.
The font and the foreground/background shades are defined in the theme The font and the foreground/background shades are defined in the theme
\fname{.cfg} file or in the \setting{Theme Settings} menu. \fname{.cfg} file or in the \setting{Theme Settings} menu.

View file

@ -3,14 +3,14 @@
{\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgshade]{\textbar}[bgshade]{\textbar}% {\config{\%V}}{\textbar}x{\textbar}y{\textbar}[width]{\textbar}[height]{\textbar}[font]{\textbar}[fgshade]{\textbar}[bgshade]{\textbar}%
\begin{itemize} \begin{itemize}
\item 'fgshade' and bgshade are numbers in the range '0' (= black) to '3' \item `fgshade' and `bgshade' are numbers in the range 0 (= black) to 3
(= white). (= white).
\item 'font' is a number - '0' is the built-in system font, '1' is the \item `font' is a number: 0 is the built-in system font, 1 is the
user-selected font. user-selected font.
\item Only the coordinates \emph{have} to be specified. Leaving the other \item Only the coordinates \emph{have} to be specified. Leaving the other
definitions blank will set them to their default values. definitions blank will set them to their default values.
\note{The correct number of {\textbar}s with hyphens in blank fields \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in
are still needed in any case.} blank fields are still needed in any case.}
\end{itemize} \end{itemize}
\begin{example} \begin{example}
@ -25,3 +25,4 @@
font & user defined \\ font & user defined \\
shade & black foreground on white background \\ shade & black foreground on white background \\
\end{rbtabular} \end{rbtabular}

View file

@ -1,5 +1,5 @@
\begin{itemize} \begin{itemize}
\item 'font' is a number - '0' is the built-in system font, '1' is the \item `font' is a number: 0 is the built-in system font, 1 is the
user-selected font. user-selected font.
\end{itemize} \end{itemize}
@ -9,3 +9,4 @@
This displays the menu starting at 15px from the left of the screen and 20px This displays the menu starting at 15px from the left of the screen and 20px
from the top of the screen. It is 100px wide and 150px high. The font is from the top of the screen. It is 100px wide and 150px high. The font is
defined in the theme \fname{.cfg} file or in the \setting{Theme Settings} menu. defined in the theme \fname{.cfg} file or in the \setting{Theme Settings} menu.

View file

@ -7,8 +7,8 @@
user-selected font. user-selected font.
\item Only the coordinates \emph{have} to be specified. Leaving the other \item Only the coordinates \emph{have} to be specified. Leaving the other
definitions blank will set them to their default values. definitions blank will set them to their default values.
\note{The correct number of {\textbar}s with hyphens in blank fields \note{The correct number of `{\textbar}'s (vertical bars) with hyphens in
are still needed in any case.} blank fields are still needed in any case.}
\end{itemize} \end{itemize}
\begin{example} \begin{example}
@ -22,3 +22,4 @@
width/height & remaining part of screen \\ width/height & remaining part of screen \\
font & user defined \\ font & user defined \\
\end{rbtabular} \end{rbtabular}