Using Wolfgang Schuster's wonderful letter module, I enter my signature with my name and title like so: \setupletter[signature={Michael Green \\ Assistant Professor of Philosophy}] This used to produce a line break between "Green" and "Assistant" so the output would look like this: Michael Green Assistant Professor of Philosophy But it no longer does. Now it comes out like this: Michael Green Assistant Professor of Philosophy Is there a preferred way to accomplish the effect I want? Thanks! Michael ---------- Example -------------------------------- ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2008.11.17 int: english/ english \setuppapersize[letter][letter] \usemodule[letter][style=semiblock] \setupletter[% closing={Sincerely yours,}, signature={Michael Green \\ Assistant Professor of Philosophy}, date=\currentdate ] \setupletter[% opening={To the Addressee,}, ] \starttext \startletter Here is the content of the letter. \stopletter \stoptext
Am 18.11.2008 um 17:47 schrieb Michael Green:
Using Wolfgang Schuster's wonderful letter module, I enter my signature with my name and title like so:
\setupletter[signature={Michael Green \\ Assistant Professor of Philosophy}]
This used to produce a line break between "Green" and "Assistant" so the output would look like this:
Michael Green Assistant Professor of Philosophy
But it no longer does. Now it comes out like this:
Michael Green Assistant Professor of Philosophy
Is there a preferred way to accomplish the effect I want?
I uploaded a new version, if you have no time update for the moment use \crlf as replacement.
Thanks!
Michael
---------- Example --------------------------------
ConTeXt ver: 2008.11.10 21:40 MKIV fmt: 2008.11.17 int: english/ english
\setuppapersize[letter][letter]
Do you need lettersize for all your letters?
\usemodule[letter][style=semiblock] \setupletter[% closing={Sincerely yours,}, signature={Michael Green \\ Assistant Professor of Philosophy}, date=\currentdate ]
\setupletter[% opening={To the Addressee,}, ]
\starttext
\startletter
Here is the content of the letter. \stopletter \stoptext
Wolfgang
I am trying to insert unicode charater 217D (a cross) into a line of text. I cannot figure out how to do it, or if it can be done. I use mkii but could be convinced to move to mkiv if necessary. -Erich Fickel
I am trying to insert unicode charater 217D (a cross) into a line of text. I cannot figure out how to do it, or if it can be done.
You probably mean U+217D, not U+271D. This is one of the famous Zapf dingbats, available in dedicated fonts; you don't really need Unicode fonts in order to typeset it. Try the instructions by Adam Lindsay (http://web.archive.org/web/20061130021250/homepage.mac.com/atl/tex/ZapfDingb...) An alternative with Mark IV: just find a font that contains that character. You can look for it with BabelPad on Windows / UnicodeChecker on Mac OS / gucharmap on Linux. Then, just use the font with the \definefont command. Arthur
This is one of the famous Zapf dingbats, available in dedicated fonts; you don't really need Unicode fonts in order to typeset it. Try the instructions by Adam Lindsay
http://web.archive.org/web/20061130021250/homepage.mac.com/atl/tex/ZapfDingb...)
Thank you for the very quick answer. I read Mr. Lindsay's instruction. It worked, and quite easily. I also tried to just use the character in mkiv. That didn't work. However, in mkii, I tried the following: \usesymbols[uzd] \definecharacter crosssign {\uchar{39}{29}} \starttext Here is the \crosssign\ in a sentence. \stoptext That worked too, and seems easier. I would like to figure it out it mkiv as well. I type the character in VIM, but it showed up as a space in the PDF. -Erich
Am 20.11.2008 um 15:16 schrieb Erich R Fickel:
This is one of the famous Zapf dingbats, available in dedicated fonts; you don't really need Unicode fonts in order to typeset it. Try the instructions by Adam Lindsay
http://web.archive.org/web/20061130021250/homepage.mac.com/atl/tex/ZapfDingb...)
Thank you for the very quick answer. I read Mr. Lindsay's instruction. It worked, and quite easily. I also tried to just use the character in mkiv. That didn't work. However, in mkii, I tried the following:
\usesymbols[uzd] \definecharacter crosssign {\uchar{39}{29}} \starttext
Here is the \crosssign\ in a sentence.
\stoptext
That worked too, and seems easier.
I would like to figure it out it mkiv as well. I type the character in VIM, but it showed up as a space in the PDF.
\def\crosssign{\utfchar{"271D}} You need only a font the symbol, if you have one there are different ways to use it. The simple solution: \definefont[unicode][name:unicodesymbols*default] \def\crosssign{\utfchar{"271D}} \starttext text {\unicode\crosssign} text \stoptext You can also include the font in the defintion of \crosssign. The advanced solution: \def\crosssign{\utfchar{"271D}} \definefontsynonym[UnicodeSymbols][name:unicodesymbols*default] \definefontfallback[symbols][UnicodeSymbols][dingbats] \starttypescript [serif] [mine] \definefontsynonym [Serif] [TeXGyrePagella-Regular] [fallbacks=symbols] \stoptypescript \definetypeface [mine] [rm] [serif] [mine] [default] \setupbodyfont[mine] \starttext text \crosssign\ text \stoptext You need a few more lines for the setup because you need a new typescript. Wolfgang
participants (4)
-
Arthur Reutenauer
-
Erich R Fickel
-
Michael Green
-
Wolfgang Schuster