home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / text / tex / 13323 < prev    next >
Encoding:
Text File  |  1992-11-19  |  2.7 KB  |  63 lines

  1. Newsgroups: comp.text.tex
  2. Path: sparky!uunet!mcsun!Germany.EU.net!ubrinf!lehre23!ms
  3. From: ms@lehre23.informatik.Uni-Bremen.DE (Martin Schroeder)
  4. Subject: Grey shaded areas with text in it -- Summary
  5. Message-ID: <1992Nov19.173744.11587@informatik.uni-bremen.de>
  6. Keywords: gray, shading
  7. Sender: ms@lehre23 (Martin Schroeder)
  8. Nntp-Posting-Host: lehre23
  9. Reply-To: l15d@alf.zfn.Uni-Bremen.de
  10. Organization: Universitaet Bremen
  11. Date: Thu, 19 Nov 1992 17:37:44 GMT
  12. Lines: 49
  13.  
  14. I posted the following article:
  15.  
  16. |> How can I accomplish the following with TeX/Metafont:
  17. |> -------------------------------------------------
  18. |> |  text text text text text text                   |
  19. |> |  text text text text                    |
  20. |> | text text text text text text text text text    |
  21. |> -------------------------------------------------
  22. |> Which means: normal text on gray background. The text may be any text, the background should be
  23. |> possible in various gray scales and rectangular (a kind of minipage with gray background).
  24. |>
  25. |> It should be TeX, NO POSTSCRIPT!
  26. |> 
  27. |> I am willing to use METAFONT, but would prefer TeX-only solutions.
  28.  
  29. Geoffrey Tobin (ecsgrt@luxor.latrobe.edu.au) suggested:
  30. |> In The METAFONTbook (1986), in Appendix H on "Hardcopy Proofs",
  31. |> section 2 discusses "Gray fonts".  You could typeset many copies of a
  32. |> grey character in the shape of the rectangle.  I think that Michael
  33. |> Wichura's PICTeX can do something similar.  Unfortunately, PICTeX can
  34. |> be expensive of TeX's stupidly fixed-size internal memory.
  35. |> 
  36. |> A second way is to use Thomas Leathrum's "mfpic" to make a custom
  37. |> shaded character the size of the grey rectangle.  The drawback here is
  38. |> that "gftopk" may run out of its ridiculously limited memory.
  39.  
  40. Anthony Starks (ajs%msdrl@uunet.UU.NET) suggested:
  41. |> The mfpic macros and graphbase MF macros can do shaded areas.
  42.  
  43. And Marc Van.rey (vanrey@hippo.fido.de) suggested using PicTeX and much memory.
  44.  
  45.  
  46. The gray fonts from Knuth are for use with GFtoDVI and have just ONE grayscale.
  47. I have not tried mfpic or graphbase but suspect that they eat up my memory quite fast.
  48. So there seems to be no easy solution.
  49.  
  50.  
  51. Martin                  "ZDF, the final frontier. These are the voyages
  52.                          of a buerokratic cencor agency, it's continuing
  53.                          mission to destroy the hopes of their fans, to
  54.                          seek out new threats for their favourite films
  55.                          to boldly cut, where no one has cut a film before ..."
  56.  
  57.                                                              ;-)
  58.  
  59. -- 
  60. Martin Schr"oder, Computer Science student -=-=- University of Bremen, Germany
  61. Internet: l15d@alf.zfn.uni-bremen.de
  62. --- Wer, wie, was? Wieso, weshalb, warum? Wer nichts fragt bleibt dumm. ---
  63.