## LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

 Options: Use Classic View Use Monospaced Font Show Text Part by Default Condense Mail Headers Topic: [<< First] [< Prev] [Next >] [Last >>]

 Sender: Mailing list for the LaTeX3 project <[log in to unmask]> Subject: Re: inputenc text (and/or math) From: J%ORG KNAPPEN <[log in to unmask]> Date: Fri, 2 Feb 2001 13:00:06 +0100 Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]> Parts/Attachments: text/plain (46 lines) Frank Mittelbach schrieb: > > If the standard inputenc files are changed, I strongly plea for "dual use" > > characters. The standard ASCII characters with a few exceptions can be used > > in text and math as well. A user expects the high character not to be > > different > > in this respect. > depends on what dual means. if you mean that you want the result of a key > mapping (eg \"a) be available text or math then No, no, I didn't want to go that far ... > instead i would think something like \DeclareInputTextAndMath should be > offered for those languages/keyboards where a dual nature for input "keys" > really makes sense, greek and cyrillic comes to mind. Yes, this was my intention. If I type "×" (the times sign in Latin-1,2,3, and 4) I want that it works both in text and in math mode giving something sensible (i.e. \textmultiply or \times resp.) I don't want to have the command \times in text mode and \textmultiply in math mode necessarily (though it might lower the burden of memorising commands). > \DeclareInputTextAndMath{}{\textalpha}{\alpha} > > you may have meant that as well, have you? Yes, and the syntax looks fine to me. --J"org Knappen P.S. > [...] i strongly plea for math only accepts the small set of real > ascii, ie > > 0-9 a-z A-Z !"/()=?'+*<>|,;.:- > plus commands > > by default (repeat: default). There are two characters which are pretty useless in math, namely '"' (the double quote) and '' (the grave accent). The former fact is real good luck because it allows TeX fomulae in HTML ALT-tags without breaking HTML syntax. The later is just a cutiosity, but without AMS fonts there isn't any sensible symbol mapping to ''. `