MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Linguistics Graphs


  • To: mathgroup@smc.vnet.net
  • Subject: [mg10756] Linguistics Graphs
  • From: Mark Evans <evans.nospam@gte.net>
  • Date: Mon, 2 Feb 1998 00:44:52 -0500
  • Organization: None
  • References: <199801300924.EAA15442@smc.vnet.net.>

Tricky programming challenge:

How to write out a string of text using a proportional font, then
connect given letters by means of geometric lines.  The lines may cross
over one another, have different colors, or different dashings.

Example:

       This is a proportional font
       | |  |          ||        |
       | |  |          ||        |
       | ----------------        |
       |               |         |
       ---------------------------

The reason for this exercise has to do with certain problems in
linguistics.

In general, the font may include characters that, although their ASCII
codes appear in a particular string order, their position on screen may
appear above, below, or even on top of the previous or subsequent
letter.  For instance, the sequential ASCII code for the string
"ABCDEF" might end up being printed as

        F
     ABDE
      C

The layout properties are determined by the font, so I am not sure that
Mathematica's superscript/subscript system is useful here.

Mark Evans

______________________________________________________ Remove ".nospam"
from email address to reply. "evans" at "gte" dot "net"




  • Prev by Date: Re: Re: PDEs & Mathematica.
  • Next by Date: general help needed in finding journal articles
  • Prev by thread: Re: PDEs & Mathematica.
  • Next by thread: Re: Linguistics Graphs