From prstanley at ntlworld.com Sun Feb 1 03:14:13 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Sun, 01 Feb 2009 02:14:13 +0000 Subject: [texhax] mysterious commands Message-ID: <20090201021400.FQYM19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> Hi folks any idea what the \cbf and cemph commands do? \bf and \emph make sense. I did look around for an explanation but couldn't find any. I wonder if they're proprietary commands. Many thanks Paul From axel.retif at mac.com Sun Feb 1 07:34:40 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 01 Feb 2009 00:34:40 -0600 Subject: [texhax] MacTeX installation In-Reply-To: <200901312248.n0VMm9l11889@f7.net> References: <200901312248.n0VMm9l11889@f7.net> Message-ID: <971E3325-B418-4911-97D5-6CB5418CB774@mac.com> On 31 Jan, 2009, at 16:48, Karl Berry wrote: > [Richard Koch wrote:] > >> The truth is that I opposed this new design >> for about a month because I thought it was so complicated, until I >> came to my senses and realized its usefulness. > > > People might find Dick's article about this interesting and/or > amusing: > http://tug.org/TUGboat/Articles/tb28-3/tb90koch.pdf Equally interesting and *far more amusing* is to see and hear Koch himself talk about it: http://www.river-valley.tv/conferences/tug2007/media/Dick_Koch/ Best, Axel From philip.ratcliffe at fastwebnet.it Sun Feb 1 09:52:34 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sun, 1 Feb 2009 09:52:34 +0100 Subject: [texhax] mysterious commands In-Reply-To: <20090201021400.FQYM19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: > any idea what the \cbf and cemph commands do? \bf and \emph make > sense. I did look around for an explanation but couldn't find any. I > wonder if they're proprietary commands. Of course, it would have helped if you'd mentioned where you saw them. Anyway, I suspect they're just home-spun commands for doing bf, emph etc in colour. Cheers, Phil From brandon at 301south.net Mon Feb 2 00:37:58 2009 From: brandon at 301south.net (Brandon Kuczenski) Date: Sun, 1 Feb 2009 15:37:58 -0800 (PST) Subject: [texhax] natbib 'super' and hyperlinks Message-ID: Hello all, I'm using natbib with 'super' and 'sort&compress' options. In this situation, the links appear as tiny spaces below the superscripts, and clicking on the numbers themselves doesn't work. This makes the hyperlink target very small and difficult to find. Is this expected behavior? Or do I have something wrong? Thanks in advance, -Brandon minimal example: \documentclass[letterpaper]{article} \usepackage[super,sort&compress]{natbib} \RequirePackage[colorlinks]{hyperref} \begin{document} This is a document!!! justifiable statement.\cite{validreference} \clearpage Now I am on to page 2. filler text. \section{References} \bibliographystyle{ieeetr} \bibliography{mybib.bib} \end{document} From javier at digi21.eu Mon Feb 2 11:35:52 2009 From: javier at digi21.eu (=?ISO-8859-1?Q?Javier_M=FAgica?=) Date: Mon, 2 Feb 2009 11:35:52 +0100 Subject: [texhax] cmr vs lmr width differences Message-ID: <5088e64f0902020235x1c013c54n43ec756e95403e31@mail.gmail.com> Is this difference intended? \hbox{f\/} cmr10: 3.83336 pt lmr10: 3.8477 Without the italic correction both fonts yield 3.05557pt --Javier A. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090202/aac10e4e/attachment.html From karl at freefriends.org Tue Feb 3 01:08:51 2009 From: karl at freefriends.org (Karl Berry) Date: Mon, 2 Feb 2009 18:08:51 -0600 Subject: [texhax] cmr vs lmr width differences In-Reply-To: <5088e64f0902020235x1c013c54n43ec756e95403e31@mail.gmail.com> Message-ID: <200902030008.n1308pD32452@f7.net> Is this difference intended? \hbox{f\/} cmr10: 3.83336 pt lmr10: 3.8477 Without the italic correction both fonts yield 3.05557pt I expect it is, yes. lmr10 was never intended to have the same metrics as cmr10. As for the particular change to the ic of f, I expect that the slightly larger number simply looks better. If in doubt, try making proofsheets with gftodvi or fontforge or whatever, or look in the LM logs to see if it was ever explicitly mentioned. From Robert.Baskin at ahrq.hhs.gov Mon Feb 2 17:13:03 2009 From: Robert.Baskin at ahrq.hhs.gov (Baskin, Robert (AHRQ)) Date: Mon, 2 Feb 2009 11:13:03 -0500 Subject: [texhax] Installing TeXnic Center on a flash drive Message-ID: I couldn't find anything that addressed this so I'll try here - sorry if it is the wrong kind of question: I want to install/run TeXnic Center on both my home Windows and work Windows machines. The main issue is that I cannot write to the registry on my work machine. I installed everything on the home machine in the c: drive and everything ran fine - thanks for the beautiful package. I tried to install MikTex 2.7 on the c: drine on my work machine and it gives me an error message that it cannot write to the registry. Next step, I uninstalled everything and installed MikTeX + TeXnic Center on a flash drive. Now TeXnic Center starts fine and builds on my home machine from the flash drive. On the work machine TeXnic Center starts fine but refuses to build. I get an error message: Initexmf.EXE: No formats.ini exists (Fatal format file error: I'm stymied) The formats.ini was originally in E:\MiKTeX 2.7\miktex\config but copying it to other folders didn't help. Any hints on how to fix this error or is it hopeless? Any hints on how to work around the registry problem in some other way? Can it run off of a DVD? I like the flash drive because I can keep the working files there and transport them back and forth. Thanks bob From Joao.Santos at ny.frb.org Wed Feb 4 17:19:21 2009 From: Joao.Santos at ny.frb.org (Joao.Santos at ny.frb.org) Date: Wed, 4 Feb 2009 11:19:21 -0500 Subject: [texhax] using lineno.sty with latex Message-ID: <20090204161924.E30742354AF@p3fed1.frb.org> I am trying to use lineno.sty with latex. First, I went to CTAN, followed the instructions and downloaded the following files to my computer lineno.sty, edtable.sty, ednmath0.sty, ltabptch.sty and longtable.sty Second, in a latex document I am trying to add line, I added at the to \usepage{lineno} When I try to compile the document, I keep getting the following error (c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/amsfonts/amssymb.sty) (c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/graphics/epsfig.sty) (./lineno.sty ! LaTeX Error: Missing \begin{document}. Any suggestion to fix this problem or for using lineno.sty correctly with latex? Many thanks in advance Joao Santos -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090204/674b9717/attachment.html From will.adams at frycomm.com Wed Feb 4 17:55:21 2009 From: will.adams at frycomm.com (William Adams) Date: Wed, 4 Feb 2009 11:55:21 -0500 Subject: [texhax] using lineno.sty with latex In-Reply-To: <20090204161924.E30742354AF@p3fed1.frb.org> References: <20090204161924.E30742354AF@p3fed1.frb.org> Message-ID: <562959FE-44C7-4BB3-A758-F8C899D937E3@frycomm.com> On Feb 4, 2009, at 11:19 AM, Joao.Santos at ny.frb.org wrote: > I am trying to use lineno.sty with latex. > > First, I went to CTAN, followed the instructions and downloaded the > following files to my computer > > lineno.sty, edtable.sty, ednmath0.sty, ltabptch.sty and > longtable.sty > > Second, in a latex document I am trying to add line, I added at the to > > \usepage{lineno} Try \usepackage{lineno} > When I try to compile the document, I keep getting the following error > > (c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/amsfonts/ > amssymb.sty) > (c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/graphics/ > epsfig.sty) > (./lineno.sty > > ! LaTeX Error: Missing \begin{document}. > > Any suggestion to fix this problem or for using lineno.sty correctly > with latex? Do something like this: \documentclass{minimal} \usepackage{lineno} \begin{document} Test. Testing. Testing 1, 2, 3 \end{document} -- William Adams senior graphic designer Fry Communications From Joao.Santos at ny.frb.org Wed Feb 4 18:10:32 2009 From: Joao.Santos at ny.frb.org (Joao.Santos at ny.frb.org) Date: Wed, 4 Feb 2009 12:10:32 -0500 Subject: [texhax] using lineno.sty with latex In-Reply-To: <562959FE-44C7-4BB3-A758-F8C899D937E3@frycomm.com> Message-ID: <20090204171036.446B4235591@p3fed1.frb.org> Sorry, That is not the problem (that was a typo in my email) I am indeed using the command \usepackage{lineno} *********************************************************************************** Jo?o A. C. Santos Assistant Vice President Federal Reserve Bank of New York 33 Liberty St New York, NY 10045 Tel: (212) 720-5583 Fax: (212) 720-8363 E mail: joao.santos at ny.frb.org http://www.newyorkfed.org/rmaghome/economist/santos/contact.html SSRN: http://ssrn.com/author=103125 *********************************************************************************** William Adams 02/04/2009 11:55 AM To TeXhax cc Joao.Santos at ny.frb.org Subject Re: [texhax] using lineno.sty with latex On Feb 4, 2009, at 11:19 AM, Joao.Santos at ny.frb.org wrote: > I am trying to use lineno.sty with latex. > > First, I went to CTAN, followed the instructions and downloaded the > following files to my computer > > lineno.sty, edtable.sty, ednmath0.sty, ltabptch.sty and > longtable.sty > > Second, in a latex document I am trying to add line, I added at the to > > \usepage{lineno} Try \usepackage{lineno} > When I try to compile the document, I keep getting the following error > > (c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/amsfonts/ > amssymb.sty) > (c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/graphics/ > epsfig.sty) > (./lineno.sty > > ! LaTeX Error: Missing \begin{document}. > > Any suggestion to fix this problem or for using lineno.sty correctly > with latex? Do something like this: \documentclass{minimal} \usepackage{lineno} \begin{document} Test. Testing. Testing 1, 2, 3 \end{document} -- William Adams senior graphic designer Fry Communications -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090204/9d66a3cd/attachment.html From uwe.lueck at web.de Wed Feb 4 19:48:09 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 04 Feb 2009 19:48:09 +0100 Subject: [texhax] using lineno.sty with latex In-Reply-To: <562959FE-44C7-4BB3-A758-F8C899D937E3@frycomm.com> References: <20090204161924.E30742354AF@p3fed1.frb.org> <20090204161924.E30742354AF@p3fed1.frb.org> Message-ID: <5.1.0.14.0.20090204182643.03184080@pop3.web.de> At 17:55 04.02.09, William Adams wrote: >Do something like this: > >\documentclass{minimal} >\usepackage{lineno} >\begin{document} >Test. > >Testing. > >Testing 1, 2, 3 > >\end{document} I expect \documentclass{minimal} would crash here since lineno.sty by default invokes \tiny to typeset line numbers, while \tiny is not defined under minimal. Cheers, Uwe. From will.adams at frycomm.com Wed Feb 4 20:11:10 2009 From: will.adams at frycomm.com (William Adams) Date: Wed, 4 Feb 2009 14:11:10 -0500 Subject: [texhax] using lineno.sty with latex In-Reply-To: <5.1.0.14.0.20090204182643.03184080@pop3.web.de> References: <20090204161924.E30742354AF@p3fed1.frb.org> <20090204161924.E30742354AF@p3fed1.frb.org> <5.1.0.14.0.20090204182643.03184080@pop3.web.de> Message-ID: On Feb 4, 2009, at 1:48 PM, Uwe L?ck wrote: > I expect \documentclass{minimal} would crash here since lineno.sty > by default invokes \tiny to typeset line numbers, while \tiny is not > defined under minimal. I knew I should've taken a moment to either type ``(untested)'' or to test it. Okay, \documentclass{article} then. But apparently one needs some additional bit of code to turn on line numbering.... \documentclass{article} \usepackage{lineno} \begin{document} \linenumbers Test. Testing. Testing 1, 2, 3 \end{document} (tested) If the above doesn't work for Joao, then there must be something wrong in the copy of lineno.sty which is being used. William -- William Adams senior graphic designer Fry Communications From uwe.lueck at web.de Wed Feb 4 19:57:27 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 04 Feb 2009 19:57:27 +0100 Subject: [texhax] using lineno.sty with latex Message-ID: <5.1.0.14.0.20090204194901.027411d0@pop3.web.de> First hint: At 17:19 04.02.09, Joao.Santos at ny.frb.org wrote: >I am trying to use lineno.sty with latex. > >First, I went to CTAN, followed the instructions and downloaded the >following files to my computer > > lineno.sty, edtable.sty, ednmath0.sty, ltabptch.sty and longtable.sty > >Second, in a latex document I am trying to add line, I added at the to > >\usepage{lineno} At 18:10 04.02.09, Joao.Santos at ny.frb.org wrote: >Sorry, That is not the problem (that was a typo in my email) I am indeed >using the command >\usepackage{lineno} >When I try to compile the document, I keep getting the following error > >(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/amsfonts/amssymb.sty) >(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/graphics/epsfig.sty) >(./lineno.sty > >! LaTeX Error: Missing \begin{document}. This message is typical for typing errors in the document preamble ... or in a loaded package ... One should guess here that you have a broken version of lineno.sty ... but I wonder how this could have happened ... but that also is why I asked for your .log file which could tell me about the version of lineno.sty you are trying. All the best, Uwe L. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090204/3a78dc66/attachment.html From uwe.lueck at web.de Wed Feb 4 19:37:35 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 04 Feb 2009 19:37:35 +0100 Subject: [texhax] using lineno.sty with latex Message-ID: <5.1.0.14.0.20090204190905.03195ec0@pop3.web.de> [related jokes with some tastes ... and a kind of application ...] At 17:19 04.02.09, Joao.Santos at ny.frb.org wrote: >I am trying to use lineno.sty with latex. > >First, I went to CTAN, followed the instructions and downloaded the >following files to my computer > > lineno.sty, edtable.sty, ednmath0.sty, ltabptch.sty and longtable.sty [snip] >When I try to compile the document, I keep getting the following error > >(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/amsfonts/amssymb.sty) >(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/graphics/epsfig.sty) >(./lineno.sty > >! LaTeX Error: Missing \begin{document}. At 18:10 04.02.09, Joao.Santos at ny.frb.org wrote: >Jo?o A. C. Santos >Assistant Vice President >Federal Reserve Bank of New York >33 Liberty St >New York, NY 10045 As I told before, I am the maintainer of lineno.sty. I hope the license agreement (LPPL) made clear that I won't be responsible for another bank collapse. ;-) On the other hand, I am just running out of money and preparing applications for donations supporting further development of lineno.sty (or ...), cf. http://www.webdesign-bu.de/uwe_lueck/texproj.html#TODOs (I do know about the TeX Development Fund.) Maybe I should demand one percent of ... from the Federal Reserve Bank of New York? ;-) I am also looking for other small jobs concerning TeX. Sorry if applications aren't welcome here ... And sorry, I may be asleep for the next eight hours. Cheers, Uwe. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090204/638ce874/attachment-0001.html From uwe.lueck at web.de Wed Feb 4 19:03:20 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 04 Feb 2009 19:03:20 +0100 Subject: [texhax] using lineno.sty with latex In-Reply-To: <20090204161924.E30742354AF@p3fed1.frb.org> Message-ID: <5.1.0.14.0.20090204185738.0318dc30@pop3.web.de> I am the maintainer of lineno.sty! At 17:19 04.02.09, Joao.Santos at ny.frb.org wrote: >I am trying to use lineno.sty with latex. > >First, I went to CTAN, followed the instructions and downloaded the >following files to my computer > > lineno.sty, edtable.sty, ednmath0.sty, ltabptch.sty and longtable.sty > >Second, in a latex document I am trying to add line, I added at the to > >\usepage{lineno} At 18:10 04.02.09, Joao.Santos at ny.frb.org wrote: >Sorry, That is not the problem (that was a typo in my email) I am indeed >using the command >\usepackage{lineno} >When I try to compile the document, I keep getting the following error > >(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/amsfonts/amssymb.sty) >(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/graphics/epsfig.sty) >(./lineno.sty > >! LaTeX Error: Missing \begin{document}. Please send me an exact copy of your document preamble (preceding \begin{document}) and of your .log file. You may send it directly to uwe.lueck(at)web.de. With best wishes and hopes, Uwe Lueck. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090204/eeab59c7/attachment.html From uwe.lueck at web.de Wed Feb 4 21:01:28 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 04 Feb 2009 21:01:28 +0100 Subject: [texhax] using lineno.sty with latex Message-ID: <5.1.0.14.0.20090204210000.0275b3d0@pop3.web.de> [I am reposting my first, most serious answer, since it seems to me that it didn't find its way into the list] I am the maintainer of lineno.sty! At 17:19 04.02.09, Joao.Santos at ny.frb.org wrote: >I am trying to use lineno.sty with latex. > >First, I went to CTAN, followed the instructions and downloaded the >following files to my computer > > lineno.sty, edtable.sty, ednmath0.sty, ltabptch.sty and longtable.sty > >Second, in a latex document I am trying to add line, I added at the to > >\usepage{lineno} At 18:10 04.02.09, Joao.Santos at ny.frb.org wrote: >Sorry, That is not the problem (that was a typo in my email) I am indeed >using the command >\usepackage{lineno} >When I try to compile the document, I keep getting the following error > >(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/amsfonts/amssymb.sty) >(c:/Program Files/PCTeX/PCTeXv6/texmf-dist/tex/latex/graphics/epsfig.sty) >(./lineno.sty > >! LaTeX Error: Missing \begin{document}. Please send me an exact copy of your document preamble (preceding \begin{document}) and of your .log file. You may send it directly to uwe.lueck(at)web.de. With best wishes and hopes, Uwe Lueck. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090204/ec954f61/attachment.html From Joao.Santos at ny.frb.org Wed Feb 4 21:42:39 2009 From: Joao.Santos at ny.frb.org (Joao.Santos at ny.frb.org) Date: Wed, 4 Feb 2009 15:42:39 -0500 Subject: [texhax] using lineno.sty with latex In-Reply-To: Message-ID: <20090204204243.A1F1E2355EE@p3fed1.frb.org> Here is what was happening I was doanloading the required files including lineno.sty from CTAN. When I was doing that, by clicking on "download" this would open the file in internet explorer. Then I would save it to my latex directory. This process somehow changed the file and this was the source of the problem. I found out that another way to get that package was through miktex. In this case when you choose to download it yu can extract all of the required files straight to your directory without opening them and thus avoiding the problem mentioned above. thanks for the help joao William Adams 02/04/2009 02:11 PM To Uwe L?ck cc TeXhax , Joao.Santos at ny.frb.org, ""Stephan I. B?ttcher"" Subject Re: [texhax] using lineno.sty with latex On Feb 4, 2009, at 1:48 PM, Uwe L?ck wrote: > I expect \documentclass{minimal} would crash here since lineno.sty > by default invokes \tiny to typeset line numbers, while \tiny is not > defined under minimal. I knew I should've taken a moment to either type ``(untested)'' or to test it. Okay, \documentclass{article} then. But apparently one needs some additional bit of code to turn on line numbering.... \documentclass{article} \usepackage{lineno} \begin{document} \linenumbers Test. Testing. Testing 1, 2, 3 \end{document} (tested) If the above doesn't work for Joao, then there must be something wrong in the copy of lineno.sty which is being used. William -- William Adams senior graphic designer Fry Communications -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090204/22bf90a3/attachment.html From cyril.niklaus at gmail.com Thu Feb 5 02:57:27 2009 From: cyril.niklaus at gmail.com (Cyril Niklaus) Date: Thu, 5 Feb 2009 10:57:27 +0900 Subject: [texhax] using lineno.sty with latex In-Reply-To: <20090204204243.A1F1E2355EE@p3fed1.frb.org> References: <20090204204243.A1F1E2355EE@p3fed1.frb.org> Message-ID: Maybe a simple example will help: %!TEX TS-program = xelatex-xdvipdfmx %!TEX encoding = UTF-8 Unicode \documentclass[12pt]{article} \usepackage[francais]{babel} \usepackage[margin=2.5cm, includeheadfoot]{geometry} \geometry{a4paper, centering} \usepackage{fontspec, xltxtra, xunicode} \usepackage{lineno} \renewcommand\linenumberfont{\normalfont\small} \defaultfontfeatures{Mapping=tex-text} \setromanfont[Numbers=OldStyle]{Chaparral Pro} \setsansfont[Scale=MatchLowercase]{Gill Sans} \setmonofont[Scale=MatchLowercase]{Monaco} \lccode"2019="0027 \title{} \author{} \date{} \begin{document} {\bfseries La famille est-elle en crise? } Serge H?fez \linenumbers \modulolinenumbers[5] % use \nolinenumbers when you want to stop the numbering. \vspace{1cm} Deux petites remarques pr?liminaires, peut-?tre. La famille est-elle en crise? Entendons-nous sur le mot ?~crise~?. La crise c'est pas seulement de la bagarre, c'est pas seulement des manifestations tr?s bruyantes, la crise c'est avant tout un processus de transformation. Alors, si la question pos?e est ?~la famille est-elle en transformation ?~? Certainement. Si cette transformation ne se fait pas sans bruit et sans douleur, certainement aussi. Et une deuxi?me remarque qui est ce que je remarquais tout ? l'heure sur le petit programme qui commence par ?~Tout le monde sait ce qu'est une famille.~? Ben ?a, j'en suis pas si s?r. Je donnais l'autre jour un cours ? Sciences Po aux ?l?ves de derni?re ann?e et je leur ai pos? la question, je vais pas le faire ici parce que vous ?tes tr?s tr?s nombreux, mais au fait pour vous ?~qu'est-ce que c'est une famille?~?. Et j'ai eu tellement de r?ponses et tellement de r?ponses diff?rentes, et tellement de r?ponses contradictoires, que peut-?tre ce simple questionnement qu'est-ce que c'est qu'une famille est effectivement, qui nous laisse aujourd'hui en proie ? un certain doute et un certain flou de d?finition. \end{document} From chandru.mcc at gmail.com Fri Feb 6 02:36:46 2009 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Fri, 6 Feb 2009 07:06:46 +0530 Subject: [texhax] Wrapfig Message-ID: Hi~ I am Using wrapfig package for adjusting the pictures. Could you please help me with the Commands by which i can use this package. Thanks Chandrasekhar -- " The World is a gymnasium where we have come to make ourselves strong"- Swami Vivekananda From ivan.pagnossin at gmail.com Thu Feb 5 21:46:49 2009 From: ivan.pagnossin at gmail.com (Ivan Ramos Pagnossin) Date: Thu, 5 Feb 2009 18:46:49 -0200 Subject: [texhax] wrong \marginpar Message-ID: Does any one noted that the instruction \paragraph{A} \marginpar{B} puts the marginal note "B" in the previous line of \paragraph{A}? Is there any explanation for that? I fixed this putting an empty box before \marginpar, but the doubt remains. Thanks in advance. Ivan Pagnossin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090205/a2131a23/attachment.html From chandru.mcc at gmail.com Fri Feb 6 09:31:46 2009 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Fri, 6 Feb 2009 14:01:46 +0530 Subject: [texhax] MiKTex Packages Detection Message-ID: Hi~ TeX users i am using TexMaker with MikTex 2.7 as the engine. Whatever new packages i download its not getting detected. Dont Know whats the Problem.. Any Suggestions would be helpful. Chandrasekhar -- " The World is a gymnasium where we have come to make ourselves strong"- Swami Vivekananda From philip.ratcliffe at uninsubria.it Fri Feb 6 10:26:57 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Fri, 6 Feb 2009 10:26:57 +0100 Subject: [texhax] MiKTex Packages Detection In-Reply-To: Message-ID: > TeX users i am using TexMaker with MikTex 2.7 as the engine. > Whatever new packages i download its not getting detected. First of all, this sounds like a question for the (excellent) MiKTeX list. Secondly, how are you downloading and and installing the packages? By hand or using the MiKTeX Package Manager? Cheers, Phil From philip.ratcliffe at uninsubria.it Fri Feb 6 10:30:37 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Fri, 6 Feb 2009 10:30:37 +0100 Subject: [texhax] Wrapfig In-Reply-To: Message-ID: <52F21E0FF7444DFEB7B04BB71FA5381A@PGR1> > I am Using wrapfig package for adjusting the pictures. > > Could you please help me with the Commands by which i can use > this package. You mean like do a digest of the short and simple instructions (and examples) you can read in the wrapfig.sty file? Cheers, Phil From axel.retif at mac.com Fri Feb 6 10:46:26 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 06 Feb 2009 03:46:26 -0600 Subject: [texhax] Wrapfig In-Reply-To: <52F21E0FF7444DFEB7B04BB71FA5381A@PGR1> References: <52F21E0FF7444DFEB7B04BB71FA5381A@PGR1> Message-ID: <2A2CC67F-C74A-4E1A-A382-5169B753F004@mac.com> On 6 Feb, 2009, at 03:30, Philip G. Ratcliffe wrote: >> I am Using wrapfig package for adjusting the pictures. >> >> Could you please help me with the Commands by which i can use >> this package. > > You mean like do a digest of the short and simple instructions (and > examples) you can read in the wrapfig.sty file? It's not really clear one can read the manual of wrapfig en the .sty itself ---at least in TeXLive, if you want the manual for, say, geometry, you just type in a terminal `` texdoc geometry '', and you can read all about the package in the geometry.pdf file. And that's the same, if memory serves, with all the packages I use..., except wrapfig. If you do ---again, in TeXLive--- texdoc geometry, you're taken to the instructions... in Polish. I learnt of wrapfig and learnt how to use it in TLC, 2nd ed.; much later I realized that at the bottom of the .sty file there were the instructions to use it. Best, Axel From axel.retif at mac.com Fri Feb 6 10:51:26 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 06 Feb 2009 03:51:26 -0600 Subject: [texhax] Wrapfig In-Reply-To: <2A2CC67F-C74A-4E1A-A382-5169B753F004@mac.com> References: <52F21E0FF7444DFEB7B04BB71FA5381A@PGR1> <2A2CC67F-C74A-4E1A-A382-5169B753F004@mac.com> Message-ID: <355FA0EE-77D0-4DDE-8B1C-72A909F2CFE7@mac.com> On 6 Feb, 2009, at 03:46, Axel E. Retif wrote: > [...] > > If you do ---again, in TeXLive--- texdoc geometry, you're taken to the > instructions... in Polish. I meant, obviously, texdoc wrapfig Sorry Axel From philip.ratcliffe at uninsubria.it Fri Feb 6 11:19:40 2009 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Fri, 6 Feb 2009 11:19:40 +0100 Subject: [texhax] Wrapfig In-Reply-To: <2A2CC67F-C74A-4E1A-A382-5169B753F004@mac.com> Message-ID: <202AD6A058E742D1863426FF95815E6D@PGR1> > On 6 Feb, 2009, at 03:30, Philip G. Ratcliffe wrote: > > >> I am Using wrapfig package for adjusting the pictures. > >> > >> Could you please help me with the Commands by which i can use this > >> package. > > > > You mean like do a digest of the short and simple instructions (and > > examples) you can read in the wrapfig.sty file? > > It's not really clear one can read the manual of wrapfig en the .sty > itself ---at least in TeXLive, if you want the manual for, say, > geometry, you just type in a terminal `` texdoc geometry '', and you > can read all about the package in the geometry.pdf file. And that's > the same, if memory serves, with all the packages I use..., except > wrapfig. > > If you do ---again, in TeXLive--- texdoc geometry, you're > taken to the > instructions... in Polish. > > I learnt of wrapfig and learnt how to use it in TLC, 2nd ed.; much > later I realized that at the bottom of the .sty file there were the > instructions to use it. Point taken: it was an old usage before the more professional era. Still, many sty files do at least contain hints as to how to use the package. And it usually is the case that if there isn't a proper manual, then instructions are provided somewhere in the sty file. Cheers, Phil From daleif at imf.au.dk Fri Feb 6 11:52:33 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 06 Feb 2009 11:52:33 +0100 Subject: [texhax] Wrapfig In-Reply-To: <355FA0EE-77D0-4DDE-8B1C-72A909F2CFE7@mac.com> References: <52F21E0FF7444DFEB7B04BB71FA5381A@PGR1> <2A2CC67F-C74A-4E1A-A382-5169B753F004@mac.com> <355FA0EE-77D0-4DDE-8B1C-72A909F2CFE7@mac.com> Message-ID: <498C1671.9030201@imf.au.dk> Axel E. Retif wrote: > On 6 Feb, 2009, at 03:46, Axel E. Retif wrote: > >> [...] > >> If you do ---again, in TeXLive--- texdoc geometry, you're taken to the >> instructions... in Polish. > > I meant, obviously, texdoc wrapfig > > Sorry > > Axel > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org well texdoc -l wrapfig 1 .../2008/texmf-doc/doc/polish/tex-virtual-academy-pl/latex2e/macro/wrapfig.html explains it, I'll send a mail to the texlive people -- /daleif From axel.retif at mac.com Fri Feb 6 12:13:25 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 06 Feb 2009 05:13:25 -0600 Subject: [texhax] Wrapfig In-Reply-To: <498C1671.9030201@imf.au.dk> References: <52F21E0FF7444DFEB7B04BB71FA5381A@PGR1> <2A2CC67F-C74A-4E1A-A382-5169B753F004@mac.com> <355FA0EE-77D0-4DDE-8B1C-72A909F2CFE7@mac.com> <498C1671.9030201@imf.au.dk> Message-ID: On 6 Feb, 2009, at 04:52, Lars Madsen wrote [to the TeXhax mailing list]: >> [...] > > well > texdoc -l wrapfig > 1 > .../2008/texmf-doc/doc/polish/tex-virtual-academy-pl/latex2e/macro/ > wrapfig.html > > explains it, I'll send a mail to the texlive people On 6 Feb, 2009, at 04:53, Lars Madsen wrote [to the TeX-Live mailing list]: > texdoc -l wrapfig > 1 .../2008/texmf-doc/doc/polish/tex-virtual-academy-pl/latex2e/macro/ > wrapfig.html > > an alias to wrapfig.sty might have been better > > (mentioned on texhax) Also, what to do with /usr/local/texlive/2008/texmf-dist/doc/latex/wrapfig/multiple-span.txt ? Best, Axel From axel.retif at mac.com Fri Feb 6 12:39:25 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Fri, 06 Feb 2009 05:39:25 -0600 Subject: [texhax] Wrapfig In-Reply-To: References: <52F21E0FF7444DFEB7B04BB71FA5381A@PGR1> <2A2CC67F-C74A-4E1A-A382-5169B753F004@mac.com> <355FA0EE-77D0-4DDE-8B1C-72A909F2CFE7@mac.com> Message-ID: On 6 Feb, 2009, at 05:10, chandrasekhar s wrote: > Hi~ > > I need to work on The pictures. [Please be sure to direct your questions to the TeXhax mailing list. We spent a lot of time of private mailing with your TeXmaker setup on Windows, even though I kept telling you I'm not a Windows user.] > I give an example. > > See i attach the graph y=x using the includegraphics command. Now i > need to Add information about the graph on The left hand side or on > The right hand side. What Package do you suggest. > > Without using this package one can only write the information below > the picture. If by information below you mean the caption, I use the sidecap.sty to place captions at the side of figures. If you mean labels to the figures, I use the old but wonderful overpic.sty. As it's a bit complicated to get the documentation in "modern" pdf format, I'm risking the patience of this list by attaching the single page pdf file. overpic can be used with both wrapfig or sidecap. Best, Axel -------------- next part -------------- A non-text attachment was scrubbed... Name: opic-rel.pdf Type: application/pdf Size: 65399 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090206/4f2f5d75/attachment-0001.pdf -------------- next part -------------- From Robin.Fairbairns at cl.cam.ac.uk Fri Feb 6 12:22:50 2009 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Fri, 06 Feb 2009 11:22:50 +0000 Subject: [texhax] [tex-live] Wrapfig In-Reply-To: Your message of Fri, 06 Feb 2009 05:13:25 -0600. Message-ID: On 6 Feb, 2009, at 04:53, Lars Madsen wrote [to the TeX-Live mailing list]: > texdoc -l wrapfig > 1 .../2008/texmf-doc/doc/polish/tex-virtual-academy-pl/latex2e/macro/ > wrapfig.html > > an alias to wrapfig.sty might have been better > > (mentioned on texhax) Also, what to do with /usr/local/texlive/2008/texmf-dist/doc/latex/wrapfig/multiple-span.txt ? this raises (again) in my mind a couple of things: (a) a long ago proposal for a .sty documentation reader, to deal with don's way of doing things, and (b) an idea of mine, just to write some docs (based on don's comments and things like multiple-span.txt, and offer them to him for his approval. it's a real pity that don's packages are seen as (somewhat) unapproachable by users because they're not documented in a standard way. r From pedz at easesoftware.com Sat Feb 7 03:53:29 2009 From: pedz at easesoftware.com (Perry Smith) Date: Fri, 6 Feb 2009 20:53:29 -0600 Subject: [texhax] Address Book Message-ID: Hello, I need to produce what is essentially an address book. At least one section of the book, (the section I'm worried about) is a sequence of what I'll call "stanzas". The first line is the person's name. Then company. Then address. Then other items like web address, email, etc. The end customer wants two column output and wants a stanza to not ever be split. Then, whatever stanzas fit in a particular column will be equally spaced out. I know TeX can do this fairly easily. I've used TeX in the distant past. Both Plain TeX and LaTeX. The page also has some decorations like a line down the middle to divide the two columns and a header and page number in the footer. Two sided output where the header flips on even and odd pages. Questions: 1) Is there a pre-written set of macros that would give me a leg up on this? 2) I've used LaTeX and Plan TeX. The default output of LaTeX never pleased me. And, for that matter, Computer Modern Roman font never lite my fire either. At the time (and environment) I used TeX, I could not switch fonts, etc. (This was back in 1984-88 on a Unix machine.) I'm using a Mac now with the latest Tug distribution. Is changing fonts going to be a problem? 3) The classic question: would you recommend LaTeX or Plain TeX for this? I'm leaning towards Plain TeX but its been a long time and I'm sure things have changed. The other sections of the book are very trivial to format. Thank you for your help and advice, Perry From daleif at imf.au.dk Sat Feb 7 09:18:00 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 07 Feb 2009 09:18:00 +0100 Subject: [texhax] Address Book In-Reply-To: References: Message-ID: <498D43B8.3090109@imf.au.dk> Perry Smith wrote: > Hello, > > I need to produce what is essentially an address book. At least one > section of the book, (the section I'm worried about) is a sequence of > what I'll call "stanzas". The first line is the person's name. Then > company. Then address. Then other items like web address, email, > etc. The end customer wants two column output and wants a stanza to > not ever be split. Then, whatever stanzas fit in a particular column > will be equally spaced out. > > I know TeX can do this fairly easily. I've used TeX in the distant > past. Both Plain TeX and LaTeX. The page also has some decorations > like a line down the middle to divide the two columns and a header and > page number in the footer. Two sided output where the header flips on > even and odd pages. > > Questions: > > 1) Is there a pre-written set of macros that would give me a leg up on > this? > > 2) I've used LaTeX and Plan TeX. The default output of LaTeX never > pleased me. And, for that matter, Computer Modern Roman font never > lite my fire either. At the time (and environment) I used TeX, I > could not switch fonts, etc. (This was back in 1984-88 on a Unix > machine.) I'm using a Mac now with the latest Tug distribution. Is > changing fonts going to be a problem? > > 3) The classic question: would you recommend LaTeX or Plain TeX for > this? I'm leaning towards Plain TeX but its been a long time and I'm > sure things have changed. The other sections of the book are very > trivial to format. > > Thank you for your help and advice, > Perry > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org I don't see any problems about using LaTeX for this, I would using something like multicol(s) plus a minipage around each stanza. regarding fonts, see http://www.tug.dk/FontCatalogue/ for other samples -- /daleif From uwe.lueck at web.de Sat Feb 7 14:57:13 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sat, 07 Feb 2009 14:57:13 +0100 Subject: [texhax] math \fontdimen Message-ID: <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> Hi, experts of the TeX program and basic font switching: Can the math font parameters as on p. 447 of the TeXbook be accessed directly through \fontdimen, or must I measure them through test boxes? Is there a way to make \font refer to "the current symbol font"? Whenever I try, \font seems to refer to the text \normalsized \normalfont. -- Uwe. From bsambale at gmx.de Sat Feb 7 16:52:28 2009 From: bsambale at gmx.de (Benjamin Sambale) Date: Sat, 07 Feb 2009 16:52:28 +0100 Subject: [texhax] overlapping braces Message-ID: <498DAE3C.5070609@gmx.de> Dear forum, is it possible to overlap the commands "underbrace" and "overbrace"? To be more specific, I want something like $aba^{-1}b^{-1}$ with underbrace under aba^{-1} and overbrace over ba^{-1}b^{-1}. I hope there is an easy way to do this. Thanks. best wishes, Benjamin From juergen.fenn at GMX.DE Sat Feb 7 19:04:05 2009 From: juergen.fenn at GMX.DE (Juergen Fenn) Date: Sat, 07 Feb 2009 19:04:05 +0100 Subject: [texhax] Address Book In-Reply-To: References: Message-ID: <498DCD15.4000402@GMX.DE> Perry Smith schrieb: > I need to produce what is essentially an address book. At least > one section of the book, (the section I'm worried about) is a > sequence of what I'll call "stanzas". The first line is the > person's name. Then company. Then address. Then other items like > web address, email, etc. The end customer wants two column output > and wants a stanza to not ever be split. Then, whatever stanzas > fit in a particular column will be equally spaced out. Here are some packages you may find useful: http://texcatalogue.sarovar.org/bytopic.html#address J?rgen. From bsambale at gmx.de Sat Feb 7 19:47:11 2009 From: bsambale at gmx.de (Benjamin Sambale) Date: Sat, 07 Feb 2009 19:47:11 +0100 Subject: [texhax] overlapping braces In-Reply-To: References: <498DAE3C.5070609@gmx.de> Message-ID: <498DD72F.7060406@gmx.de> Thank you very much! That was all I need. Kevin Godby schrieb: > Hello, Benjamin. > > On Sat, Feb 7, 2009 at 9:52 AM, Benjamin Sambale wrote: > >> Dear forum, >> >> is it possible to overlap the commands "underbrace" and "overbrace"? To >> be more specific, I want something like $aba^{-1}b^{-1}$ with underbrace >> under aba^{-1} and overbrace over ba^{-1}b^{-1}. I hope there is an easy >> way to do this. Thanks. >> > > There may be a nice LaTeX package that does this, but here's how I did it: > > \[ > \underbrace{a% > \makebox[0pt][l]{$\overbrace{\phantom{ba^{-1}b^{-1}}}$}% > ba^{-1}}b^{-1} > \] > > The \makebox contains the overbrace. The overbrace contents are > inside the \phantom so that it doesn't print the text twice. > > --Kevin Godby > > From olegkat at gmail.com Sat Feb 7 20:24:17 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Sat, 7 Feb 2009 21:24:17 +0200 Subject: [texhax] overlapping braces In-Reply-To: <498DAE3C.5070609@gmx.de> References: <498DAE3C.5070609@gmx.de> Message-ID: <20090207192417.GA28543@thor> On Sat, Feb 07, 2009 at 04:52:28PM +0100, Benjamin Sambale wrote: > is it possible to overlap the commands "underbrace" and "overbrace"? To > be more specific, I want something like $aba^{-1}b^{-1}$ with underbrace > under aba^{-1} and overbrace over ba^{-1}b^{-1}. Something like this: ------------------------------>%------------------------------ \def\uobrace#1#2#3{% \hbox to0pt{\mathsurround=0pt $\underbrace{#1#2}$\hss} \phantom{#1} \!\overbrace{\phantom{#2}#3} } $aba^{-1}b^{-1}$ $\uobrace{a}{ba^{-1}}{b^{-1}}$ ------------------------------%<------------------------------ However, you have to be careful when operators occur at the boundaries: ------------------------------>%------------------------------ $a\times ba^{-1} \times b^{-1}$ $\uobrace{a\times{}}{ba^{-1}\times{}}{b^{-1}}$ \vskip2pc $a\times ba^{-1} \times b^{-1}$ $\uobrace{a\times{}}{ba^{-1}}{{}\times b^{-1}}$ \vskip2pc $a\times ba^{-1} \times b^{-1}$ $\uobrace{a}{{}\times ba^{-1}}{{}\times b^{-1}}$ ------------------------------%<------------------------------ It would be nice if the space on the outside of an operator was not covered by a brace, but that would become too complex I think. Hopefully you don't need this :). Best, Oleg From zbigniew.nitecki at tufts.edu Sat Feb 7 22:48:16 2009 From: zbigniew.nitecki at tufts.edu (Zbigniew Nitecki) Date: Sat, 7 Feb 2009 16:48:16 -0500 Subject: [texhax] large forward slash Message-ID: I am trying to write a fraction whose numerator and denominator are both fractions; for clarity, I would like the global fraction to be constructed in the a/b style (that is, numerator and denominator separated by a forward slash). However, the slash produced by "/" is too small. Is there a way to create a larger version? Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090207/329c2ba8/attachment.html From godbyk at gmail.com Sat Feb 7 23:08:38 2009 From: godbyk at gmail.com (Kevin Godby) Date: Sat, 7 Feb 2009 16:08:38 -0600 Subject: [texhax] large forward slash In-Reply-To: References: Message-ID: Hello, Zbigniew. Try one of: $\big /$ $\Big /$ $\bigg /$ $\Bigg /$ --Kevin On Sat, Feb 7, 2009 at 3:48 PM, Zbigniew Nitecki wrote: > I am trying to write a fraction whose numerator and denominator are both > fractions; for clarity, I would like the global fraction to be constructed > in the a/b style (that is, numerator and denominator separated by a forward > slash). However, the slash produced by "/" is too small. Is there a way to > create a larger version? > > Zbigniew Nitecki > > Department of Mathematics > > Tufts University > > Medford, MA 02155 > > telephones: > > Office (617)627-3843 > > Dept. (617)627-3234 > > Dept. fax (617)627-3966 > > http://www.tufts.edu/~znitecki/ > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > From philip.ratcliffe at fastwebnet.it Sat Feb 7 23:26:00 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sat, 7 Feb 2009 23:26:00 +0100 Subject: [texhax] large forward slash In-Reply-To: Message-ID: > I am trying to write a fraction whose numerator and > denominator are both fractions; for clarity, I would like > the global fraction to be constructed in the a/b style (that > is, numerator and denominator separated by a forward slash). > However, the slash produced by "/" is too small. Is there a > way to create a larger version? You mean something like this \documentclass{article} \begin{document} \begin{displaymath} \frac12\Bigg/\frac12 \end{displaymath} \end{document} Cheers, Phil From jwheeler at ucsd.edu Sun Feb 8 00:45:45 2009 From: jwheeler at ucsd.edu (John Wheeler) Date: Sat, 07 Feb 2009 15:45:45 -0800 Subject: [texhax] large forward slash In-Reply-To: References: Message-ID: <498E1D29.9020100@ucsd.edu> Perhaps better, in that it adjusts the size automatically is, for example, $$ y = \left. \left(\frac{a+b}{c+d}\right) \right/ \left(\frac{e+f}{g+h}\right) $$ The \left. matches the \right/ and sets the / to the size of what's between them. One could instead use \left/ ..... \right. if the denominator were bigger and needed a larger / John Wheeler jwheeler at ucsd.edu Kevin Godby wrote: > Hello, Zbigniew. > > Try one of: > > $\big /$ > $\Big /$ > $\bigg /$ > $\Bigg /$ > > --Kevin > > On Sat, Feb 7, 2009 at 3:48 PM, Zbigniew Nitecki > wrote: > >> I am trying to write a fraction whose numerator and denominator are both >> fractions; for clarity, I would like the global fraction to be constructed >> in the a/b style (that is, numerator and denominator separated by a forward >> slash). However, the slash produced by "/" is too small. Is there a way to >> create a larger version? >> >> Zbigniew Nitecki >> >> Department of Mathematics >> >> Tufts University >> >> Medford, MA 02155 >> >> telephones: >> >> Office (617)627-3843 >> >> Dept. (617)627-3234 >> >> Dept. fax (617)627-3966 >> >> http://www.tufts.edu/~znitecki/ >> >> _______________________________________________ >> TeX FAQ: http://www.tex.ac.uk/faq >> Mailing list archives: http://tug.org/pipermail/texhax/ >> More links: http://tug.org/begin.html >> >> Automated subscription management: http://tug.org/mailman/listinfo/texhax >> Human mailing list managers: postmaster at tug.org >> >> > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > From olegkat at gmail.com Sun Feb 8 05:13:05 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Sun, 8 Feb 2009 06:13:05 +0200 Subject: [texhax] large forward slash In-Reply-To: <498E1D29.9020100@ucsd.edu> References: <498E1D29.9020100@ucsd.edu> Message-ID: <20090208041305.GA2802@thor> On Sat, Feb 07, 2009 at 03:45:45PM -0800, John Wheeler wrote: > $$ > y = \left. \left(\frac{a+b}{c+d}\right) \right/ > \left(\frac{e+f}{g+h}\right) > $$ > The \left. matches the \right/ and sets the / to the size of what's > between them. > One could instead use \left/ ..... \right. if the denominator were > bigger and needed a larger / You'll get incorrect spacing. Compare: ------------------------------%<------------------------------ $$ y = \left. \left({a+b \over c+d}\right) \right/ \left({e+f \over g+h}\right) $$ $$ y = \left({a+b \over c+d}\right) \bigg/ \left({e+f \over g+h}\right) $$ \vskip 4pc $$ y = \left({a+b \over c+d}\right) \left/ \left({e+f \over g+h}\right) \right. $$ $$ y = \left({a+b \over c+d}\right) \bigg/ \left({e+f \over g+h}\right) $$ ------------------------------>%------------------------------ Best, Oleg From chandru.mcc at gmail.com Sun Feb 8 05:21:46 2009 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Sun, 8 Feb 2009 09:51:46 +0530 Subject: [texhax] MikTex Package Message-ID: Hi~ That day when i enquired about the MikTex package installation you gave me a big note which i am unable to understand. Anyhow i have some doubts now: I went to the MikTex browse packages option and then i searched for the mnsymbol package.It was not installed. I right clicked to give the installationbut the speed which it downloading is very slow. Already i had downloaded the package from CTAN. Now i went to the change repository option and then gave the command of installing package from a directory. But its always showing that this is not a repository option. Can i improve on this so as to install the package by hand. Chandrasekhar -- "The true measure of a man is how he treats someone who can do him absolutely no good"- Samuel Johnson From asnd at triumf.ca Sun Feb 8 10:17:17 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 08 Feb 2009 01:17:17 -0800 Subject: [texhax] math \fontdimen In-Reply-To: <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> References: <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> Message-ID: Uwe L?ck writes: > Hi, experts of the TeX program and basic font switching: Can the math font > parameters as on p. 447 of the TeXbook be accessed directly through > \fontdimen, or must I measure them through test boxes? Is there a way to make > \font refer to "the current symbol font"? Whenever I try, \font seems to > refer to the text \normalsized \normalfont. -- Uwe. I think you are looking for \xheight = \fontdimen 5 \textfont 2 \relax -- Donald Arseneau asnd at triumf.ca From philip.ratcliffe at fastwebnet.it Sun Feb 8 09:44:16 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sun, 8 Feb 2009 09:44:16 +0100 Subject: [texhax] large forward slash In-Reply-To: <20090208041305.GA2802@thor> Message-ID: <8A02B61B9B0E445D9BB6DAF671436FB9@PGR1> > On Sat, Feb 07, 2009 at 03:45:45PM -0800, John Wheeler wrote: > > [snip] > > You'll get incorrect spacing. Compare: > > [snip] I think what you're looking for is this: $$ \left.\frac12\middle/\frac12\right. $$ The command \middle was mentioned in threasd ("parenthesis problem in LaTeX") a couple of weeks ago. Cheers, Phil From wa2n at nrar.net Sun Feb 8 13:38:37 2009 From: wa2n at nrar.net (wawan) Date: Sun, 8 Feb 2009 19:38:37 +0700 Subject: [texhax] enviroment Message-ID: Hi all I need help how to build sty in latex ( environment ) that can replace squences of chars with my symbols. For example if there input chars "SU" than replace with XY ( my symbols from metafont). -- ===================== http://wa2n.nrar.net http://artikelit.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090208/696e63cd/attachment.html From axel.retif at mac.com Sun Feb 8 14:07:44 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 08 Feb 2009 07:07:44 -0600 Subject: [texhax] MikTex Package In-Reply-To: References: Message-ID: On 7 Feb, 2009, at 22:21, chandrasekhar s wrote: > Hi~ > > That day when i enquired about the MikTex package installation you > gave me a big note which i am unable to understand. Anyhow i have some > doubts now: I went to the MikTex browse packages option and then i > searched for the mnsymbol package.It was not installed. I right > clicked to give the installationbut the speed which it downloading is > very slow. Already i had downloaded the package from CTAN. > > Now i went to the change repository option and then gave the command > of installing package from a directory. But its always showing that > this is not a repository option. Can i improve on this so as to > install the package by hand. Unfortunately, I don't know how to install packages in MiKTeX, but I know MiKTeX lets you choose from a long list of servers to upgrade or download packages ---if some server is very slow, try another. Best, Axel From zbigniew.nitecki at tufts.edu Sun Feb 8 15:35:59 2009 From: zbigniew.nitecki at tufts.edu (Zbigniew Nitecki) Date: Sun, 8 Feb 2009 09:35:59 -0500 Subject: [texhax] large forward slash In-Reply-To: <8A02B61B9B0E445D9BB6DAF671436FB9@PGR1> References: <8A02B61B9B0E445D9BB6DAF671436FB9@PGR1> Message-ID: Thanks for all the suggestions. I am using the versions of TeX distributed with TeXShop, and I know nothing about eTeX, but I think \middle is not recognized by my version of TeX: I get either an error message (missing delimiter) or no error, and no slash. However, this probably is the right kind of macro to use for this problem. I had somehow overlooked the fact that "/" is included in table 8.3 of TLC2, so was under the impression that it was not extensible, and therefore didn't take "\big" etc. or "\left". When the next version of TLC comes out, there should be an index entry that leads you to this. In any case, I was lucky here: the numerator and denominator are roughly of the same size, so "\left/...\right." works fine. Thanks again. Zbigniew Nitecki Department of Mathematics Tufts University Medford, MA 02155 telephones: Office (617)627-3843 Dept. (617)627-3234 Dept. fax (617)627-3966 http://www.tufts.edu/~znitecki/ On Feb 8, 2009, at 3:44, Philip G. Ratcliffe wrote: >> On Sat, Feb 07, 2009 at 03:45:45PM -0800, John Wheeler wrote: >>> [snip] >> >> You'll get incorrect spacing. Compare: >> >> [snip] > > I think what you're looking for is this: > > $$ > \left.\frac12\middle/\frac12\right. > $$ > > The command \middle was mentioned in threasd ("parenthesis problem in > LaTeX") a couple of weeks ago. > > Cheers, Phil > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090208/0a3b8c40/attachment.html From bnb at ams.org Sun Feb 8 18:03:26 2009 From: bnb at ams.org (Barbara Beeton) Date: Sun, 8 Feb 2009 12:03:26 -0500 (EST) Subject: [texhax] Results of TeX Users Group election Message-ID: The nomination period for the positions of TUG President and TUG Board members has passed. I have received the following information from Robin Laakso, Executive Director of TUG. President Karl Berry was nominated for President. As there were no other nominees, he is duly elected and will serve for another two years. Board of Directors The following individuals were nominated for the Board of Directors: Jonathan Fine Steve Grathwohl Jim Hefferon Klaus Hoeppner Steve Peter David Walden As there were fewer nominations than open positions, all the nominees are duly elected to a four-year term. Terms for President and Members of the Board of Directors will begin with the Annual Meeting at the University of Notre Dame. Congratulations to all. Dick Koch, Martha Kummerer and Arthur Ogawa have decided to step down at the end of their terms. On behalf of the Board, I wish to thank them for their service, and for their continued participation through July. The background information provided in support of the candidates will be posted shortly on the TUG web site. Barbara Beeton for the Elections Committee From rodolfo.medina at gmail.com Sun Feb 8 21:08:27 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 08 Feb 2009 20:08:27 +0000 Subject: [texhax] Plain TeX: shorter `rightarrow' needed Message-ID: <87skmolmis.fsf@gmail.com> Hi. In order to denote an oriented $\Gamma$ line, I need to put a small rightarrow over the $\Gamma$ symbol, such that the plain TeX $\rightarrow$ is too long. Is there a way to get that, and how? Thanks for any reply Rodolfo From reinhard.kotucha at web.de Sun Feb 8 21:05:01 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 8 Feb 2009 21:05:01 +0100 Subject: [texhax] Plain TeX: shorter `rightarrow' needed In-Reply-To: <87skmolmis.fsf@gmail.com> References: <87skmolmis.fsf@gmail.com> Message-ID: <18831.15085.3019.406399@zaphod.ms25.net> On 8 February 2009 Rodolfo Medina wrote: > In order to denote an oriented $\Gamma$ line, I need to put a small > rightarrow over the $\Gamma$ symbol, such that the plain TeX > $\rightarrow$ is too long. > > Is there a way to get that, and how? \vec{\Gamma} Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From uwe.lueck at web.de Sun Feb 8 21:21:18 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 08 Feb 2009 21:21:18 +0100 Subject: [texhax] Plain TeX: shorter `rightarrow' needed In-Reply-To: <18831.15085.3019.406399@zaphod.ms25.net> References: <87skmolmis.fsf@gmail.com> <87skmolmis.fsf@gmail.com> Message-ID: <5.1.0.14.0.20090208211312.02765650@pop3.web.de> At 21:05 08.02.09, Reinhard Kotucha wrote: >On 8 February 2009 Rodolfo Medina wrote: > > > In order to denote an oriented $\Gamma$ line, I need to put a small > > rightarrow over the $\Gamma$ symbol, such that the plain TeX > > $\rightarrow$ is too long. > > > > Is there a way to get that, and how? > >\vec{\Gamma} "Missing $ inserted", otherwise I don't like that the arrow is italic while Gamma is not. $\mathit{\vec{\Gamma}}$ and $\mathop{\Gamma}^{\scriptscriptstyle\to}$ are bad as well. Placing something on top of a capital letter is problematic in general. Note that in (classical) Greek, diacritical marks are not set on top of capital letters, but on their left (learnt this from Claudio Beccari, cf. my http://de.wikipedia.org/wiki/R?ter), or already that limits of sum or integral symbols are set on their right in inline mode. What is the convention in this field? -- Uwe. From uwe.lueck at web.de Sun Feb 8 22:03:16 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 08 Feb 2009 22:03:16 +0100 Subject: [texhax] MikTex Package In-Reply-To: References: Message-ID: <5.1.0.14.0.20090208214150.02765ec0@pop3.web.de> At 14:07 08.02.09, Axel E. Retif wrote: >On 7 Feb, 2009, at 22:21, chandrasekhar s wrote: > > > That day when i enquired about the MikTex package installation you > > gave me a big note which i am unable to understand. Anyhow i have some > > doubts now: I went to the MikTex browse packages option and then i > > searched for the mnsymbol package.It was not installed. I right > > clicked to give the installationbut the speed which it downloading is > > very slow. Already i had downloaded the package from CTAN. > > > > Now i went to the change repository option and then gave the command > > of installing package from a directory. But its always showing that > > this is not a repository option. Can i improve on this so as to > > install the package by hand. > >Unfortunately, I don't know how to install packages in MiKTeX, but I >know MiKTeX lets you choose from a long list of servers to upgrade or >download packages ---if some server is very slow, try another. Working with MiKTeX may be painful in the beginning, but with some patience and trust in MiKTeX as well as in your guessing you will become friends with MiKTeX -- this is my experience. Sometimes the bar showing the progress of a task doesn't work and you don't know for a while whether MiKTeX is working or hang-up ... sometimes it is fine after some minutes, otherwise try again ... as with so many other machines and ... I wonder what will happen if I remind of the patience and trust of a, say, ... bus driver ... As Axel says, MiKTeX offers you to choose among server repositories, and you will certainly find one which works. To remind of what Philip Ratcliffe remarked earlier, there is a special mailing list for MiKTeX users: List-Subscribe: , HTH -- Uwe. -- Uwe. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090208/d646aa5d/attachment-0001.html From uwe.lueck at web.de Sun Feb 8 22:23:24 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 08 Feb 2009 22:23:24 +0100 Subject: [texhax] math \fontdimen In-Reply-To: References: <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> Message-ID: <5.1.0.14.0.20090208220810.02cae390@pop3.web.de> At 10:17 08.02.09, Donald Arseneau wrote: >Uwe L?ck writes: > > > Hi, experts of the TeX program and basic font switching: Can the math font > > parameters as on p. 447 of the TeXbook be accessed directly through > > \fontdimen, or must I measure them through test boxes? Is there a way > to make > > \font refer to "the current symbol font"? Whenever I try, \font seems to > > refer to the text \normalsized \normalfont. -- Uwe. > >I think you are looking for > >\xheight = \fontdimen 5 \textfont 2 \relax Thanks a lot, this has lifted my knowledge of TeX to a new level. I was unable to make sense of TeXbook pp. 153 so far, now I compared p. 351. (Another instance of Knuth's magic: read the page number from right to left, and you find the corresponding page in the appendix or vice versa ...) Now I wonder a little whether I can be sure that (outside PlainTeX) 2 will be the symbols family. Actually I was looking for axis_height, going to explain later ... Some time ago I looked for x_height of \scriptstyle or so. -- Uwe L. From rodolfo.medina at gmail.com Mon Feb 9 00:19:23 2009 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 08 Feb 2009 23:19:23 +0000 Subject: [texhax] Plain TeX: shorter `rightarrow' needed References: <87skmolmis.fsf@gmail.com> <87skmolmis.fsf@gmail.com> <18831.15085.3019.406399@zaphod.ms25.net> <5.1.0.14.0.20090208211312.02765650@pop3.web.de> Message-ID: <87ocxcjz44.fsf@gmail.com> On 8 February 2009 Rodolfo Medina wrote: >> > In order to denote an oriented $\Gamma$ line, I need to put a small >> > rightarrow over the $\Gamma$ symbol, such that the plain TeX >> > $\rightarrow$ is too long. >> > >> > Is there a way to get that, and how? Uwe L?ck writes: >>\vec{\Gamma} At 21:05 08.02.09, Reinhard Kotucha wrote: > "Missing $ inserted", otherwise I don't like that the arrow is italic while > Gamma is not. $\mathit{\vec{\Gamma}}$ and > $\mathop{\Gamma}^{\scriptscriptstyle\to}$ are bad as well. Placing > something on top of a capital letter is problematic in general. Note that > in (classical) Greek, diacritical marks are not set on top of capital > letters, but on their left (learnt this from Claudio Beccari, cf. my > http://de.wikipedia.org/wiki/R?ter), or already that limits of sum or > integral symbols are set on their right in inline mode. What is the > convention in this field? $\vbox{\ialign{#\crcr$\scriptscriptstyle\to$\crcr\noalign {\kern.5pt\nointerlineskip}% $\hfil\displaystyle{\Gamma}\hfil$\crcr}}$ (see definition of \overerightarrow in the TeXbook) looks very nice. Rodolfo From karl at freefriends.org Mon Feb 9 00:26:46 2009 From: karl at freefriends.org (Karl Berry) Date: Sun, 8 Feb 2009 17:26:46 -0600 Subject: [texhax] math \fontdimen In-Reply-To: <5.1.0.14.0.20090208220810.02cae390@pop3.web.de> Message-ID: <200902082326.n18NQkh19816@f7.net> Now I wonder a little whether I can be sure that (outside PlainTeX) 2 will be the symbols family. Yes. It is built into TeX: The Program that family 2 is the symbols family (and 3 is math extension). The math typesetting code takes dimens from those families. I believe it is not strictly necessary that family 1 be math italic, but I'm not sure anyone has gone against it in practice. From asnd at triumf.ca Mon Feb 9 09:37:34 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 09 Feb 2009 00:37:34 -0800 Subject: [texhax] math \fontdimen In-Reply-To: <5.1.0.14.0.20090208220810.02cae390@pop3.web.de> References: <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> <5.1.0.14.0.20090208220810.02cae390@pop3.web.de> Message-ID: Uwe L?ck writes: > >\xheight = \fontdimen 5 \textfont 2 \relax > > Now I wonder a little whether I can be sure that (outside PlainTeX) 2 will be > the symbols family. Yes, families 0, 1, 2, and 3 are guaranteed to have the same meaning. The special math fontdimen parameters from the symbol and extension fonts are required in the fonts for families 2 and 3 for TeX to typeset math. See the first page of Appendix G. -- Donald Arseneau asnd at triumf.ca From uwe.lueck at web.de Mon Feb 9 13:32:12 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 09 Feb 2009 13:32:12 +0100 Subject: [texhax] math \fontdimen In-Reply-To: References: <5.1.0.14.0.20090208220810.02cae390@pop3.web.de> <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> <5.1.0.14.0.20090207144423.02750dc0@pop3.web.de> <5.1.0.14.0.20090208220810.02cae390@pop3.web.de> Message-ID: <5.1.0.14.0.20090209132852.02759180@pop3.web.de> At 09:37 09.02.09, Donald Arseneau wrote: >Uwe L?ck writes: > > > >\xheight = \fontdimen 5 \textfont 2 \relax > > > > Now I wonder a little whether I can be sure that (outside PlainTeX) 2 > will be > > the symbols family. > >Yes, families 0, 1, 2, and 3 are guaranteed to have the same meaning. >The special math fontdimen parameters from the symbol and extension fonts >are required in the fonts for families 2 and 3 for TeX to typeset math. >See the first page of Appendix G. Indeed, expressly. I may have asked a wrong question. TeX doesn't care about where cmsy or so is, it just acts on what it finds in family 2. Thanks, Uwe L. From uwe.lueck at web.de Mon Feb 9 13:33:22 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 09 Feb 2009 13:33:22 +0100 Subject: [texhax] Combining symbols [picture, axis_height] Message-ID: <5.1.0.14.0.20090209133320.027597c0@pop3.web.de> At 20:32 29.12.08, John Palmer wrote: >On Monday 29 December 2008 03:54:11 Daniel Freedman wrote: > > position a bullet over the arrowhead > >I have done this sort of thing by using \raisebox for vertical and \kern for >horizontal movement, but there must be a more robust and elegant way, so I'll >be interested in other replies ! At 15:58 04.01.09, John Palmer wrote: >I was in a picture environment, drawing a map, and wanted to put symbols >centred on specified coordinates, so usually needed a shift leftwards and >downwards from the default position. This led me to think about vertical placement of labels near marks of certain points in the plain, and I wondered how \makebox(0,0) has been used to obtain this. A main application may be labelling the "tic" marks of the vertical axis of a diagram. I am curious about general conventions here, while I haven't tried to draw x-y-diagrams so far. (You can adapt your field of research to your graphical abilities, cf. http://www.webdesign-bu.de/uwe_lueck/writings.html). The PS-Tricks people may have clear convictions about this. \makebox(0,0){foo} (LaTeX picture environment) centers `foo' essentially by \vbox{\vss\hbox{foo}\vss}. With \put(,){\makebox(0,0){foo}}, is half between top and bottom of `f' (their y-coordinates). So consider alignment of `b' and `p' in \put(,){\makebox(0,0){b\quad}\_\makebox(0,0){\quad p}}. Tops of `b' and `p' are aligned, likewise their bottoms, half in between the horizontal stroke. This horizontal stroke may be a tic mark on the vertical axis of an x-y-diagram. I think this is ridiculous, `b' and `p' should share a common baseline. I think that the label for a mark at vertical position should have its *axis* at , not half between its top and bottom. *axis* is here the vertical position of *fraction strokes* (those horizontal lines between numerators and denominators). I feel that this is the natural vertical "center" of a line. To keep some touch with reality, I would like to consider the case that the vertical axis of a diagram refers to an amount of *water*, in terms of g (grams) as well as in terms of ml (1/1000 litres). Due to different \dp and \hp (while there sums are the same), the names nad numbers of the units would have different base lines. Therefore I thought that vertical centering of `foo' around (,) should be just \put(,){$\lower\axisheight\hbox{foo}$}, with \def\axisheight{\fontdimen22\textfont2\relax}. I would replace \makebox(0,0) by \newcommand*{\piczzbox}[1]{% $\m at th\raisebox{-\fontdimen22\textfont2}[\z@][\z@]% {\hb at xt@\z@{\hss#1\hss}}$} Complete example: \setlength{\unitlength}{1in} \begin{picture}(5,4) \put(2,2){\makebox(0,0){b\quad}\_\makebox(0,0){\quad p}} \put(4,2){\piczzbox{b\quad}\_\piczzbox{\quad p}} \end{picture} Opinions? Or is this well-known? Of course the question may rise rarely, axis tics usually are numbered, labels usually have same \dp and \ht. Cheers, Uwe. From uwe.lueck at web.de Mon Feb 9 14:02:47 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 09 Feb 2009 14:02:47 +0100 Subject: [texhax] Combining symbols [previous corr'd] Message-ID: <5.1.0.14.0.20090209135725.02ca7c70@pop3.web.de> >Due to different \dp and \hp (while there sums are the same), the names >nad numbers of the units would have different base lines. meant: Due to different \dp and \ht (while there sums are the same), the names and numbers of the units would have different base lines. >the question may rise rarely or more seriously: arise!? Sorry, Uwe. From uwe.lueck at web.de Mon Feb 9 14:07:26 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Mon, 09 Feb 2009 14:07:26 +0100 Subject: [texhax] Combining symbols [previous corr'd] Message-ID: <5.1.0.14.0.20090209135725.02ca7c70@pop3.web.de> >Due to different \dp and \hp (while there sums are the same), the names >nad numbers of the units would have different base lines. meant: Due to different \dp and \ht (while there sums are the same), the names and numbers of the units would have different base lines. >the question may rise rarely or more seriously: arise!? Sorry, Uwe. From uwe.lueck at web.de Sun Feb 8 23:47:40 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sun, 08 Feb 2009 23:47:40 +0100 Subject: [texhax] Latex for Linux ["netbooks"!] In-Reply-To: References: <003e01c860ce$d052dcc0$0300a8c0@mrcomputer> <003e01c860ce$d052dcc0$0300a8c0@mrcomputer> Message-ID: <5.1.0.14.0.20090208230258.02d23cf0@pop3.web.de> At 08:43 29.01.08, Axel E. Retif wrote: >On 27 Jan, 2008, at 04:24, wssp wrote: > > > I have bought a ASUS Eeepc 4G (701) laptop mainly for my studies. I want > > to install Latex on this. This laptop has Linux operating system. Can I > > install any Latex or is there particular version for suitable for this. > >Many LaTeX distros (as a matter of fact, *all* I know of) have old >teTeX distributions. By far, the best TeX & friends distribution for >Linux is TeXLive: > >http://tug.org/texlive/ > >I think TeXLive 2008 is to be released soon, but I'm not sure. > >I have successfully installed TeXLive 2007 under Ubuntu and Fedora. Happy New Year! (Compare year numbers.) I found this in searching my texhax box and therefore comment it here, although previously I planned to tell about this to the TeXLive maintainers only. I have bought a similar problem, namely Acer One with "Linpus Linux Lite", indeed in order to drill myself hard. Before installing TeX, I learnt that this is a kind of Fedora 9 and I should use RPM (Red Hat package managing, yum ...). This is quite a restriction, I found a TeXLive 2007 RPM which, among other lacunae, didn't install any DVI viewer. Anyway, I have found reviews telling that this Acer One Linpus Linux is ridiculous, and I was advised to replace it by Ubuntu (I doubt ...) I wondered much what will happen if I follow the TeXLive instructions instead, will this break the RPM structure? In the meantime, I have tried to install an XDVI separately, I found nothing but the teTeX version, its buttons don't work. I tend to think that the problem is not so much the name of the Linux distribution, rather: as a number of flaws of this Acer One Linux have been reported and I have found more of them, any failures of TeXLive installations on my tiny netbook may be due to flaws in its special operating system. So I developped the view that the rise of "netbooks" in 2008 that were equipped with somewhat obscure Linux blends need special care from the TeX users community. However, I wonder how many TeX users have bought such netbooks with Linux. It seems that netbooks originally were equipped with Linux just because Windows was too large. Microsoft had announced the end of Windows XP, but then it was revived for those netbooks. I wonder: has this made Linux on netbooks irrelevant? On the other hand, I have seen issues of computer magazines devoted to Ubuntu on netbooks. Puuh ..., cheers, Uwe. From edsko at edsko.net Mon Feb 9 15:29:09 2009 From: edsko at edsko.net (Edsko de Vries) Date: Mon, 9 Feb 2009 14:29:09 +0000 Subject: [texhax] Latex for Linux ["netbooks"!] In-Reply-To: <5.1.0.14.0.20090208230258.02d23cf0@pop3.web.de> References: <003e01c860ce$d052dcc0$0300a8c0@mrcomputer> <003e01c860ce$d052dcc0$0300a8c0@mrcomputer> <5.1.0.14.0.20090208230258.02d23cf0@pop3.web.de> Message-ID: <06003700-9A29-4A03-82DF-4A0C83BB7895@edsko.net> FWIW, I have succesfully installed texlive on my eee PC (1000) using the Debian archives. Edsko From frainj at gmail.com Mon Feb 9 18:37:52 2009 From: frainj at gmail.com (John C Frain) Date: Mon, 9 Feb 2009 17:37:52 +0000 Subject: [texhax] Latex for Linux ["netbooks"!] In-Reply-To: <5.1.0.14.0.20090208230258.02d23cf0@pop3.web.de> References: <003e01c860ce$d052dcc0$0300a8c0@mrcomputer> <5.1.0.14.0.20090208230258.02d23cf0@pop3.web.de> Message-ID: I installed TexLive 2007 from the TexLive DVD some time ago on an SD card in an ASUS Eeepc 4G. As far as I remember the only problem was thah the external DVD drive mounted in a directory that had white spaces and the TeXLive install script failed. When I umounted the drive and and remounted to a directory with no space in the name the install script ran perfectly and the TeX programs all worked. I was also able to install an old version of TexMaker from the ASUS repository and get it working. The ASUS screen was a little small for the program. Later versions of TeXmaker would not install. Vim is on the ASUS and I probably should have looked at using it. Despite the small screen the 4G is the very quick to access email and internet. I have also got a reasonable R system working on the 4G. I have lately installed Ubuntu 8.10 on an SD card attached to the EeePc 4G and have installed TeXLive 2008 (from the TeXLive DVD) on that system. It also appears to be working. This is recreational and, at the moment, I do not have the time to refine this system (get wireless working etc.) If I had time the Ubuntu version is the more attractive despite a much slower boot. Best Regards John 2009/2/8 Uwe L?ck : > At 08:43 29.01.08, Axel E. Retif wrote: >>On 27 Jan, 2008, at 04:24, wssp wrote: >> >> > I have bought a ASUS Eeepc 4G (701) laptop mainly for my studies. I want >> > to install Latex on this. This laptop has Linux operating system. Can I >> > install any Latex or is there particular version for suitable for this. >> >>Many LaTeX distros (as a matter of fact, *all* I know of) have old >>teTeX distributions. By far, the best TeX & friends distribution for >>Linux is TeXLive: >> >>http://tug.org/texlive/ >> >>I think TeXLive 2008 is to be released soon, but I'm not sure. >> >>I have successfully installed TeXLive 2007 under Ubuntu and Fedora. > > Happy New Year! (Compare year numbers.) I found this in searching my texhax > box and therefore comment it here, although previously I planned to tell > about this to the TeXLive maintainers only. > > I have bought a similar problem, namely Acer One with "Linpus Linux Lite", > indeed in order to drill myself hard. Before installing TeX, I learnt that > this is a kind of Fedora 9 and I should use RPM (Red Hat package managing, > yum ...). This is quite a restriction, I found a TeXLive 2007 RPM which, > among other lacunae, didn't install any DVI viewer. Anyway, I have found > reviews telling that this Acer One Linpus Linux is ridiculous, and I was > advised to replace it by Ubuntu (I doubt ...) > > I wondered much what will happen if I follow the TeXLive instructions > instead, will this break the RPM structure? In the meantime, I have tried > to install an XDVI separately, I found nothing but the teTeX version, its > buttons don't work. I tend to think that the problem is not so much the > name of the Linux distribution, rather: as a number of flaws of this Acer > One Linux have been reported and I have found more of them, any failures of > TeXLive installations on my tiny netbook may be due to flaws in its special > operating system. > > So I developped the view that the rise of "netbooks" in 2008 that were > equipped with somewhat obscure Linux blends need special care from the TeX > users community. > > However, I wonder how many TeX users have bought such netbooks with Linux. > It seems that netbooks originally were equipped with Linux just because > Windows was too large. Microsoft had announced the end of Windows XP, but > then it was revived for those netbooks. I wonder: has this made Linux on > netbooks irrelevant? On the other hand, I have seen issues of computer > magazines devoted to Ubuntu on netbooks. > > Puuh ..., cheers, > > Uwe. > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- John C Frain Trinity College Dublin Dublin 2 Ireland www.tcd.ie/Economics/staff/frainj/home.html mailto:frainj at tcd.ie mailto:frainj at gmail.com From karl at freefriends.org Mon Feb 9 19:11:37 2009 From: karl at freefriends.org (Karl Berry) Date: Mon, 9 Feb 2009 12:11:37 -0600 Subject: [texhax] large forward slash In-Reply-To: <8A02B61B9B0E445D9BB6DAF671436FB9@PGR1> Message-ID: <200902091811.n19IBbk11278@f7.net> > You'll get incorrect spacing. Compare: Looks like the math class of / is 0 (ordinary). Therefore, I wonder about \left. ... \mathord{\right/} ... To get the automatic sizing from \right but the spacing of /. Haven't tried it. From john at wexfordpress.com Mon Feb 9 19:13:38 2009 From: john at wexfordpress.com (John Culleton) Date: Mon, 9 Feb 2009 13:13:38 -0500 Subject: [texhax] enviroment In-Reply-To: References: Message-ID: <200902091313.38692.john@wexfordpress.com> On Sunday 08 February 2009 07:38:37 wawan wrote: > Hi all > I need help how to build sty in latex ( environment ) that can replace > squences of chars with my symbols. For example if there input chars "SU" > than replace with XY ( my symbols from metafont). > > > -- > ===================== > http://wa2n.nrar.net > http://artikelit.com > ===================== > This is best done in the text editor. For Vim the command would be :%s/XU/(code for your metafont symbols)/g Or you can simply create a macro thus: \def\XU{code for your metafont symbol} The above is primitive TeX code but works for LaTeX also. John Culleton From philip.ratcliffe at fastwebnet.it Mon Feb 9 20:18:18 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Mon, 9 Feb 2009 20:18:18 +0100 Subject: [texhax] large forward slash In-Reply-To: <200902091811.n19IBbk11278@f7.net> Message-ID: <55F4FBE6C26C447091C90CC5EC8CF8F7@PGR1> > > You'll get incorrect spacing. Compare: > > Looks like the math class of / is 0 (ordinary). Therefore, I > wonder about > \left. ... \mathord{\right/} ... > > To get the automatic sizing from \right but the spacing of /. > > Haven't tried it Obviously, you haven't; it was sort of destined to failure: \left looks for \right and then tries to work with what's inbetween and that includes \mathord{ with now a missing right brace. One could, of course, do something using a macro with arguments to correct the spacing, but ... \middle is so much easier. Cheers, Phil From karl at freefriends.org Tue Feb 10 00:21:00 2009 From: karl at freefriends.org (Karl Berry) Date: Mon, 9 Feb 2009 17:21:00 -0600 Subject: [texhax] Latex for Linux ["netbooks"!] In-Reply-To: <5.1.0.14.0.20090208230258.02d23cf0@pop3.web.de> Message-ID: <200902092321.n19NL0U00558@f7.net> I wondered much what will happen if I follow the TeXLive instructions instead, will this break the RPM structure? If you install the "native" TL as downloaded from CTAN or wherever, it will (by default) be completely independent of your native OS packaging of TeX. The default installation location is under /usr/local. From karl at freefriends.org Mon Feb 9 23:50:02 2009 From: karl at freefriends.org (Karl Berry) Date: Mon, 9 Feb 2009 16:50:02 -0600 Subject: [texhax] large forward slash In-Reply-To: <55F4FBE6C26C447091C90CC5EC8CF8F7@PGR1> Message-ID: <200902092250.n19Mo2818510@f7.net> Obviously, you haven't; it was sort of destined to failure: It was more the idea of using \mathord that I thought worth mentioning. One could, of course, do something using a macro with arguments Right. to correct the spacing, but ... \middle is so much easier. What confused me was that \middle does not appear in LaTeX, nor in plain TeX, nor in the TeXbook, nor in tex.web, nor in etex.src. I finally realized it is a new e-TeX primitive. Cool. From wa2n at nrar.net Tue Feb 10 02:20:38 2009 From: wa2n at nrar.net (wawan) Date: Tue, 10 Feb 2009 08:20:38 +0700 Subject: [texhax] ifthen package Message-ID: Hi all How I can write latex with ifthen package, so if there XU will be atomagic converted while "compiling" latex. The pseudocode is like this : If X followed by U then replace it with my symbosls -- ===================== http://wa2n.nrar.net http://artikelit.com ===================== -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090210/2aa30381/attachment.html From reinhard.kotucha at web.de Tue Feb 10 04:06:06 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 10 Feb 2009 04:06:06 +0100 Subject: [texhax] large forward slash In-Reply-To: <200902092250.n19Mo2818510@f7.net> References: <55F4FBE6C26C447091C90CC5EC8CF8F7@PGR1> <200902092250.n19Mo2818510@f7.net> Message-ID: <18832.61214.24046.674897@zaphod.ms25.net> On 9 February 2009 Karl Berry wrote: > What confused me was that \middle does not appear in LaTeX, nor in > plain TeX, nor in the TeXbook, nor in tex.web, nor in etex.src. I > finally realized it is a new e-TeX primitive. Cool. Hi Karl, \middle is not new. It exists in e-TeX as far as I can remember. The file "etex_man.pdf" I mentioned in a previous thread is from March 1998. The reason that \middle is not mentioned in any manual except the e-TeX manual itself is that most people are not aware that all engines are using e-TeX now. As far as I remember, it was David Kastrup who asked for integrating e-TeX into LaTeX. He had been interested in the advanced debugging functions provided by e-TeX in the first place. Everything happened in the background, hence it's no wonder that most people are not aware of the "new" features. So let me provide the link again, for everybody who is interested: http://www.ctan.org/tex-archive/systems/e-tex/v2/doc/etex_man.pdf Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From pierre.mackay at comcast.net Tue Feb 10 06:12:13 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Mon, 09 Feb 2009 21:12:13 -0800 Subject: [texhax] large forward slash In-Reply-To: <18832.61214.24046.674897@zaphod.ms25.net> References: <55F4FBE6C26C447091C90CC5EC8CF8F7@PGR1> <200902092250.n19Mo2818510@f7.net> <18832.61214.24046.674897@zaphod.ms25.net> Message-ID: <49910CAD.6090103@comcast.net> Reinhard Kotucha wrote: >On 9 February 2009 Karl Berry wrote: > > > What confused me was that \middle does not appear in LaTeX, nor in > > plain TeX, nor in the TeXbook, nor in tex.web, nor in etex.src. I > > finally realized it is a new e-TeX primitive. Cool. > >Hi Karl, >\middle is not new. It exists in e-TeX as far as I can remember. The >file "etex_man.pdf" I mentioned in a previous thread is from March 1998. > >The reason that \middle is not mentioned in any manual except the >e-TeX manual itself is that most people are not aware that all engines >are using e-TeX now. As far as I remember, it was David Kastrup who >asked for integrating e-TeX into LaTeX. He had been interested in the >advanced debugging functions provided by e-TeX in the first place. >Everything happened in the background, hence it's no wonder that most >people are not aware of the "new" features. > > Is it really true that \middle is unknown to plain TeX. I find that hard to believe, because I know that I have used it to create some non-mathematical displays. I also know that I did not use e-TeX, (not because I have any hostility to it---far from it---but simply because I didn't have to, and I tend to find plain TeX solutions whenever I can). I do not have the time to dig around for the source of my awareness of \middle, but I am pretty sure that a serious user of plain TeX would be able to discover it. Pierre MacKay From philip.ratcliffe at fastwebnet.it Tue Feb 10 09:18:17 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Tue, 10 Feb 2009 09:18:17 +0100 Subject: [texhax] ifthen package In-Reply-To: Message-ID: <16BC99D6AE224CA0937485605F6ADF19@PGR1> > How I can write latex with ifthen package, > so if there XU will be atomagic converted while "compiling" latex. > The pseudocode is like this : > If X followed by U then replace it with my symbosls Well, I presume that one could conceivablly make X an active character and then define it as a macro to test the following charcter and act accordingly, but I think that would be like playing with fire. Cheers, Phil From axel.retif at mac.com Tue Feb 10 09:46:49 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 10 Feb 2009 02:46:49 -0600 Subject: [texhax] large forward slash In-Reply-To: <49910CAD.6090103@comcast.net> References: <55F4FBE6C26C447091C90CC5EC8CF8F7@PGR1> <200902092250.n19Mo2818510@f7.net> <18832.61214.24046.674897@zaphod.ms25.net> <49910CAD.6090103@comcast.net> Message-ID: <00AC9733-14F0-4CA7-AFB9-3DE9D18783C8@mac.com> On 9 Feb, 2009, at 23:12, Pierre MacKay wrote: > Reinhard Kotucha wrote: > >> [...] >> The reason that \middle is not mentioned in any manual except the >> e-TeX manual itself is that most people are not aware that all >> engines >> are using e-TeX now. As far as I remember, it was David Kastrup who >> asked for integrating e-TeX into LaTeX. He had been interested in >> the >> advanced debugging functions provided by e-TeX in the first place. >> Everything happened in the background, hence it's no wonder that most >> people are not aware of the "new" features. > > Is it really true that \middle is unknown to plain TeX. I find that > hard to believe, because I know that I have used it to create some > non-mathematical displays. I also know that I did not use e-TeX You *did* use e-TeX (or rather, plain pdfTeX). Try with the example Reinhard Kotucha is referring to (adapted from the original LaTeX): $$ H = P_{\hbox{ring}} \times \left( -\log_2 ( P_{\hbox{ring}}) \middle) + P_{\hbox{silent}} \times \middle( -\log_2 ( P_{\hbox{silent}}) \right) $$ \bye If you *really* use TeX (not pdfTeX) you'll get ! Undefined control sequence. l.3 ...\left( -\log_2 ( P_{\hbox{ring}}) \middle ) Now try the same with pdfTeX and everything will typeset OK. Best, Axel From eduardo at kalinowski.com.br Tue Feb 10 11:53:38 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Tue, 10 Feb 2009 08:53:38 -0200 Subject: [texhax] ifthen package In-Reply-To: References: Message-ID: <49915CB2.8000703@kalinowski.com.br> wawan wrote: > Hi all > How I can write latex with ifthen package, > so if there XU will be atomagic converted while "compiling" latex. > The pseudocode is like this : > If X followed by U then replace it with my symbosls Would typing \XU be good for you? In this case, you can just use \usepackage{xspace} \newcommand{\XU}{replacement string\xspace} -- "Most of us, when all is said and done, like what we like and make up reasons for it afterwards." -- Soren F. Petersen Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb From uwe.lueck at web.de Tue Feb 10 19:32:13 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 10 Feb 2009 19:32:13 +0100 Subject: [texhax] enviroment/ifthen In-Reply-To: Message-ID: <5.1.0.14.0.20090210185428.031246c0@pop3.web.de> At 13:38 08.02.09, wawan wrote: >I need help how to build sty in latex ( environment ) that can replace >squences of chars with my symbols. For example if there input chars "SU" >than replace with XY ( my symbols from metafont). The macros and example in the attached wawansub.tex may be a solution. I just found Nicola Talbot's datatool.sty (requires substr.sty and xfor.sty) for replacement, while there may be other useful packages xstring.sty or under http://ctan.tug.org/tex-archive/help/Catalogue/bytopic.html#parsingfiles The substitutions must be declared in the definition of \xreplacements. There is a number of difficulties with such operations. The present implementation breaks when you try to embed another environment, and it ignores the content of curly braces. I have another version which looks inside braces but disables macros with arguments. This can hardly be improved without considerably more work. With the present implementation the environment `substitute' must not contain \par. I wonder about `my symbols from metafont' since we are just manipulating tokens, not glyphs as metafont produces them. Maybe you are using some rich encoding like Unicode, otherwise you may introduce certain commands to call your glyphs. HTH -- Uwe. -------------- next part -------------- %% WAWANSUB.TEX 2009/02/10 uwe.lueck[at]web.de \documentclass[12pt]{article} \usepackage{datatool}%% requires substr + xfor \newcommand{\xreplacements}{%% executed on having read env \DTLsubstituteall{\inoutstring}{SU}{XY}%% add modifications % \DTLsubstituteall{\inoutstring}{}{}%% template } \begingroup \catcode`\{12 \catcode`\}12 \catcode`\<1 \catcode`\>2 \gdef\xsubstitute#1\end{substitute}<% \endgroup \def\inoutstring<#1>% \xreplacements \inoutstring \end> \endgroup \newcommand{\substitute}{% \begingroup \catcode`\{12 \catcode`\}12 \xsubstitute} \providecommand{\disguisedpar}{\par}%% fool short arguments \begin{document} \begin{substitute} ABSUOZ \disguisedpar abSUoz \end{substitute} \end{document} From swami at math.mun.ca Tue Feb 10 21:25:59 2009 From: swami at math.mun.ca (swami at math.mun.ca) Date: Tue, 10 Feb 2009 16:55:59 -0330 (NST) Subject: [texhax] coloring a double box using fancy box package Message-ID: <1205.134.153.209.118.1234297559.squirrel@www.math.mun.ca> I created a Border (Double box) for a page of text, using fancybox package, using the following command: \setlength{\fboxrule}{0.4mm} \thisfancypage{\setlength{\fboxsep}{10pt}}{\doublebox} I want to color that double line border with some color, say, blue. How can I use the color package to accomplish this, so that the double box border is set in the color I specify. From uwe.lueck at web.de Tue Feb 10 23:48:04 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 10 Feb 2009 23:48:04 +0100 Subject: [texhax] enviroment/ifthen [corr'd] Message-ID: <5.1.0.14.0.20090210233420.027591d0@pop3.web.de> [sorry, previous example was my first try, while I commented my second, which is 2009/02/10+, now attached and copied below, wawansub.pdf as a proof attached as well; same posting text as before] At 13:38 08.02.09, wawan wrote: >I need help how to build sty in latex ( environment ) that can replace >squences of chars with my symbols. For example if there input chars "SU" >than replace with XY ( my symbols from metafont). The macros and example in the attached wawansub.tex may be a solution. I just found Nicola Talbot's datatool.sty (requires substr.sty and xfor.sty) for replacement, while there may be other useful packages xstring.sty or under http://ctan.tug.org/tex-archive/help/Catalogue/bytopic.html#parsingfiles The substitutions must be declared in the definition of \xreplacements. There is a number of difficulties with such operations. The present implementation breaks when you try to embed another environment, and it ignores the content of curly braces. I have another version which looks inside braces but disables macros with arguments. This can hardly be improved without considerably more work. With the present implementation the environment `substitute' must not contain \par. I wonder about `my symbols from metafont' since we are just manipulating tokens, not glyphs as metafont produces them. Maybe you are using some rich encoding like Unicode, otherwise you may introduce certain commands to call your glyphs. HTH -- Uwe. ________________________________________________ %% WAWANSUB.TEX 2009/02/10+ uwe.lueck[at]web.de \documentclass[12pt]{article} \usepackage{datatool}%% requires substr + xfor \newcommand{\xreplacements}{%% executed on having read env \DTLsubstituteall{\inoutstring}{SU}{XY}%% add modifications % \DTLsubstituteall{\inoutstring}{}{}%% template } \def\substitute#1\end{% \def\inoutstring{#1}% \xreplacements \inoutstring \end} \providecommand{\disguisedpar}{\par}%% fool short arguments \begin{document} \begin{substitute} ABSUOZ \disguisedpar abSUoz \end{substitute} \end{document} -------------- next part -------------- A non-text attachment was scrubbed... Name: wawansub.pdf Type: application/pdf Size: 5204 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090210/07dd31ad/attachment.pdf -------------- next part -------------- %% WAWANSUB.TEX 2009/02/10+ uwe.lueck[at]web.de \documentclass[12pt]{article} \usepackage{datatool}%% requires substr + xfor \newcommand{\xreplacements}{%% executed on having read env \DTLsubstituteall{\inoutstring}{SU}{XY}%% add modifications % \DTLsubstituteall{\inoutstring}{}{}%% template } \def\substitute#1\end{% \def\inoutstring{#1}% \xreplacements \inoutstring \end} \providecommand{\disguisedpar}{\par}%% fool short arguments \begin{document} \begin{substitute} ABSUOZ \disguisedpar abSUoz \end{substitute} \end{document} From uwe.lueck at web.de Wed Feb 11 09:39:32 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 11 Feb 2009 09:39:32 +0100 Subject: [texhax] Fwd: Re: Combining symbols [picture, axis_height] Message-ID: <5.1.0.14.0.20090211092911.0275c910@pop3.web.de> Instead of previous/below on makebox(0,0), I could have done without axis_height and my \piczzbox by just saying that \makebox(0,0){...} should contain \mathstrut, at least when heights or depths of labels vary, or sometimes perhaps \vphantom{\big(}, or ... . My summing-up example then reads: \setlength{\unitlength}{1in} \begin{picture}(5,4) \put(2,2){\makebox(0,0){b\quad}\_\makebox(0,0){\quad p}} %% bad \put(4,2){\makebox(0,0){b\mathstrut\quad}\_\makebox(0,0){\quad p\mathstrut}} %% fine \end{picture} >Date: Mon, 09 Feb 2009 13:33:22 +0100 >To: johnp at bcs.org.uk, TeXhax discussion list , Donald >Arseneau >From: Uwe L?ck >Subject: Re: [texhax] Combining symbols [picture, axis_height] > >At 20:32 29.12.08, John Palmer wrote: >>On Monday 29 December 2008 03:54:11 Daniel Freedman wrote: >> > position a bullet over the arrowhead >> >>I have done this sort of thing by using \raisebox for vertical and \kern for >>horizontal movement, but there must be a more robust and elegant way, so >>I'll >>be interested in other replies ! > >At 15:58 04.01.09, John Palmer wrote: >>I was in a picture environment, drawing a map, and wanted to put symbols >>centred on specified coordinates, so usually needed a shift leftwards and >>downwards from the default position. > >This led me to think about vertical placement of labels near marks of >certain points in the plain, and I wondered how \makebox(0,0) has been >used to obtain this. A main application may be labelling the "tic" marks >of the vertical axis of a diagram. > >I am curious about general conventions here, while I haven't tried to draw >x-y-diagrams so far. (You can adapt your field of research to your >graphical abilities, cf. >http://www.webdesign-bu.de/uwe_lueck/writings.html). The PS-Tricks people >may have clear convictions about this. > >\makebox(0,0){foo} (LaTeX picture environment) centers `foo' essentially >by \vbox{\vss\hbox{foo}\vss}. With \put(,){\makebox(0,0){foo}}, >is half between top and bottom of `f' (their y-coordinates). > >So consider alignment of `b' and `p' in >\put(,){\makebox(0,0){b\quad}\_\makebox(0,0){\quad p}}. Tops of `b' >and `p' are aligned, likewise their bottoms, half in between the >horizontal stroke. This horizontal stroke may be a tic mark on the >vertical axis of an x-y-diagram. > >I think this is ridiculous, `b' and `p' should share a common baseline. I >think that the label for a mark at vertical position should have its >*axis* at , not half between its top and bottom. *axis* is here the >vertical position of *fraction strokes* (those horizontal lines between >numerators and denominators). I feel that this is the natural vertical >"center" of a line. > >To keep some touch with reality, I would like to consider the case that >the vertical axis of a diagram refers to an amount of *water*, in terms of >g (grams) as well as in terms of ml (1/1000 litres). Due to different \dp >and \hp (while there sums are the same), the names nad numbers of the >units would have different base lines. > >Therefore I thought that vertical centering of `foo' around (,) >should be just \put(,){$\lower\axisheight\hbox{foo}$}, with >\def\axisheight{\fontdimen22\textfont2\relax}. I would replace \makebox(0,0) by > > \newcommand*{\piczzbox}[1]{% > $\m at th\raisebox{-\fontdimen22\textfont2}[\z@][\z@]% > {\hb at xt@\z@{\hss#1\hss}}$} > >Complete example: > > \setlength{\unitlength}{1in} > \begin{picture}(5,4) > \put(2,2){\makebox(0,0){b\quad}\_\makebox(0,0){\quad p}} > \put(4,2){\piczzbox{b\quad}\_\piczzbox{\quad p}} > \end{picture} > >Opinions? Or is this well-known? Of course the question may rise rarely, >axis tics usually are numbered, labels usually have same \dp and \ht. > >Cheers, > > Uwe. From uwe.lueck at web.de Wed Feb 11 11:53:11 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 11 Feb 2009 11:53:11 +0100 Subject: [texhax] Combining symbols [picture, axis_height] Message-ID: <5.1.0.14.0.20090211113153.02a48990@pop3.web.de> Back to where we started: At 20:32 29.12.08, John Palmer wrote: >On Monday 29 December 2008 03:54:11 Daniel Freedman wrote: > > position a bullet over the arrowhead > >I have done this sort of thing by using \raisebox for vertical and \kern for >horizontal movement, but there must be a more robust and elegant way, so I'll >be interested in other replies ! At 15:58 04.01.09, John Palmer wrote: >I was in a picture environment, drawing a map, and wanted to put symbols >centred on specified coordinates, so usually needed a shift leftwards and >downwards from the default position. Until now I had understood this as if you put symbols near marks to refer to certain (marked) points of the diagram in the text nearby. I was about to explain that you could "combine" labels with marks by \put(,){\put(,){\makebox(0,0){