GNOME Bugzilla – Bug 601156
Refreshing images of Layer Mode formulas
Last modified: 2009-11-27 13:19:09 UTC
Created attachment 147215 [details] new images and a patch for xml (compressed by bzip2) Though the "Layer Modes" page has nice mathematical formulas for each modes, these images are rather suitable for inline description than displaying with titles, because their style are written in the TeX's text mode (inline style sorrounded by single $ sign). Some formulas contain '*' for multplying sign which is not popular but only used in C programming or other computer codes. TeX's display mode causes centering its formula, which may preferable in PDF output because its title is centered. On the contrary, TeX's text mode puts its formula into a paragraph, or left most side if the line contains one formula. And this mode shorten text size in fractions or complicated functions. This patch contains images/C/math/layer-mode-*.png and a patch for src/concepts/layer-modes.xml. Images are GRAY-ALPHA png files.
Created attachment 147220 [details] an image patch (compressed by bzip2) Sorry, I've forgotten the grainmerge mode.
Created attachment 148040 [details] regenerated patch (LaTeX mode, using "×") compressed This file contains new images using multiplication signs. Though I'm not familiar with LaTeX, this may go well. It does not need the former two patches (deprecated).
AFAIK TeX (or LaTeX?) provides \min and \max macros, using a different (correct) font for the strings "min" and "max". We should fix this, too. Your new "Hard light" formula still contains braces, can you replace them with (big?) parentheses? BTW, is there a simple tool to generate these nice figures with white text on transparent background? Or did you use any special TeX/LaTeX commands?
Created attachment 148332 [details] a Script-Fu script for the fifth step (In reply to comment #3) > BTW, is there a simple tool to generate these nice figures with white text > on transparent background? Or did you use any special TeX/LaTeX commands? No. There is nothing special. The steps I did are through an ordinary way: 1. edit TeX source, and produce its dvi output 2. convert dvi file to pdf file using 'dvipdf' tool 3. open the pdf image by the GIMP 4. select wanted text using the rectangular-select tool 5. copy-and-paste the part in a new image and work on it (like the attached script)
Created attachment 148334 [details] additional patch after #148040 (In reply to comment #3) > AFAIK TeX (or LaTeX?) provides \min and \max macros, using a different > (correct) font for the strings "min" and "max". We should fix this, too. > > Your new "Hard light" formula still contains braces, can you replace > them with (big?) parentheses? Now corrected by this patch.
I noticed that these patches are committed to the repository. Thank you, Ulf.