[gimp-help-2] LayerModes reform in LaTeX



commit f065ca53e78111aa53af06472d51c822f6881d39
Author: SimaMoto,RyÅ?Ta <liangtai s4 gmail com>
Date:   Wed Nov 18 20:48:22 2009 +0900

    LayerModes reform in LaTeX
    
    Signed-off-by: Ulf-D. Ehlert <ulfehlert svn gnome org>

 images/C/math/layer-mode-addition.png     |  Bin 3139 -> 1989 bytes
 images/C/math/layer-mode-burn.png         |  Bin 3602 -> 1991 bytes
 images/C/math/layer-mode-darken.png       |  Bin 2617 -> 1290 bytes
 images/C/math/layer-mode-difference.png   |  Bin 2061 -> 853 bytes
 images/C/math/layer-mode-divide.png       |  Bin 2645 -> 1399 bytes
 images/C/math/layer-mode-dodge.png        |  Bin 3126 -> 1809 bytes
 images/C/math/layer-mode-example.png      |  Bin 2046 -> 801 bytes
 images/C/math/layer-mode-grainextract.png |  Bin 2376 -> 1165 bytes
 images/C/math/layer-mode-grainmerge.png   |  Bin 2376 -> 1176 bytes
 images/C/math/layer-mode-hard-light1.png  |  Bin 4884 -> 2949 bytes
 images/C/math/layer-mode-hard-light2.png  |  Bin 3485 -> 2031 bytes
 images/C/math/layer-mode-lighten.png      |  Bin 2616 -> 1349 bytes
 images/C/math/layer-mode-multiply.png     |  Bin 2696 -> 1173 bytes
 images/C/math/layer-mode-normal.png       |  Bin 1877 -> 624 bytes
 images/C/math/layer-mode-overlay.png      |  Bin 3717 -> 2683 bytes
 images/C/math/layer-mode-screen.png       |  Bin 3614 -> 1842 bytes
 images/C/math/layer-mode-soft-light1.png  |  Bin 3916 -> 1904 bytes
 images/C/math/layer-mode-soft-light2.png  |  Bin 3842 -> 2051 bytes
 images/C/math/layer-mode-subtract.png     |  Bin 2853 -> 1864 bytes
 src/concepts/layer-modes.xml              |   43 +++++++++++++++--------------
 20 files changed, 22 insertions(+), 21 deletions(-)
---
diff --git a/images/C/math/layer-mode-addition.png b/images/C/math/layer-mode-addition.png
index 88b20ab..92dc3b0 100644
Binary files a/images/C/math/layer-mode-addition.png and b/images/C/math/layer-mode-addition.png differ
diff --git a/images/C/math/layer-mode-burn.png b/images/C/math/layer-mode-burn.png
index 75d390f..412db9d 100644
Binary files a/images/C/math/layer-mode-burn.png and b/images/C/math/layer-mode-burn.png differ
diff --git a/images/C/math/layer-mode-darken.png b/images/C/math/layer-mode-darken.png
index 6f0efcd..ee1f15d 100644
Binary files a/images/C/math/layer-mode-darken.png and b/images/C/math/layer-mode-darken.png differ
diff --git a/images/C/math/layer-mode-difference.png b/images/C/math/layer-mode-difference.png
index cd834cf..9ccb23a 100644
Binary files a/images/C/math/layer-mode-difference.png and b/images/C/math/layer-mode-difference.png differ
diff --git a/images/C/math/layer-mode-divide.png b/images/C/math/layer-mode-divide.png
index 37d26b4..e2d0a7e 100644
Binary files a/images/C/math/layer-mode-divide.png and b/images/C/math/layer-mode-divide.png differ
diff --git a/images/C/math/layer-mode-dodge.png b/images/C/math/layer-mode-dodge.png
index 3d2ae9f..5cbfb40 100644
Binary files a/images/C/math/layer-mode-dodge.png and b/images/C/math/layer-mode-dodge.png differ
diff --git a/images/C/math/layer-mode-example.png b/images/C/math/layer-mode-example.png
index 63d70f1..e82c5e6 100644
Binary files a/images/C/math/layer-mode-example.png and b/images/C/math/layer-mode-example.png differ
diff --git a/images/C/math/layer-mode-grainextract.png b/images/C/math/layer-mode-grainextract.png
index dd763eb..35fe56c 100644
Binary files a/images/C/math/layer-mode-grainextract.png and b/images/C/math/layer-mode-grainextract.png differ
diff --git a/images/C/math/layer-mode-grainmerge.png b/images/C/math/layer-mode-grainmerge.png
index 3afbd06..01649d1 100644
Binary files a/images/C/math/layer-mode-grainmerge.png and b/images/C/math/layer-mode-grainmerge.png differ
diff --git a/images/C/math/layer-mode-hard-light1.png b/images/C/math/layer-mode-hard-light1.png
index 32307aa..469c5a7 100644
Binary files a/images/C/math/layer-mode-hard-light1.png and b/images/C/math/layer-mode-hard-light1.png differ
diff --git a/images/C/math/layer-mode-hard-light2.png b/images/C/math/layer-mode-hard-light2.png
index 3814b5d..9c762f2 100644
Binary files a/images/C/math/layer-mode-hard-light2.png and b/images/C/math/layer-mode-hard-light2.png differ
diff --git a/images/C/math/layer-mode-lighten.png b/images/C/math/layer-mode-lighten.png
index 38c78cf..4ede15d 100644
Binary files a/images/C/math/layer-mode-lighten.png and b/images/C/math/layer-mode-lighten.png differ
diff --git a/images/C/math/layer-mode-multiply.png b/images/C/math/layer-mode-multiply.png
index d41be6f..13b9562 100644
Binary files a/images/C/math/layer-mode-multiply.png and b/images/C/math/layer-mode-multiply.png differ
diff --git a/images/C/math/layer-mode-normal.png b/images/C/math/layer-mode-normal.png
index 526e193..444e9f1 100644
Binary files a/images/C/math/layer-mode-normal.png and b/images/C/math/layer-mode-normal.png differ
diff --git a/images/C/math/layer-mode-overlay.png b/images/C/math/layer-mode-overlay.png
index 23c05b0..ac3abed 100644
Binary files a/images/C/math/layer-mode-overlay.png and b/images/C/math/layer-mode-overlay.png differ
diff --git a/images/C/math/layer-mode-screen.png b/images/C/math/layer-mode-screen.png
index 963b161..add4cd8 100644
Binary files a/images/C/math/layer-mode-screen.png and b/images/C/math/layer-mode-screen.png differ
diff --git a/images/C/math/layer-mode-soft-light1.png b/images/C/math/layer-mode-soft-light1.png
index e25125c..06c9a0b 100644
Binary files a/images/C/math/layer-mode-soft-light1.png and b/images/C/math/layer-mode-soft-light1.png differ
diff --git a/images/C/math/layer-mode-soft-light2.png b/images/C/math/layer-mode-soft-light2.png
index 51c6d15..ce792db 100644
Binary files a/images/C/math/layer-mode-soft-light2.png and b/images/C/math/layer-mode-soft-light2.png differ
diff --git a/images/C/math/layer-mode-subtract.png b/images/C/math/layer-mode-subtract.png
index c99854a..deaf465 100644
Binary files a/images/C/math/layer-mode-subtract.png and b/images/C/math/layer-mode-subtract.png differ
diff --git a/src/concepts/layer-modes.xml b/src/concepts/layer-modes.xml
index fbca35e..e22381a 100644
--- a/src/concepts/layer-modes.xml
+++ b/src/concepts/layer-modes.xml
@@ -116,7 +116,7 @@
     <title>
       <phrase>Example</phrase>
     </title>
-    <alt role="latex">$E = M + I$</alt>
+    <alt role="latex">$$E = M + I$$</alt>
     <graphic fileref="images/math/layer-mode-example.png" format="PNG"/>
   </equation>
   <para>
@@ -196,7 +196,7 @@
               Equation for layer mode <quote>Normal</quote>
             </phrase>
           </title>
-          <alt role="latex">$E = M$</alt>
+          <alt role="latex">$$E = M$$</alt>
           <graphic fileref="images/math/layer-mode-normal.png" format="PNG"/>
         </equation>
       </listitem>
@@ -324,7 +324,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Multiply</quote></title>
-          <alt role="latex">$E = \frac {1}{255} (M * I)$</alt>
+          <alt role="latex">$$E = \frac{M \times I}{255}$$</alt>
           <graphic fileref="images/math/layer-mode-multiply.png" format="PNG"/>
         </equation>
         <para>
@@ -383,7 +383,7 @@
               Equation for layer mode <quote>Divide</quote>
             </phrase>
           </title>
-          <alt role="latex">$E = 256 \frac {I}{M + 1}$</alt>
+          <alt role="latex">$$E = \frac{256 \times I}{M + 1}$$</alt>
           <graphic fileref="images/math/layer-mode-divide.png" format="JPG"/>
         </equation>
       </listitem>
@@ -440,7 +440,7 @@
         <equation>
           <title>Equation for layer mode <quote>Screen</quote></title>
           <alt role="latex">
-            $E = 255 - \frac {(255-M)*(255-I)}{255}$
+            $$E = 255 - \frac{(255-M)\times (255-I)}{255}$$
           </alt>
           <graphic fileref="images/math/layer-mode-screen.png"/>
         </equation>
@@ -509,7 +509,8 @@
         <equation>
           <title>Equation for layer mode <quote>Overlay</quote></title>
           <alt role="latex">
-            $E = \frac{1I}{255} * (I+ \frac{2M}{255} * (255 - I))$
+            $$E = \frac{I}{255} \times
+              \left(I + \frac{2\times M}{255} \times (255 - I)\right)$$
           </alt>
           <graphic fileref="images/math/layer-mode-overlay.png"/>
         </equation>
@@ -567,7 +568,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Dodge</quote></title>
-          <alt role="latex">$E = \frac{I*256}{(255-M)+1}$</alt>
+          <alt role="latex">$$E = \frac{256\times I}{(255 - M) + 1}$$</alt>
           <graphic fileref="images/math/layer-mode-dodge.png"/>
         </equation>
       </listitem>
@@ -625,8 +626,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Burn</quote></title>
-          <alt role="latex">$E = 255 - \frac{(255-I)*256}{M+1}$
-          </alt>
+          <alt role="latex">$$E = 255 - \frac{256\times(255 - I)}{M + 1}$$</alt>
           <graphic fileref="images/math/layer-mode-burn.png"/>
         </equation>
       </listitem>
@@ -684,7 +684,8 @@
             Equation for layer mode <quote>Hard light</quote>, M &gt; 128
           </title>
           <alt role="latex">
-            $M &gt; 128: E = 255- \frac{(255-I)*(255-(2*(M-128)))}{256}$
+            $$E = 255 - \frac{\{255 - 2\times (M-128)\}\times (255 - I)}{256},
+              \qquad M > 128$$
           </alt>
           <graphic fileref="images/math/layer-mode-hard-light1.png"/>
         </equation>
@@ -693,7 +694,7 @@
             Equation for layer mode <quote>Hard light</quote>, M &le; 128
           </title>
           <alt role="latex">
-            $M \leq 128: E = \frac{I*M*2}{256}$
+            $$E = \frac{2 \times M \times I}{256}, \qquad M \le 128$$
           </alt>
           <graphic fileref="images/math/layer-mode-hard-light2.png"/>
         </equation>
@@ -749,15 +750,15 @@
         <equation>
           <title>Equation for layer mode <quote>Screen</quote></title>
           <alt role="latex">
-              $R_{s} = 255 - \frac {(255-M)*(255-I)}{255}$
+              $$R_{s} = 255 - \frac{(255-M)\times(255-I)}{255}$$
             </alt>
           <graphic fileref="images/math/layer-mode-soft-light1.png"/>
         </equation>
         <equation>
           <title>Equation for layer mode <quote>Soft light</quote></title>
           <alt role="latex">
-              $E = \frac {((255-I)*M*I)+(I*R_{s})}{255}$
-            </alt>
+            $$E = \frac{(255-I)\times M + R_{s}}{255} \times I$$
+          </alt>
           <graphic fileref="images/math/layer-mode-soft-light2.png"/>
         </equation>
       </listitem>
@@ -809,7 +810,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Grain extract</quote></title>
-          <alt role="latex">$E = I - M + 128$</alt>
+          <alt role="latex">$$E = I - M + 128$$</alt>
           <graphic fileref="images/math/layer-mode-grainextract.png"/>
         </equation>
       </listitem>
@@ -867,7 +868,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Grain merge</quote></title>
-          <alt role="latex">$E = I + M - 128$</alt>
+          <alt role="latex">$$E = I + M - 128$$</alt>
           <graphic fileref="images/math/layer-mode-grainmerge.png"/>
         </equation>
       </listitem>
@@ -918,7 +919,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Difference</quote></title>
-          <alt role="latex">$E = |I - M|$</alt>
+          <alt role="latex">$$E = |I - M|$$</alt>
           <graphic fileref="images/math/layer-mode-difference.png"/>
         </equation>
         <para>
@@ -972,7 +973,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Addition</quote></title>
-          <alt role="latex">$E = min( (M + I), 255)$</alt>
+          <alt role="latex">$$E = min\bigl( (M + I), 255\bigr)$$</alt>
           <graphic fileref="images/math/layer-mode-addition.png"/>
         </equation>
         <para>
@@ -1027,7 +1028,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Subtraction</quote></title>
-          <alt role="latex">$E = max( (I - M),0)$</alt>
+          <alt role="latex">$$E = max\bigl( (I - M), 0\bigr)$$</alt>
           <graphic fileref="images/math/layer-mode-subtract.png"/>
         </equation>
       </listitem>
@@ -1078,7 +1079,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Darken only</quote></title>
-          <alt role="latex">$E = min(M,I)$</alt>
+          <alt role="latex">$$E = min(M, I)$$</alt>
           <graphic fileref="images/math/layer-mode-darken.png"/>
         </equation>
         <para>
@@ -1132,7 +1133,7 @@
         <para>The equation is:</para>
         <equation>
           <title>Equation for layer mode <quote>Lighten only</quote></title>
-          <alt role="latex">$E = max(M,I)$</alt>
+          <alt role="latex">$$E = max(M, I)$$</alt>
           <graphic fileref="images/math/layer-mode-lighten.png"/>
         </equation>
         <para>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]