From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3787 Path: main.gmane.org!not-for-mail From: Wybo Dekker Newsgroups: gmane.comp.tex.context Subject: Re: hoe maak ik een :-) smile in LaTeX? Date: Fri, 12 Jan 2001 11:24:00 +0100 (CET) Sender: owner-ntg-context@let.uu.nl Message-ID: References: <3.0.6.32.20010112094711.01837260@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035394504 20111 80.91.224.250 (23 Oct 2002 17:35:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:35:04 +0000 (UTC) Original-To: TEX-NL , Context-L In-Reply-To: <3.0.6.32.20010112094711.01837260@server-1> Xref: main.gmane.org gmane.comp.tex.context:3787 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3787 On Fri, 12 Jan 2001, Hans Hagen wrote: > I cc this mail to the context list. The question concerned smilies. If > someone can provide me a full set of what these things are and represent, i > can make a few more definitions. Makes a good example for metafun. funny, indeed, although I feel that smileys should stay like graphics on a primitive typewriter; so better use a typewriter font. In plain tex and latex you can include the metapost output below with: \input epsf.tex text... \epsfbox{thisfile.1}... more text... \epsfbox{thisfile.2} ... > At 11:01 PM 1/11/01 +0100, you wrote: > >Een dubbele-punt-streepje-haakje ziet er niet uit. Toch wil ik ook in een > >LaTeX documentje nog wel eens glimlachen. Hoe doe ik dat? > > Ik zou zeggen, met metapost: > > prologues := 2 ; % input mp-tool ; > > numeric smilesize ; smilesize := 12pt ; > > beginfig (1) ; > > pickup pencircle xscaled (smilesize/6) yscaled (smilesize/12) ; > draw halfcircle rotated -90 scaled smilesize ; > pickup pencircle scaled (smilesize/4) ; > for i=-1,+1 : draw origin shifted (0,i*smilesize/4) ; endfor ; > > endfig ; > > beginfig (2) ; > > pickup pencircle xscaled (smilesize/6) yscaled (smilesize/12) ; > draw halfcircle rotated -90 scaled smilesize ; > pickup pencircle scaled (smilesize/4) ; > for i=-1,+1 : draw origin shifted (-smilesize/2,i*smilesize/4) ; endfor ; > pickup pencircle scaled (smilesize/6) ; > draw (smilesize/4,0) -- (-smilesize/4,0) ; > > endfig ; > > end . > > Met mpost thisfile.mp krijg je dan thisfile.1 en thisfile.2 die je > vervolgens met weet ik wat voor'n commando kunt includen. Hartelijke groet, Wybo __Servalys Analytical Chemistry Services__ Wybo H. Dekker wybo@servalys.hobby.nl Deilsedijk 60 www.servalys.nl 4158 CH Deil tel +31-345-652164 The Netherlands fax +31-345-652383