From 33a8b4744880288fd27b1389ab221c92f57154cb Mon Sep 17 00:00:00 2001 From: Martin Goik <goik@hdm-stuttgart.de> Date: Tue, 15 Sep 2015 20:23:24 +0200 Subject: [PATCH] style corrections --- Doc/Sd1/languageFundamentals.xml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Doc/Sd1/languageFundamentals.xml b/Doc/Sd1/languageFundamentals.xml index dcabf9c37..f932dcde3 100644 --- a/Doc/Sd1/languageFundamentals.xml +++ b/Doc/Sd1/languageFundamentals.xml @@ -380,7 +380,7 @@ <para>As you may know the <xref linkend="glo_RGB"/> color model uses triplets of numbers to define color value components representing - intensities of three base colors <foreignphrase><emphasis + intensities of its three base colors <foreignphrase><emphasis role="bold">R</emphasis>ed</foreignphrase>, <foreignphrase><emphasis role="bold">G</emphasis>reen</foreignphrase> and <foreignphrase><emphasis role="bold">B</emphasis>lue</foreignphrase>. @@ -388,14 +388,14 @@ intensity.</para> <para>The color <quote>red</quote> for example is being represented by - (255, 0, 0). So the red component has maximum intensity, blue and green - are zero.</para> + (255, 0, 0). So the red component has maximum intensity while blue and + green are zero.</para> - <para>It is common to use <link + <para>It is however common to use <link xlink:href="http://www.december.com/html/spec/color16codes.html">hexadecimal - in favour of decimal values</link>. Thus the font color - <quote>red</quote> in the subsequent HTML example's heading is being - represented by <emphasis role="bold">(FF,0,0)</emphasis>:</para> + in favour of decimal values</link>. Thus the same color + <quote>red</quote> in the subsequent HTML example's heading font is now + being represented by <emphasis role="bold">(FF,0,0)</emphasis>:</para> <programlisting language="html"><!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> @@ -412,8 +412,8 @@ <qandadiv> <qandaentry> <question> - <para>Write a program printing the decimal value of the - hexadecimal representation <inlineequation> + <para>Write a program printing the hexadecimal representation + <inlineequation> <m:math display="inline"> <m:msub> <m:mi>C0</m:mi> @@ -421,7 +421,7 @@ <m:mi>16</m:mi> </m:msub> </m:math> - </inlineequation>.</para> + </inlineequation> as a decimal value.</para> <para>Complete the following code by assigning the hexadecimal value <inlineequation> @@ -432,7 +432,7 @@ <m:mi>16</m:mi> </m:msub> </m:math> - </inlineequation> (The <quote>silver</quote> color all three + </inlineequation> (The <quote>silver</quote> color's all three component's intensity in <uri xlink:href="http://www.december.com/html/spec/color16codes.html">http://www.december.com/html/spec/color16codes.html</uri>) to get the output in decimal representation.</para> @@ -444,10 +444,10 @@ }</programlisting> <tip> - <para>You may want to consider <quote + <para>You may want to consider the <quote xlink:href="http://proquest.safaribooksonline.com/9780992133047/toc6_html_2">Literals</quote> - to find out how to represent integer values in hexadecimal - notation.</para> + section learning about hexadecimal integer value + representation.</para> </tip> </question> -- GitLab