From debian at benburb.demon.co.uk Fri Jan 2 11:21:17 2009 From: debian at benburb.demon.co.uk (debian) Date: Fri, 2 Jan 2009 10:21:17 +0000 Subject: [texhax] xdvi displaying the current page Message-ID: <20090102102117.GA1699@benburb.demon.co.uk> Please, is it possible to persuade xdvi to display the current page. My invocation line is: xdvi -unique myfile but, if I call it again with the same file the display jumps back to page 1. I need xdvi to display the current page I am working on. Thanks Joe McCool From daleif at imf.au.dk Fri Jan 2 12:16:00 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 02 Jan 2009 12:16:00 +0100 Subject: [texhax] xdvi displaying the current page In-Reply-To: <20090102102117.GA1699@benburb.demon.co.uk> References: <20090102102117.GA1699@benburb.demon.co.uk> Message-ID: <495DF770.4010007@imf.au.dk> debian wrote: > Please, > > is it possible to persuade xdvi to display the current page. My > invocation line is: > > xdvi -unique myfile > > but, if I call it again with the same file the display jumps back to > page 1. > > I need xdvi to display the current page I am working on. > > Thanks > > Joe McCool which editor are you using? I use emacs with auctex. I open xdvi from emacs via C-c C-v, and if I also use source-specials than xdvi can be started such that the same xdvi is used throught out and it is even go to the page corresponding to the source. > _______________________________________________ > 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 -- /daleif From johnp at palmyra.uklinux.net Fri Jan 2 14:30:10 2009 From: johnp at palmyra.uklinux.net (John Palmer) Date: Fri, 2 Jan 2009 13:30:10 +0000 Subject: [texhax] xdvi displaying the current page In-Reply-To: <20090102102117.GA1699@benburb.demon.co.uk> References: <20090102102117.GA1699@benburb.demon.co.uk> Message-ID: <200901021330.10141.johnp@palmyra.uklinux.net> On Friday 02 January 2009 10:21:17 debian (Joe McCool) wrote > is it possible to persuade xdvi to display the current page. I simply leave xdvi running all the time : then whenever I update the .dvi file, xdvi catches up with the changes, while still showing the same page. Regards, John -- John Palmer Preston near Weymouth, Dorset, England e-mail: johnp at bcs.org.uk (plain text preferred) website: http://www.palmyra.uklinux.net/ From tug-news at tug.org Sun Jan 4 02:02:14 2009 From: tug-news at tug.org (tug-news at tug.org) Date: Sat, 3 Jan 2009 19:02:14 -0600 Subject: [texhax] January 2009 TUG news: renewal, election, journals, conferences Message-ID: <200901040102.n0412EJ21544@f7.net> Dear TeX users, - Please consider joining TUG or renewing yourmembership for 2009; forms are posted at http://tug.org/join.html. The deadline for the discounted membership fee is March 31. - 2009 is an election year for TUG. If you wish to run for president or the board, or nominate another member, information and forms are at http://tug.org/election. The deadline to receive nomination forms and supporting material is February 1. - The PracTeX Journal issue 2008-3 was posted on December 19. The theme of this issue is LaTeX and TeX on the web. http://tug.org/pracjourn/ - TUGboat: the first TUGboat issue for 2009 will appear in the spring. Articles are most welcome, as always; the deadline for submissions is March 31. http://tug.org/TUGboat/ And the upcoming 2009 conferences: - BachoTeX 2009 will be held in Bachotek, Poland, from April 29-May 3, 2009. http://www.gust.org.pl/BachoTeX/2009/main-en.html - TUG 2009 will be held at the University of Notre Dame in Notre Dame, Indiana, USA, from July 28-31, 2009. http://tug.org/tug2009/ - EuroTeX 2009 will be held in The Hague, The Netherlands, from August 24-28, 2009. http://www.ntg.nl/EuroTeX2009/ Finally, I am very happy to announce that Martha Kummerer has joined the TUG board. Martha works for the Notre Dame (Indiana) Journal of Formal Logic, and is the principal organizer for the TUG 2009 conference. Best wishes to all, Karl Berry (President) on behalf of the TUG Board http://www.tug.org/ From sci-man at shaw.ca Sun Jan 4 03:38:10 2009 From: sci-man at shaw.ca (Simon Lyons) Date: Sat, 3 Jan 2009 18:38:10 -0800 Subject: [texhax] spacify.exe Message-ID: <002e01c96e15$873277d0$6500a8c0@MOONUNITALPHA> Hello, and a Happy New Year to you ! Can you please provide me with this utility (necessary to make my fonts usable in MS Word by exchanging chars 32 and 160), or a known-good link to somewhere I may download it. Thanks, =Simon Lyons= -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090103/22289373/attachment.html From debian at benburb.demon.co.uk Sun Jan 4 07:47:50 2009 From: debian at benburb.demon.co.uk (debian) Date: Sun, 4 Jan 2009 06:47:50 +0000 Subject: [texhax] positioning of floats Message-ID: <20090104064750.GA18563@benburb.demon.co.uk> Please, I am using texlive 2008, trying to \includegraphics lots of musical snippets. Essentially my code consists of; fig 1, 2, 3, 4, 5, ..... 15 clearpage This is working ok, but latex seems to always print the figures in exactly that sequence. I was hoping that it might do things like: fig 3, 1, 5, 4, 13, ...... so as to maximise the use of paper. Perhaps I am misunderstanding, or doing something else wrong. Can latex look on up its queque of floats and decide "ah, I can fit number 12 in here" ? Joe From daleif at imf.au.dk Sun Jan 4 11:19:36 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sun, 04 Jan 2009 11:19:36 +0100 Subject: [texhax] positioning of floats In-Reply-To: <20090104064750.GA18563@benburb.demon.co.uk> References: <20090104064750.GA18563@benburb.demon.co.uk> Message-ID: <49608D38.1030208@imf.au.dk> debian wrote: > Please, > > I am using texlive 2008, trying to \includegraphics lots of musical snippets. > > Essentially my code consists of; > > fig 1, 2, 3, 4, 5, ..... 15 clearpage > > This is working ok, but latex seems to always print the figures in exactly > that sequence. > > I was hoping that it might do things like: > > fig 3, 1, 5, 4, 13, ...... > > so as to maximise the use of paper. > > Perhaps I am misunderstanding, or doing something else wrong. > > Can latex look on up its queque of floats and decide "ah, I can fit > number 12 in here" ? > > Joe > > _______________________________________________ > 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 LaTeX puts each float type in order, for a reader, if would be odd to find figure 5 right after figure 12. -- /daleif From debian at benburb.demon.co.uk Sun Jan 4 11:51:13 2009 From: debian at benburb.demon.co.uk (debian) Date: Sun, 4 Jan 2009 10:51:13 +0000 Subject: [texhax] positioning of floats In-Reply-To: <49608D38.1030208@imf.au.dk> References: <20090104064750.GA18563@benburb.demon.co.uk> <49608D38.1030208@imf.au.dk> Message-ID: <20090104105113.GB20306@benburb.demon.co.uk> On Sun, Jan 04, 2009 at 11:19:36AM +0100, Lars Madsen wrote: > LaTeX puts each float type in order, for a reader, if would be odd to > find figure 5 right after figure 12. Mine are all \figures and I have no captions. Thanks Joe. From eduardo at kalinowski.com.br Sun Jan 4 12:01:09 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sun, 04 Jan 2009 09:01:09 -0200 Subject: [texhax] positioning of floats In-Reply-To: <20090104064750.GA18563@benburb.demon.co.uk> References: <20090104064750.GA18563@benburb.demon.co.uk> Message-ID: <496096F5.1070204@kalinowski.com.br> debian wrote: > Please, > > I am using texlive 2008, trying to \includegraphics lots of musical snippets. > > Essentially my code consists of; > > fig 1, 2, 3, 4, 5, ..... 15 clearpage > > This is working ok, but latex seems to always print the figures in exactly > that sequence. > > I was hoping that it might do things like: > > fig 3, 1, 5, 4, 13, ...... > > so as to maximise the use of paper. > > Perhaps I am misunderstanding, or doing something else wrong. > > Can latex look on up its queque of floats and decide "ah, I can fit > number 12 in here" ? > I don't think this is possible, at least not without major rewriting of the float code. One of the basic functionalities of latex floats is that they appear in the order they were declared. -- "Plastic gun. Ingenious. More coffee, please." -- The Phantom comics Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb From toms at ncifcrf.gov Sun Jan 4 14:22:48 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sun, 4 Jan 2009 08:22:48 -0500 (EST) Subject: [texhax] positioning of floats In-Reply-To: <20090104064750.GA18563@benburb.demon.co.uk> from debian at "Jan 4, 2009 06:47:50 am" Message-ID: <200901041322.n04DMmLI017056@strawberry.ncifcrf.gov> Joe: > I was hoping that it might do things like: > fig 3, 1, 5, 4, 13, ...... Seems to me that you could use your powerful visual brain to do this by hand at the end to create a final version. I would put the figure calls one per line and then look at the results. Then I would swap lines to move figures to fit the pages. A couple automation tricks could make this quick. First, I work in vim so switching two lines of text is merely the three letters 'ddp'. ('dd' deletes a line, stores it in the buffer, p puts it in the current location from the buffer.) By moving around first one could quickly arrange things: 'dd2jp' to move a figure 3 down and 'dd4kp' to move 3 up. The other thing is to stay inside the editor and keep one's fingers on the keyboard without using your mouse. I invented the atchange program for that (map ',' to do a ':w[return]' and http://www.ccrnp.ncifcrf.gov/~toms/atchange.html to trigger the latex run displayed with xdvi) but I'm sure there are environments that would work took. Finally, it may be possible to use something like a poster envirnoment to watch all of the pages in a tiny format simultaneously. Then you would easily see which chunk to move around. I suppose that if you know the sizes of the bits and the sizes of pages, you could write some smart code to look for solutions, but I suspect that since there are n! solutions the problem is exponential in n (ie NP-complete if I understand the notation). Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From johnp at palmyra.uklinux.net Sun Jan 4 15:52:17 2009 From: johnp at palmyra.uklinux.net (John Palmer) Date: Sun, 4 Jan 2009 14:52:17 +0000 Subject: [texhax] Combining symbols (vertical placement of characters) In-Reply-To: <5.1.0.14.0.20081230232458.02bb8d50@pop3.web.de> References: <5.1.0.14.0.20081230232458.02bb8d50@pop3.web.de> Message-ID: <200901041452.17510.johnp@palmyra.uklinux.net> On Tuesday 30 December 2008 22:58:02 Uwe L?ck wrote: > But John: I wonder whether you are asking about creating new glyphs or just > about placing one character over another. The latter task usually requires > dimensions of enclosing boxes only; it can be performed through one-column > ``tables'' (\oalign) or through the \accent primitive (depends ...). Are > you thinking of specific examples that have bothered you? > > HTH -- Uwe. -- John Palmer Preston near Weymouth, Dorset, England e-mail: johnp at bcs.org.uk (plain text preferred) website: http://www.palmyra.uklinux.net/ From johnp at palmyra.uklinux.net Sun Jan 4 15:58:31 2009 From: johnp at palmyra.uklinux.net (John Palmer) Date: Sun, 4 Jan 2009 14:58:31 +0000 Subject: [texhax] Combining symbols (vertical placement of characters) In-Reply-To: <5.1.0.14.0.20081230232458.02bb8d50@pop3.web.de> References: <5.1.0.14.0.20081230232458.02bb8d50@pop3.web.de> Message-ID: <200901041458.31794.johnp@palmyra.uklinux.net> On Tuesday 30 December 2008 22:58:02 Uwe L?ck wrote: > But John: I wonder whether you are asking about creating new glyphs or just > about placing one character over another. Neither of those, I now remember. 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. BTW apologies for abortive message sent to the list by mistake just now. Regards, John -- John Palmer Preston near Weymouth, Dorset, England e-mail: johnp at bcs.org.uk (plain text preferred) website: http://www.palmyra.uklinux.net/ From eduardo at kalinowski.com.br Sun Jan 4 19:26:46 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sun, 04 Jan 2009 16:26:46 -0200 Subject: [texhax] Using textcomp symbol with New Century Schoolbook Message-ID: <4960FF66.3010403@kalinowski.com.br> I was retypesetting a document from a couple years ago, but I've come across a problem. The document uses the New Century Schoolbook font. In one or two places, however, I need the \textcurrency symbol which is made available through the textcomp package. But I get an error, like the following example shows: \documentclass{article} \usepackage{newcent} \usepackage{textcomp} \begin{document} \textcurrency \end{document} What I get is ! Package textcomp Error: Symbol \textcurrency not provided by (textcomp) font family pnc in TS1 encoding. (textcomp) Default family used instead. See the textcomp package documentation for explanation. Type H for immediate help. ... l.8 \textcurrency I understand the symbol is not available and the symbol from the default font is used. I'm OK with that, the symbol does appear and looks good enough. But is there a way to get rid of the error? -- I don't wanna argue, and I don't wanna fight, But there will definitely be a party tonight... Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb From tsc25 at cantab.net Sun Jan 4 19:04:34 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Sun, 04 Jan 2009 19:04:34 +0100 Subject: [texhax] OT: NP-completeness [was Re: positioning of floats] In-Reply-To: <200901041322.n04DMmLI017056@strawberry.ncifcrf.gov> References: <200901041322.n04DMmLI017056@strawberry.ncifcrf.gov> Message-ID: <4960FA32.2040605@dr-qubit.org> This is way off-topic, but just for general interest... Tom Schneider wrote: > I suppose that if you know the sizes of the bits and the sizes of > pages, you could write some smart code to look for solutions, but I > suspect that since there are n! solutions the problem is exponential > in n (ie NP-complete if I understand the notation). Not quite. NP stands for "non-deterministic polynomial", and is the class of problems that can be solved in polynomial time on a non-deterministic Turing machine. An equivalent, and more intuitive, way of defining NP is as the class of problems for which it is easy to verify a solution, but it places no constraints on how difficult it might be to *find* a solution. I.e. if I claim to have a solution to the problem, you can check whether my solution is correct in polynomial time, but there's no limit on how long it might take me to find that solution in the first place. A good example is factoring (ignoring technicalities to do with NP being a decision class). If I claim to have found the factors of a large integer, it's very easy to check whether they're correct: just multiply them together and see whether you get the original integer back. But it's an altogether different problem if I give you a large integer and ask you to find its factors. (If you find a polynomial-time algorithm for this, you'll be able to break all of the common public-key crypto systems, such as the one used to encrypt credit card details when shopping on the web.) The class of problems which require exponential time to solve is called EXP, whereas the class of problems which require polynomial time is called P. It is not known whether P=NP, or NP=EXP, or neither. (Proving any of these will win you a million dollar prize. What is known is that P!=EXP.) An NP-hard problem is a problem which at least as hard as any problem in NP; solving an NP-hard problem would allow you to solve *every* NP problem. Finally, an NP-complete problem is a problem that is NP-hard and is also itself in NP. The canonical example of an NP-complete problem is the famous 3SAT problem. Just because there are many possible answers to search through doesn't necessarily mean that a problem is hard. There are many examples of problems for which the naive approach of checking every possibility would take exponential time, but where there's a cleverer way of finding the solution that only takes polynomial time (e.g. TeX's line-breaking algorithm). However, the original problem of finding the optimal arrangement of figures to minimize the number of pages is exactly the bin packing problem (at least in the case of there being no text, only figures). And the bin packing problem is known to be NP-hard. So, after all that, you were right all along :) Not that this means one should completely give up on solving it. There are algorithms that produce good solutions to the bin packing problem, even if not necessarily the optimal one. Implementing them would probably require a major rewrite of TeX's page-breaking and float-positioning algorithms, however. Hope that clears things up somewhat, Toby From ludwigmises at gmail.com Sun Jan 4 20:19:23 2009 From: ludwigmises at gmail.com (Ludwig Mises) Date: Sun, 4 Jan 2009 12:19:23 -0700 Subject: [texhax] Blank output with just \hrule Message-ID: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> I know I've read about this in the TeXbook but I can't seem to find it now. I have the following: \hrule \hrule \hrule \hrule \bye This results in blank output, yet if I insert a word anywhere between any of those hrules, suddenly all 4 hrules show up. Will someone point me to the explanation (if possible)? I tried to put them in a \vbox but that made no difference (why would it since we're already in vertical mode right)? Thanks, Ludwig From P.Taylor at Rhul.Ac.Uk Sun Jan 4 21:32:20 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Sun, 04 Jan 2009 20:32:20 +0000 Subject: [texhax] Blank output with just \hrule In-Reply-To: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> References: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> Message-ID: <49611CD4.2040405@Rhul.Ac.Uk> Ludwig Mises wrote: > I know I've read about this in the TeXbook but I can't seem to find it > now. I have the following: > > \hrule > \hrule > \hrule > \hrule > > \bye > > This results in blank output, yet if I insert a word anywhere between > any of those hrules, suddenly all 4 hrules show up. Odd, I don't exactly see that : if I write > \hrule > \hrule a > \hrule > \hrule > > \bye I see two hrules, not four. One just above the "a", one below. These are fatter than normal hrules, so I suspect I am seeing two near co-incident pairs, but I can't prove this visually. If I type > \leavevmode > \hrule > \hrule > \hrule > \hrule > > \bye then I see one big fat hrule, clearly fatter than I see after > \leavevmode > \hrule > > \bye hence supporting the "near co-incident pairs" hypothesis. Anyhow, I think the simple answer to your question is that the \hrules have zero width in the absence of something to trigger TeX into typesetting one or more line boxes. Test this using > \hrule width 6 pc > \hrule width 6 pc > \hrule width 6 pc > \hrule width 6 pc > > \bye Philip TAYLOR From ludwigmises at gmail.com Sun Jan 4 21:45:05 2009 From: ludwigmises at gmail.com (Ludwig Mises) Date: Sun, 4 Jan 2009 13:45:05 -0700 Subject: [texhax] Blank output with just \hrule In-Reply-To: <49611CD4.2040405@Rhul.Ac.Uk> References: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> <49611CD4.2040405@Rhul.Ac.Uk> Message-ID: <6b823fbc0901041245m76c93e4av169b54ca547250a1@mail.gmail.com> On Sun, Jan 4, 2009 at 1:32 PM, Philip TAYLOR wrote: > >> \hrule width 6 pc >> \hrule width 6 pc >> \hrule width 6 pc >> \hrule width 6 pc >> >> \bye Yes, this worked, however, as you indicated, there is no vertical space between them which results in a visually thick hrule. I ended up doing something like: \hbox to \hsize{\vbox{\hrule width \hsize}} This seems to place the hrule correctly and repeated use of it produces lines that are spaced with the baseline appropriately. Not sure if there is a better way to do this... Ludwig From asnd at triumf.ca Sun Jan 4 21:53:08 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 04 Jan 2009 12:53:08 -0800 Subject: [texhax] positioning of floats In-Reply-To: <20090104105113.GB20306@benburb.demon.co.uk> References: <20090104064750.GA18563@benburb.demon.co.uk> <49608D38.1030208@imf.au.dk> <20090104105113.GB20306@benburb.demon.co.uk> Message-ID: debian writes: > On Sun, Jan 04, 2009 at 11:19:36AM +0100, Lars Madsen wrote: > > > LaTeX puts each float type in order, for a reader, if would be odd to > > find figure 5 right after figure 12. > > Mine are all \figures and I have no captions. As Lars hinted subtly, it would be possible to create multiple float types for parallel streams of floating items. The number is limited, but I think up to 25 types can be accommodated, and two are typically already defined (figure and table). -- Donald Arseneau asnd at triumf.ca From P.Taylor at Rhul.Ac.Uk Sun Jan 4 22:22:47 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Sun, 04 Jan 2009 21:22:47 +0000 Subject: [texhax] Blank output with just \hrule In-Reply-To: <6b823fbc0901041245m76c93e4av169b54ca547250a1@mail.gmail.com> References: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> <49611CD4.2040405@Rhul.Ac.Uk> <6b823fbc0901041245m76c93e4av169b54ca547250a1@mail.gmail.com> Message-ID: <496128A7.60402@Rhul.Ac.Uk> If you're trying to fill vspace with spaced rules, I would suggest vleaders ... ** Phil. -------- Ludwig Mises wrote: > Yes, this worked, however, as you indicated, there is no vertical > space between them which results in a visually thick hrule. I ended > up doing something like: > > \hbox to \hsize{\vbox{\hrule width \hsize}} > > This seems to place the hrule correctly and repeated use of it > produces lines that are spaced with the baseline appropriately. > > Not sure if there is a better way to do this... > > Ludwig From P.Taylor at Rhul.Ac.Uk Sun Jan 4 22:42:45 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Sun, 04 Jan 2009 21:42:45 +0000 Subject: [texhax] Blank output with just \hrule In-Reply-To: <496128A7.60402@Rhul.Ac.Uk> References: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> <49611CD4.2040405@Rhul.Ac.Uk> <6b823fbc0901041245m76c93e4av169b54ca547250a1@mail.gmail.com> <496128A7.60402@Rhul.Ac.Uk> Message-ID: <49612D55.3000408@Rhul.Ac.Uk> Sorry, was in the middle of a meal when I sent the last message : here is an example -- > \vbox to 30 \baselineskip > {\leaders \vbox to \baselineskip {\hrule width 30 pc \vss}\vfil > } > \end Philip TAYLOR (Ret'd) wrote: > If you're trying to fill vspace with > spaced rules, I would suggest vleaders ... > > ** Phil. From olegkat at gmail.com Sun Jan 4 23:16:49 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 5 Jan 2009 00:16:49 +0200 Subject: [texhax] Blank output with just \hrule In-Reply-To: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> References: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> Message-ID: <20090104221649.GA791@thor> On Sun, Jan 04, 2009 at 12:19:23PM -0700, Ludwig Mises wrote: > \hrule > \hrule > \hrule > \hrule > > \bye > > This results in blank output, yet if I insert a word anywhere between > any of those hrules, suddenly all 4 hrules show up. Will someone > point me to the explanation (if possible)? When you don't specify width, \hrule results in a rule as wide as an enclosing box. The enclosing box in this case is the \vbox constructed by the output routine. And the width of that \vbox is zero because there is "nothing" on the page (that is, nothing that contributes to page width). Adding a single character to the page causes TeX to create a paragraph consisting of a single line, or \hbox, the width of which is \hsize. Hence the top-level \vbox's width becomes \hsize, and the \hrules now fill the width of that \vbox. Hope this makes sense, Oleg From ludwigmises at gmail.com Sun Jan 4 23:22:21 2009 From: ludwigmises at gmail.com (Ludwig Mises) Date: Sun, 4 Jan 2009 15:22:21 -0700 Subject: [texhax] Blank output with just \hrule In-Reply-To: <20090104221649.GA791@thor> References: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> <20090104221649.GA791@thor> Message-ID: <6b823fbc0901041422y360ffb2cpb30972724c7d1133@mail.gmail.com> On Sun, Jan 4, 2009 at 3:16 PM, Oleg Katsitadze wrote: > > Hope this makes sense, Yes, it makes sense now, and in fact, I could achieve similar results using: \hrule \hfil Thanks, Ludwig From ludwigmises at gmail.com Sun Jan 4 23:28:48 2009 From: ludwigmises at gmail.com (Ludwig Mises) Date: Sun, 4 Jan 2009 15:28:48 -0700 Subject: [texhax] Using other fonts in TeX Message-ID: <6b823fbc0901041428s89ef5f6h88a574271e39c35f@mail.gmail.com> I notice that in the fonts directory there are seemingly dozens of fonts available for use (other than cmr) but attempts to use them result in failure: ! Font \myfont=lmr10 not loadable: Metric (TFM) file not found. Yet, under /usr/local/share/texmf-dist/fonts there appear to be dozens of them. Including lmr: /usr/local/share/texmf-dist/fonts/type1/public/lm Is there something I must do to use these? Ludwig From olegkat at gmail.com Mon Jan 5 00:05:37 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 5 Jan 2009 01:05:37 +0200 Subject: [texhax] Blank output with just \hrule In-Reply-To: <6b823fbc0901041422y360ffb2cpb30972724c7d1133@mail.gmail.com> References: <6b823fbc0901041119o41bf2a66m89641d882001cd51@mail.gmail.com> <20090104221649.GA791@thor> <6b823fbc0901041422y360ffb2cpb30972724c7d1133@mail.gmail.com> Message-ID: <20090104230537.GA1563@thor> On Sun, Jan 04, 2009 at 03:22:21PM -0700, Ludwig Mises wrote: > in fact, I could achieve similar results using: > > \hrule \hfil Yes, anything that creates a paragraph will work, e.g.: \hrule \leavevmode \bye Oleg From olegkat at gmail.com Mon Jan 5 00:19:44 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 5 Jan 2009 01:19:44 +0200 Subject: [texhax] Using other fonts in TeX In-Reply-To: <6b823fbc0901041428s89ef5f6h88a574271e39c35f@mail.gmail.com> References: <6b823fbc0901041428s89ef5f6h88a574271e39c35f@mail.gmail.com> Message-ID: <20090104231944.GB1563@thor> On Sun, Jan 04, 2009 at 03:28:48PM -0700, Ludwig Mises wrote: > ! Font \myfont=lmr10 not loadable: Metric (TFM) file not found. You need to specify TFM files, that is, files with the tfm extension. I think you've specified lmr10.pfb. On my system, I have these: cork-lmr10.tfm cs-lmr10.tfm ec-lmr10.tfm el-lmr10.tfm l7x-lmr10.tfm qx-lmr10.tfm rm-lmr10.tfm t5-lmr10.tfm texnansi-lmr10.tfm ts1-lmr10.tfm The prefixes are font encodings. You probably need ec-lmr10 (note that you'll need to adjust accent commands if you use them, because accents in T1 are in different positions than in the standard OT1 encoding) and maybe some symbols from ts1-lmr10. To see what symbols are available, run tex testfont and follow the instructions. Oleg From ludwigmises at gmail.com Mon Jan 5 00:26:51 2009 From: ludwigmises at gmail.com (Ludwig Mises) Date: Sun, 4 Jan 2009 16:26:51 -0700 Subject: [texhax] Using other fonts in TeX In-Reply-To: <20090104231944.GB1563@thor> References: <6b823fbc0901041428s89ef5f6h88a574271e39c35f@mail.gmail.com> <20090104231944.GB1563@thor> Message-ID: <6b823fbc0901041526j2e0993d7u27d30525c5d92dff@mail.gmail.com> On Sun, Jan 4, 2009 at 4:19 PM, Oleg Katsitadze wrote: > > The prefixes are font encodings. You probably need ec-lmr10 (note > that you'll need to adjust accent commands if you use them, because > accents in T1 are in different positions than in the standard OT1 > encoding) and maybe some symbols from ts1-lmr10. Yes, these now work as expected. Is it possible to specify an alternate path to read fonts from? For example, if I don't have access to the distribution directory and have a new font that I want to add? Thanks, Ludwig From olegkat at gmail.com Mon Jan 5 01:15:44 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 5 Jan 2009 02:15:44 +0200 Subject: [texhax] Using other fonts in TeX In-Reply-To: <6b823fbc0901041526j2e0993d7u27d30525c5d92dff@mail.gmail.com> References: <6b823fbc0901041428s89ef5f6h88a574271e39c35f@mail.gmail.com> <20090104231944.GB1563@thor> <6b823fbc0901041526j2e0993d7u27d30525c5d92dff@mail.gmail.com> Message-ID: <20090105001544.GB2027@thor> On Sun, Jan 04, 2009 at 04:26:51PM -0700, Ludwig Mises wrote: > Is it possible to specify an > alternate path to read fonts from? For example, if I don't have > access to the distribution directory and have a new font that I want > to add? You can put things in user texmf tree. Its location depends on the distro you use. On Debian TeX-Live, I believe it is in ~/texmf. After installing anything in ~/texmf, you'll need to run texhash ~/texmf or similar. Oleg From ludwigmises at gmail.com Mon Jan 5 02:49:27 2009 From: ludwigmises at gmail.com (Ludwig Mises) Date: Sun, 4 Jan 2009 18:49:27 -0700 Subject: [texhax] Using other fonts in TeX In-Reply-To: <20090105001544.GB2027@thor> References: <6b823fbc0901041428s89ef5f6h88a574271e39c35f@mail.gmail.com> <20090104231944.GB1563@thor> <6b823fbc0901041526j2e0993d7u27d30525c5d92dff@mail.gmail.com> <20090105001544.GB2027@thor> Message-ID: <6b823fbc0901041749t169adfd5xfe3086729708e797@mail.gmail.com> On Sun, Jan 4, 2009 at 5:15 PM, Oleg Katsitadze wrote: > > You can put things in user texmf tree. Its location depends on the > distro you use. How do I determine what that might be? Is this something that kpsepath can determine, or is it build specific? I suppose I could ktrace the programs to see what they attempt to open. Ludwig From reinhard.kotucha at web.de Mon Jan 5 03:32:43 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 5 Jan 2009 03:32:43 +0100 Subject: [texhax] Using other fonts in TeX In-Reply-To: <6b823fbc0901041749t169adfd5xfe3086729708e797@mail.gmail.com> References: <6b823fbc0901041428s89ef5f6h88a574271e39c35f@mail.gmail.com> <20090104231944.GB1563@thor> <6b823fbc0901041526j2e0993d7u27d30525c5d92dff@mail.gmail.com> <20090105001544.GB2027@thor> <6b823fbc0901041749t169adfd5xfe3086729708e797@mail.gmail.com> Message-ID: <18785.29003.833099.622848@zaphod.ms25.net> Ludwig Mises writes: > On Sun, Jan 4, 2009 at 5:15 PM, Oleg Katsitadze wrote: > > > > You can put things in user texmf tree. Its location depends on the > > distro you use. > > How do I determine what that might be? Is this something that > kpsepath can determine, or is it build specific? I suppose I could > ktrace the programs to see what they attempt to open. kpsewhich --expand-var=\$TEXMFHOME 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 ludwigmises at gmail.com Mon Jan 5 04:15:29 2009 From: ludwigmises at gmail.com (Ludwig Mises) Date: Sun, 4 Jan 2009 20:15:29 -0700 Subject: [texhax] Using other fonts in TeX In-Reply-To: <18785.29003.833099.622848@zaphod.ms25.net> References: <6b823fbc0901041428s89ef5f6h88a574271e39c35f@mail.gmail.com> <20090104231944.GB1563@thor> <6b823fbc0901041526j2e0993d7u27d30525c5d92dff@mail.gmail.com> <20090105001544.GB2027@thor> <6b823fbc0901041749t169adfd5xfe3086729708e797@mail.gmail.com> <18785.29003.833099.622848@zaphod.ms25.net> Message-ID: <6b823fbc0901041915p2270eff1r1af3ff8aa71ca8db@mail.gmail.com> On Sun, Jan 4, 2009 at 7:32 PM, Reinhard Kotucha wrote: > > kpsewhich --expand-var=\$TEXMFHOME Bingo! So it looks like its ~/texmf on my system as well. I'm now immersing myself in fontinst.dvi, fontname.dvi et al to figure out how to get additional fonts installed in ~/texmf. Thank you, Ludwig From Faraz_Hasan-S at email.ulster.ac.uk Mon Jan 5 13:02:12 2009 From: Faraz_Hasan-S at email.ulster.ac.uk (Syed Faraz Hasan) Date: Mon, 5 Jan 2009 12:02:12 +0000 Subject: [texhax] Text Wrapping options in LateX Message-ID: Hi all, I am trying to wrap the text around the figures that I am using. Currently, the figures are used such that the text is not wrapped around them. Just as Microsoft Word offers text wrapping options, what options exist for Latex. Please write back soon. Regards, Faraz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090105/7ace7858/attachment.html From axel.retif at mac.com Mon Jan 5 13:40:40 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Mon, 05 Jan 2009 06:40:40 -0600 Subject: [texhax] Text Wrapping options in LateX In-Reply-To: References: Message-ID: <4B29F06D-68B8-49BE-AFA6-E648B6C4FABF@mac.com> On 5 Jan, 2009, at 06:02, Syed Faraz Hasan wrote: > Hi all, > > I am trying to wrap the text around the figures that I am using. > Currently, the figures are used such that the text is not wrapped > around them. Just as Microsoft Word offers text wrapping options, > what options exist for Latex. I've been using the wrapfig package, by Donald Arseneau, for quite some time: http://www.ctan.org/tex-archive/macros/latex/contrib/wrapfig/ Chances are you already have it. Instructions are in the .sty file itself and in the multiple-span.txt file. Best, Axel From s.schwartz at imperial.ac.uk Mon Jan 5 14:03:00 2009 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Mon, 05 Jan 2009 13:03:00 +0000 Subject: [texhax] Text Wrapping options in LateX In-Reply-To: References: Message-ID: <1231160580.4712.14.camel@sony-sjs.sp.ph.ic.ac.uk> This is an FAQ: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=textflow I use picins because it works, though not very well, with list environments. Steve On Mon, 2009-01-05 at 12:02 +0000, Syed Faraz Hasan wrote: > Hi all, > > I am trying to wrap the text around the figures that I am using. > Currently, the figures are used such that the text is not wrapped > around them. Just as Microsoft Word offers text wrapping options, what > options exist for Latex. > > Please write back soon. > > Regards, > Faraz > _______________________________________________ > 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 -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Head, Space & Atmospheric Physics Fax: +44-(0)20-7594-7900 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 711A London SW7 2AZ, U.K. Web: www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From s-canagaratna at onu.edu Mon Jan 5 05:30:39 2009 From: s-canagaratna at onu.edu (Sebastian Canagaratna) Date: Sun, 04 Jan 2009 23:30:39 -0500 Subject: [texhax] \hline in align environment Message-ID: <49618CEF.4000307@onu.edu> When discussing elimination of variables in simultaneous equations, it is usual to have a horzontal line after the two equations which are being added and subtracted. This appears to be difficult to do in amsmath align environment. There was a question about this about three years ago, but there were no satisfactory answers usign align, as far as I can gather. Here is my solution. \begin{align*} 4x+ 6y -2z &= -4\\ x -y +2z &= 9\\[-0.2in] \underline{\phantom{4x+6y-2z}}&\underline{\phantom{y}}\underline{\phantom{-4y}}\\ 5x + 5y &= 5\\ x + y &= 1 \end{align*} I have used underline and for alignment, instead of using \phantom{=} it is necessary to use \phantom{y} otherwise the lines don't algin horizontally. Similarly the added y in -4y. It is because of this alignment problem that the 2nd equation cannot be directly underlined, as the line from &\phantom{=} will be a little higher. I guess one might try &\underline{=\phantom{y}}, but I haven't tried this. If its works, it will be shorter. I'll be interested in other solutions. Sebastian Canagaratna Department of Chemistry and Biochemistry Ada, Ohio 45810 From s-canagaratna at onu.edu Mon Jan 5 15:45:36 2009 From: s-canagaratna at onu.edu (Sebastian Canagaratna) Date: Mon, 5 Jan 2009 09:45:36 -0500 Subject: [texhax] \hline in align environment Message-ID: <20090105144536.GA12981@localhost> Hi: I posted yesterday to texhax my solution to the problem of drawing a horizontal line at the bottom of two aligned simultaneous equations; I had not been successful in finding any previous solution. It was this: \begin{align*} 4x+ 6y -2z &= -4\\ x -y +2z &= 9\\[-0.2in] \underline{\phantom{4x+6y-2z}}&\underline{\phantom{y}}\underline{\phantom{-4y}}\\ 5x + 5y &= 5\\ \ x +\ y &= 1 \end{align*} I appear to have solved this earlier by another, and I think, better method. I define a macro \und thus: \def\und#1{\underline{\hbox to #1in{}}} Here is an example using this: \begin{align*} 15x +3y &= 9\\ 2x + 3y &= 8 \\[-0.18in] \und{0.5}&\und{0.3}\\ 17x \phantom{\ +0y}&=17\\ x&=1 \end{align*} The vertical and horizontal spaces have to be determined experimentally. Sebastian Canagaratna Department of Chemistry and Biochemistry Ohio Northern University Ada, OH 45810 From rjf2 at CDC.GOV Mon Jan 5 16:53:22 2009 From: rjf2 at CDC.GOV (Fehd, Ronald J. (CDC/CCHIS/NCPHI)) Date: Mon, 5 Jan 2009 10:53:22 -0500 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: References: Message-ID: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> for the font history mavens: Jan Tschichold (1902-1974) is considered by many to be the most influential typographer of the twentieth century. A leading voice of the modernist movement, Tschichold oversaw the redesign of the Penguin and Pelican paperbacks in the late 1940s and devised for them a standardized set of typographic rules. The classical type designs of his late career qualify him as perhaps the first typographic postmodernist. Active Literature, an in-depth study of Jan Tschichold's modernist period, is based on extensive archival research that uncovered a wealth of new photographs of his design work. Author Christopher Burke presents a full portrait of the designer's career and puts into context Tschichold's own account of his life and work. http://www.amazon.com/Active-Literature-Jan-Tschichold-Typography/dp/090 7259324 http://en.wikipedia.org/wiki/Jan_Tschichold review by NYT Book Review, Oct 26, 2008 http://www.nytimes.com/2008/10/26/books/review/Heller-t.html Ron Fehd the {SAS} macro maven CDC Atlanta GA USA RJF2 at cdc dot gov From reinhard.kotucha at web.de Tue Jan 6 00:09:08 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Tue, 6 Jan 2009 00:09:08 +0100 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> Message-ID: <18786.37652.521083.206853@zaphod.ms25.net> Fehd, Ronald J. (CDC/CCHIS/NCPHI) writes: > for the font history mavens: > > Jan Tschichold (1902-1974) is considered by many to be the most > influential typographer of the twentieth century. A leading voice of the > modernist movement, Tschichold oversaw the redesign of the Penguin and > Pelican paperbacks in the late 1940s and devised for them a standardized > set of typographic rules. The classical type designs of his late career > qualify him as perhaps the first typographic postmodernist. Active > Literature, an in-depth study of Jan Tschichold's modernist period, is > based on extensive archival research that uncovered a wealth of new > photographs of his design work. Author Christopher Burke presents a full > portrait of the designer's career and puts into context Tschichold's own > account of his life and work. > > http://www.amazon.com/Active-Literature-Jan-Tschichold-Typography/dp/0907259324 > > http://en.wikipedia.org/wiki/Jan_Tschichold Hi Ronald, many thanks for the hint. Obviously the bibliography provided by en.wikipedia.org is incomplete. There is an interesting book not mentioned there (though de.wikipedia.org mentions it): Jan Tschichold, Erfreuliche Drucksachen durch gute Typographie, MaroVerlag, Augsburg 2001, ISBN 3-87512-413-8. It's a reprint of a book Tschichold published in 1960. I mention it here because the reprint is still available in Germany. You can buy it in book stores or online. This book is quite interesting because though Tschichold favoured sans serif fonts a few decades earlier, he radically combats them in this book. 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 geoff at knauth.org Tue Jan 6 14:58:04 2009 From: geoff at knauth.org (Geoffrey S. Knauth) Date: Tue, 6 Jan 2009 08:58:04 -0500 Subject: [texhax] \hline in align environment In-Reply-To: <49618CEF.4000307@onu.edu> References: <49618CEF.4000307@onu.edu> Message-ID: On Jan 4, 2009, at 23:30, Sebastian Canagaratna wrote: > \begin{align*} > 4x+ 6y -2z &= -4\\ > x -y +2z &= 9\\[-0.2in] > \underline{\phantom{4x+6y-2z}}&\underline{\phantom{y}} > \underline{\phantom{-4y}}\\ > 5x + 5y &= 5\\ > x + y &= 1 > \end{align*} > I have used underline and for alignment, instead of using > \phantom{=} it > is necessary to use \phantom{y} otherwise the lines don't algin > horizontally. Similarly the added y in -4y. Thanks! I'm sure your two suggestions will be useful to me. I tried the following alternative which also worked. What I found was the = in the RHS \phantom was not a problem, rather the absence of a y. If there's something hanging down on the left, there needs to be something hanging down on the right. \begin{align*} 4x +6y -2z &= -4 \\ x -y +2z &= 9 \\[-12pt] \underline{\phantom{4x+6y-2z}}&\underline{\phantom{= -4y}}\\ 5x + 5y &= 5 \\ x + y &= 1 \end{align*} Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090106/4a274254/attachment.html From aadil1975 at hotmail.com Tue Jan 6 13:02:52 2009 From: aadil1975 at hotmail.com (Aadil Khan) Date: Tue, 6 Jan 2009 17:02:52 +0500 Subject: [texhax] (no subject) Message-ID: Dear Technical Support Team:Could you kindly help me to convert latex files into pdf. I shall be very grateful to you if you could kindly help me to sort-out my problem or please let me know if there is any erry in the files.Waiting for your quick response.With best wishes,Aadil _________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/events.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090106/78afbcdb/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: tex-files.zip Type: application/zip Size: 89056 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090106/78afbcdb/attachment-0001.zip From Herbert.Voss at FU-Berlin.DE Tue Jan 6 15:43:57 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Tue, 06 Jan 2009 15:43:57 +0100 Subject: [texhax] \hline in align environment In-Reply-To: <20090105144536.GA12981@localhost> References: <20090105144536.GA12981@localhost> Message-ID: <49636E2D.2040509@FU-Berlin.DE> Sebastian Canagaratna schrieb: > > I posted yesterday to texhax my solution to the problem of drawing a > > horizontal line at the bottom of two aligned simultaneous equations; I > > had not been successful in finding any previous solution. It was this: > > > > \begin{align*} > > 4x+ 6y -2z &= -4\\ > > x -y +2z &= 9\\[-0.2in] > > \underline{\phantom{4x+6y-2z}}&\underline{\phantom{y}}\underline{\phantom{-4y}}\\ \underline{\phantom{4x+6y-2z}}\rlap{$\underline{\phantom{\mathrel{=}-y}}$}\\ Herbert From P.Taylor at Rhul.Ac.Uk Tue Jan 6 16:03:15 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Tue, 06 Jan 2009 15:03:15 +0000 Subject: [texhax] \hline in align environment In-Reply-To: References: <49618CEF.4000307@onu.edu> Message-ID: <496372B3.9070705@Rhul.Ac.Uk> I confess I'm unclear as to exactly what you are trying to accomplish, but if it is similar to what I think it is, then there is a far simpler solution that requires no phantoms : could you please take a look at -- > \documentclass {minimal} > \usepackage {AMSmath} > \begin {document} > > \begin {align*} > 4x+ 6y -2z &= -4\\ > x -y +2z &= 9\\[-1.4 ex] > \multispan 2 {\leaders \hrule \hfil}\\ > 5x + 5y &= 5\\ > x + y &= 1 > \end {align*} > > \end {document} and tell me if it is close to meeting your needs ? Philip TAYLOR From geoff at knauth.org Tue Jan 6 16:08:19 2009 From: geoff at knauth.org (Geoffrey S. Knauth) Date: Tue, 6 Jan 2009 10:08:19 -0500 Subject: [texhax] \hline in align environment In-Reply-To: <496372B3.9070705@Rhul.Ac.Uk> References: <49618CEF.4000307@onu.edu> <496372B3.9070705@Rhul.Ac.Uk> Message-ID: On Jan 6, 2009, at 10:03, Philip TAYLOR (Ret'd) wrote: > I confess I'm unclear as to exactly what [Sebastian > was] trying to accomplish, but if it is similar > to what I think it is, then there is a far > simpler solution that requires no phantoms : > could you please take a look at -- > >> \documentclass {minimal} >> \usepackage {AMSmath} >> \begin {document} >> \begin {align*} >> 4x+ 6y -2z &= -4\\ >> x -y +2z &= 9\\[-1.4 ex] >> \multispan 2 {\leaders \hrule \hfil}\\ >> 5x + 5y &= 5\\ >> x + y &= 1 >> \end {align*} >> \end {document} > > and tell me if it is close to meeting your needs ? Works for me! Thanks! From P.Taylor at Rhul.Ac.Uk Tue Jan 6 17:02:40 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Tue, 06 Jan 2009 16:02:40 +0000 Subject: [texhax] \hline in align environment In-Reply-To: <20090106154631.GB8352@localhost> References: <49618CEF.4000307@onu.edu> <496372B3.9070705@Rhul.Ac.Uk> <20090106154631.GB8352@localhost> Message-ID: <496380A0.5080108@Rhul.Ac.Uk> Excellent; glad to have been of service :-) ** Phil. -------- Sebastian Canagaratna wrote: > Thanks. Your solution is exactly what is needed. I had tried multicolumn > of latex and it failed; I clearly missed multispan. The hrule will have > to be slightly lifted I guess, but that is a detail. From s-canagaratna at onu.edu Tue Jan 6 16:46:31 2009 From: s-canagaratna at onu.edu (Sebastian Canagaratna) Date: Tue, 6 Jan 2009 10:46:31 -0500 Subject: [texhax] \hline in align environment In-Reply-To: <496372B3.9070705@Rhul.Ac.Uk> References: <49618CEF.4000307@onu.edu> <496372B3.9070705@Rhul.Ac.Uk> Message-ID: <20090106154631.GB8352@localhost> Thanks. Your solution is exactly what is needed. I had tried multicolumn of latex and it failed; I clearly missed multispan. The hrule will have to be slightly lifted I guess, but that is a detail. On Tue, Jan 06, 2009 at 03:03:15PM +0000, Philip TAYLOR (Ret'd) wrote: > I confess I'm unclear as to exactly what you > are trying to accomplish, but if it is similar > to what I think it is, then there is a far > simpler solution that requires no phantoms : > could you please take a look at -- > >> \documentclass {minimal} >> \usepackage {AMSmath} >> \begin {document} >> >> \begin {align*} >> 4x+ 6y -2z &= -4\\ >> x -y +2z &= 9\\[-1.4 ex] >> \multispan 2 {\leaders \hrule \hfil}\\ >> 5x + 5y &= 5\\ >> x + y &= 1 >> \end {align*} >> >> \end {document} > > and tell me if it is close to meeting your needs ? > > Philip TAYLOR From SDittmar at eureca.de Tue Jan 6 17:26:16 2009 From: SDittmar at eureca.de (Susan Dittmar) Date: Tue, 6 Jan 2009 17:26:16 +0100 Subject: [texhax] (no subject) In-Reply-To: References: Message-ID: <20090106162616.GC29226@eureca.de> Just to let you know, I just sent pdfs to the OP. Susan Quoting Aadil Khan (aadil1975 at hotmail.com): > > Dear Technical Support Team:Could you kindly help me to convert latex files into pdf. I shall be very grateful to you if you could kindly help me to sort-out my problem or please let me know if there is any erry in the files.Waiting for your quick response.With best wishes,Aadil -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090106/ef1a499f/attachment.bin From s-canagaratna at onu.edu Tue Jan 6 21:21:47 2009 From: s-canagaratna at onu.edu (Sebastian Canagaratna) Date: Tue, 6 Jan 2009 15:21:47 -0500 Subject: [texhax] \hline in align environment Message-ID: <20090106202147.GA17301@localhost> Thank you for your suggestion. There are, in fact, only two columns, and I was using three. It is interesting that all solutions that have been suggested are not latex solutions, since \phantom, \multispan, \rlap etc are used in tex, but not usually in latex. The closest I could come toward a purely latex solution was this: \begin {align*} 4x+ 6y -2z &= -4\\ x -y +2z &= 9\\[-0.15in] \makebox[.8in]{\hrulefill}&\makebox[0.4in]{\hrulefill}\\ 5x + 5y &= 5\\ x + y &= 1 \end {align*} The disadvantage with this is that one has to experimentally determine the lengths. Sebastian Canagaratna Department of Chemistry and Biochemistry Ohio Northern University Ada, OH 45810 From rjf2 at CDC.GOV Tue Jan 6 21:34:25 2009 From: rjf2 at CDC.GOV (Fehd, Ronald J. (CDC/CCHIS/NCPHI)) Date: Tue, 6 Jan 2009 15:34:25 -0500 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <18786.37652.521083.206853@zaphod.ms25.net> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> Message-ID: <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> > -----Original Message----- > From: reinhard.kotucha at web.de [mailto:reinhard.kotucha at web.de] > Sent: Monday, January 05, 2009 6:09 PM > To: Fehd, Ronald J. (CDC/CCHIS/NCPHI) > Cc: texhax at tug.org > Subject: [texhax] book: Active Literature: Jan Tschichold and > New Typography > > Fehd, Ronald J. (CDC/CCHIS/NCPHI) writes: > > for the font history mavens: > > > > Jan Tschichold (1902-1974) is considered by many to be the most > > influential typographer of the twentieth century. > Hi Ronald, > many thanks for the hint. Obviously the bibliography provided by > en.wikipedia.org is incomplete. There is an interesting book not > mentioned there (though de.wikipedia.org mentions it): > > Jan Tschichold, Erfreuliche Drucksachen durch gute Typographie, > MaroVerlag, Augsburg 2001, ISBN 3-87512-413-8. > > It's a reprint of a book Tschichold published in 1960. I mention it > here because the reprint is still available in Germany. You can buy > it in book stores or online. This book is quite interesting because > though Tschichold favoured sans serif fonts a few decades earlier, he > radically combats them in this book. I would be interested to hear your commentary on his opinions against san serif. Since he worked in a time when typography was moving off the page, from books onto very large posters, I wonder what his issues were? Today, we lean toward toward san serif because it reads good/well on screen. Has that official opinion changed? > Microsoft isn't the answer. > Microsoft is the question, > and the answer is NO. I have always enjoyed this .sig and consider it one of my favorites Ron Fehd the {SAS} macro maven CDC Atlanta GA USA RJF2 at cdc dot gov If you want creative workers, give them enough time to play. -- John Cleese, comic actor (1939- ) From peter.ragosch at t-online.de Tue Jan 6 17:49:04 2009 From: peter.ragosch at t-online.de (Peter Ragosch) Date: Tue, 6 Jan 2009 17:49:04 +0100 Subject: [texhax] (no subject) In-Reply-To: References: Message-ID: <200901061749.04326.peter.ragosch@t-online.de> Am Tuesday 06 January 2009 13:02:52 schrieb Aadil Khan: > Dear Technical Support Team:Could you kindly help me to convert latex files > into pdf. I shall be very grateful to you if you could kindly help me to > sort-out my problem or please let me know if there is any erry in the > files.Waiting for your quick response.With best wishes,Aadil > _________________________________________________________________ > Show them the way! Add maps and directions to your party invites. > http://www.microsoft.com/windows/windowslive/events.aspx 1. change each \epsfig{file=J01.eps,height=2in} to \epsfig{file=J01,height=2in} 2. convert *.eps to *.pdf using to following command in bash user#> for i in *.eps; do epspdf ${i}; done where user#> is the prompt. 3. pdflatex OpenAM.1.tex the outputfile is OpenAM.1.pdf Hope this helps. -- Peter -------------- next part -------------- A non-text attachment was scrubbed... Name: Archiv.zip Type: application/x-zip Size: 555625 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090106/f418e357/attachment-0001.bin From nina.mazumdar at gmail.com Wed Jan 7 05:32:46 2009 From: nina.mazumdar at gmail.com (Nina Mazumdar) Date: Wed, 7 Jan 2009 10:02:46 +0530 Subject: [texhax] \hline in align environment In-Reply-To: <20090106202147.GA17301@localhost> References: <20090106202147.GA17301@localhost> Message-ID: <4c13b2c80901062032m6c88d450s9318a686a88ba834@mail.gmail.com> On Wed, Jan 7, 2009 at 1:51 AM, Sebastian Canagaratna wrote: > Thank you for your suggestion. There are, in fact, only two columns, and > I was using three. It is interesting that all solutions that have been > suggested are not latex solutions, since \phantom, \multispan, \rlap etc > are used in tex, but not usually in latex. The closest I could come > toward a purely latex solution was this: > > \begin {align*} > 4x+ 6y -2z &= -4\\ > x -y +2z &= 9\\[-0.15in] > \makebox[.8in]{\hrulefill}&\makebox[0.4in]{\hrulefill}\\ > 5x + 5y &= 5\\ > x + y &= 1 > \end {align*} > > The disadvantage with this is that one has to experimentally determine > the lengths. How about this? \begin {align*} 4x+ 6y -2z &= -4\\ x -y +2z &= 9\\[-1.4 ex] \cline{1-2} 5x + 5y &= 5\\ x + y &= 1 \end {align*} Happy TeXing and best regards -- Nina From johnp at palmyra.uklinux.net Wed Jan 7 11:03:55 2009 From: johnp at palmyra.uklinux.net (John Palmer) Date: Wed, 7 Jan 2009 10:03:55 +0000 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> Message-ID: <200901071003.55756.johnp@palmyra.uklinux.net> On Tuesday 06 January 2009 20:34:25 Fehd, Ronald J. (CDC/CCHIS/NCPHI) wrote: > Today, we lean toward toward san serif because it reads good/well > on screen. Has that official opinion changed? What office are you thinking of, if any ? If I may try to start a discussion on matters of taste, personally I deplore the recent flood of inelegantly used sans-serif, on the Web and elsewhere. Regards, John -- John Palmer Preston near Weymouth, Dorset, England e-mail: johnp at bcs.org.uk (plain text preferred) website: http://www.palmyra.uklinux.net/ From P.Taylor at Rhul.Ac.Uk Wed Jan 7 11:34:31 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Wed, 07 Jan 2009 10:34:31 +0000 Subject: [texhax] \hline in align environment In-Reply-To: <4c13b2c80901062032m6c88d450s9318a686a88ba834@mail.gmail.com> References: <20090106202147.GA17301@localhost> <4c13b2c80901062032m6c88d450s9318a686a88ba834@mail.gmail.com> Message-ID: <49648537.5090409@Rhul.Ac.Uk> Nina Mazumdar wrote: > How about this? > > \begin {align*} > 4x+ 6y -2z &= -4\\ > x -y +2z &= 9\\[-1.4 ex] > \cline{1-2} > 5x + 5y &= 5\\ > x + y &= 1 > \end {align*} I see no line where the \cline contruct occurs; do you see one, Nina ? ** Phil. From P.Taylor at Rhul.Ac.Uk Wed Jan 7 12:59:57 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Wed, 07 Jan 2009 11:59:57 +0000 Subject: [texhax] \hline in align environment In-Reply-To: <4c13b2c80901070322p4480902cy6678f24a814865ed@mail.gmail.com> References: <20090106202147.GA17301@localhost> <4c13b2c80901062032m6c88d450s9318a686a88ba834@mail.gmail.com> <49648537.5090409@Rhul.Ac.Uk> <4c13b2c80901070322p4480902cy6678f24a814865ed@mail.gmail.com> Message-ID: <4964993D.7050701@Rhul.Ac.Uk> Very interesting : it works with your "AMSart" class [1], but not with \documentclass{minimal} \usepackage {AMSmath} ** Phil. [1] \documentclass{amsart} -------- Nina Mazumdar wrote: >> I see no line where the \cline contruct occurs; >> do you see one, Nina ? > > Yes Sir, I do. Please take a look at the attached files. > > Best regards From Herbert.Voss at FU-Berlin.DE Wed Jan 7 13:16:49 2009 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Wed, 07 Jan 2009 13:16:49 +0100 Subject: [texhax] \hline in align environment In-Reply-To: <4964993D.7050701@Rhul.Ac.Uk> References: <20090106202147.GA17301@localhost> <4c13b2c80901062032m6c88d450s9318a686a88ba834@mail.gmail.com> <49648537.5090409@Rhul.Ac.Uk> <4c13b2c80901070322p4480902cy6678f24a814865ed@mail.gmail.com> <4964993D.7050701@Rhul.Ac.Uk> Message-ID: <49649D31.8060406@FU-Berlin.DE> Philip TAYLOR (Ret'd) schrieb: > Very interesting : it works with your "AMSart" class [1], > but not with > > \documentclass{minimal} > \usepackage {AMSmath} \documentclass{article} \usepackage{amsmath} works Herbert From morten.hoegholm at gmail.com Wed Jan 7 13:25:40 2009 From: morten.hoegholm at gmail.com (=?ISO-8859-1?Q?Morten_H=F8gholm?=) Date: Wed, 7 Jan 2009 13:25:40 +0100 Subject: [texhax] \hline in align environment In-Reply-To: <49649D31.8060406@FU-Berlin.DE> References: <20090106202147.GA17301@localhost> <4c13b2c80901062032m6c88d450s9318a686a88ba834@mail.gmail.com> <49648537.5090409@Rhul.Ac.Uk> <4c13b2c80901070322p4480902cy6678f24a814865ed@mail.gmail.com> <4964993D.7050701@Rhul.Ac.Uk> <49649D31.8060406@FU-Berlin.DE> Message-ID: <859ec5630901070425q4ce78b8ejf6c139a35eec0bf@mail.gmail.com> On Wed, Jan 7, 2009 at 1:16 PM, Herbert Voss wrote: > Philip TAYLOR (Ret'd) schrieb: >> Very interesting : it works with your "AMSart" class [1], >> but not with >> >> \documentclass{minimal} >> \usepackage {AMSmath} > > \documentclass{article} > \usepackage{amsmath} > > works because minimal.cls is truly minimal. article.cls sets \arrayrulewidth = 0.4pt. The line just has zero height in minimal.cls. -- Morten From eduardo at kalinowski.com.br Wed Jan 7 13:44:37 2009 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Wed, 07 Jan 2009 10:44:37 -0200 Subject: [texhax] Using textcomp symbol with New Century Schoolbook In-Reply-To: <4960FF66.3010403@kalinowski.com.br> References: <4960FF66.3010403@kalinowski.com.br> Message-ID: <4964A3B5.8000505@kalinowski.com.br> Eduardo M KALINOWSKI escreveu: > The document uses the New Century Schoolbook font. In one or two > places, however, I need the \textcurrency symbol which is made available > through the textcomp package. But I get an error, like the following > example shows: > > \documentclass{article} > \usepackage{newcent} > \usepackage{textcomp} > \begin{document} > \textcurrency > \end{document} > > What I get is > > ! Package textcomp Error: Symbol \textcurrency not provided by > (textcomp) font family pnc in TS1 encoding. > (textcomp) Default family used instead. > > See the textcomp package documentation for explanation. > Type H for immediate help. > ... > > l.8 \textcurrency > > I understand the symbol is not available and the symbol from the default > font is used. I'm OK with that, the symbol does appear and looks good > enough. But is there a way to get rid of the error I've found the solution: loading the textcomp package with the force and almostfull options solves the problem: \usepackage[force,almostfull]{textcomp} -- Eduardo M Kalinowski eduardo at kalinowski.com.br From daleif at imf.au.dk Wed Jan 7 13:44:46 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 07 Jan 2009 13:44:46 +0100 Subject: [texhax] \hline in align environment In-Reply-To: <49648537.5090409@Rhul.Ac.Uk> References: <20090106202147.GA17301@localhost> <4c13b2c80901062032m6c88d450s9318a686a88ba834@mail.gmail.com> <49648537.5090409@Rhul.Ac.Uk> Message-ID: <4964A3BE.7020000@imf.au.dk> Philip TAYLOR (Ret'd) wrote: > > Nina Mazumdar wrote: > >> How about this? >> >> \begin {align*} >> 4x+ 6y -2z &= -4\\ >> x -y +2z &= 9\\[-1.4 ex] >> \cline{1-2} >> 5x + 5y &= 5\\ >> x + y &= 1 >> \end {align*} > > I see no line where the \cline contruct occurs; > do you see one, Nina ? > > ** Phil. > _______________________________________________ > 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 works fine for me \documentclass[a4paper]{memoir} \usepackage{amsmath} \begin{document} \begin {align*} 4x+ 6y -2z &= -4\\ x -y +2z &= 9\\[-1.4 ex] \cline{1-2} 5x + 5y &= 5\\ x + y &= 1 \end {align*} \end{document} -- /daleif From martin at oneiros.de Wed Jan 7 14:58:15 2009 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Wed, 7 Jan 2009 14:58:15 +0100 Subject: [texhax] (no subject) In-Reply-To: <200901061749.04326.peter.ragosch@t-online.de> References: <200901061749.04326.peter.ragosch@t-online.de> Message-ID: <68c491a60901070558r2519a917q6157870bd9016cae@mail.gmail.com> 2009/1/6 Peter Ragosch : > 1. change each \epsfig{file=J01.eps,height=2in} to > \epsfig{file=J01,height=2in} Make that \includegraphics[height=2in]{J01} epsfig ist obsolete. Best Martin From peter.ragosch at t-online.de Wed Jan 7 15:26:07 2009 From: peter.ragosch at t-online.de (Peter Ragosch) Date: Wed, 7 Jan 2009 15:26:07 +0100 Subject: [texhax] (no subject) In-Reply-To: <68c491a60901070558r2519a917q6157870bd9016cae@mail.gmail.com> References: <200901061749.04326.peter.ragosch@t-online.de> <68c491a60901070558r2519a917q6157870bd9016cae@mail.gmail.com> Message-ID: <200901071526.07267.peter.ragosch@t-online.de> Am Wednesday 07 January 2009 14:58:15 schrieb Martin Schr?der: > 2009/1/6 Peter Ragosch : > > 1. change each \epsfig{file=J01.eps,height=2in} to > > \epsfig{file=J01,height=2in} > > Make that > \includegraphics[height=2in]{J01} > > epsfig ist obsolete. > > Best > Martin Well, that's right. But my intention was to change the given source as less as possible. Peter From pierre.mackay at comcast.net Wed Jan 7 18:00:30 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Wed, 07 Jan 2009 09:00:30 -0800 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <200901071003.55756.johnp@palmyra.uklinux.net> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> <200901071003.55756.johnp@palmyra.uklinux.net> Message-ID: <4964DFAE.4080607@comcast.net> John Palmer wrote: >On Tuesday 06 January 2009 20:34:25 Fehd, Ronald J. (CDC/CCHIS/NCPHI) wrote: > > >>Today, we lean toward toward san serif because it reads good/well >>on screen. Has that official opinion changed? >> >> > >What office are you thinking of, if any ? If I may try to start a discussion >on matters of taste, personally I deplore the recent flood of inelegantly >used sans-serif, on the Web and elsewhere. >Regards, John > > > Hear, Hear! It might be noted that Tschichold moved away, in later life, from his passion for sans-serif and "came to the extraordinary conclusion that the `new typograpny', in ist insistence on certain styles of type and design, was inherently Fascist." (Sebastian Carter, Twentueth Century Type Designers, New York, 1987, p. 127.) His final achievement, "his one significant typeface", (ibid.) was Sabon. With modern screen resolutions, a decently restrained seriffed typeface will surpass any sans-serif for instant readability. Bodoni-like extremes don't work, but perhaps they never did. Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090107/846ec08b/attachment.html From pierre.mackay at comcast.net Wed Jan 7 18:10:06 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Wed, 07 Jan 2009 09:10:06 -0800 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <200901071003.55756.johnp@palmyra.uklinux.net> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> <200901071003.55756.johnp@palmyra.uklinux.net> Message-ID: <4964E1EE.80207@comcast.net> John Palmer wrote: >On Tuesday 06 January 2009 20:34:25 Fehd, Ronald J. (CDC/CCHIS/NCPHI) wrote: > > >>Today, we lean toward toward san serif because it reads good/well >>on screen. Has that official opinion changed? >> >> > >What office are you thinking of, if any ? If I may try to start a discussion >on matters of taste, personally I deplore the recent flood of inelegantly >used sans-serif, on the Web and elsewhere. >Regards, John > > > I might add that the English translation of /Typographische Gestaltung,/ by Ruari McLean, was set, with Tschichold's approval, in Bembo! Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090107/105c0c63/attachment.html From swami at math.mun.ca Wed Jan 7 18:28:52 2009 From: swami at math.mun.ca (swami at math.mun.ca) Date: Wed, 7 Jan 2009 13:58:52 -0330 (NST) Subject: [texhax] Landscape mode in Omega /Lambda with lscape package Message-ID: <1116.134.153.209.97.1231349332.squirrel@www.math.mun.ca> Loadng the package "lscape", with \usepackage{lscape}, and typing \begin{landscape} some text in Unicode \end{landscape} does not place the text in landscape mode in that page. Only the page and the page numbering get placed in landsacape and the actual Text is still in portrait mode. I guess this has something to do with'"odvips", since the same problem occurs with an ordinary English text via the route lambda --> odvips --> ps2pdf. Do I have to use any flag with the "odvips" command to force landscape mode? Any help in placing text in landscape mode for processing with Omega/Lambda/Alpha will be appreciated. From P.Taylor at Rhul.Ac.Uk Wed Jan 7 18:55:07 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Wed, 07 Jan 2009 17:55:07 +0000 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <4964DFAE.4080607@comcast.net> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> <200901071003.55756.johnp@palmyra.uklinux.net> <4964DFAE.4080607@comcast.net> Message-ID: <4964EC7B.3040509@Rhul.Ac.Uk> It is unthinkable that I should have the temerity to disagree with Pierre, but I do think that the statement > With modern screen resolutions, a decently restrained seriffed typeface > will surpass any sans-serif for instant readability. is a subjective one, and therefore needs to be enclosed in tags :-) ** Phil. From pierre.mackay at comcast.net Thu Jan 8 02:18:09 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Wed, 07 Jan 2009 17:18:09 -0800 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <4964EC7B.3040509@Rhul.Ac.Uk> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> <200901071003.55756.johnp@palmyra.uklinux.net> <4964DFAE.4080607@comcast.net> <4964EC7B.3040509@Rhul.Ac.Uk> Message-ID: <49655451.3050002@comcast.net> Philip TAYLOR (Ret'd) wrote: >It is unthinkable that I should have the temerity to >disagree with Pierre, but I do think that the statement > > Gosh! > > >>With modern screen resolutions, a decently restrained seriffed typeface >>will surpass any sans-serif for instant readability. >> >> > >is a subjective one, and therefore needs to be enclosed >in tags :-) > > > That may not be entirely true. In the 1970s--80s, Bob Morris of the University of Massachussetts did some studies of the innate filters that seem to favor certain patterns of linewidths and spacings at the early-vision level of sight, before interpretation begins (Chuck Bigelow illustrated the same phenomenon at the Stanford "farewell to lead type" conference in Stanford). Morris's reliably quantifiable conclusions were associated with the widths of stems and interletter spacing, together with questions such as word length in various languages and interline leading, but he did mention that there seemed to be also an early-vision advantage to seriffed as opposed to sans-serif faces. It was large enough to be noticeable, though not on the same level as the phenomena he was studying directly. A font in which | (one), | (lower-case l) and | (uppercase I) are basically indistinguishable unless you adopt the truly ugly forward hook on the lower-case l is hard to characterize as preferentially readable. I have been trapped by the similarity more than once, and have, on a very few occasions, had to resort to loading the offending text into OpenOffice and choosing a seriffed font. I don't think that is solely because I am seeing with 75-year-old eyes. I recently had to make much use of Syntax on a great number of illustrations for the University of California publication of Coarelli, /Rome/, and I came to appreciate the clean lines of this distant cousin of Optima when it is set against a background of random hairlines going every which way. Syntax and Gill Sans are both triumphs of disciplined design, but would you really want to read even one volume of Gibbon in either? (I am of course assuming that reading a volume of Gibbon is a desirable activity , and that may not be entirely true). Pierre MacKay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090107/78b507c1/attachment.html From reinhard.kotucha at web.de Thu Jan 8 02:43:15 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 8 Jan 2009 02:43:15 +0100 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> Message-ID: <18789.23091.12718.538243@zaphod.ms25.net> Fehd, Ronald J. (CDC/CCHIS/NCPHI) writes: > From: reinhard.kotucha at web.de [mailto:reinhard.kotucha at web.de] >> Jan Tschichold, Erfreuliche Drucksachen durch gute Typographie, >> MaroVerlag, Augsburg 2001, ISBN 3-87512-413-8. >> >> It's a reprint of a book Tschichold published in 1960. I mention it >> here because the reprint is still available in Germany. You can buy >> it in book stores or online. This book is quite interesting because >> though Tschichold favoured sans serif fonts a few decades earlier, he >> radically combats them in this book. > > I would be interested to hear your commentary on his opinions > against san serif. He mentions the beauty and perfectness of classical (serif) typefaces. He also designed Sabon, as mentioned by Pierre already, which is based on Claude Garamand's impressive work. I think that he had been interested in the new typefaces bacause they had been quite promising. At this time (the Bauhaus period) there was a tendency to simplify things. He obviously recognized later that simplifying typefaces doesn't improve legibility. > Since he worked in a time when typography was moving > off the page, from books onto very large posters, > I wonder what his issues were? A typeface can either be an artwork, an object of utility, or both. Classical typefaces are definitely both. Many of the typefaces designed at this time qualify as artwork, but they are unusable for typesetting books. However, since the purpose of a poster is to attract attention, these fonts are quite useful there, even if they are quite crazy and illegible. > Today, we lean toward toward san serif because it reads good/well > on screen. Has that official opinion changed? Actually, most people think that sans serif fonts are more legible on screen because they are simpler. But why? What is the difference between stuff printed on paper and stuff printed to screen? Why are serifs useful in books but not on screen? If the only concern is that resolutions are different, avoid Computer Modern. CM fonts had not been designed with low-resolution output devices in mind. But there are beautiful fonts available, carefully designed for low-resolution displays. The best example I'm aware of is: http://www.tug.org/store/lucida See also: http://www.tug.org/store/lucida/designnotes.html 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 will.adams at frycomm.com Thu Jan 8 13:33:52 2009 From: will.adams at frycomm.com (William Adams) Date: Thu, 8 Jan 2009 07:33:52 -0500 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <18789.23091.12718.538243@zaphod.ms25.net> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> <18789.23091.12718.538243@zaphod.ms25.net> Message-ID: <5039628A-CE11-4182-92DB-0C8CAAF1A2D3@frycomm.com> On Jan 7, 2009, at 8:43 PM, Reinhard Kotucha wrote: > The best example I'm aware of is: > > http://www.tug.org/store/lucida > > See also: > > http://www.tug.org/store/lucida/designnotes.html A minor warning. Bad link on the latter page, should be: http://mysite.verizon.net/william_franklin_adams/lucida.txt (AOL took away their FTP service, so all my pages had to move) William -- William Adams senior graphic designer Fry Communications From P.Taylor at Rhul.Ac.Uk Thu Jan 8 14:40:27 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Thu, 08 Jan 2009 13:40:27 +0000 Subject: [texhax] book: Active Literature: Jan Tschichold and New Typography In-Reply-To: <49655451.3050002@comcast.net> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> <200901071003.55756.johnp@palmyra.uklinux.net> <4964DFAE.4080607@comcast.net> <4964EC7B.3040509@Rhul.Ac.Uk> <49655451.3050002@comcast.net> Message-ID: <4966024B.70104@Rhul.Ac.Uk> Pierre MacKay wrote: [long snip > [W]ould you really want to read even one volume of Gibbon in > either? (I am of course assuming that > reading a volume of Gibbon is a desirable activity , and that > may not be entirely true). Well, your original assertion was > With modern screen resolutions, a decently restrained seriffed typeface > will surpass any sans-serif for instant readability. and so I was assuming the computer screen as the universe of discourse. That being the case, I would not want to read anything like one volume of Gibbons on-screen, in any font whatsoever. If, on the other hand, you want to broaden the Univ. to "any medium", then I would undoubtedly prefer to read long runs of text /on paper/ in "a decently restrained serif typeface" rather than attempt the same in a sans-serif font, but I didn't think that was the point under discussion. ** Phil. From deindl at soziologie.uzh.ch Thu Jan 8 20:17:57 2009 From: deindl at soziologie.uzh.ch (Christian Deindl) Date: Thu, 08 Jan 2009 20:17:57 +0100 Subject: [texhax] changing chapter In-Reply-To: <18789.23091.12718.538243@zaphod.ms25.net> References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> <18789.23091.12718.538243@zaphod.ms25.net> Message-ID: dear list, I'm about to finish a report and I want to change the positon of the chapter-headlines. the default is a large gap between the page and the headline while I want the headline to start without this gap. It shouldn't be that complicated but I couldn't find anything useful by a google-search. secondly I want to suppress a pagenumer on the first page of each chapter. any advice would be great, christian From earodrig at comcast.net Thu Jan 8 17:20:16 2009 From: earodrig at comcast.net (earodrig at comcast.net) Date: Thu, 08 Jan 2009 16:20:16 +0000 Subject: [texhax] Server labrea.stanford.edu Message-ID: <010820091620.6467.496627C00001DFD600001943220588601409079D0B019D0E0A@comcast.net> Dear All, I used to get few updates to TeX/LaTeX by ftping to the server labrea.stanford.edu. I am trying to access labrea.stanford.edu nowadays and I get messages that such host is unknown. Do you know to where the contents of labrea.stanford.edu moved to or would know who could provide me such information? Thank you, Eduardo A. Rodrigues -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090108/cbd47d79/attachment.html From deindl at soziologie.uzh.ch Fri Jan 9 14:35:00 2009 From: deindl at soziologie.uzh.ch (Christian Deindl) Date: Fri, 09 Jan 2009 14:35:00 +0100 Subject: [texhax] changing chapter (+ code) In-Reply-To: References: <482249F865060740AE33815802042D2F02C46FCD@LTA3VS012.ees.hhs.gov> <18786.37652.521083.206853@zaphod.ms25.net> <482249F865060740AE33815802042D2F02C47025@LTA3VS012.ees.hhs.gov> <18789.23091.12718.538243@zaphod.ms25.net> Message-ID: I've got an off-list remark to give more information. below you'll find the example I'm currently using. I'm about to finish a report and I want to change the positon of the chapter-headlines. the default is a large gap between the page and the headline while I want the headline to start without this gap. It shouldn't be that complicated but I couldn't find anything useful by a google-search. secondly I want to suppress a pagenumer on the first page of each chapter. any advice would be great, christian %%%%%%%%%%%%%%%%%%%%%%%%%%%%% %example \documentclass[a4paper,12pt]{report} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[ansinew]{inputenc} \usepackage[marginal]{footmisc} \usepackage{longtable} \usepackage{graphicx} \usepackage{float} \usepackage{apager} \usepackage{subfigure} \usepackage{url} \usepackage{setspace} \usepackage{chngcntr} \usepackage{lmodern} \usepackage{lscape} \usepackage[hang,bf]{caption} \usepackage{eurosym} \usepackage{dcolumn} \usepackage{rotating} \usepackage{fancyhdr} \pagestyle{fancy} \clubpenalty = 10000 \widowpenalty = 10000 \displaywidowpenalty = 10000 \setlength{\belowcaptionskip}{2pt} \counterwithout{footnote}{chapter} \begin{document} \pagenumbering{roman} \tableofcontents \listoftables \addcontentsline{toc}{chapter}{Tabellenverzeichnis} \listoffigures \addcontentsline{toc}{chapter}{Abbildungsverzeichnis} \clearpage \onehalfspacing \pagenumbering{arabic} \fancyhf{} \fancyhead[L]{Chapter} \fancyhead[R]{\thepage} \renewcommand{\headrulewidth}{0.4pt} \chapter{Name} text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text \end{document} From uwe.lueck at web.de Sat Jan 10 02:01:42 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Sat, 10 Jan 2009 02:01:42 +0100 Subject: [texhax] changing chapter (+ code) Message-ID: <1056738454@web.de> "Christian Deindl" schrieb am 09.01.2009 14:37:59: > I'm about to finish a report and I want to change the positon of the > chapter-headlines. the default is a large gap between the page and the > headline while I want the headline to start without this gap. [snip] > secondly I want to suppress a pagenumer on the first page of each chapter. Copy this into your preamble and play with `50': \makeatletter \renewcommand\chapter{\if at openright\cleardoublepage\else\clearpage\fi \thispagestyle{empty}% WAS plain \global\@topnum\z@ \@afterindentfalse \secdef\@chapter\@schapter} \def\@makechapterhead#1{% \vspace*{50\p@}% PLAY WITH THE NUMBER {\parindent \z@ \raggedright \normalfont \ifnum \c at secnumdepth >\m at ne \huge\bfseries \@chapapp\space \thechapter \par\nobreak \vskip 20\p@ \fi \interlinepenalty\@M \Huge \bfseries #1\par\nobreak \vskip 40\p@ }} \makeatother HTH -- Uwe. From deindl at soziologie.uzh.ch Sat Jan 10 17:43:59 2009 From: deindl at soziologie.uzh.ch (Christian Deindl) Date: Sat, 10 Jan 2009 17:43:59 +0100 Subject: [texhax] changing chapter (+ code) In-Reply-To: <1056738454@web.de> References: <1056738454@web.de> Message-ID: dear uwe, thanks a lot for your help. it works fine! I've a small follow up question: the changes don't affect the table of contents, etc. is there a way to change them as well? thanks in advance, christian On Sat, 10 Jan 2009 02:01:42 +0100 Uwe Lueck wrote: > "Christian Deindl" schrieb am 09.01.2009 >14:37:59: >> I'm about to finish a report and I want to change the positon of the >> chapter-headlines. the default is a large gap between the page and the >> headline while I want the headline to start without this gap. > [snip] >> secondly I want to suppress a pagenumer on the first page of each chapter. > > Copy this into your preamble and play with `50': > > \makeatletter > \renewcommand\chapter{\if at openright\cleardoublepage\else\clearpage\fi > \thispagestyle{empty}% WAS plain > \global\@topnum\z@ > \@afterindentfalse > \secdef\@chapter\@schapter} > \def\@makechapterhead#1{% > \vspace*{50\p@}% PLAY WITH THE NUMBER > {\parindent \z@ \raggedright \normalfont > \ifnum \c at secnumdepth >\m at ne > \huge\bfseries \@chapapp\space \thechapter > \par\nobreak > \vskip 20\p@ > \fi > \interlinepenalty\@M > \Huge \bfseries #1\par\nobreak > \vskip 40\p@ > }} > \makeatother > > HTH -- Uwe. From uwe.lueck at web.de Sat Jan 10 22:30:12 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Sat, 10 Jan 2009 22:30:12 +0100 Subject: [texhax] changing chapter (+ code) Message-ID: <1057064635@web.de> "Christian Deindl" schrieb am 10.01.2009 17:44:09: > > I've a small follow up question: the changes don't affect the table of > contents, etc. > is there a way to change them as well? Yes, it is, definitely! Uwe. P.S.: Do you have certain changes in mind? From reinhard.kotucha at web.de Sun Jan 11 02:11:11 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 11 Jan 2009 02:11:11 +0100 Subject: [texhax] changing chapter (+ code) In-Reply-To: <1056738454@web.de> References: <1056738454@web.de> Message-ID: <18793.18223.272451.551762@zaphod.ms25.net> Uwe Lueck writes: > "Christian Deindl" schrieb am 09.01.2009 14:37:59: > > I'm about to finish a report and I want to change the positon of the > > chapter-headlines. the default is a large gap between the page and the > > headline while I want the headline to start without this gap. > [snip] > > secondly I want to suppress a pagenumer on the first page of each chapter. > > Copy this into your preamble and play with `50': > [...] Hi Uwe, isn't there a macro package available which allows you to determine how chapter headings are typeset? At our local TeX meeting someone had a very similar problem recently. Hence I think it's an FAQ. I'm not familiar with all the LaTeX macro packages available, but I'm using TeX for almost two decades now and it's no problem for me to re-define the chapter code. I solved the problem exactly the same way you solved Christian's problem. However, I hope that a macro package is available which allows people to determine the layout of chapter headings conveniently and we simply missed it. If such a thing doesn't exist already, isn't a LaTeX guru out there who has the skill necessary to provide such a package? Changing the layout of chapter headings is not trivial, but it's definitely an FAQ. I really hope that we are missing something. 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 thomasjacobs at gmail.com Sun Jan 11 03:59:01 2009 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Sat, 10 Jan 2009 20:59:01 -0600 Subject: [texhax] Troubleshooting undesired page numbering restart Message-ID: <8f1b7b690901101859y38b294fidfbb019915f441cc@mail.gmail.com> I am trying to understand why my page numbering restarts at page 1 in the middle of a section. Here is an excerpt from the calling tex file: \newpage \setlength{\baselineskip}{1.5\baselineskip} \input 1_introduction \vspace{0.25in} \input 2_literature \vspace{0.25in} \input 3_events \vspace{0.25in} \input 4_data_methodology \vspace{0.25in} where the restart occurs in the middle of input 3_events.tex right after a very long footnote: \textsc{Event 1:} The trouble and bailout of IKB Deutsche Industriebank (Friday, July 27, 2007 thru Friday, August 3, 2007.) In what would be the first bank to nearly fail and require government support, IKB, a small to medium size German commercial lender acknowledged large losses from subprime investments in both direct exposure and off balance sheet conduit funds it ran on Monday, July 30 only 10 days after claiming to have minimal exposure to U.S. Subprime assets during an earnings call. The size of the total exposure was nearly \euro 20 Billion and its support exceeded the capacity of its primary investor, publicly owned bank KfW requiring a rescue package of government, private and public banks. The transmission of this information to the market as reported in the financial press was noisy making for a difficult event window definition. As initially reported on July 31st, IKB would receive support from publicly owned bank KfW. Yet on August 2nd and August 3rd details on the mechanics of the rescue revealed a call placed on Friday, July 27th, by Josef Ackerman, the CEO of Deutsche Bank, to the primary regulator Jochen Sanio, who in turn contacted the Finance Minister, Peer Steinbruck, and in what would foreshadow numerous similar crises in the U.S. a weekend of meetings saw a rescue package composed for IKB that included support from the government, public and private banks in the sum of \euro 3.5 Billion. In confirmation of the delayed market response to the events, IKB's stock fell further on August 2nd (28\%) than it had on July 30th (19\%).% % \footnote{\citeasnoun{WSJ073107} note the 19\% decline in stock price on July 30th, the unquantified subprime exposure to an off-balance sheet vehicle called Rhineland Funding, the bailout by KfW, IKB's largest state-owned shareholder, and KfW's 80\% ownership stake by the German government. It also noted that just 10 days earlier IKB had played down its exposure during an earnings call. \citeasnoun{FT073107} reports KfW's stake in IKB at 38\% and quotes IKB as acknowledging that it's creditworthiness had been questioned at the end of the prior week and indicates neither IKB nor KfW would quantify IKB's exposure or loss to subprime markets. \citeasnoun{Blmbg080207} and \citeasnoun{FT080207} report on August 2nd that KfW had assumed \euro 8.1 Billion in obligations to IKB's Rhineland funding unit as announced on July 31st. Further, this was the first mention of government involvement orchestrated by the Finance Minister Peer Steinbrueck (also chairman of KfW's administrative board) the prior Sunday (July 29th) and the creation of a rescue fund of \euro 3.5 Billion composed of KfW (70\%), Private Banks Deutsche Bank and Commerzbank (15\%), and Public banks (15\%). \citeasnoun{FT080307} on August 3rd reported the involvement of Deutsche Bank's CEO Joseph Ackerman the prior Friday (July 27th) in alerting the government regarding IKB's funding difficulties and the large decline in IKB's stock price on August 2nd of 28\%. \citeasnoun{FT080907} reports on August 9th that IKB revealed on Tuesday (August 7th) that another group of banks is supplying \euro 6.5 Billion in liquidity lines to its Rhineland Funding vehicle besides the \euro 8.1 Billion provided by KfW. He also reports that IKB said it had \euro 7 Billion of its own assets (at the bank level) invested in credit portfolios the preceding March outside of its Rhineland Funding unit with 2/3 of that in US Assets. Including another off balance sheet unit, Rhinebridge Funding, that it would need to bring on balance sheet produced a direct exposure to US Assets of \euro 6.4 Billion excluding Rhineland's \euro 14 Billion in assets. \citeasnoun{WSJ081007} on August 10th provide details behind the funding problems experienced by IKB the week before its rescue. Its Rhineland funding unit which borrowed principally through commercial paper to support its \euro 14 Billion in assets found itself unable to roll over the positions and on Friday, July 27th turned to IKB to draw on a credit line. IKB, in turn, had a credit line with Deutsche bank which Deutsche refused to honor. It was at the end of this day that Deutsche's CEO contacted the German bank regulator which led to the weekend of negotiations. They also report the total decline in IKB's stock price over the two weeks of the crisis was 33\%}% % \textsc{Event 2:} The reduction in discount rate, the extension of term, and the unprecedented encouragement of discount window lending by the Federal Reserve (Friday, August 17th, 2007 thru Friday, August 24th, 2007.) On August 17th, the Fed narrowed the fixed spread between its target Federal Funds rate and the rate applied at the discount window (the primary credit rate) to 50bp NEW PAGE BEGINS HERE AND NUMBERING RESETS BACK TO PAGE 1: from 100bp leading to a discount window decline from 6.25\% to 5.75\%. In addition, the typical overnight term was extended to permit term financing of up to 30 days.% % \footnote{See \citeasnoun{BOARD081707} for press release.} % CAN ANYONE ADVISE ON HOW TO TROUBLESHOOT THIS OR FIX IT? AM I CORRECT IN EXAMINING WHERE THE NEW PAGE BEGINS OR DOES WHAT HAPPENS AT THE BOTTOM OF THE NEW PAGE MATTER MORE? Thanks, Tom -- Thomas Jacobs From thomasjacobs at gmail.com Sun Jan 11 04:05:13 2009 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Sat, 10 Jan 2009 21:05:13 -0600 Subject: [texhax] Correcting long reference running off the page Message-ID: <8f1b7b690901101905i721d28d1hafa418c9f3533ece@mail.gmail.com> Hi, I am trying to correct the following bibtex entry from running off the side of the page: @MISC{BOARD081707, AUTHOR = {{Board of Governors of Federal Reserve System}}, TITLE = {Press {R}elease}, HOWPUBLISHED={\url{http://www.federalreserve.gov/newsevents/press/monetary/20070817a.htm}}, YEAR = 2007, MONTH = {August 17,} } as it lists directly after another similar author entry, the author is simply "-" and it attempts to put the url on the same line and it runs off the side. Is there any way to instruct that the url appear on a new line or is this something handled by the style file? Thanks, Tom -- Thomas Jacobs From thomasjacobs at gmail.com Sun Jan 11 04:06:03 2009 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Sat, 10 Jan 2009 21:06:03 -0600 Subject: [texhax] Correcting long reference running off the page In-Reply-To: <8f1b7b690901101905i721d28d1hafa418c9f3533ece@mail.gmail.com> References: <8f1b7b690901101905i721d28d1hafa418c9f3533ece@mail.gmail.com> Message-ID: <8f1b7b690901101906t7b6e6886j7924957ee59b8119@mail.gmail.com> To be more clear, I mean off the side of the references page output. On Sat, Jan 10, 2009 at 9:05 PM, Thomas Jacobs wrote: > Hi, > > I am trying to correct the following bibtex entry from running off the > side of the page: > > @MISC{BOARD081707, > AUTHOR = {{Board of Governors of Federal Reserve System}}, > TITLE = {Press {R}elease}, > HOWPUBLISHED={\url{http://www.federalreserve.gov/newsevents/press/monetary/20070817a.htm}}, > YEAR = 2007, > MONTH = {August 17,} > } > > as it lists directly after another similar author entry, the author is > simply "-" and it attempts to put the url on the same line and it runs > off the side. Is there any way to instruct that the url appear on a > new line or is this something handled by the style file? > > Thanks, > > Tom > > -- > Thomas Jacobs > -- Thomas Jacobs From deindl at soziologie.uzh.ch Sun Jan 11 19:10:12 2009 From: deindl at soziologie.uzh.ch (Christian Deindl) Date: Sun, 11 Jan 2009 19:10:12 +0100 Subject: [texhax] changing chapter (+ code) In-Reply-To: <1057064635@web.de> References: <1057064635@web.de> Message-ID: dear uwe, I want to change the positon of the headline from the table of contents, the list of tables etc. in the same way as I change the chapter-headings. thanks, christian On Sat, 10 Jan 2009 22:30:12 +0100 Uwe Lueck wrote: > "Christian Deindl" schrieb am 10.01.2009 >17:44:09: >> >> I've a small follow up question: the changes don't affect the table of >> contents, etc. >> is there a way to change them as well? > > Yes, it is, definitely! > > Uwe. > > P.S.: Do you have certain changes in mind? > _______________________________________________ > 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 __________________ Christian Deindl Universit?t Z?rich Soziologisches Institut Andreasstr. 15 CH - 8050 Z?rich Tel: 044/635 23 46 From uwe.lueck at web.de Sun Jan 11 20:24:13 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Sun, 11 Jan 2009 20:24:13 +0100 Subject: [texhax] changing chapter (+ code) Message-ID: <1057428484@web.de> "Christian Deindl" schrieb am 11.01.2009 19:10:31: > I want to change the positon of the headline from the table of contents, the > list of tables etc. in the same way as I change the chapter-headings. "same way" does not apply, the TOC design does not reflect the design of the first page of a chapter. You can \renewcommand*\l at chapter[2]{% \ifnum \c at tocdepth >\m at ne \addpenalty{-\@highpenalty}% \vskip 1.0em \@plus\p@ % PLAY WITH THIS \setlength\@tempdima{1.5em}% \begingroup \parindent \z@ \rightskip \@pnumwidth \parfillskip -\@pnumwidth \leavevmode \bfseries \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil \nobreak\hb at xt@\@pnumwidth{\hss #2}\par \penalty\@highpenalty \endgroup \fi} in order to change the TOC design of chapter entries. Uwe. From uwe.lueck at web.de Sun Jan 11 20:33:37 2009 From: uwe.lueck at web.de (Uwe Lueck) Date: Sun, 11 Jan 2009 20:33:37 +0100 Subject: [texhax] changing chapter (+ code) Message-ID: <1057430839@web.de> Reinhard Kotucha schrieb am 11.01.2009 02:11:20: > Uwe Lueck writes: > > "Christian Deindl" schrieb am 09.01.2009 14:37:59: > > > I'm about to finish a report and I want to change the positon of the > > > chapter-headlines. the default is a large gap between the page and the > > > headline while I want the headline to start without this gap. > > [snip] > > > secondly I want to suppress a pagenumer on the first page of each chapter. > > > > Copy this into your preamble and play with `50': > > [...] > > Hi Uwe, > isn't there a macro package available which allows you to determine > how chapter headings are typeset? At our local TeX meeting someone > had a very similar problem recently. Hence I think it's an FAQ. I'm > not familiar with all the LaTeX macro packages available, but I'm > using TeX for almost two decades now and it's no problem for me to > re-define the chapter code. I solved the problem exactly the same way > you solved Christian's problem. > > However, I hope that a macro package is available which allows people > to determine the layout of chapter headings conveniently and we simply > missed it. If such a thing doesn't exist already, isn't a LaTeX guru > out there who has the skill necessary to provide such a package? > > Changing the layout of chapter headings is not trivial, but it's > definitely an FAQ. > > I really hope that we are missing something. I have referred to memoir.cls and nccsect.sty for similar purposes, but I don't know by heart what they offer for chapters. (You know, \@startsection is used for sections only ...) For that specific posting, I could not imagine a less costing answer than referring directly to the standard code. For more general things about chapters, I once payed much "Lehrgeld" ... Cheers, Uwe. From daleif at imf.au.dk Sun Jan 11 21:07:28 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sun, 11 Jan 2009 21:07:28 +0100 Subject: [texhax] changing chapter (+ code) In-Reply-To: References: <1057064635@web.de> Message-ID: <496A5180.8010006@imf.au.dk> Christian Deindl wrote: > dear uwe, > > I want to change the positon of the headline from the table of contents, the > list of tables etc. in the same way as I change the chapter-headings. > > thanks, > > christian > You need to be a bit more specific in your choice of words. I think you refer to the titles given to \tableofcontents etc., i.e. the functionality typesetting \contentsname You need to redefine \chapter* as well as \chapter, the unnumbered titles usually is typeset using the inner workings of \chapter* This would be easy if you were using the memoir class or (I assume KOMA). I would also assume titlesec or sectsty can do this as well. -- /daleif From karl at freefriends.org Sun Jan 11 22:19:18 2009 From: karl at freefriends.org (Karl Berry) Date: Sun, 11 Jan 2009 15:19:18 -0600 Subject: [texhax] Correcting long reference running off the page In-Reply-To: <8f1b7b690901101905i721d28d1hafa418c9f3533ece@mail.gmail.com> Message-ID: <200901112119.n0BLJIX02060@f7.net> Hi Thomas, @MISC{BOARD081707, AUTHOR = {{Board of Governors of Federal Reserve System}}, TITLE = {Press {R}elease}, HOWPUBLISHED={\url{http://www.federalreserve.gov/newsevents/press/monetary/20070817a.htm}}, YEAR = 2007, MONTH = {August 17,} } as it lists directly after another similar author entry, the author is simply "-" I don't understand that part. Perhaps it's somehow related to your double braces in the AUTHOR field. and it attempts to put the url on the same line and it runs off the side. Is there any way to instruct that the url appear on a new line or is this something handled by the style file? You can insert a (La)TeX command in the field to force a line break before, as in: HOWPUBLISHED={\newline\url{http://www.federalreserve.gov/newsevents/press/monetary/20070817a.htm}}, Best, karl From thomasjacobs at gmail.com Sun Jan 11 23:27:05 2009 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Sun, 11 Jan 2009 16:27:05 -0600 Subject: [texhax] Troubleshooting undesired page numbering restart In-Reply-To: <8f1b7b690901101859y38b294fidfbb019915f441cc@mail.gmail.com> References: <8f1b7b690901101859y38b294fidfbb019915f441cc@mail.gmail.com> Message-ID: <8f1b7b690901111427o10dc18cdg73c2762378fee606@mail.gmail.com> Please disregard this question. I finally found a set counter line in an ensuing section. On Sat, Jan 10, 2009 at 8:59 PM, Thomas Jacobs wrote: > I am trying to understand why my page numbering restarts at page 1 in > the middle of a section. Here is an excerpt from the calling tex > file: > > \newpage > \setlength{\baselineskip}{1.5\baselineskip} > \input 1_introduction > \vspace{0.25in} > \input 2_literature > \vspace{0.25in} > \input 3_events > \vspace{0.25in} > \input 4_data_methodology > \vspace{0.25in} > > where the restart occurs in the middle of input 3_events.tex right > after a very long footnote: > > \textsc{Event 1:} The trouble and bailout of IKB Deutsche > Industriebank (Friday, July 27, 2007 thru Friday, August 3, 2007.) In > what would be the first bank to nearly fail and require government > support, IKB, a small to medium size German commercial lender > acknowledged large losses from subprime investments in both direct > exposure and off balance sheet conduit funds it ran on Monday, July 30 > only 10 days after claiming to have minimal exposure to U.S. Subprime > assets during an earnings call. The size of the total exposure was > nearly \euro 20 Billion and its support exceeded the capacity of its > primary investor, publicly owned bank KfW requiring a rescue package > of government, private and public banks. The transmission of this > information to the market as reported in the financial press was noisy > making for a difficult event window definition. As initially reported > on July 31st, IKB would receive support from publicly owned bank KfW. > Yet on August 2nd and August 3rd details on the mechanics of the > rescue revealed a call placed on Friday, July 27th, by Josef Ackerman, > the CEO of Deutsche Bank, to the primary regulator Jochen Sanio, who > in turn contacted the Finance Minister, Peer Steinbruck, and in what > would foreshadow numerous similar crises in the U.S. a weekend of > meetings saw a rescue package composed for IKB that included support > from the government, public and private banks in the sum of \euro 3.5 > Billion. In confirmation of the delayed market response to the > events, IKB's stock fell further on August 2nd (28\%) than it had on > July 30th (19\%).% > % > \footnote{\citeasnoun{WSJ073107} note the 19\% decline in stock price > on July 30th, the unquantified subprime exposure to an off-balance > sheet vehicle called Rhineland Funding, the bailout by KfW, IKB's > largest state-owned shareholder, and KfW's 80\% ownership stake by the > German government. It also noted that just 10 days earlier IKB had > played down its exposure during an earnings call. > \citeasnoun{FT073107} reports KfW's stake in IKB at 38\% and quotes > IKB as acknowledging that it's creditworthiness had been questioned at > the end of the prior week and indicates neither IKB nor KfW would > quantify IKB's exposure or loss to subprime markets. > \citeasnoun{Blmbg080207} and \citeasnoun{FT080207} report on August > 2nd that KfW had assumed \euro 8.1 Billion in obligations to IKB's > Rhineland funding unit as announced on July 31st. Further, this was > the first mention of government involvement orchestrated by the > Finance Minister Peer Steinbrueck (also chairman of KfW's > administrative board) the prior Sunday (July 29th) and the creation of > a rescue fund of \euro 3.5 Billion composed of KfW (70\%), Private > Banks Deutsche Bank and Commerzbank (15\%), and Public banks (15\%). > \citeasnoun{FT080307} on August 3rd reported the involvement of > Deutsche Bank's CEO Joseph Ackerman the prior Friday (July 27th) in > alerting the government regarding IKB's funding difficulties and the > large decline in IKB's stock price on August 2nd of 28\%. > \citeasnoun{FT080907} reports on August 9th that IKB revealed on > Tuesday (August 7th) that another group of banks is supplying \euro > 6.5 Billion in liquidity lines to its Rhineland Funding vehicle > besides the \euro 8.1 Billion provided by KfW. He also reports that > IKB said it had \euro 7 Billion of its own assets (at the bank level) > invested in credit portfolios the preceding March outside of its > Rhineland Funding unit with 2/3 of that in US Assets. Including > another off balance sheet unit, Rhinebridge Funding, that it would > need to bring on balance sheet produced a direct exposure to US Assets > of \euro 6.4 Billion excluding Rhineland's \euro 14 Billion in assets. > \citeasnoun{WSJ081007} on August 10th provide details behind the > funding problems experienced by IKB the week before its rescue. Its > Rhineland funding unit which borrowed principally through commercial > paper to support its \euro 14 Billion in assets found itself unable to > roll over the positions and on Friday, July 27th turned to IKB to draw > on a credit line. IKB, in turn, had a credit line with Deutsche bank > which Deutsche refused to honor. It was at the end of this day that > Deutsche's CEO contacted the German bank regulator which led to the > weekend of negotiations. They also report the total decline in IKB's > stock price over the two weeks of the crisis was 33\%}% > % > \textsc{Event 2:} The reduction in discount rate, the extension of > term, and the unprecedented encouragement of discount window lending > by the Federal Reserve (Friday, August 17th, 2007 thru Friday, August > 24th, 2007.) On August 17th, the Fed narrowed the fixed spread > between its target Federal Funds rate and the rate applied at the > discount window (the primary credit rate) to 50bp > > NEW PAGE BEGINS HERE AND NUMBERING RESETS BACK TO PAGE 1: > > from 100bp leading to a discount window decline from 6.25\% to 5.75\%. > In addition, the typical overnight term was extended to permit term > financing of up to 30 days.% > % > \footnote{See \citeasnoun{BOARD081707} for press release.} % > > CAN ANYONE ADVISE ON HOW TO TROUBLESHOOT THIS OR FIX IT? AM I CORRECT > IN EXAMINING WHERE THE NEW PAGE BEGINS OR DOES WHAT HAPPENS AT THE > BOTTOM OF THE NEW PAGE MATTER MORE? > > Thanks, > > Tom > > > -- > Thomas Jacobs > -- Thomas Jacobs -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090111/728e6f85/attachment-0001.html From thomasjacobs at gmail.com Sun Jan 11 23:33:06 2009 From: thomasjacobs at gmail.com (Thomas Jacobs) Date: Sun, 11 Jan 2009 16:33:06 -0600 Subject: [texhax] Troubleshooting undesired page numbering restart In-Reply-To: <8f1b7b690901111427o10dc18cdg73c2762378fee606@mail.gmail.com> References: <8f1b7b690901101859y38b294fidfbb019915f441cc@mail.gmail.com> <8f1b7b690901111427o10dc18cdg73c2762378fee606@mail.gmail.com> Message-ID: <8f1b7b690901111433x628107b0x334a062514a423a4@mail.gmail.com> Please disregard this question. I finally found a set counter line in an ensuing section. (sorry, forgot to go with plain text in the prior disregard message) On Sun, Jan 11, 2009 at 4:27 PM, Thomas Jacobs wrote: > Please disregard this question. I finally found a set counter line in an > ensuing section. > > On Sat, Jan 10, 2009 at 8:59 PM, Thomas Jacobs > wrote: >> >> I am trying to understand why my page numbering restarts at page 1 in >> the middle of a section. Here is an excerpt from the calling tex >> file: >> >> \newpage >> \setlength{\baselineskip}{1.5\baselineskip} >> \input 1_introduction >> \vspace{0.25in} >> \input 2_literature >> \vspace{0.25in} >> \input 3_events >> \vspace{0.25in} >> \input 4_data_methodology >> \vspace{0.25in} >> >> where the restart occurs in the middle of input 3_events.tex right >> after a very long footnote: >> >> \textsc{Event 1:} The trouble and bailout of IKB Deutsche >> Industriebank (Friday, July 27, 2007 thru Friday, August 3, 2007.) In >> what would be the first bank to nearly fail and require government >> support, IKB, a small to medium size German commercial lender >> acknowledged large losses from subprime investments in both direct >> exposure and off balance sheet conduit funds it ran on Monday, July 30 >> only 10 days after claiming to have minimal exposure to U.S. Subprime >> assets during an earnings call. The size of the total exposure was >> nearly \euro 20 Billion and its support exceeded the capacity of its >> primary investor, publicly owned bank KfW requiring a rescue package >> of government, private and public banks. The transmission of this >> information to the market as reported in the financial press was noisy >> making for a difficult event window definition. As initially reported >> on July 31st, IKB would receive support from publicly owned bank KfW. >> Yet on August 2nd and August 3rd details on the mechanics of the >> rescue revealed a call placed on Friday, July 27th, by Josef Ackerman, >> the CEO of Deutsche Bank, to the primary regulator Jochen Sanio, who >> in turn contacted the Finance Minister, Peer Steinbruck, and in what >> would foreshadow numerous similar crises in the U.S. a weekend of >> meetings saw a rescue package composed for IKB that included support >> from the government, public and private banks in the sum of \euro 3.5 >> Billion. In confirmation of the delayed market response to the >> events, IKB's stock fell further on August 2nd (28\%) than it had on >> July 30th (19\%).% >> % >> \footnote{\citeasnoun{WSJ073107} note the 19\% decline in stock price >> on July 30th, the unquantified subprime exposure to an off-balance >> sheet vehicle called Rhineland Funding, the bailout by KfW, IKB's >> largest state-owned shareholder, and KfW's 80\% ownership stake by the >> German government. It also noted that just 10 days earlier IKB had >> played down its exposure during an earnings call. >> \citeasnoun{FT073107} reports KfW's stake in IKB at 38\% and quotes >> IKB as acknowledging that it's creditworthiness had been questioned at >> the end of the prior week and indicates neither IKB nor KfW would >> quantify IKB's exposure or loss to subprime markets. >> \citeasnoun{Blmbg080207} and \citeasnoun{FT080207} report on August >> 2nd that KfW had assumed \euro 8.1 Billion in obligations to IKB's >> Rhineland funding unit as announced on July 31st. Further, this was >> the first mention of government involvement orchestrated by the >> Finance Minister Peer Steinbrueck (also chairman of KfW's >> administrative board) the prior Sunday (July 29th) and the creation of >> a rescue fund of \euro 3.5 Billion composed of KfW (70\%), Private >> Banks Deutsche Bank and Commerzbank (15\%), and Public banks (15\%). >> \citeasnoun{FT080307} on August 3rd reported the involvement of >> Deutsche Bank's CEO Joseph Ackerman the prior Friday (July 27th) in >> alerting the government regarding IKB's funding difficulties and the >> large decline in IKB's stock price on August 2nd of 28\%. >> \citeasnoun{FT080907} reports on August 9th that IKB revealed on >> Tuesday (August 7th) that another group of banks is supplying \euro >> 6.5 Billion in liquidity lines to its Rhineland Funding vehicle >> besides the \euro 8.1 Billion provided by KfW. He also reports that >> IKB said it had \euro 7 Billion of its own assets (at the bank level) >> invested in credit portfolios the preceding March outside of its >> Rhineland Funding unit with 2/3 of that in US Assets. Including >> another off balance sheet unit, Rhinebridge Funding, that it would >> need to bring on balance sheet produced a direct exposure to US Assets >> of \euro 6.4 Billion excluding Rhineland's \euro 14 Billion in assets. >> \citeasnoun{WSJ081007} on August 10th provide details behind the >> funding problems experienced by IKB the week before its rescue. Its >> Rhineland funding unit which borrowed principally through commercial >> paper to support its \euro 14 Billion in assets found itself unable to >> roll over the positions and on Friday, July 27th turned to IKB to draw >> on a credit line. IKB, in turn, had a credit line with Deutsche bank >> which Deutsche refused to honor. It was at the end of this day that >> Deutsche's CEO contacted the German bank regulator which led to the >> weekend of negotiations. They also report the total decline in IKB's >> stock price over the two weeks of the crisis was 33\%}% >> % >> \textsc{Event 2:} The reduction in discount rate, the extension of >> term, and the unprecedented encouragement of discount window lending >> by the Federal Reserve (Friday, August 17th, 2007 thru Friday, August >> 24th, 2007.) On August 17th, the Fed narrowed the fixed spread >> between its target Federal Funds rate and the rate applied at the >> discount window (the primary credit rate) to 50bp >> >> NEW PAGE BEGINS HERE AND NUMBERING RESETS BACK TO PAGE 1: >> >> from 100bp leading to a discount window decline from 6.25\% to 5.75\%. >> In addition, the typical overnight term was extended to permit term >> financing of up to 30 days.% >> % >> \footnote{See \citeasnoun{BOARD081707} for press release.} % >> >> CAN ANYONE ADVISE ON HOW TO TROUBLESHOOT THIS OR FIX IT? AM I CORRECT >> IN EXAMINING WHERE THE NEW PAGE BEGINS OR DOES WHAT HAPPENS AT THE >> BOTTOM OF THE NEW PAGE MATTER MORE? >> >> Thanks, >> >> Tom >> >> >> -- >> Thomas Jacobs > > > > -- > Thomas Jacobs > -- Thomas Jacobs From karl at freefriends.org Mon Jan 12 00:30:38 2009 From: karl at freefriends.org (Karl Berry) Date: Sun, 11 Jan 2009 17:30:38 -0600 Subject: [texhax] changing chapter (+ code) In-Reply-To: Message-ID: <200901112330.n0BNUcC07916@f7.net> Hi Christian, I'm about to finish a report and I want to change the positon of the chapter-headlines. You might try the titlesec package (http://www.ctan.org/tex-archive/macros/latex/contrib/titlesec/). As an example, here's what I did in one project: \usepackage[rm,medium,compact,raggedright]{titlesec} \titlespacing*{\chapter}{0pt}{-2.5pc}{1pc} Best, Karl From karl at freefriends.org Mon Jan 12 00:32:21 2009 From: karl at freefriends.org (Karl Berry) Date: Sun, 11 Jan 2009 17:32:21 -0600 Subject: [texhax] Server labrea.stanford.edu In-Reply-To: <010820091620.6467.496627C00001DFD600001943220588601409079D0B019D0E0A@comcast.net> Message-ID: <200901112332.n0BNWLi08444@f7.net> Do you know to where the contents of labrea.stanford.edu moved to ftp://ftp.cs.stanford.edu/tex (Although you may find http://www.ctan.org a more interesting source for updates. It includes all of the material found at Stanford.) Best, karl From jwdevel at gmail.com Mon Jan 12 06:36:52 2009 From: jwdevel at gmail.com (jw) Date: Sun, 11 Jan 2009 21:36:52 -0800 Subject: [texhax] plain tex vbox question Message-ID: Hello, I have the following two .tex files: % ---- begin file 1 ---- The quick brown fox... \bye % ---- end file 1 ---- % ---- begin file 2 ---- \vbox to \vsize{The quick brown fox...} \bye % ---- end file 2 ---- The text of file 1 is shifted down on the page a few points, while the text of file 2 is right up against the top of the page. In other words, there is some space above the "T" in file 1, but none in file 2. I don't understand why. I have looked around the TeXbook and online, but haven't seen anything obvious... Can anyone explain this to me? I feel I am missing something fundamental. Thanks -John From asnd at triumf.ca Mon Jan 12 10:06:50 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 12 Jan 2009 01:06:50 -0800 Subject: [texhax] changing chapter (+ code) In-Reply-To: References: <1057064635@web.de> Message-ID: "Christian Deindl" writes: > I want to change the positon of the headline from the table of contents, the > list of tables etc. in the same way as I change the chapter-headings. You are using the term "headline" incorrectly. I didn't realize what you meant until seeing one of the answers. That answer redefined \@makechapterhead to use \@startsection. Do the same with \@makeschapterhead (note the "s"). -- Donald Arseneau asnd at triumf.ca From jwdevel at gmail.com Mon Jan 12 19:57:48 2009 From: jwdevel at gmail.com (jw) Date: Mon, 12 Jan 2009 10:57:48 -0800 Subject: [texhax] plain tex vbox question In-Reply-To: References: Message-ID: On Mon, Jan 12, 2009 at 7:22 AM, William Adams wrote: > > Maybe this link will help? > > http://books.google.com/books?id=HJ7sumWcwX8C&pg=PA79&lpg=PA79&dq=tex+vbox+vtop&source=web&ots=bM3Az-j5S6&sig=c1Z6JNZqj7cjyJd7uNC1hMBAbhM&hl=en&sa=X&oi=book_result&resnum=9&ct=result > > There's also _TeX for the Impatient_ which is wholly freely available: > > http://www.tug.org/ftp/tex/impatient/book.pdf > > William > Thanks for the links, I hadn't seen them before. In general, I understand the idea of boxes. It seems to me that the only difference between my two examples is that one starts out in 'vertical' mode and the other is in 'internal vertical'. But why the text would be positioned lower in vertical mode still eludes me... -John From hartmut_henkel at gmx.de Mon Jan 12 23:48:05 2009 From: hartmut_henkel at gmx.de (Hartmut Henkel) Date: Mon, 12 Jan 2009 23:48:05 +0100 (CET) Subject: [texhax] plain tex vbox question In-Reply-To: References: Message-ID: On Mon, 12 Jan 2009, jw wrote: > Thanks for the links, I hadn't seen them before. In general, I > understand the idea of boxes. It seems to me that the only difference > between my two examples is that one starts out in 'vertical' mode and > the other is in 'internal vertical'. But why the text would be > positioned lower in vertical mode still eludes me... It's the \topskip, see: % ---- begin file 1 ---- \topskip 100pt The quick brown fox... \bye % ---- end file 1 ---- % ---- begin file 2 ---- \topskip 100pt \vbox to \vsize{The quick brown fox...} \bye % ---- end file 2 ---- \topskip is not active within \vboxes, only at the top of the page. And it's not zero by default. Regards, Hartmut From jwdevel at gmail.com Tue Jan 13 05:45:25 2009 From: jwdevel at gmail.com (jw) Date: Mon, 12 Jan 2009 20:45:25 -0800 Subject: [texhax] plain tex vbox question In-Reply-To: References: Message-ID: On Mon, Jan 12, 2009 at 2:48 PM, Hartmut Henkel wrote: > > It's the \topskip, see: > > % ---- begin file 1 ---- > \topskip 100pt > The quick brown fox... > \bye > % ---- end file 1 ---- > > % ---- begin file 2 ---- > \topskip 100pt > \vbox to \vsize{The quick brown fox...} > \bye > % ---- end file 2 ---- > > \topskip is not active within \vboxes, only at the top of the page. And > it's not zero by default. > > Regards, Hartmut > Perfect! Thanks, I had missed that tidbit. -John From deindl at soziologie.uzh.ch Tue Jan 13 13:37:34 2009 From: deindl at soziologie.uzh.ch (Christian Deindl) Date: Tue, 13 Jan 2009 13:37:34 +0100 Subject: [texhax] changing chapter (+ code) In-Reply-To: <496A5180.8010006@imf.au.dk> References: <1057064635@web.de> <496A5180.8010006@imf.au.dk> Message-ID: <496C8B0E.8040808@soziologie.uzh.ch> thanks a lot for your answers and I apologize if I haven't been that specific. Once again I have learned a lot. Christian Lars Madsen schrieb: > Christian Deindl wrote: >> dear uwe, >> >> I want to change the positon of the headline from the table of contents, the >> list of tables etc. in the same way as I change the chapter-headings. >> >> thanks, >> >> christian >> > > You need to be a bit more specific in your choice of words. > > I think you refer to the titles given to \tableofcontents etc., i.e. the > functionality typesetting \contentsname > > You need to redefine \chapter* as well as \chapter, the unnumbered > titles usually is typeset using the inner workings of \chapter* > > This would be easy if you were using the memoir class or (I assume KOMA). > > I would also assume titlesec or sectsty can do this as well. > > From karl at freefriends.org Tue Jan 13 20:39:05 2009 From: karl at freefriends.org (Karl Berry) Date: Tue, 13 Jan 2009 13:39:05 -0600 Subject: [texhax] Using other fonts in TeX In-Reply-To: <20090105001544.GB2027@thor> Message-ID: <200901131939.n0DJd5717091@f7.net> You can put things in user texmf tree. Yes, aka TEXMFHOME. Its location depends on the distro you use. On Debian TeX-Live, I believe it is in ~/texmf. Yes, and that is the standard location for all Unixish systems, except macosx which uses ~/Library/texmf. After installing anything in ~/texmf, you'll need to run texhash ~/texmf For the record, unless you have many thousands of files in ~/texmf, it's not necessary, or desirable, to run texhash on it. It will work fine without it and it's one less thing to (forget to) keep in sync. From toms at ncifcrf.gov Wed Jan 14 01:43:42 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 13 Jan 2009 19:43:42 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX Message-ID: <200901140043.n0E0hgC0001485@strawberry.ncifcrf.gov> Here's a puzzle for the sharp folks on this list! \documentclass{article} \newcommand{\theversion}{{version = 1.00 of latex2009jan13.tex 2009 Jan 13 }} \begin{document} \begin{center} \textbf{A Bug in \LaTeX?} \\ \theversion \end{center} \begin{equation} H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) + P_{\mbox{silent}} \times \left( -\log_2 ( P_{\mbox{silent}}) \right) \end{equation} The outer pair of parenthesis on the left are made using \verb|\left(| and \verb|\right)|, and indeed they show up as larger than the inner parenthesis. However, on the right side of the equation, the same pair of commands fails to give the same size parenthesis. Ok, try go get around the bug by using big: \begin{equation} H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) + P_{\mbox{silent}} \times \big( -\log_2 ( P_{\mbox{silent}}) \big) \end{equation} That failed. Try bigg: \begin{equation} H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) + P_{\mbox{silent}} \times \bigg( -\log_2 ( P_{\mbox{silent}}) \bigg) \end{equation} bigg is too big! \begin{equation} H = P_{\mbox{ring}} \times \bigg( -\log_2 ( P_{\mbox{ring}}) \bigg) + P_{\mbox{silent}} \times \bigg( -\log_2 ( P_{\mbox{silent}}) \bigg) \end{equation} Extra braces do not help: \begin{equation} H = {P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right)} + {P_{\mbox{silent}} \times \left( -\log_2 ( P_{\mbox{silent}}) \right)} \end{equation} Finally, make the equation parts exactly identical: \begin{equation} H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) + P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) \end{equation} That worked. So why would the height be different? It's the `g'? Try removing the g: \begin{equation} H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) + P_{\mbox{rinc}} \times \left( -\log_2 ( P_{\mbox{rinc}}) \right) \end{equation} Now they are the same, but of course it says the wrong thing. So how should this be typeset? \begin{verbatim} Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ \end{verbatim} \end{document} From freedman at physics.cornell.edu Wed Jan 14 01:57:13 2009 From: freedman at physics.cornell.edu (Daniel Freedman) Date: Tue, 13 Jan 2009 19:57:13 -0500 Subject: [texhax] Combining symbols (vertical placement of characters) In-Reply-To: <18778.52368.335140.266806@zaphod.ms25.net> References: <5.1.0.14.0.20081230232458.02bb8d50@pop3.web.de> <18778.52368.335140.266806@zaphod.ms25.net> Message-ID: <20090114005713.GF21207@cpe-67-241-17-133.twcny.res.rr.com> Thanks for all of the suggestions from everyone to help with my question. I ended up not using the symbols, but I appreciate the suggestions. Just FYI (for others), I discovered the 'mathtools' package, which has some cool capabilities when it comes to arrows (and I don't recall mention of it in Glazer's book). Thanks, Daniel On Wed, Dec 31, 2008, Reinhard Kotucha wrote: > Uwe L?ck writes: > > 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 ! > > > > If you really want to compose (running just TeX) new glyphs from existing > > ones, you should know how the latter were designed (and how they are coded > > in METAFONT), in terms of font dimensions, cf. TeXbook p. 433/447; or of > > the height of `(' (\mathstrut) ... and in your macros, you should refer to > > these (\fontdimen, ...) [I can't tell details here]. Referring to such > > dimensions would be better than trying various numbers ... Replacing the > > arrowhead with a bullet, you should refer to the height and width of the > > box enclosing the diagonal stroke and to the width of the bullet and the > > height of its center (I guess it's axis_height according to TeXbook p. > > 447). Don't forget \mathpalette ... > > > > But John: I wonder whether you are asking about creating new glyphs or just > > about placing one character over another. The latter task usually requires > > dimensions of enclosing boxes only; it can be performed through one-column > > ``tables'' (\oalign) or through the \accent primitive (depends ...). Are > > you thinking of specific examples that have bothered you? > > There is nothing wrong if new symbols are composed with \kern and > \raisebox. Everything which works is fine. However, the most > reasonable approach is to check whether a particular symbol exists > already: > > http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-a4.pdf > http://www.ctan.org/tex-archive/info/symbols/comprehensive/symbols-letter.pdf > > This should always be the first step. > > Regards, > Reinhard -- Daniel Freedman <{freedman at physics | dfreedman at cs}.cornell.edu> Post-Doc, Distributed Systems, Computer Science, Cornell University -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://tug.org/pipermail/texhax/attachments/20090113/a72eab8d/attachment.bin From toms at ncifcrf.gov Wed Jan 14 02:40:45 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 13 Jan 2009 20:40:45 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <000f01c975e7$d82e06c0$6401a8c0@lamppostac2f40> from Mike Metz at "Jan 13, 2009 07:31:37 pm" Message-ID: <200901140140.n0E1ej6x001615@strawberry.ncifcrf.gov> Mike: > If you use a single letter in the subscript and define it elsewhere, your > problem is solved. \newcommand{\ring}{\mbox{ring}} \newcommand{\silent}{\mbox{silent}} \newcommand{\rinc}{\mbox{ring}} use \verb|\ring| and \verb|\silent| \begin{equation} H = P_{\ring} \times \left( -\log_2 ( P_{\ring}) \right) + P_{\silent} \times \left( -\log_2 ( P_{\silent}) \right) \end{equation} use \verb|\rinc| and \verb|\silent| \begin{equation} H = P_{\rinc} \times \left( -\log_2 ( P_{\rinc}) \right) + P_{\silent} \times \left( -\log_2 ( P_{\silent}) \right) \end{equation} \renewcommand{\r}{\mbox{ring}} % r is already defined! \newcommand{\s}{\mbox{silent}} use \verb|\r| and \verb|\s| \begin{equation} H = P_{\r} \times \left( -\log_2 ( P_{\r}) \right) + P_{\s} \times \left( -\log_2 ( P_{\s}) \right) \end{equation} All of these failed. Did you try your example? Please try. Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From s.schwartz at imperial.ac.uk Wed Jan 14 02:48:13 2009 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Wed, 14 Jan 2009 01:48:13 +0000 Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <200901140043.n0E0hgC0001485@strawberry.ncifcrf.gov> References: <200901140043.n0E0hgC0001485@strawberry.ncifcrf.gov> Message-ID: <1231897693.4550.26.camel@sony-sjs.sp.ph.ic.ac.uk> Tom, You were the sharp one to diagnose the problem as the descending "g". That was the hard bit. To fix, just add something that doesn't print but takes up the same vertical dimension, namely a \vphantom{g}: \begin{equation} H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) + P_{\mbox{silent}} \times \left( -\log_2 ( P_{\mbox{silent\vphantom{g}}}) \right) \end{equation} This worked fine when I tested it. I use phantoms all the time - be they \vphantoms, \hphantoms, or full \phantoms. Cheers Steve On Tue, 2009-01-13 at 19:43 -0500, Tom Schneider wrote: > Here's a puzzle for the sharp folks on this list! > > \documentclass{article} > \newcommand{\theversion}{{version = 1.00 of latex2009jan13.tex 2009 Jan 13 }} > \begin{document} > \begin{center} > \textbf{A Bug in \LaTeX?} > \\ > \theversion > \end{center} > > \begin{equation} > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > + > P_{\mbox{silent}} \times \left( -\log_2 ( P_{\mbox{silent}}) \right) > \end{equation} > > The outer pair of parenthesis on the left are made using > \verb|\left(| > and > \verb|\right)|, and indeed they show up as larger than the inner parenthesis. > However, on the right side of the equation, the same > pair of commands fails to give the same size parenthesis. > > Ok, try go get around the bug by using big: > > \begin{equation} > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > + > P_{\mbox{silent}} \times \big( -\log_2 ( P_{\mbox{silent}}) \big) > \end{equation} > That failed. > > Try bigg: > \begin{equation} > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > + > P_{\mbox{silent}} \times \bigg( -\log_2 ( P_{\mbox{silent}}) \bigg) > \end{equation} > bigg is too big! > > \begin{equation} > H = > P_{\mbox{ring}} \times \bigg( -\log_2 ( P_{\mbox{ring}}) \bigg) > + > P_{\mbox{silent}} \times \bigg( -\log_2 ( P_{\mbox{silent}}) \bigg) > \end{equation} > > Extra braces do not help: > \begin{equation} > H = > {P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right)} > + > {P_{\mbox{silent}} \times \left( -\log_2 ( P_{\mbox{silent}}) \right)} > \end{equation} > > Finally, make the equation parts exactly identical: > \begin{equation} > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > + > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > \end{equation} > That worked. So why would the height be different? It's the `g'? > > Try removing the g: > \begin{equation} > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > + > P_{\mbox{rinc}} \times \left( -\log_2 ( P_{\mbox{rinc}}) \right) > \end{equation} > Now they are the same, but of course it says the wrong thing. > > So how should this be typeset? > > \begin{verbatim} > > Tom > > Dr. Thomas D. Schneider > National Institutes of Health > National Cancer Institute > Center for Cancer Research Nanobiology Program > Molecular Information Theory Group > Frederick, Maryland 21702-1201 > toms at ncifcrf.gov > permanent email: toms at alum.mit.edu > http://www.ccrnp.ncifcrf.gov/~toms/ > \end{verbatim} > \end{document} > _______________________________________________ > 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 -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Head, Space & Atmospheric Physics Fax: +44-(0)20-7594-7900 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 711A London SW7 2AZ, U.K. Web: www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From toms at ncifcrf.gov Wed Jan 14 05:04:04 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 13 Jan 2009 23:04:04 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <1231897693.4550.26.camel@sony-sjs.sp.ph.ic.ac.uk> from Steve Schwartz at "Jan 14, 2009 01:48:13 am" Message-ID: <200901140404.n0E444m9004524@strawberry.ncifcrf.gov> Steve: > You were the sharp one to diagnose the problem as the descending "g". > That was the hard bit. Thanks. Unfortunately it took a while, but it was part of the principle to boil the problem down so that others (or I!) could figure it out! Basically, http://www.ccrnp.ncifcrf.gov/~toms/bugs.html :-) > To fix, just add something that doesn't print but > takes up the same vertical dimension, namely a \vphantom{g}: > > \begin{equation} > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > + > P_{\mbox{silent}} \times \left( -\log_2 ( P_{\mbox{silent\vphantom{g}}}) > \right) > \end{equation} > > This worked fine when I tested it. > > I use phantoms all the time - be they \vphantoms, \hphantoms, or full > \phantoms. Excellent! I was pretty sure there was a way to do it but haven't used phantoms before. THANKS much for this clean solution! Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From toms at ncifcrf.gov Wed Jan 14 05:08:01 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 13 Jan 2009 23:08:01 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <000301c975ea$02916590$6401a8c0@lamppostac2f40> from Mike Metz at "Jan 13, 2009 07:47:07 pm" Message-ID: <200901140408.n0E481eZ004691@strawberry.ncifcrf.gov> Mike: > > If you use a single letter in the subscript and define it elsewhere, > > your problem is solved. > > I meant literally in the text of the document, not the programming. (Where r > is ring and s is silent. ) I assume now that you meant to give up and use a letter instead of the word. As you can see, fortunately Steve knew a great solution that allowed me to keep the spelled out words. It's for a presentation and I want to be absolutely clear. Thanks for the effort. Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From gtalge at silcon.com Wed Jan 14 06:12:28 2009 From: gtalge at silcon.com (Gordon Talge) Date: Tue, 13 Jan 2009 21:12:28 -0800 Subject: [texhax] ispell Message-ID: <000501c97606$b3c9adb0$80049643@sdaqmonckhl16t> Hi, I got caught having to use an older version of TeXLive on a MS-Windows XP system. TeXLive 2003. Everything works as it is suppose to except ispell. When I run ispell in the dos command windows on a TeX file it does work, but I get all kinds of maybe formating things that remind me of that thing in dos for color ansis.sys or something like that. When I run it in WinShell 2.2.1 it doesn't work or react at all. It is like I didn't even run a file. All the other stuff, dvipdfm, tex, and so on work. I know that this is old old news, but I was wondering if there is a quick fix. I have been using TeX on Debian GNU/Linux and this is my first real experience with it on Windows XP. Thanks, -- Gordon Talge Loma Linda, CA From reinhard.kotucha at web.de Wed Jan 14 06:48:20 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 14 Jan 2009 06:48:20 +0100 Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <200901140043.n0E0hgC0001485@strawberry.ncifcrf.gov> References: <200901140043.n0E0hgC0001485@strawberry.ncifcrf.gov> Message-ID: <18797.31908.610595.842508@zaphod.ms25.net> Tom Schneider writes: > Here's a puzzle for the sharp folks on this list! Hi Tom, the problem is obviously that unlike "silent", the word "ring" contains the letter "g" which has a descender, as Steve explained already. How can you achieve that all braces have the same size? There are many possible solutions. You could use struts or phantoms. However, there is a very elegant solution. All *tex programs except Knuth's tex itself are using the eTeX extensions for a couple of years now. $ pdftex \\relax\\bye This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %&-line parsing enabled. entering extended mode <=========== No pages of output. Transcript written on texput.log. You are using \left and \right already, but eTeX provides a new primitive called \middle. See: http://tug.ctan.org/tex-archive/systems/e-tex/v2/doc/etex_man.pdf section 3.9 on page 12. 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 john.simmie at nuigalway.ie Wed Jan 14 08:47:46 2009 From: john.simmie at nuigalway.ie (Simmie, John) Date: Wed, 14 Jan 2009 07:47:46 -0000 Subject: [texhax] \mbox parenthesis problem in 2009(19) Message-ID: <5987A522AEAB7548B380D086C85CD241FCE345@EVS1.ac.nuigalway.ie> But why use \mbox{ring} at all? The normal LaTeX command is surely \mathrm{ring} ... this gives different results from your example Emeritus Professor John Simmie::Combustion Chemistry Centre::National University of Ireland, Galway From daleif at imf.au.dk Wed Jan 14 10:49:10 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 14 Jan 2009 10:49:10 +0100 Subject: [texhax] \mbox parenthesis problem in 2009(19) In-Reply-To: <5987A522AEAB7548B380D086C85CD241FCE345@EVS1.ac.nuigalway.ie> References: <5987A522AEAB7548B380D086C85CD241FCE345@EVS1.ac.nuigalway.ie> Message-ID: <496DB516.4010605@imf.au.dk> Simmie, John wrote: > But why use \mbox{ring} at all? The normal LaTeX command is surely > \mathrm{ring} ... this gives different results from your example > > Emeritus Professor John Simmie::Combustion Chemistry Centre::National > University of Ireland, Galway > actually the best solution might be \textrm not \mathrm, the index is a word and should be typeset using the text font. Besides the \textrm supports accented letters whereas \mathrm does not. In Danish the radius of a lake would be $R_{\textrm{s\o}}$ -- /daleif From vi5u0-texhax at yahoo.co.uk Wed Jan 14 22:30:45 2009 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Wed, 14 Jan 2009 21:30:45 +0000 (GMT) Subject: [texhax] wrong@fontshape error Message-ID: Dear All, My prosper document, which will contain a few Cyrillic characters, fails to LaTeX with the error message wrong at fontshape ...message {Corrupted NFSS tables} error at fontshape else let f... This may be related to Debian bug #98998. Any ideas, please? A minimal(ish) document that exhibits the problem follows. Thanks, Dan \documentclass{prosper} \usepackage{ucs} \usepackage[T2A]{fontenc} \usepackage[utf8x]{inputenc} \title{Some presentation} \author{Some Presenter} \email{somepresenter at a.meeting.room} \institution{Institute of Preparing Presentations} \begin{document} \maketitle{} \begin{slide}{Interesting stuff} A bit of content \end{slide} \end{document} From P.Taylor at Rhul.Ac.Uk Wed Jan 14 23:01:19 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Wed, 14 Jan 2009 22:01:19 +0000 Subject: [texhax] wrong@fontshape error In-Reply-To: References: Message-ID: <496E60AF.1070808@Rhul.Ac.Uk> Dan Hatton wrote: > Dear All, > > My prosper document, which will contain a few Cyrillic characters, > fails to LaTeX with the error message > > wrong at fontshape ...message {Corrupted NFSS tables} > error at fontshape else let f... > > This may be related to Debian bug #98998. Does the same under Windows, so I think Debian is in the clear (on this one, at least !). Philip TAYLOR From vi5u0-texhax at yahoo.co.uk Thu Jan 15 00:36:45 2009 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Wed, 14 Jan 2009 23:36:45 +0000 (GMT) Subject: [texhax] wrong@fontshape error In-Reply-To: <496E60AF.1070808@Rhul.Ac.Uk> References: <496E60AF.1070808@Rhul.Ac.Uk> Message-ID: On Wed, 14 Jan 2009, Philip TAYLOR (Ret'd) wrote: > Does the same under Windows, so I think > Debian is in the clear (on this one, at least !). Sorry, yes. I didn't intend to imply the issue was distro-dependent; I only mentioned Debian because there was a thread on their bug tracking system describing something similar. -- Regards, Dan From chandru.mcc at gmail.com Thu Jan 15 07:33:23 2009 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Thu, 15 Jan 2009 12:03:23 +0530 Subject: [texhax] Help Message-ID: Sir. My TexNic Center is not detecting packages and i am unable to find the reason for it. Please help me affix this problem Chandrasekhar -- "A man who dares to waste one hour has not discovered the true value of life":- Charles Darwin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090115/24dd09aa/attachment.html From toms at ncifcrf.gov Fri Jan 16 23:23:58 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Fri, 16 Jan 2009 17:23:58 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <18797.31908.610595.842508@zaphod.ms25.net> from Reinhard Kotucha at "Jan 14, 2009 06:48:20 am" Message-ID: <200901162223.n0GMNwZZ003012@strawberry.ncifcrf.gov> Reinhard: > Tom Schneider writes: > > Here's a puzzle for the sharp folks on this list! > > Hi Tom, > the problem is obviously that unlike "silent", the word "ring" > contains the letter "g" which has a descender, as Steve explained > already. > > How can you achieve that all braces have the same size? There are > many possible solutions. You could use struts or phantoms. > > However, there is a very elegant solution. All *tex programs except > Knuth's tex itself are using the eTeX extensions for a couple of years > now. > > $ pdftex \\relax\\bye > This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) > %&-line parsing enabled. > entering extended mode <=========== > No pages of output. > Transcript written on texput.log. > > You are using \left and \right already, but eTeX provides a new > primitive called \middle. See: > > http://tug.ctan.org/tex-archive/systems/e-tex/v2/doc/etex_man.pdf > > section 3.9 on page 12. Ok, thanks. I'm unsure how it would be used in this case. \left( ..part A ring .. \right) \middle?? \left( ..part B silent .. \right) fails with '! Missing delimiter (. inserted). ? l.84 \middle?' or \begin{equation} \left( ..part A ring .. \right) \middle(silent right \middle) \left( ..part B silent .. \right) \end{equation} gives 'extra middle(' \begin{equation} \middle( \left( ..part A ring .. \right) \left( ..part B silent .. \right) \middle) \end{equation} gives 'extra middle(' \middle( \left( ..part A ring .. \right) \left( ..part B silent .. \right) \middle) In the original context \begin{equation} H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) + P_{\mbox{rinc}} \times \left( -\log_2 ( P_{\mbox{rinc}}) \right) \end{equation} doing this: \begin{equation} \middle( H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) + P_{\mbox{rinc}} \times \left( -\log_2 ( P_{\mbox{rinc}}) \right) \middle) \end{equation} Also gives the error message 'extra middle('. Even trying to follow their exact words, \begin{equation} \middle( H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) \middle) + \middle( P_{\mbox{rinc}} \times \left( -\log_2 ( P_{\mbox{rinc}}) \right) \middle) \end{equation} gives the same error. I have no idea how to use this thing. Thanks, Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From adityam at umich.edu Sat Jan 17 00:06:25 2009 From: adityam at umich.edu (Aditya Mahajan) Date: Fri, 16 Jan 2009 18:06:25 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <200901162223.n0GMNwZZ003012@strawberry.ncifcrf.gov> References: <200901162223.n0GMNwZZ003012@strawberry.ncifcrf.gov> Message-ID: On Fri, 16 Jan 2009, Tom Schneider wrote: > Reinhard: > >> Tom Schneider writes: >> > Here's a puzzle for the sharp folks on this list! >> >> Hi Tom, >> the problem is obviously that unlike "silent", the word "ring" >> contains the letter "g" which has a descender, as Steve explained >> already. >> >> How can you achieve that all braces have the same size? There are >> many possible solutions. You could use struts or phantoms. >> >> However, there is a very elegant solution. All *tex programs except >> Knuth's tex itself are using the eTeX extensions for a couple of years >> now. >> >> $ pdftex \\relax\\bye >> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) >> %&-line parsing enabled. >> entering extended mode <=========== >> No pages of output. >> Transcript written on texput.log. >> >> You are using \left and \right already, but eTeX provides a new >> primitive called \middle. See: >> >> http://tug.ctan.org/tex-archive/systems/e-tex/v2/doc/etex_man.pdf >> >> section 3.9 on page 12. > > Ok, thanks. I'm unsure how it would be used in this case. > > \left( ..part A ring .. \right) > \middle?? > \left( ..part B silent .. \right) I think Reinhard meant \left( ... part A ring ... \middle) \middle( ... part B silent ... \right) This will make all the brackets of the same height. However, from what I remember (and I may be wrong here), \middle does not change the spacing at all, so you may need to add spaces before \middle) and after \middle(. Aditya From daleif at imf.au.dk Sat Jan 17 00:16:02 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Sat, 17 Jan 2009 00:16:02 +0100 Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <200901162223.n0GMNwZZ003012@strawberry.ncifcrf.gov> References: <200901162223.n0GMNwZZ003012@strawberry.ncifcrf.gov> Message-ID: <49711532.80501@imf.au.dk> Tom Schneider wrote: > Reinhard: > >> Tom Schneider writes: >> > Here's a puzzle for the sharp folks on this list! >> >> Hi Tom, >> the problem is obviously that unlike "silent", the word "ring" >> contains the letter "g" which has a descender, as Steve explained >> already. >> >> How can you achieve that all braces have the same size? There are >> many possible solutions. You could use struts or phantoms. >> >> However, there is a very elegant solution. All *tex programs except >> Knuth's tex itself are using the eTeX extensions for a couple of years >> now. >> >> $ pdftex \\relax\\bye >> This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) >> %&-line parsing enabled. >> entering extended mode <=========== >> No pages of output. >> Transcript written on texput.log. >> >> You are using \left and \right already, but eTeX provides a new >> primitive called \middle. See: >> >> http://tug.ctan.org/tex-archive/systems/e-tex/v2/doc/etex_man.pdf >> >> section 3.9 on page 12. > > Ok, thanks. I'm unsure how it would be used in this case. > > \left( ..part A ring .. \right) > \middle?? > \left( ..part B silent .. \right) > > fails with '! Missing delimiter (. inserted). > > ? > l.84 \middle?' > > or > > \begin{equation} > \left( ..part A ring .. \right) > \middle(silent right \middle) > \left( ..part B silent .. \right) > \end{equation} > > gives 'extra middle(' > > \begin{equation} > \middle( > \left( ..part A ring .. \right) > \left( ..part B silent .. \right) > \middle) > \end{equation} > > gives 'extra middle(' > > \middle( > \left( ..part A ring .. \right) > \left( ..part B silent .. \right) > \middle) > > In the original context > > \begin{equation} > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > + > P_{\mbox{rinc}} \times \left( -\log_2 ( P_{\mbox{rinc}}) \right) > \end{equation} > > doing this: > > \begin{equation} > \middle( > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > + > P_{\mbox{rinc}} \times \left( -\log_2 ( P_{\mbox{rinc}}) \right) > \middle) > \end{equation} > > Also gives the error message 'extra middle('. > > Even trying to follow their exact words, > > \begin{equation} > \middle( > H = > P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \right) > \middle) > + > \middle( > P_{\mbox{rinc}} \times \left( -\log_2 ( P_{\mbox{rinc}}) \right) > \middle) > \end{equation} > > gives the same error. > > I have no idea how to use this thing. > > Thanks, > > Tom pretty forward \left( \frac12 \middle | \frac 12 \right) it goes in the middle ... ;-) -- /daleif From toms at ncifcrf.gov Sat Jan 17 00:24:32 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Fri, 16 Jan 2009 18:24:32 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: from Aditya Mahajan at "Jan 16, 2009 06:06:25 pm" Message-ID: <200901162324.n0GNOXx0002537@strawberry.ncifcrf.gov> Aditya: > I think Reinhard meant > > \left( ... part A ring ... \middle) > \middle( ... part B silent ... \right) > > This will make all the brackets of the same height. However, from what I > remember (and I may be wrong here), \middle does not change the spacing at > all, so you may need to add spaces before \middle) and after > \middle(. \begin{equation} H = P_{\mbox{ring}} \times \left( -\log_2 ( P_{\mbox{ring}}) \middle) + P_{\mbox{rinc}} \times \middle( -\log_2 ( P_{\mbox{rinc}}) \right) \end{equation} Yup, that worked!! An explicit example is always useful to have, it's one of the serious problems with LaTeX that such working examples aren't always there so one is left guessing. Thanks! Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From toms at ncifcrf.gov Sat Jan 17 00:28:26 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Fri, 16 Jan 2009 18:28:26 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <49711532.80501@imf.au.dk> from Lars Madsen at "Jan 17, 2009 00:16:02 am" Message-ID: <200901162328.n0GNSQAc004650@strawberry.ncifcrf.gov> Lars: > pretty forward > \left( \frac12 \middle | \frac 12 \right) > it goes in the middle ... ;-) Ok that worked: $\left( \frac12 \middle | \frac 12 \right)$ % big bar in the middle $\left( \frac12 | \frac 12 \right)$ % small bar in the middle $\left( \frac12 \middle) \middle( \frac 12 \right)$ % )( in the middle Thanks, Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From reinhard.kotucha at web.de Sat Jan 17 00:56:55 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sat, 17 Jan 2009 00:56:55 +0100 Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <200901162223.n0GMNwZZ003012@strawberry.ncifcrf.gov> References: <18797.31908.610595.842508@zaphod.ms25.net> <200901162223.n0GMNwZZ003012@strawberry.ncifcrf.gov> Message-ID: <18801.7879.574117.921963@zaphod.ms25.net> Tom Schneider writes: > Reinhard: > > > Tom Schneider writes: > > > Here's a puzzle for the sharp folks on this list! > > > > Hi Tom, > > the problem is obviously that unlike "silent", the word "ring" > > contains the letter "g" which has a descender, as Steve explained > > already. > > > > How can you achieve that all braces have the same size? There are > > many possible solutions. You could use struts or phantoms. > > > > However, there is a very elegant solution. All *tex programs except > > Knuth's tex itself are using the eTeX extensions for a couple of years > > now. > > > > $ pdftex \\relax\\bye > > This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) > > %&-line parsing enabled. > > entering extended mode <=========== > > No pages of output. > > Transcript written on texput.log. > > > > You are using \left and \right already, but eTeX provides a new > > primitive called \middle. See: > > > > http://tug.ctan.org/tex-archive/systems/e-tex/v2/doc/etex_man.pdf > > > > section 3.9 on page 12. > > Ok, thanks. I'm unsure how it would be used in this case. Hi Tom, a simple example: \begin{equation} \left( a+b \middle) \times \middle( \frac{a}{b} \right) \end{equation} As always: Whenever you've found out how things work, then you also understand the manual. :) But there is a hint in the manual though it can easily be overlooked: \middle. This explains the error message you got (! Missing delimiter). BTW, here is a single-line example file for plain TeX: $$ \left( a+b \middle) \times \middle( a \over b \right) $$ \bye Please note that it doesn't work with tex. You have to use etex, pdftex, pdfetex, ... instead. I didn't try, but I'm very sure that you can use \middle in Context, eplain, texinfo,... too. In short: It works on any machine which prints "entering extended mode" to screen. 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 toms at ncifcrf.gov Sat Jan 17 21:36:37 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Sat, 17 Jan 2009 15:36:37 -0500 (EST) Subject: [texhax] parenthesis problem in LaTeX In-Reply-To: <18801.7879.574117.921963@zaphod.ms25.net> from Reinhard Kotucha at "Jan 17, 2009 00:56:55 am" Message-ID: <200901172036.n0HKab5r026757@strawberry.ncifcrf.gov> Reinhard: > \begin{equation} > \left( a+b \middle) \times \middle( \frac{a}{b} \right) > \end{equation} > > As always: Whenever you've found out how things work, then you also > understand the manual. :) Yes, I see how that works now. > But there is a hint in the manual though it can easily be overlooked: > \middle. This explains the error message you got > (! Missing delimiter). Of course the trouble with a vague message like that doesn't say what to do ... In this case the message was fails with '! Missing delimiter (. inserted). which is quite confusing because the '(' and the ')' could be read as part of the message or as the symbols to be inserted. But it looks like maybe one needs a period somehow ... > BTW, here is a single-line example file for plain TeX: > > $$ \left( a+b \middle) \times \middle( a \over b \right) $$ \bye > > Please note that it doesn't work with tex. You have to use etex, > pdftex, pdfetex, ... instead. I didn't try, but I'm very sure that > you can use \middle in Context, eplain, texinfo,... too. In short: It > works on any machine which prints "entering extended mode" to screen. My LaTeX is telling me it is "entering extended mode". Thanks to everyone; my talk went well! Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From nkrau at sbcglobal.net Sun Jan 18 20:15:58 2009 From: nkrau at sbcglobal.net (Narayan Rau) Date: Sun, 18 Jan 2009 11:15:58 -0800 Subject: [texhax] Problems installing Latex Message-ID: <4F9B1DC65310431BB5B75F31BFACD1A4@kusumitaPC> Dear Group, I had Latex on my older computer -- worked well. After retiring, now I have bought a new computer with Widows vista and a HP 64 bit computer. I am having endless difficulties making latex to work after loading a discs I bought a few years ago (Tex live 6, August 2001, Sabastian Rahtz), Lehman Dante Tex software three discs of 11/2001, down loads of GS863w64.exc, and Gs view 4.9. Can anybody help giving me tips as to how I can make this work? If I need to buy any new discs, I will be happy to. Thanks, Dr. Narayan Rau -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090118/0f6d14b0/attachment.html From will.adams at frycomm.com Mon Jan 19 21:08:23 2009 From: will.adams at frycomm.com (William Adams) Date: Mon, 19 Jan 2009 15:08:23 -0500 Subject: [texhax] Problems installing Latex In-Reply-To: <4F9B1DC65310431BB5B75F31BFACD1A4@kusumitaPC> References: <4F9B1DC65310431BB5B75F31BFACD1A4@kusumitaPC> Message-ID: On Jan 18, 2009, at 2:15 PM, Narayan Rau wrote: > Can anybody help giving me tips as to how I can make this work? If > I need to buy any new discs, I will be happy to. I believe you'll have the best luck using miktex: http://www.miktex.org/ or proTeXt: http://www.tug.org/protext/ DVDs are available from the TUG store: http://www.tug.org/store/ William -- William Adams senior graphic designer Fry Communications From martin at oneiros.de Mon Jan 19 22:42:16 2009 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Mon, 19 Jan 2009 22:42:16 +0100 Subject: [texhax] Problems installing Latex In-Reply-To: <4F9B1DC65310431BB5B75F31BFACD1A4@kusumitaPC> References: <4F9B1DC65310431BB5B75F31BFACD1A4@kusumitaPC> Message-ID: <68c491a60901191342r2816ce55p6dfb377ae85513a4@mail.gmail.com> 2009/1/18 Narayan Rau : > loading a discs I bought a few years ago (Tex live 6, August 2001, Sabastian TL6 is ancient. > Can anybody help giving me tips as to how I can make this work? If I need > to buy any new discs, I will be happy to. You don't have to buy them: http://www.tug.org/texlive/ Best Martin From john.simmie at nuigalway.ie Tue Jan 20 11:32:20 2009 From: john.simmie at nuigalway.ie (Simmie, John) Date: Tue, 20 Jan 2009 10:32:20 -0000 Subject: [texhax] \raisebox problem Message-ID: <5987A522AEAB7548B380D086C85CD2410104094E@EVS1.ac.nuigalway.ie> In order to have same size symbols aligned in a Figure caption I have used the construct \caption{Estimated rate constants for 1-hydroxybutyl decomposition leading to the formation of {\footnotesize $\square$}~ethenol, {\small $\triangle$}~butanal, \raisebox{-0.2ex}{\Large $\circ$} butenol.} But LaTeX doesn't like it all ... altho' \raisebox{-0.2ex}{\Large $\circ$} works okay in normal paragraph mode. The Guide to LaTeX discourages me from using \protect, so what's my problem? Emeritus Professor John Simmie::Combustion Chemistry Centre::National University of Ireland, Galway From fatihtank at gmail.com Mon Jan 19 14:03:40 2009 From: fatihtank at gmail.com (Fatih TANK) Date: Mon, 19 Jan 2009 15:03:40 +0200 Subject: [texhax] abstract book Message-ID: dear sir i am looking for a template for an abstract book for editors but unf?rtunately i couldnt manage to find it. if you help me i will be appricitaed. regards. --- fatih tank -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090119/d35337d2/attachment.html From geoff at knauth.org Thu Jan 22 17:17:39 2009 From: geoff at knauth.org (Geoffrey S. Knauth) Date: Thu, 22 Jan 2009 11:17:39 -0500 Subject: [texhax] more capable letter style Message-ID: A few years ago I remember seeing a style or class that went way beyond letter.sty. I don't remember the name, and I can't find it on CTAN. Does this ring a bell with anyone? Geoffrey -- Geoffrey S. Knauth | http://knauth.org/gsk From cbourke at cse.unl.edu Thu Jan 22 23:20:21 2009 From: cbourke at cse.unl.edu (Christopher Bourke) Date: Thu, 22 Jan 2009 16:20:21 -0600 (CST) Subject: [texhax] Resolving conflicts (algorithm2e and listings) Message-ID: I'm using both the algorithm2e and listings packages for a document. I'm getting an error because both packages define the command, \@makecaption (the error involves the line \newcommand{\@makecaption}[2]{\relax}). Neither package mentions this conflict; is there an easy fix without having to hack one of the two package's style files? ----------------------------------------------- Chris Bourke cbourke at cse.unl.edu http://www.cse.unl.edu/~cbourke From cbourke at cse.unl.edu Thu Jan 22 23:35:55 2009 From: cbourke at cse.unl.edu (Christopher Bourke) Date: Thu, 22 Jan 2009 16:35:55 -0600 (CST) Subject: [texhax] algorithm2e/listings conflict [SOLVED] Message-ID: I've solved my own problem: I was using algorithm2e version 3.5. After upgrading to version 3.9 the conflict has been resolved. Sorry, I should have checked vesions before posting to the list. ----------------------------------------------- Chris Bourke cbourke at cse.unl.edu http://www.cse.unl.edu/~cbourke From reinhard.kotucha at web.de Fri Jan 23 01:24:04 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Fri, 23 Jan 2009 01:24:04 +0100 Subject: [texhax] abstract book In-Reply-To: References: Message-ID: <18809.3620.8147.144772@zaphod.ms25.net> On 19 January 2009 Fatih TANK wrote: > dear sir Hi, > i am looking for a template for an abstract book for editors but > unf?rtunately i couldnt manage to find it. if you help me i will be > appricitaed. Please provide more details about your requirements. 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 tsc25 at cantab.net Fri Jan 23 11:16:14 2009 From: tsc25 at cantab.net (Toby Cubitt) Date: Fri, 23 Jan 2009 11:16:14 +0100 Subject: [texhax] more capable letter style In-Reply-To: References: Message-ID: <497998EE.5010707@dr-qubit.org> Geoffrey S. Knauth wrote: > A few years ago I remember seeing a style or class that went way > beyond letter.sty. I don't remember the name, and I can't find it on > CTAN. Does this ring a bell with anyone? The "newlfm" package, perhaps? HTH, Toby From mailing_list at arcor.de Fri Jan 23 12:41:41 2009 From: mailing_list at arcor.de (Stephan Hennig) Date: Fri, 23 Jan 2009 12:41:41 +0100 Subject: [texhax] more capable letter style In-Reply-To: References: Message-ID: Geoffrey S. Knauth schrieb: > A few years ago I remember seeing a style or class that went way > beyond letter.sty. I don't remember the name, and I can't find it on > CTAN. Does this ring a bell with anyone? Does this link help? Best regards, Stephan Hennig From george at galis.org Fri Jan 23 14:25:56 2009 From: george at galis.org (George Georgalis) Date: Fri, 23 Jan 2009 14:25:56 +0100 Subject: [texhax] more capable letter style In-Reply-To: References: Message-ID: <20090123132556.GB22239@fuji.local> On Thu 22 Jan 2009 at 11:17:39 AM -0500, Geoffrey S. Knauth wrote: >A few years ago I remember seeing a style or class that went way >beyond letter.sty. I don't remember the name, and I can't find it on >CTAN. Does this ring a bell with anyone? Maybe memoir? http://www.ctan.org/tex-archive/help/Catalogue/entries/memoir.html ---George -- George Georgalis, Information System Specialist < From P.Taylor at Rhul.Ac.Uk Fri Jan 23 20:17:25 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Fri, 23 Jan 2009 19:17:25 +0000 Subject: [texhax] Alignments and Knuth's uncertainty principle ... Message-ID: <497A17C5.5070106@Rhul.Ac.Uk> Oh gurus and TeX-meisters ... In a horizontal alignment, if (for a given column) no row contains an entry solely for that column, but instead invariably coalesces that column either to the left, or to the right, or both, using \span, how does TeX compute the width of that column. And, if in a similar alignment, there are a number of such columns that abut each other, how does TeX distribute the space amongst them ? This all comes from trying to typeset family trees, which problem is driving me quietly insane :-( ** Phil. From emanuele.ro at googlemail.com Sat Jan 24 13:42:16 2009 From: emanuele.ro at googlemail.com (Emanuele Rodo) Date: Sat, 24 Jan 2009 13:42:16 +0100 Subject: [texhax] Tlmgr problem Message-ID: Hello there: I met this problem, since I had to abort the process (on OS X 10.5.6): sudo tlmgr update --all -v then receiving the error message: Unknown directive ...longd... , please fix it! at /usr/local/texlive/ 2008/tlpkg/TeXLive/TLPOBJ.pm line 232, line 80290. (The error message doesn't change for different tlmgr commands.) Do you know how to fix it? Many thanks in advance. Emanuele Rodo. From karl at freefriends.org Sun Jan 25 02:29:09 2009 From: karl at freefriends.org (Karl Berry) Date: Sat, 24 Jan 2009 19:29:09 -0600 Subject: [texhax] Tlmgr problem In-Reply-To: Message-ID: <200901250129.n0P1T9C00761@f7.net> Unknown directive ...longd... , please fix it! at /usr/local/texlive/ 2008/tlpkg/TeXLive/TLPOBJ.pm line 232, line 80290. It looks like your tlpkg/texlive.tlpdb file has been corrupted or truncated somehow. I believe that error message is reporting the entire line as it was found, and it should not just be "longd". (Clearly the start of "longdesc", one of the directives.) The best recovery would be if you have a recent copy of the texlive.tlpdb file you can just put into place. Let me know if you need to pursue some other way ... From geoff at knauth.org Sun Jan 25 06:35:35 2009 From: geoff at knauth.org (Geoffrey S. Knauth) Date: Sun, 25 Jan 2009 00:35:35 -0500 Subject: [texhax] more capable letter style In-Reply-To: <20090123132556.GB22239@fuji.local> References: <20090123132556.GB22239@fuji.local> Message-ID: <5A496857-748D-4888-B370-21C38BE6D0BD@knauth.org> Thanks Toby, Stephan, George. It might have been newlfm I remembered. I appreciate the help, and at least now I have a few more options. From asnd at triumf.ca Sun Jan 25 23:17:59 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 25 Jan 2009 14:17:59 -0800 Subject: [texhax] Alignments and Knuth's uncertainty principle ... In-Reply-To: <497A17C5.5070106@Rhul.Ac.Uk> References: <497A17C5.5070106@Rhul.Ac.Uk> Message-ID: "Philip TAYLOR (Ret'd)" writes: > In a horizontal alignment, if (for a given column) no row contains > an entry solely for that column, but instead invariably coalesces > that column either to the left, or to the right, or both, using > \span, how does TeX compute the width of that column. This situation does lead to surprising behavior that looks buggy at first. TeX gives the smallest feasible width to that unconstrained column, and that width is likely *negative*. If you give a blank row somewhere with all independent columns so as to enforce a minimum zero width per column, then the resulting layout will look a lot more sensible. > a similar alignment, there are a number of such columns that > abut each other, how does TeX distribute the space amongst them ? You may get columns that have no unique identity, and they will be dropped -- combined with an adjacent column. Each under-defined but independent column will be minimized I'm not sure how this applies to your exact case; you could post or send an example to clarify. -- Donald Arseneau asnd at triumf.ca From murthyds at avyaajamu.net Sun Jan 25 15:52:59 2009 From: murthyds at avyaajamu.net (Murthy Devarakonda) Date: Sun, 25 Jan 2009 15:52:59 +0100 Subject: [texhax] usage of LIG/> in virtual fonts Message-ID: <497C7CCB.3060806@avyaajamu.net> I am new to this group. I need clarity on the semantics of '>' in the LIGTABLE of virtual fonts. I could not find a clear explanation in any document so far. I am trying to render some Asian fonts using this feature, but I am stuck here. The documents says "the > signs specify passing over the result without further ligature processing". I assume that the ligature replacements are made while processing a character sequence from left to right. And this is done repeatedly until there are no replacements to be made. Is this correct? If so, can someone explain with an example how exactly this is done? many thanks for any help, Murthy From chandru.mcc at gmail.com Mon Jan 26 08:13:52 2009 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Mon, 26 Jan 2009 12:43:52 +0530 Subject: [texhax] Converting Latex 2 HTML Message-ID: Hi- I am using MikTex 2.7 and i need the command line arguements for converting .tex to .html. I think the package which should be used is latex2html. Anyway i use TexMaker as the editing machine and there is an automatic option for converting latex2html but that doesnt seem to work. In case any ideas regarding this would be helpful Chandrasekhar -- "Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away"- Antoine de Saint Exepury -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090126/ec9acdf4/attachment.html From prstanley at ntlworld.com Mon Jan 26 22:36:30 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Mon, 26 Jan 2009 21:36:30 +0000 Subject: [texhax] description of text in {\tt } Message-ID: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Hi there What does the text in {\tt } look like? Is it fixed width? The definition just says "typewriter typeface". BTW, the reason I'm asking the list is because I'm blind and the end result of a latex compilation i.e. dvi or pdf isn't very accessible. So I can't get the information via my screen reader. Many thanks in advance for any help. Cheers, Paul From millstadtf at gmail.com Mon Jan 26 23:30:50 2009 From: millstadtf at gmail.com (Robert Wilson) Date: Mon, 26 Jan 2009 14:30:50 -0800 Subject: [texhax] description of text in {\tt } In-Reply-To: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <44ff02430901261430m47fb083as361bd7a354f75e09@mail.gmail.com> Hi Paul, Perhaps someone more knowledgeable about fonts can give you a better description, but `typewriter typeface' is fixed width; I often use it when including programming code. HTH, Bob On Mon, Jan 26, 2009 at 1:36 PM, P. R. Stanley wrote: > Hi there > What does the text in {\tt } look like? Is it fixed width? The > definition just says "typewriter typeface". > BTW, the reason I'm asking the list is because I'm blind and the end > result of a latex compilation i.e. dvi or pdf isn't very accessible. > So I can't get the information via my screen reader. > Many thanks in advance for any help. > Cheers, Paul > > _______________________________________________ > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090126/43b5732c/attachment.html From bnb at ams.org Mon Jan 26 23:12:46 2009 From: bnb at ams.org (Barbara Beeton) Date: Mon, 26 Jan 2009 17:12:46 -0500 (EST) Subject: [texhax] description of text in {\tt } In-Reply-To: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: hello, paul, What does the text in {\tt } look like? Is it fixed width? The definition just says "typewriter typeface". yes, {\tt } is a fixed-width font, typically used for things like typing instructions or url's or file names. BTW, the reason I'm asking the list is because I'm blind and the end result of a latex compilation i.e. dvi or pdf isn't very accessible. So I can't get the information via my screen reader. can you tell us, please, what kinds of documentation would you find helpful? quite a few readers of this list are responsible for documentation, and maybe we (and others in turn) can benefit from your point of view. -- bb From uwe.lueck at web.de Tue Jan 27 00:55:29 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 27 Jan 2009 00:55:29 +0100 Subject: [texhax] description of text in {\tt } In-Reply-To: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pi ne.ntlworld.com> Message-ID: <5.1.0.14.0.20090126231431.02749110@pop3.web.de> Hi Paul, At 22:36 26.01.09, P. R. Stanley wrote: >BTW, the reason I'm asking the list is because I'm blind and the end >result of a latex compilation i.e. dvi or pdf isn't very accessible. >So I can't get the information via my screen reader. thanks, I dare to represent the TeX users' community by declaring requests on accessibility of TeX for the blind to be very welcome. >What does the text in {\tt } look like? Is it fixed width? The >definition just says "typewriter typeface". \tt generates fixed width, as you guessed. For additional explanations of "typewriter typeface", it may be useful to know about "antiqua" and "grotesque" kinds of typefaces. The "Computer Modern Roman" fonts standard for TeX belong to the "Antiqua" type, \sf generates a font of type "Grotesque". "Antiqua" has serifs, "Grotesque" does not. Moreover, the thickness of lines clearly varies in "Antiqua", upright lines are thick, horizontal lines are rather thin. Serifs are horizontal and thin (in \sf/"sans serif" this is less clear to see). Comparing the English and the German Wikipedia, it appears to me that the English version interpretes "Antiqua" too narrowly, in my view e.g. "Times" is a kind of "Antiqua". "Typewriter typeface" has serifs like "Antiqua", but all the lines have the same thickness. The letters thus look like being composed just of vertical and horizontal strokes and of half circles, all of the same lengths (apart from `v' and `w'). By contrast, displays of simple computer text editors use typefaces with only few serifs, only to achieve fixed width without "horizontal wholes", these are "filled" by the few serifs. However, all this are just my impressions, I haven't attended any courses to learn these things properly. Now for the *practical* point of view. To best of my knowledge, \tt is useful for nothing than for referring to "code", one kind of applications is documentation of software, another is typesetting URLs. Its existence in TeX stems from the fact that the TeX program and its macros from its beginning onwards were used for typesetting their own documentations. But this means that \tt is useful only for a few inline words or for short "quotations" from software code (or for code listings). There is a different application for "typewriter typeface" I have been interested in: I find it silly or somewhat too bold to send letters that are typeset like books (while I still want to use TeX for typesetting letters). Also, the typefaces of those "letters" nowadays typeset in "Times" etc. may be difficult to read for many people even not outright blind, they are too small and narrow. Moreover, if you typeset a letter on the typical paper (DIN A4 or letter paper), the lines are much longer than in books, thus they tend to contain too many characters than would be appropriate from a typographic view or for readability. Therefore, official letters from public offices in Germany quite often have used a "typewriter typeface" although typeset by computer. For this purpose however, hyphenation is very important (especially since German words are so long ...). \tt doesn't allow hyphenation. - I wrote this assuming you considered *using* \tt, and this may be a difficult matter. Hope this helps, Uwe. From P.Taylor at Rhul.Ac.Uk Tue Jan 27 13:56:02 2009 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Tue, 27 Jan 2009 12:56:02 +0000 Subject: [texhax] Alignments and Knuth's uncertainty principle ... In-Reply-To: References: <497A17C5.5070106@Rhul.Ac.Uk> Message-ID: <497F0462.5060901@Rhul.Ac.Uk> Donald Arseneau wrote: > This situation does lead to surprising behavior that looks > buggy at first. TeX gives the smallest feasible width to > that unconstrained column, and that width is likely > *negative*. Many thanks for your observations, Donald. I take it that a column width can become negative (in the scenario that we are discussing) only if the overall width of the alignment is constrained (is this the case ?). > If you give a blank row somewhere with all > independent columns so as to enforce a minimum zero width > per column, then the resulting layout will look a lot more > sensible. In fact, my problem was needing a maximum width rather than a minimum one; very briefly, I was attempting to align three types of row : one containing a name, with optional additional data; one containing a solidus; and one containing an "=" sign, preceded by a date and followed by a name. My idea was to place the solidus in a single column, cause the "=" to span three columns (the middle one being the solidus column), and cause the name in row one to span columns 1 and 2, 4 and 5 (this is, of course, a simplification, but you will get the idea). The problem was that the name spanning columns 1 and 2 caused column 2 to grow in width, whereas I had (very naively) thought that column 2 would take the width of half an "=" minus the width of an "|", leaving column 1 to grow as necessary in order to accommodate the name. Unless I am missing something very obvious, it does seem to me that \haligns could be considerably more powerful if one could place constraints on column widths (and, in particular, if one could specify the maximum width for a column). I'm now investigating dynamic preambles to see if I can apply the constraints that way. > you could post or send an example to clarify. Well, the code on which I was working I now understand, and I have come to realise that the author's expression of the family tree left quite a lot to be desired, so I am trying to reformulate her tree layout first, and then will have another go at implementing it through TeX. ** Phil. From uwe.lueck at web.de Tue Jan 27 17:04:50 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 27 Jan 2009 17:04:50 +0100 Subject: [texhax] Alignments and Knuth's uncertainty principle ... In-Reply-To: <497F0462.5060901@Rhul.Ac.Uk> References: <497A17C5.5070106@Rhul.Ac.Uk> Message-ID: <5.1.0.14.0.20090127163217.02f249f0@pop3.web.de> At 13:56 27.01.09, Philip TAYLOR wrote: >In fact, my problem was needing a maximum width rather >than a minimum one; [snip] >Unless I am missing something very obvious, it does >seem to me that \haligns could be considerably more >powerful if one could place constraints on column >widths (and, in particular, if one could specify the >maximum width for a column). I'm now investigating >dynamic preambles to see if I can apply the constraints >that way. We had this earlier, then concerning LaTeX tabular environments. With usual simple preambles, cells are considered \hboxes, so a maximum width would mean something may stick out. If you want to break lines within cells, you need preambles like \vbox\bgroup\hsize#\egroup. The LaTeX tabularx package offers some "dynamic" control of the \hsizes (maybe I then forgot to mention this), but problems remain: if there is little horizontal space, horizontal spacing within cells may look awful. Once I did "manual" line breaking, then measure the longest line in each column ... but formerly I proposed (I hope) to treat cells as one-column \haligns, using \cr for manual line breaking within cells. For a real "maximum width" feature, doing line breaking within cells automatically and using *less* than "maximum width" if possible, I first would like to know an algorithm, i.e. a more specific specification of the "maximum width" feature. Personally, I prefer doing the manual way before I analyse which algorithm I am following when I choose certain manual line breaks. However, I think my goal usually is minimizing the height of the table, cf. TeXbook pp. 386ff. for balancing just two columns. Enjoy! :-) Cheers, Uwe. From uwe.lueck at web.de Tue Jan 27 17:30:23 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Tue, 27 Jan 2009 17:30:23 +0100 Subject: [texhax] Alignments ... [fragile posting] Message-ID: <5.1.0.14.0.20090127172641.02ef6ce0@pop3.web.de> >\vbox\bgroup\hsize#\egroup. After \hsize, I put a meta-variable "max-width" enclosed in less-than/greater-than symbols, but Eudora seems to have misinterpreted this as something concerning the web, so gobbling it. -- Uwe. From prstanley at ntlworld.com Tue Jan 27 21:08:06 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Tue, 27 Jan 2009 20:08:06 +0000 Subject: [texhax] description of text in {\tt } In-Reply-To: References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <20090127200806.EPQA19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> >can you tell us, please, what kinds of documentation >would you find helpful? quite a few readers of this >list are responsible for documentation, and maybe we >(and others in turn) can benefit from your point of view. Hello Barbara Thanks for the explanation. My favourite LaTeX documentation would contain more words describing the physical effect of the commands in specific packages. I appreciate that LaTeX is mainly concerned with the logical layout of the document, hence its appeal to a lot of blind people, however, for those of us who want to do more than typesetting articles it would be amply useful to have a visual perspective of the end result in PDF or DVI, the rationale being that we can then decide when and where to introduce that \tt, mbox or ... command. This is a much more pressing problem with other more visual subsets of LaTeX such as the XY package. Currently, there is no accessible tool for producing mathematical drawings except XY. The only obstacle to it becoming the de facto typsetting tool for blind people is the lack of comprehensible tutorials with text that is independent of the visual illustrations. I hope that gives you a clearer idea of the situation. Please let me know if I can contribute towards the creation of more blind accessible documentation. Cheers Paul From toms at ncifcrf.gov Tue Jan 27 22:22:14 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Tue, 27 Jan 2009 16:22:14 -0500 (EST) Subject: [texhax] description of text in {\tt } In-Reply-To: <20090127200806.EPQA19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> from "P. R. Stanley" at "Jan 27, 2009 08:08:06 pm" Message-ID: <200901272122.n0RLME32013498@strawberry.ncifcrf.gov> Paul: > >can you tell us, please, what kinds of documentation > >would you find helpful? quite a few readers of this > >list are responsible for documentation, and maybe we > >(and others in turn) can benefit from your point of view. > > Hello Barbara > Thanks for the explanation. > > My favourite LaTeX documentation would contain more words describing > the physical effect of the commands in specific packages. I > appreciate that LaTeX is mainly concerned with the logical layout of > the document, hence its appeal to a lot of blind people, however, for > those of us who want to do more than typesetting articles it would be > amply useful to have a visual perspective of the end result in PDF or > DVI, the rationale being that we can then decide when and where to > introduce that \tt, mbox or ... command. > This is a much more pressing problem with other more visual subsets > of LaTeX such as the XY package. Currently, there is no accessible > tool for producing mathematical drawings except XY. The only obstacle > to it becoming the de facto typsetting tool for blind people is the > lack of comprehensible tutorials with text that is independent of the > visual illustrations. > I hope that gives you a clearer idea of the situation. > Please let me know if I can contribute towards the creation of more > blind accessible documentation. Interesting discussion. Two notes: 1. Often documentation assumes that the reader already knows what the package is for or does. So one has to try the package to see if it does what one is trying to do. This can take a lot of time to no avail. This dovetails with Paul's comment. Having explicit descriptions of what each package is about (and what its effects are) up front would really help make LaTeX much more useful. Also, it could reduce traffic on this group if it were well organized. 2. I've used pstricks to make drawings, that might be of some use to you. Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From asnd at triumf.ca Wed Jan 28 00:09:54 2009 From: asnd at triumf.ca (Donald Arseneau) Date: 27 Jan 2009 15:09:54 -0800 Subject: [texhax] Alignments and Knuth's uncertainty principle ... In-Reply-To: <497F0462.5060901@Rhul.Ac.Uk> References: <497A17C5.5070106@Rhul.Ac.Uk> <497F0462.5060901@Rhul.Ac.Uk> Message-ID: Philip TAYLOR writes: > Donald Arseneau wrote: > > > This situation does lead to surprising behavior that looks > > buggy at first. TeX gives the smallest feasible width to > > that unconstrained column, and that width is likely > > *negative*. > > Many thanks for your observations, Donald. I take it > that a column width can become negative (in the > scenario that we are discussing) only if the overall > width of the alignment is constrained (is this the > case ?). No, the width can be negative in natural-width \halign if a column has no singleton cells, but cannot be merged with another column due to overlapping spans. > get the idea). The problem was that the name spanning > columns 1 and 2 caused column 2 to grow in width, whereas > I had (very naively) thought that column 2 would take > the width of half an "=" minus the width of an "|", > leaving column 1 to grow as necessary in order to > accommodate the name. So this is a different matter, and it sounds like there are individual entries in each column. > Unless I am missing something very obvious, This case *is* covered explicitly in The TeXbook. In my old copy it is a paragraph on page 245: "...sometimes they produce undesirable effects... all the excess width is allocated to the third [final] column." Knuth recommends \hidewidth to help, but it isn't terribly useful. An old standby automatic solution is a finite shrinkable \tabskip, if you are using {tabular*} ot \halign to{} to force a specific overall width. > seem to me that \haligns could be considerably more > powerful They are very primitive. Browsers render html tables much more powerfully. In TeX, further features must be built with tricky macros. See tabularx/tabulary packages for LaTeX. -- Donald Arseneau asnd at triumf.ca From reinhard.kotucha at web.de Wed Jan 28 02:45:10 2009 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Wed, 28 Jan 2009 02:45:10 +0100 Subject: [texhax] description of text in {\tt } In-Reply-To: <5.1.0.14.0.20090126231431.02749110@pop3.web.de> References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pi ne.ntlworld.com> <5.1.0.14.0.20090126231431.02749110@pop3.web.de> Message-ID: <18815.47270.213062.432794@zaphod.ms25.net> On 27 January 2009 Uwe L?ck wrote: > I find it silly or somewhat too bold to send letters that are > typeset like books (while I still want to use TeX for typesetting > letters). Also, the typefaces of those "letters" nowadays typeset > in "Times" etc. may be difficult to read for many people even not > outright blind, they are too small and narrow. Moreover, if you > typeset a letter on the typical paper (DIN A4 or letter paper), the > lines are much longer than in books, thus they tend to contain too > many characters than would be appropriate from a typographic view > or for readability. Uwe, I don't think it's silly to write letters which are as beautiful as carefully typeset books. The typographic rules are the same. Of course, A4 and letter sheets are much larger than books and probably require a different page layout (larger margins). Times New Roman had been designed in 1931 by Stanley Morison. The sole purpose of this design was to solve problems with very narrow columns in newspapers. If you are using this font for anything else, don't wonder that the result is not good. There are plenty of fonts which are more appropriate than Times. Try Garamond or Palatino, they both are quite comprehensible. Much more comprehensible than Times and much more appropriate for letters. And typewriter fonts are good for nothing else than to typeset computer code. > Therefore, official letters from public offices in Germany quite > often have used a "typewriter typeface" although typeset by > computer. Of course, if the software they are using still depends on MS-DOG... This sounds strange but I had been quite surprized when someone who is deeply involved in these things told me recently that one of the biggest companies in Germany is still using emTeX on OS/2. > For this purpose however, hyphenation is very important (especially > since German words are so long ...). \tt doesn't allow hyphenation. > - I wrote this assuming you considered *using* \tt, and this may be > a difficult matter. Forget about typewriter fonts and 'Times' in letters. If the addressee doesn't know you personally, your letter is all he has in order to form an opinion about you. Good typography is a must. *Especially* in this case. There is also a variable width typewriter font in Computer Modern. Try this: \font\vtt=cmvtt10 \tt hello\par \vtt hello \bye It's not useful for typesetting computer code but it's definitely useful for typesetting URLs. Does cmvtt allows hyphenation? I didn't try. However, your proposal to use typewwriter fonts is fine for letters to the fiscal authorities, though. And don't hesitate to use Times or even more ugly fonts in this particular case. Futura is a good choice, too... Regards, Reinhard PS: Can anybody explain this? \font\vtt=cmvtt10 \tt hello me\par \vtt hello me \bye The 'm' is wrong in both cases. Compare "l" with "m". -- ---------------------------------------------------------------------------- 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 chaa006 at gmail.com Tue Jan 27 17:20:07 2009 From: chaa006 at gmail.com (Philip TAYLOR) Date: Tue, 27 Jan 2009 16:20:07 +0000 Subject: [texhax] Alignments and Knuth's uncertainty principle ... In-Reply-To: <5.1.0.14.0.20090127163217.02f249f0@pop3.web.de> References: <497A17C5.5070106@Rhul.Ac.Uk> <5.1.0.14.0.20090127163217.02f249f0@pop3.web.de> Message-ID: <497F3437.8050001@Royal-Tunbridge-Wells.Org> Uwe L?ck wrote: > We had this earlier, then concerning LaTeX tabular environments. > With usual simple preambles, cells are considered \hboxes, > so a maximum width would mean something may stick out. Ah yes, but in the case I was considering, I knew the maximum width of a single-cell entry for the column, but wanted its adjacent (preceding) column to expand when the two were merged through the medium of a \span, in order to accommodate the widest entry for the spanned pair of columns. As I am writing, I am beginning to wonder if one possible solution would be to eschew \spans, and instead to (somehow) cause the earlier column to \rlap by the maximum width of the later column into the latter ... > If you want to break lines within cells, you need preambles like > \vbox\bgroup\hsize#\egroup. Of course. > [snip] ** Phil. From pierre.mackay at comcast.net Wed Jan 28 07:19:07 2009 From: pierre.mackay at comcast.net (Pierre MacKay) Date: Tue, 27 Jan 2009 22:19:07 -0800 Subject: [texhax] description of text in {\tt } In-Reply-To: <18815.47270.213062.432794@zaphod.ms25.net> References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pi ne.ntlworld.com> <5.1.0.14.0.20090126231431.02749110@pop3.web.de> <18815.47270.213062.432794@zaphod.ms25.net> Message-ID: <497FF8DB.8090609@comcast.net> I am in complete agreement with reinhard, both about the needless use of typewriter fonts and about the avoidance of Times Roman in places where it doesn't belong. (A very minor point, though---what Stanley Morison released to the world in the 1930s was Times Roman. Times New Roman is a relatively recent update.) But I am puzzled by the statement that it is impossible to hyphenate typewriter fonts. Here is what I get in plain TeX. *\tentt *\showthe\font > \tentt . \font *\showhyphens{hyphenation} Underfull \hbox (badness 10000) detected at line 0 [] \tenrm hy-phen-ation *\showthe\font > \tentt . \font which woud seem to indicate that \tentt has no trouble with hyphenation. I could turn it off by setting the \hyphenchar for \tentt to -1, or I could set \lefthyphenmin to 10000 in any \tt environment, but the default appears to be to permit hyphenation in a \tentt environment. That said, by all means follow Reinhard's advice and use Charter, or Palatino, or Computer Modern for letters rather than typewriter font. If you really need a monospaced font, dear old Courier is still a reliable resource. Pierre MacKay From chaa006 at gmail.com Wed Jan 28 10:03:43 2009 From: chaa006 at gmail.com (Philip TAYLOR) Date: Wed, 28 Jan 2009 09:03:43 +0000 Subject: [texhax] description of text in {\tt } In-Reply-To: <497FF8DB.8090609@comcast.net> References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pi ne.ntlworld.com> <5.1.0.14.0.20090126231431.02749110@pop3.web.de> <18815.47270.213062.432794@zaphod.ms25.net> <497FF8DB.8090609@comcast.net> Message-ID: <49801F6F.7010006@Royal-Tunbridge-Wells.Org> I suspect that the apparent failure to hyphenate is actually the result of trying to typeset using a monospaced font within a justified regime. If \raggedright were used in conjunction with \tt, I suspect that all would be well. ** Phil. -------- Pierre MacKay wrote: > But I am puzzled by the statement that it is impossible to hyphenate > typewriter fonts. From n.talbot at uea.ac.uk Wed Jan 28 10:35:57 2009 From: n.talbot at uea.ac.uk (Dr Nicola L C Talbot) Date: Wed, 28 Jan 2009 09:35:57 +0000 Subject: [texhax] description of text in {\tt } In-Reply-To: <20090127200806.EPQA19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <20090127200806.EPQA19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <498026FD.8000104@uea.ac.uk> P. R. Stanley wrote: > My favourite LaTeX documentation would contain more words describing > the physical effect of the commands in specific packages. I > appreciate that LaTeX is mainly concerned with the logical layout of > the document, hence its appeal to a lot of blind people, however, for > those of us who want to do more than typesetting articles it would be > amply useful to have a visual perspective of the end result in PDF or > DVI, the rationale being that we can then decide when and where to > introduce that \tt, mbox or ... command. > This is a much more pressing problem with other more visual subsets > of LaTeX such as the XY package. Currently, there is no accessible > tool for producing mathematical drawings except XY. The only obstacle > to it becoming the de facto typsetting tool for blind people is the > lack of comprehensible tutorials with text that is independent of the > visual illustrations. > I hope that gives you a clearer idea of the situation. > Please let me know if I can contribute towards the creation of more > blind accessible documentation. > Cheers > Paul The HTML version of my "LaTeX for Complete Novices" tutorial uses bitmaps to show the example output but where the alt tag isn't sufficient to describe the output, the bitmap is linked to a page with a more in depth description (e.g. both bitmaps in http://theoval.cmp.uea.ac.uk/~nlct/latex/novices/itemize.html). Is this the kind of thing that you're thinking about? Any comments to help improve the accessibility would be very welcome. Regards Nicola Talbot -- http://theoval.cmp.uea.ac.uk/~nlct/ From chaa006 at gmail.com Wed Jan 28 10:44:01 2009 From: chaa006 at gmail.com (Philip TAYLOR) Date: Wed, 28 Jan 2009 09:44:01 +0000 Subject: [texhax] Alignments and Knuth's uncertainty principle ... In-Reply-To: References: <497A17C5.5070106@Rhul.Ac.Uk> <497F0462.5060901@Rhul.Ac.Uk> Message-ID: <498028E1.2040004@Royal-Tunbridge-Wells.Org> Donald Arseneau wrote: > No, the width can be negative in natural-width \halign if > a column has no singleton cells, but cannot be merged > with another column due to overlapping spans. Right, thank you for the clarification, Donald. > >> get the idea). The problem was that the name spanning >> columns 1 and 2 caused column 2 to grow in width, whereas >> I had (very naively) thought that column 2 would take >> the width of half an "=" minus the width of an "|", >> leaving column 1 to grow as necessary in order to >> accommodate the name. > > So this is a different matter, and it sounds like there are > individual entries in each column. No, columns 2 & 4 have no individual entries; they are coalesced with 1 & 3, and 3 & 5, respectively. But we should not waste too much time here : your original explanation was very helpful, and led me to add sufficient visual debugging to see clearly where I was going wrong. > This case *is* covered explicitly in The TeXbook. In my > old copy it is a paragraph on page 245: "...sometimes they > produce undesirable effects... all the excess width is > allocated to the third [final] column." Yes, I read that; "undesirable" is an understatement ! > An old standby automatic solution is a finite shrinkable > \tabskip, if you are using {tabular*} ot \halign to{} > to force a specific overall width. Interesting idea, and not one that I had considered, although I played with \tabskip for a bit; however, the \halign has no preferred size, so it probably won't help here. Just for the benefit of anyone else following this thread, my idea yesterday "to (somehow) cause the earlier column to \rlap by the maximum width of the later column into the latter ..." turned out to be quite simple : the preamble now reads -- > #&\hbox spread -0,5 \equalswidth {#\hss}&#&\hbox spread -0,5 \equalswidth {\hss#}&#\cr ** Phil. From uwe.lueck at web.de Wed Jan 28 11:17:05 2009 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Wed, 28 Jan 2009 11:17:05 +0100 Subject: [texhax] description of text in {\tt } In-Reply-To: <497FF8DB.8090609@comcast.net> References: <18815.47270.213062.432794@zaphod.ms25.net> <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pi ne.ntlworld.com> <5.1.0.14.0.20090126231431.02749110@pop3.web.de> <18815.47270.213062.432794@zaphod.ms25.net> Message-ID: <5.1.0.14.0.20090128110114.02741d70@pop3.web.de> At 07:19 28.01.09, Pierre MacKay wrote: >But I am puzzled by the statement that it is impossible to hyphenate >typewriter fonts. Here is what I get in plain TeX. > >*\tentt >*\showthe\font > > \tentt . > \font > >*\showhyphens{hyphenation} >Underfull \hbox (badness 10000) detected at line 0 >[] \tenrm hy-phen-ation >*\showthe\font > > \tentt . > \font > >which woud seem to indicate that \tentt has no trouble with hyphenation. >I could turn it off by setting the \hyphenchar for \tentt to -1, or I >could set \lefthyphenmin to 10000 in any \tt environment, but the default >appears to be to permit hyphenation in a \tentt environment. Just for this TeXnical point: Your \showhyphens resulted in `\tenrm...' Plain TeX \showhyphens switches to \tenrm (TeXbook p. 364), LaTeX \showhyphens to \normalfont. To see hyphenation under \tt, \showhyphens{\tt hyphenation} (no hyphens). \tt \showthe\hyphenchar\font: -1. I didn't learn this by frightening experience, but I read (in the TeXbook? where?) that this is a feature of cmtt, the rationale being that it is made "for nothing else than to typeset computer code" (Reinhard). It is not a general problem with typewriter typefaces. For my letter class, I just switch to the appropriate positive \hyphenchar\font. -- And when I made it, just wanted to have something simple, at that time this was very important for me. And I wanted that it looks simple. If I think about what the reader will think about me, I still prefer something looking simple. (May change depending on situation.) Cheers, Uwe L. From toms at ncifcrf.gov Wed Jan 28 20:42:07 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 28 Jan 2009 14:42:07 -0500 (EST) Subject: [texhax] MacTeX installation Message-ID: <200901281942.n0SJg7Bi004476@strawberry.ncifcrf.gov> TeXHaXers: I finally got around to installing MacTeX from the September 2008 DVD. I decided to try MacTeX instead of TeX Live since the documentation says that all of TeX Live is in MacTeX. Why not see what the interface is like? The installation went smoothly, and MacTeX runs nicely. Congratulations. I usually use LaTeX from the command line (or scripts) so I tested that and found one small discrepancy. % which latex /usr/bin/latex Then: % cd /usr/bin % ls -l latex lrwxr-xr-x 1 root wheel 45 Mar 22 2006 latex@ -> /usr/local/texlive/2005/bin/i386-darwin/latex That is, the pointer in /usr/bin was not updated, so I was still using the old latex installation. I did that by hand using ln and sudo: lrwxr-xr-x 1 root wheel 50 Jan 28 14:26 latex@ -> /usr/local/texlive/2008/bin/universal-darwin/latex If it is possible, I would suggest making this modification to the installation script. Actually, I changed the name to latex2005 just so I could get back to it. An option to delete the previous installation probably would be useful too. Regards, Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From Jerzy.Ludwichowski at uni.torun.pl Wed Jan 28 23:10:03 2009 From: Jerzy.Ludwichowski at uni.torun.pl (Jerzy Ludwichowski) Date: Wed, 28 Jan 2009 23:10:03 +0100 Subject: [texhax] BachoTeX 2009 -- Call for Papers Message-ID: <4980D7BB.4030402@uni.torun.pl> Dear TeXies, TeX friends and lovers of fine typography -- This is an invitation to BachoTeX 2009, the XVIIth Polish TeX Users Group Conference. As usual, it will be held at the traditional TeXies' and GUST meeting place, Bachotek near Brodnica, in the north-east of Poland, from April 29 until May 3, 2009 inclusive. We are again trying to get a glimpse of the future, whence the conference title: "TeX: at a turning point, or at the crossroads?" The community is putting a lot of effort and thought into possible strategies for promoting and developing TeX and related products for the foreseeable future, including : * TeX, and TeX-based engines * enhanced graphics engines * new or improved macro packages * user interfaces * new fonts Work progresses in many different directions, and thus there is clearly hope for an ever better future, even though the more pessimistic may wonder whether TeX represents an evolutionary dead-end. In this context the feedback between users and developers of new tools and engines is immensely important -- it might decide whether within a few years we will be looking back at today as a successful turning point or as a bad decision at the crossroads of TeX's history. Some say that they have never believed that conference themes/mottos have any impact on submissions anyway. We, the Program Committee, think otherwise; please help us to prove our point ! Although we do not restrict what your presentations should be about, we would be more than happy if your contribution will be user-centric and oriented towards the future of TeX with special emphasis on the needs, hopes and dangers. Proposals (abstracts) should be e-mailed to the Program Committee, which listens at the address of papers-2009 at gust dot org dot pl. Bogus\l{}aw Jackowski is the appointed chairman. Also, please note the ``Call for TeX Pearls'' below. Especially welcome are proposals for TeX-related tutorials or introductions. If you have suggestions for tutorials or workshops by others than yourself or about specific topics, please let us know. The deadline for abstracts and other proposals is the March 8th. The deadline for final papers will soon be published at the conference web site: http://www.gust.org.pl/BachoTeX/2009 Recovery from stress Exhausted TeXies will get a chance to recover their intellectual powers during nightly musical sessions, usually at a bonfire. Participate by bringing your own instruments (and voices) ! Nature fans will have the opportunity to enjoy the unspoiled features of the Bachotek lake and surrounding woods : http://www.gust.org.pl/bachotex/2008/gallery/andrzej-odyniec/20080502_122214_DSC0116.jpg The conference could also be a family event -- the conference site is an enclosed area with a safe and attractive playing ground for children and parents alike : http://www.gust.org.pl/bachotex/2008/gallery/andrzej-odyniec/20080502_192247_DSC0150.jpg http://www.gust.org.pl/bachotex/2008/gallery/andrzej-odyniec/20080501_161111_DSC0065.jpg Please make the most of the opportunity ! Call for TeX Pearls We are continuing the tradition of "The Pearls of TeX Programming". Here, briefly, is what is wanted: * short TeX, MF or MP macro(s) * results must be useful, and the solution not obvious * easy to explain : 10 minutes at most If you have something that fits the bill, please consider submitting a proposal. If you know of somebody's work that does the same, please let us know, and we will contact that person. Other details and previously collected Pearls can be found at http://www.gust.org.pl/projects/pearls/ The email address is: pearls at gust dot org dot pl From prstanley at ntlworld.com Thu Jan 29 01:02:53 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Thu, 29 Jan 2009 00:02:53 +0000 Subject: [texhax] description of text in {\tt } In-Reply-To: <498026FD.8000104@uea.ac.uk> References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <20090127200806.EPQA19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> <498026FD.8000104@uea.ac.uk> Message-ID: <20090129000248.FUZL19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> > Paul: >My favourite LaTeX documentation would contain more words describing > > the physical effect of the commands in specific packages. I > > appreciate that LaTeX is mainly concerned with the logical layout of > > the document, hence its appeal to a lot of blind people, however, for > > those of us who want to do more than typesetting articles it would be > > amply useful to have a visual perspective of the end result in PDF or > > DVI, the rationale being that we can then decide when and where to > > introduce that \tt, mbox or ... command. > > Nicola: >The HTML version of my "LaTeX for Complete Novices" tutorial uses >bitmaps to show the example output but where the alt tag isn't >sufficient to describe the output, the bitmap is linked to a page with a >more in depth description (e.g. both bitmaps in >http://theoval.cmp.uea.ac.uk/~nlct/latex/novices/itemize.html). Is this >the kind of thing that you're thinking about? Any comments to help >improve the accessibility would be very welcome. Paul: Here's an extract on unordered lists taken from Nicola's page: Lstart extract Each \item command has produced a bullet point offset from the left margin. The text following the \item command is set in a block following on from the bullet point. There is a blank line before and after each item in the list. end extract That's "essentially" the sort of thing we need in the documentation. I would add details of indentations -- are the bullet points or the text items indented in relation to the normal paragraph? What happens to alignment if the text of an item requires two or more lines? I wonder if a good description of plain Tex commands would add efficiency to the solution under discussion. Any thoughts? Cheers Paul From bruce2 at mun.ca Wed Jan 28 19:01:41 2009 From: bruce2 at mun.ca (Bruce Watson) Date: Wed, 28 Jan 2009 14:31:41 -0330 Subject: [texhax] answers.sty and multicol Message-ID: <49809D85.6040605@mun.ca> I am trying to get Mike Piff's answers.sty working with multicol. The snippet below the signature will illustrate the problem. Basically, I can't make answers.sty hyphenate the exercise numbers. For example, the answer number corresponding to exercise number 3-1 is listed as 31; that is, it won't seem to print the hyphen. The author of answers.sty is no longer at the email address in the package. If anyone has a solution to this I'd appreciate it. Thanks. bruce2. -- PS: Please note my new email address: bruce2 at mun.ca ================================================= Bruce Watson - Dept of Mathematics and Statistics Memorial University, St. John's,NF, Canada A1C5S7 (709)737 8793 http://www.math.mun.ca/~bruce2 ================================================= \documentclass[12pt]{book} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{amssymb} \usepackage{multicol} \usepackage{enumerate} \usepackage{answers} \Newassociation{sol}{Solution}{ans} \begin{document} \pagenumbering{arabic} \setcounter{page}{1} \Opensolutionfile{ans}[anstest] \chapter{Introduction} The first chapter here \section{Exercises} \begin{enumerate} \item First question here. \item Second question here. \item Find the derivative of each function. \begin{multicols}{2} \begin{enumerate}[\theenumi-1] \item $f(x)= x5-4$ \begin{sol} $\displaystyle 5x4$ \end{sol} \item $f(x) = x4 \sin3 (x)$ \item $f(x) = \frac{x2 + 4}{x2 - 20}$ \begin{sol} $\displaystyle -\frac{48x}{(x2-20)2}$ \end{sol} \item $f(x) = \frac{\sin x}{1 + \cos x}$ \item $f(x) = \frac{\sin x}{1 + \cos x}$ \item $f(x) =(1+x)3(1-x)2$ \end{enumerate} \end{multicols} \end{enumerate} \Closesolutionfile{ans} \vskip .1 in \newpage \noindent{\bf Answers}% \vskip .1 in % \input{anstest} \end{document} From axel.retif at mac.com Thu Jan 29 10:32:53 2009 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 29 Jan 2009 03:32:53 -0600 Subject: [texhax] MacTeX installation In-Reply-To: <200901281942.n0SJg7Bi004476@strawberry.ncifcrf.gov> References: <200901281942.n0SJg7Bi004476@strawberry.ncifcrf.gov> Message-ID: <4C38538A-EBBD-46B1-B5D7-F68E1BB69027@mac.com> On 28 Jan, 2009, at 13:42, Tom Schneider wrote: I'm CCing your entire message below to Richard Koch, MacTeX maintainer, who can provide a much better answer to you. The thing, in short, is this ---MacTeX provides a mechanism ---due to Gerben Wierda and Jerome Laurens--- through which you can shift from one TeX distribution to another you have installed; see /Library/TeX/Distributions/TeXDist-description.rtf The user interface of this mechanism is a control panel in System Preferences, called ``TeX Distribution'' (you should have it). I don't think, though, that TeX Distribution knows about TeXLive 2005. TeXLive usually asks you if you want symlinks of the *binaries* in / usr/bin (or is it /usr/local/bin?); MacTeX, on the other hand, makes a symlink to the *active distribution* in /usr/texbin ---that's how it allows you to change from one distribution to another. Obviously you had installed TeXLive 2005 from TUG before, and /usr/bin is taken precedence over /usr/texbin. Best, Axel > TeXHaXers: > > I finally got around to installing MacTeX from the September 2008 DVD. > I decided to try MacTeX instead of TeX Live since the documentation > says that all of TeX Live is in MacTeX. Why not see what the > interface is like? The installation went smoothly, and MacTeX runs > nicely. Congratulations. > > I usually use LaTeX from the command line (or scripts) so I tested > that and found one small discrepancy. > > % which latex > /usr/bin/latex > > Then: > > % cd /usr/bin > % ls -l latex > lrwxr-xr-x 1 root wheel 45 Mar 22 2006 latex@ -> /usr/local/ > texlive/2005/bin/i386-darwin/latex > > That is, the pointer in /usr/bin was not updated, so I was still using > the old latex installation. I did that by hand using ln and sudo: > > lrwxr-xr-x 1 root wheel 50 Jan 28 14:26 latex@ -> /usr/local/ > texlive/2008/bin/universal-darwin/latex > > If it is possible, I would suggest making this modification to the > installation script. Actually, I changed the name to latex2005 just > so I could get back to it. An option to delete the previous > installation probably would be useful too. > > Regards, > > Tom > > Dr. Thomas D. Schneider > National Institutes of Health > National Cancer Institute > Center for Cancer Research Nanobiology Program > Molecular Information Theory Group > Frederick, Maryland 21702-1201 > toms at ncifcrf.gov > permanent email: toms at alum.mit.edu > http://www.ccrnp.ncifcrf.gov/~toms/ > _______________________________________________ > 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 n.talbot at uea.ac.uk Thu Jan 29 10:52:50 2009 From: n.talbot at uea.ac.uk (Dr Nicola L C Talbot) Date: Thu, 29 Jan 2009 09:52:50 +0000 Subject: [texhax] description of text in {\tt } In-Reply-To: <20090129000248.FUZL19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> References: <20090126213633.ZJRC2093.aamtaout03-winn.ispmail.ntl.com@pine.ntlworld.com> <20090127200806.EPQA19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> <498026FD.8000104@uea.ac.uk> <20090129000248.FUZL19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> Message-ID: <49817C72.9070106@uea.ac.uk> P. R. Stanley wrote: > Here's an extract on unordered lists taken from Nicola's page: > > Lstart extract > Each \item command has produced a bullet point offset from the left > margin. The text following the \item command is set in a block > following on from the bullet point. There is a blank line before and > after each item in the list. > end extract > > That's "essentially" the sort of thing we need in the documentation. > I would add details of indentations -- are the bullet points or the > text items indented in relation to the normal paragraph? What happens > to alignment if the text of an item requires two or more lines? > I wonder if a good description of plain Tex commands would add > efficiency to the solution under discussion. > > Any thoughts? Thanks for your comments. I'm not sure when I'll get the time to update it, but when I do I'll add more detail to the descriptions. I also need to update all the other tutorials on my website to improve their accessibility. In answer to your question about the itemize environment, the block of text following \item is offset by \leftmargin (25pt for article.cls) from the left edge of where a normal paragraph would be aligned and the label (in this case a bullet point) would be placed at \labelsep (5pt for article.cls) to the left of the start of the text, where the start of the text is indented by \itemindent (usually 0pt). (So the start of the text is indented by \leftmargin+\itemindent, and the following lines are indented by \leftmargin.) I'll have to work on a clearer way of describing that. Regards Nicola Talbot -- Dr Nicola Talbot School of Computing Sciences University of East Anglia Norwich. NR4 7TJ. UK web : http://theoval.cmp.uea.ac.uk/~nlct/ From SDittmar at eureca.de Thu Jan 29 16:14:49 2009 From: SDittmar at eureca.de (Susan Dittmar) Date: Thu, 29 Jan 2009 16:14:49 +0100 Subject: [texhax] boites.sty: translations In-Reply-To: <20090128121952.GB5537@eureca.de> References: <497ECAB2.8080101@gmx.de> <200901280150.51485.jan.ahlmeyer@gmx.net> <20090128095508.GA5537@eureca.de> <200901281135.47649@KOMA020467> <20090128121952.GB5537@eureca.de> Message-ID: <20090129151449.GD29095@eureca.de> Hello, spurred on by a discussion on a german TeX users' mailing list, I dared an attempt at translating the french comments in boites.sty to english. My last contact with the french language has been more than 15 years ago, so I would appreciate if anyone with knowledge of this language could have a look at those translations. All lines I added start with '%%SD'. I already contacted Vincent Zoonekynd, and hope that -- if my translations find approval -- those translations find their way to CTAN eventually. Thanks for your help, Susan Dittmar %%%%%%%% boites.sty with translations: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % boites.sty % (c) 1998-1999 Vincent Zoonekynd % Distributed under the GNU Public Licence %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%SD%% January 2009 : Translations of the french comments by %%SD%% Susan Dittmar %%SD%% (all marked by %%SD at the beginning of %%SD%% of the line) %% Mars 1999 : Il y a certaines lignes ? ne pas num?roter (par %% exemple, celles qui ne contiennent que des espaces %% verticaux avant ou apr?s une ?num?ration). %% Mars 1999 : commentaires %% %% Modifiations par VZ, Juillet 1998 %% %% Il y a quelques bugs, en particulier des traits qui sont trop %% longs, trop courts, trop ?pais ou trop fins. Si Quelqu'un sait ? %% quoi c'est d?, qu'il me le dise. %% %% Il ne devrait plus y avoir de probl?me ? cause d'un environement de %% type liste (itemize, enumerate, etc.) ? l'int?rieur des boites. %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% D'apr?s : %%SD%% March 1999 : Some lines are not taken in correctly (for example %%SD%% those that contain only vertical space before or after %%SD%% an enumeration). %%SD%% March 1999 : comments %%SD%% %%SD%% Modifications by VZ, July 1998 %%SD%% %%SD%% There are some bugs, in particular some lengths that are too long, %%SD%% too short, too low, or too fine. If someone knows what causes this, %%SD%% please tell me. %%SD%% %%SD%% The problem with list environments (itemize, enumerate, etc.) inside %%SD%% the boite environment should not longer exist. %%SD%% %%SD%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%SD%% based upon: % eclbkbox.sty by Hideki Isozaki, 1992 % Date: May 28, 1993 \ProvidesFile{boites.sty} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ProvidesPackage{boites} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newbox\bk at bxb \newbox\bk at bxa \newif\if at bkcont \newif\ifbkcount \newcount\bk at lcnt \def\breakboxskip{2pt} \def\breakboxparindent{1.8em} %% Param?tres modifiables %%SD%% parameters that can be modified %%%%%%%%%%%%%%%%%%%%%%%%%%% \def\bkvz at before@breakbox{\ifhmode\par\fi\vskip\breakboxskip\relax} %%% % Ce que l'on met ? gauche du texte, par exemple, une ligne verticale % pour faire un cadre, ou une ligne qui ondule. %%SD% What should be put on the left of the text, for example a vertical %%SD% line for a frame, or a wavy line \def\bkvz at left{\vrule \@width\fboxrule\hskip\fboxsep} %%%%%%%%%%%%%%%%% % De m?me, ce que l'on met ? droite, %%SD% Analog; what should be put on the right, \def\bkvz at right{\hskip\fboxsep\vrule \@width\fboxrule} %%%%%%%%%%%%%%%% % en haut %%SD% above \def\bkvz at top{\hrule\@height\fboxrule} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % ou en bas %%SD% and below. \def\bkvz at bottom{\hrule\@height\fboxrule} %%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Si vous modifiez l'une de ces macros, il ne faut pas oublier de % modifier aussi la suivante, qui change la valeur de \linewidth en % lui retirant la largeur de tout ce que l'on vient de mettre sur le % c?t?. %%SD% If you modify one of those macros, don't forget to modify also %%SD% the following. It reduces the value of \linewidth by the width %%SD% of all that will be put on the edges. \def\bkvz at set@linewidth{\advance\linewidth -2\fboxrule %%%%%%%%%%%%%%%% \advance\linewidth -2\fboxsep} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% FIN DES PARAM?TRES MODIFIABLES %%SD%% END OF PARAMETERS THAT CAN BE MODIFIED %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Le d?but de l'environement %%SD%% The start of the environment %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\breakbox{% % On n'est pas n?cessairement en mode vertical. % C'est \bkvz at before@breakbox qui s'en occupe (ou non). %%SD% Start is not necessarily in vertical mode. %%SD% \bkvz at before@breakbox deals with this (if necessary). \bkvz at before@breakbox % on met tout dans une \vbox (\bk at bxb) %%SD% put all in one \vbox (\bk at bxb) \setbox\bk at bxb\vbox\bgroup % ? l'int?rieur de cette \vbox, on change la valeur de \hsize (et % aussi \linewidth). %%SD% Inside this \vbox, change \hsize (and \linewidth). \bkvz at set@linewidth %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \hsize\linewidth % je ne sais pas ce que fait la commande \@parboxrestore. %%SD% I do not know what \@parboxrestore does. \@parboxrestore % On indente ?ventuellement, si l'utilisateur le d?sire. %%SD% Indent if the user so desires. \parindent\breakboxparindent\relax} %% On coupe la boite %% Cut the box %%%%%%%%%%%%%%%%%%%%%% % \@tempdimb: amount of vertical skip % between the first line (\bk at bxa) and the rest (\bk at bxb) \def\bk at split{% % On calcule la hauteur totale (hauteur + profondeur) de la boite. %%SD% Calculate the total height (height + depth) of the box. \@tempdimb\ht\bk at bxb % height of original box \advance\@tempdimb\dp\bk at bxb % On coupe, ? l'aide de la commande \vsplit... to 0pt % Le morceau du haut se retrouve dans \bk at bxa, % celui du bas dans \bk at bxb. %%SD% Cut with the help of \vsplit... to 0pt %%SD% The height can then be found in \bk at bxa, %%SD% the depth in \bk at bxb. \setbox\bk at bxa\vsplit\bk at bxb to\z@ % split it % L'un des probl?mes, c'est que la premi?re boite a une hauteur vide. % On peut lui redonner sa hauteur initiale grace ? \vbox{\unvbox...} %%SD% A problem arises if the first box has an empty height. %%SD% It can be given back its initial height via \vbox{\unvbox...} \setbox\bk at bxa\vbox{\unvbox\bk at bxa}% recover height & depth of \bk at bxa % L'autre probl?me, c'est que l'on a perdu l'espace (interligne) entre % nos deux boites. Pour le r?cup?rer, on ajoute la hauteur de ces deux % boites, et on fait la diff?rence avec la hauteur initiale. %%SD% The other problem is to forget the (interline) space between our %%SD% our two boxes. To regain it, add the height of the two boxes %%SD% and subtract that from the initial height. \setbox\@tempboxa\vbox{\copy\bk at bxa\copy\bk at bxb}% naive concatenation \advance\@tempdimb-\ht\@tempboxa \advance\@tempdimb-\dp\@tempboxa % D?sormais, \@tempdimb contient l'espace entre les deux boites, que % l'on utilisera avec \bk at addskipdp. %%SD% Now, \@tempdimb contains the space between the two boxes, %%SD% which will be used with \bk at addskipdp. }% gap between two boxes %% Rajouter \fboxsep ? la premi?re ligne %%SD%% Add \fboxsep to the first line %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \@tempdima: height of the first line (\bk at bxa) + fboxsep \def\bk at addfsepht{% \setbox\bk at bxa\vbox{\vskip\fboxsep\box\bk at bxa}} %% cette macro n'est pas utilis?e %%SD%% This macro is not used anywhere \def\bk at addskipht{% \setbox\bk at bxa\vbox{\vskip\@tempdimb\box\bk at bxa}} %% Rajouter \fboxsep ? la derni?re ligne %%SD%% Add \fboxsep to the last line %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \@tempdima: depth of the first line (\bk at bxa) + fboxsep \def\bk at addfsepdp{% \@tempdima\dp\bk at bxa \advance\@tempdima\fboxsep \dp\bk at bxa\@tempdima} %% Rajouter l'espace qui a ?t? perdu par \vsplit... to 0pt %%SD%% Add the space that had been lost by \vsplit... to 0pt %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % \@tempdima: depth of the first line (\bk at bxa) + vertical skip \def\bk at addskipdp{% \@tempdima\dp\bk at bxa \advance\@tempdima\@tempdimb \dp\bk at bxa\@tempdima} %% On ne compte pas toutes les lignes, mais uniquement celles qui en %% sont vraiment. J'ai pris comme crit?re une largeur sup?rieure ? %% 1mm. La m?me distance se retrouve un peu plus loin, dans %% \bk at line. %%SD%% Not all lines are computed, only cells that truely are there. %%SD%% I have taken as criterion a size of minimum 1mm. %%SD%% The same distance can be found further on, in \bk at line. \def\bkvz at countlines{% \ifdim\wd\bk at bxa>1mm\advance\bk at lcnt\@ne\fi } %% Afficher la ligne que l'on vient de couper %%SD%% show the line we had cut %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\bk at line{% \hbox to \linewidth{% \ifdim\wd\bk at bxa>1mm %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ifbkcount\smash{\llap{\the\bk at lcnt\ }}\fi \fi %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \bkvz at left %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \box\bk at bxa % Il arrive que la boite ne soit pas aussi large que la ligne % (par exemple, espace avant une ?num?ration) %%SD% Sometimes the box is not big enough for a line (for example, %%SD% space before an enumeration) \hfil %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \bkvz at right}} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% La fin de l'environement %%SD%% The end of the environment %%%%%%%%%%%%%%%%%%%%%%%%%%%% \def\endbreakbox{% % On ferme la \vbox (\bk at bxb) %%SD% Close the \vbox (\bk at bxb) \egroup %\ifhmode\par\fi {\noindent % On remet le compteur de lignes ? un. %%SD% Set line count back to one. \bk at lcnt 0% % Le bool?en que nous allons utiliser dans la boucle plus loin. %%SD% The boolean we will use in the following loop \@bkconttrue % Comme on va empiler des boites, on met certains ressorts ? z?ro, % pour ?viter les espaces verticaux non d?sir?s. %%SD% While putting together the boxes, some ajustable lengths are set %%SD% to zero to avoid undesired vertical space. \baselineskip\z@ \lineskiplimit\z@ \lineskip\z@ \vfuzz\maxdimen % On coupe la boite %%SD% split the boxes \bk at split % On ajoute un peu d'espace vertical (\fboxsep) au dessus %%SD% Add a bit of vertical space (\fboxsep) above \bk at addfsepht % On ajoute en dessous l'espace qui avait ?t? perdu par la commande % \vsplit. %%SD% Add below the space that had been forgotten due to the use of %%SD% the \vsplit command. \bk at addskipdp % De deux choses l'une, %%SD% First of two, \ifvoid\bk at bxb % Soit, il n'y a qu'une ligne %%SD% In case there's only one line \def\bk at fstln{% % On rajoute un peu d'espace (\fboxsep) en dessous. %%SD% Add a bit of space (\fboxsep) below. \bk at addfsepdp % On construit la boite : le haut, le milieu (qui contient la gauche % et la droite) et le bas. %%SD% Construct the box: the top, the middle (which contains %%SD% the left and right parts) and the foot. \bkvz at countlines \vbox{\bkvz at top\bk at line\bkvz at bottom}}% %%%%%%%%%%%%%%%%%%%%%%%%%% % Soit, il y en a plusieurs. %% In case there's more to do. \else \def\bk at fstln{% % On met le haut %%SD% Put in the top \bkvz at countlines \vbox{\bkvz at top\bk at line}% %%%%%%%%%%%%%%%%%%%%%%%%%%% % ??? (Si on l'enl?ve, ?a ne marche plus.) %%SD% ??? (If this is removed, it does not work any more.) \hfil % On commence ? compter les lignes %%SD% Continue counting lines %\advance\bk at lcnt\@ne %%%%%%%%%%%%%%%%%%%% Voir \bkvz at countlines % D?but de la boucle %%SD% Begin of the loop \loop % On coupe ce qui reste de la boite. %%SD% Cut out the next bit of the box \bk at split % On rajoute l'espace vertical qui a ?t? perdu. %%SD% Add the vertical space that has been left out. \bk at addskipdp % ?ventuellement, on augmente le num?ro de la ligne %%SD% advance number of lines if necessary \bkvz at countlines % ??? \leavevmode % S'il s'agit de la derni?re ligne %%SD% If it's the last line \ifvoid\bk at bxb % On met le bool?en indiquant que la boucle doit se poursuivre ? FAUX. %%SD% Set the boolean that indicates continuing the loop to FALSE. \@bkcontfalse % On met un peu d'espace vertical (\fboxsep) %%SD% Add a bit of vertical space (\fboxsep) \bk at addfsepdp % En envoie la derni?re ligne. %%SD% Add the last line. % POURQUOI \vtop ??? Pour que l'?ventuel num?ro de ligne soit ? la % bonne hauteur. %%SD% WHY \vtop ??? Because the line number has correct height. \vtop{\bk at line\bkvz at bottom}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \else % 2,...,(n-1) \bk at line \fi \hfil %\advance\bk at lcnt\@ne %%%%%%%%%%%%%%%% Voir \bkvz at countlines %%SD% See \bkvz at countlines \if at bkcont\repeat}% \fi \leavevmode\bk at fstln\par}\vskip\breakboxskip\relax} \bkcountfalse %%%%%%%% end of boites.sty %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20090129/7f36230b/attachment.bin From toms at ncifcrf.gov Thu Jan 29 17:48:07 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Thu, 29 Jan 2009 11:48:07 -0500 (EST) Subject: [texhax] MacTeX installation In-Reply-To: <4C38538A-EBBD-46B1-B5D7-F68E1BB69027@mac.com> from "Axel E. Retif" at "Jan 29, 2009 03:32:53 am" Message-ID: <200901291648.n0TGm735025712@strawberry.ncifcrf.gov> Axel: > I'm CCing your entire message below to Richard Koch, MacTeX > maintainer, who can provide a much better answer to you. Thanks! > The thing, in short, is this ---MacTeX provides a mechanism ---due to > Gerben Wierda and Jerome Laurens--- through which you can shift from > one TeX distribution to another you have installed; see > > /Library/TeX/Distributions/TeXDist-description.rtf RTF = really terrible format??!! There is a nice warning in that file about it being rather technical. I don't see that I should need to know about all these details when installing. > The user interface of this mechanism is a control panel in System > Preferences, called ``TeX Distribution'' (you should have it). I don't > think, though, that TeX Distribution knows about TeXLive 2005. Yes, I have that and it only shows me TeXLive-2008. > TeXLive usually asks you if you want symlinks of the *binaries* in / > usr/bin (or is it /usr/local/bin?); MacTeX, on the other hand, makes a > symlink to the *active distribution* in /usr/texbin ---that's how it > allows you to change from one distribution to another. As a naive user, I wouldn't know about this or even want to know about it. I did find the /usr/texbin link. > Obviously you had installed TeXLive 2005 from TUG before, and /usr/bin > is taken precedence over /usr/texbin. That's right. It seems to me that the program could be aware of the previous installations and "do the right thing" or ask the user what to do to upgrade. Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From doc.evans at gmail.com Fri Jan 30 01:18:54 2009 From: doc.evans at gmail.com (D. R. Evans) Date: Thu, 29 Jan 2009 17:18:54 -0700 Subject: [texhax] need certain amount of room on page Message-ID: <4982476E.2070409@gmail.com> I know I knew how to do this once upon a time, but that knowledge has disappeared into the mists of time :-( In plain TeX I want to do the following: if there is X amount of remaining space on the current page: do A else do B Can anyone suggest anything? I don't remember it as being difficult, but nothing I've tried this afternoon has quite done the job properly. Doc -- Web: http://www.sff.net/people/N7DR -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature Url : http://tug.org/pipermail/texhax/attachments/20090129/3b26c407/attachment.bin From prstanley at ntlworld.com Fri Jan 30 02:21:11 2009 From: prstanley at ntlworld.com (P. R. Stanley) Date: Fri, 30 Jan 2009 01:21:11 +0000 Subject: [texhax] The At and the Asterisk in LaTeX Message-ID: <20090130012104.BDML19264.aamtaout01-winn.ispmail.ntl.com@pine.ntlworld.com> Hi folks 1. What is the general significance of the asterisk "*" in LaTeX and in particular, the xy package? I see it used in (0, 0))*{}, **\dir or **\crv{}. Is it more than syntax sugar? 2. What about the "@" symbol? I've no problem memorising the commands though it'd be helpful to know what each part means. Thanks in advance for your help. Cheers Paul From tomfool at as220.org Fri Jan 30 03:54:43 2009 From: tomfool at as220.org (tom sgouros) Date: Thu, 29 Jan 2009 21:54:43 -0500 Subject: [texhax] need certain amount of room on page In-Reply-To: <4982476E.2070409@gmail.com> References: <4982476E.2070409@gmail.com> Message-ID: <6706.1233284083@as220.org> You want to look up \pagegoal and \pagetotal. I did the following in a package years ago and it works ok, but the TeX page-breaking algorithm means there is some fuzziness about what the bottom of the page actually means and the last time I suggested something like this, others here didn't think much of it. You are warned, but it works for me. Cheers, -tom \newdimen\IN at spaceleft \def\IN at pagespace{% \ifdim\pagetotal=0pt% \IN at spaceleft=\vsize% \else% \IN at spaceleft=\pagegoal% \advance\IN at spaceleft by -\pagetotal% \fi}% D. R. Evans wrote: > I know I knew how to do this once upon a time, but that knowledge has > disappeared into the mists of time :-( > > In plain TeX I want to do the following: > if there is X amount of remaining space on the current page: > do A > else > do B > > Can anyone suggest anything? I don't remember it as being difficult, but > nothing I've tried this afternoon has quite done the job properly. > > Doc > > -- > Web: http://www.sff.net/people/N7DR > > _______________________________________________ > 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 -- ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net From cvhinds at hotmail.com Thu Jan 29 20:35:13 2009 From: cvhinds at hotmail.com (Cheryl Hinds) Date: Thu, 29 Jan 2009 11:35:13 -0800 Subject: [texhax] table caption question Message-ID: How do I put a blank line after the caption in a latex table? The heading is below \begin{table}[th]\caption{Percentage}\label{table:Perc}%\begin{tabular}{|c|c|c|c|}\hline _________________________________________________________________ Windows Live? Hotmail??more than just e-mail. http://windowslive.com/howitworks?ocid=TXT_TAGLM_WL_t2_hm_justgotbetter_howitworks_012009 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090129/fe32d637/attachment-0001.html From kalpakis at gmail.com Fri Jan 30 00:08:30 2009 From: kalpakis at gmail.com (George Kalpakis) Date: Fri, 30 Jan 2009 01:08:30 +0200 Subject: [texhax] colortbl pdf problem Message-ID: <3c7ba39f0901291508s4d6adef4g8fa176efc7d6b1af@mail.gmail.com> I would be gratefull if anybody could help me with my problem. I am using the colortbl package in order to add colors to the table of my book. Despite the fact that when I produce the dvi file everything looks fine when I convert it to pdf most of the hline of the tabular enviroment do not appear right. I am using miktex 2.7 and winedt. Does anybody know how I can resolve it? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090130/d7ff0742/attachment.html From daleif at imf.au.dk Fri Jan 30 10:05:41 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 30 Jan 2009 10:05:41 +0100 Subject: [texhax] table caption question In-Reply-To: References: Message-ID: <4982C2E5.9090001@imf.au.dk> Cheryl Hinds wrote: > > > How do I put a blank line after the caption in a latex table? The heading is below > > > \begin{table}[th]\caption{Percentage}\label{table:Perc}%\begin{tabular}{|c|c|c|c|}\hline > \usepackage[tableposition=top]{caption} fixes the problem -- /daleif From daleif at imf.au.dk Fri Jan 30 10:09:21 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 30 Jan 2009 10:09:21 +0100 Subject: [texhax] colortbl pdf problem In-Reply-To: <3c7ba39f0901291508s4d6adef4g8fa176efc7d6b1af@mail.gmail.com> References: <3c7ba39f0901291508s4d6adef4g8fa176efc7d6b1af@mail.gmail.com> Message-ID: <4982C3C1.6010102@imf.au.dk> George Kalpakis wrote: > I would be gratefull if anybody could help me with my problem. > > I am using the colortbl package in order to add colors to the table of my > book. Despite the fact that when I produce the dvi file everything looks > fine > when I convert it to pdf most of the hline of the tabular enviroment do not > appear right. I am using miktex 2.7 and winedt. Does anybody know how I can > resolve > it? > > Thanks > > how do you convert to pdf? and could you provide a minimal example? -- /daleif From kalpakis at gmail.com Fri Jan 30 12:14:20 2009 From: kalpakis at gmail.com (George Kalpakis) Date: Fri, 30 Jan 2009 13:14:20 +0200 Subject: [texhax] colortbl pdf problem In-Reply-To: <4982C3C1.6010102@imf.au.dk> References: <3c7ba39f0901291508s4d6adef4g8fa176efc7d6b1af@mail.gmail.com> <4982C3C1.6010102@imf.au.dk> Message-ID: <3c7ba39f0901300314j7da3b580q17a69eb57c2c6e9a@mail.gmail.com> I am converting it through winedt with the dvi2pdf button this is an example code \newcommand{\rhline}% {\arrayrulecolor[cmyk]{1 0 0 0}\hline} \begin{document} \begin{tabular}% {|>{\columncolor{blue}\color{white}\bfseries}lr|} \rhline \rowcolor[gray]{0.8} \color{black} Day & \bfseries Attendance\\[2pt]\rhline Monday & 57 \\ Tuesday & 11 \\ Wednesday & 96 \\ \rhline Thursday & 122 \\ Friday & 210 \\ Saturday & 198 \\ Sunday & 40 \\ \rhline \cellcolor[gray]{0.8}\color{black} Total & 724 \\ \rhline \end{tabular} \end{document} 2009/1/30 Lars Madsen > George Kalpakis wrote: > >> I would be gratefull if anybody could help me with my problem. >> >> I am using the colortbl package in order to add colors to the table of my >> book. Despite the fact that when I produce the dvi file everything looks >> fine >> when I convert it to pdf most of the hline of the tabular enviroment do >> not >> appear right. I am using miktex 2.7 and winedt. Does anybody know how I >> can >> resolve >> it? >> >> Thanks >> >> >> > how do you convert to pdf? > and could you provide a minimal example? > > > -- > > /daleif > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090130/109fba7e/attachment.html From daleif at imf.au.dk Fri Jan 30 12:50:51 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 30 Jan 2009 12:50:51 +0100 Subject: [texhax] colortbl pdf problem In-Reply-To: <3c7ba39f0901300314j7da3b580q17a69eb57c2c6e9a@mail.gmail.com> References: <3c7ba39f0901291508s4d6adef4g8fa176efc7d6b1af@mail.gmail.com> <4982C3C1.6010102@imf.au.dk> <3c7ba39f0901300314j7da3b580q17a69eb57c2c6e9a@mail.gmail.com> Message-ID: <4982E99B.2040904@imf.au.dk> George Kalpakis wrote: > I am converting it through winedt with the dvi2pdf button > > this is an example code > and besides, that was not a minimal example, by definition a minimal example is a small complete document that can be copied to a file and compiled without any changes. -- /daleif From daleif at imf.au.dk Fri Jan 30 12:48:29 2009 From: daleif at imf.au.dk (Lars Madsen) Date: Fri, 30 Jan 2009 12:48:29 +0100 Subject: [texhax] colortbl pdf problem In-Reply-To: <3c7ba39f0901300314j7da3b580q17a69eb57c2c6e9a@mail.gmail.com> References: <3c7ba39f0901291508s4d6adef4g8fa176efc7d6b1af@mail.gmail.com> <4982C3C1.6010102@imf.au.dk> <3c7ba39f0901300314j7da3b580q17a69eb57c2c6e9a@mail.gmail.com> Message-ID: <4982E90D.1090406@imf.au.dk> George Kalpakis wrote: > I am converting it through winedt with the dvi2pdf button > well there are at least two ways of getting from dvi to pdf, so we might need to know what exactly that button does (dvipdfm(x) or dvips + ps2pdf) > this is an example code > > \newcommand{\rhline}% > {\arrayrulecolor[cmyk]{1 0 0 0}\hline} > > \begin{document} > \begin{tabular}% > {|>{\columncolor{blue}\color{white}\bfseries}lr|} > \rhline > \rowcolor[gray]{0.8} > \color{black} Day & \bfseries Attendance\\[2pt]\rhline > Monday & 57 \\ > Tuesday & 11 \\ > Wednesday & 96 \\ > \rhline > Thursday & 122 \\ > Friday & 210 \\ > Saturday & 198 \\ > Sunday & 40 \\ \rhline > \cellcolor[gray]{0.8}\color{black} Total & 724 \\ > \rhline > \end{tabular} > \end{document} > > 2009/1/30 Lars Madsen > >> George Kalpakis wrote: >> >>> I would be gratefull if anybody could help me with my problem. >>> >>> I am using the colortbl package in order to add colors to the table of my >>> book. Despite the fact that when I produce the dvi file everything looks >>> fine >>> when I convert it to pdf most of the hline of the tabular enviroment do >>> not >>> appear right. I am using miktex 2.7 and winedt. Does anybody know how I >>> can >>> resolve >>> it? >>> >>> Thanks >>> >>> >>> >> how do you convert to pdf? >> and could you provide a minimal example? >> >> >> -- >> >> /daleif >> > -- /daleif From olegkat at gmail.com Fri Jan 30 15:56:03 2009 From: olegkat at gmail.com (Oleg Katsitadze) Date: Fri, 30 Jan 2009 16:56:03 +0200 Subject: [texhax] need certain amount of room on page In-Reply-To: <4982476E.2070409@gmail.com> References: <4982476E.2070409@gmail.com> Message-ID: <20090130145603.GA3391@thor> On Thu, Jan 29, 2009 at 05:18:54PM -0700, D. R. Evans wrote: > In plain TeX I want to do the following: > if there is X amount of remaining space on the current page: > do A > else > do B If B = "start new page and A", then you can do something like plain TeX's \beginsection: \outer\def\beginsection#1\par{\vskip\z@ plus.3\vsize\penalty-250 \vskip\z@ plus-.3\vsize\bigskip\vskip\parskip ... } Oleg From toms at ncifcrf.gov Sat Jan 31 00:29:04 2009 From: toms at ncifcrf.gov (Tom Schneider) Date: Fri, 30 Jan 2009 18:29:04 -0500 (EST) Subject: [texhax] MacTeX installation In-Reply-To: <87B1D859-A125-4C38-BC51-886C9B2816D1@math.uoregon.edu> from Richard Koch at "Jan 29, 2009 12:42:05 pm" Message-ID: <200901302329.n0UNT4Sw014952@strawberry.ncifcrf.gov> I'm posting the following with permission from Richard as it contains interesting history for the TeX archive. > Alex, > > Thanks for your very accurate reply to Tom. > > Tom, > > Good debugging. I think you are now in business, so this email is > really just "for the record." > > >> > >> TeXHaXers: > >> > >> I usually use LaTeX from the command line (or scripts) so I tested > >> that and found one small discrepancy. > >> > >> % which latex > >> /usr/bin/latex > >> > >> Then: > >> > >> % cd /usr/bin > >> % ls -l latex > >> lrwxr-xr-x 1 root wheel 45 Mar 22 2006 latex@ -> /usr/local/ > >> texlive/2005/bin/i386-darwin/latex > >> > >> That is, the pointer in /usr/bin was not updated, so I was still > >> using > >> the old latex installation. I did that by hand using ln and sudo: > >> > >> lrwxr-xr-x 1 root wheel 50 Jan 28 14:26 latex@ -> /usr/local/ > >> texlive/2008/bin/universal-darwin/latex > >> > >> If it is possible, I would suggest making this modification to the > >> installation script. Actually, I changed the name to latex2005 just > >> so I could get back to it. An option to delete the previous > >> installation probably would be useful too. > >> > >> Regards, > >> > >> TomAutomated subscription management: http://tug.org/mailman/listinfo/texhax > >> Human mailing list managers: postmaster at tug.org > > > > Here's the history. I'm going to tell you more than you really want to > know. > > In 2005, most people I know were using teTeX on the Mac as packaged by > Gerben Wierda. Some people were using TeX Live, and some were using > teTeX as packaged by Fink. The majority of front ends for TeX had > preference settings where users could set the path to their TeX > distribution. Usually the default preference pointed to Gerben's > distribution. Folks using TeX Live or Fink had to manually reset this > preference. Gerben's installation added the appropriate element to the > default PATH variable for folks using a shell. > > I believe the default installation script for TeX Live did not set a > symbolic link in /usr/bin, but instead ended with a suggestion that > the user modify their PATH variable by hand to point to the new > distribution. But perhaps an option in the script set this link. No > copy of MacTeX ever set that link; indeed MacTeX first existed around > 2005 and installed Gerben's teTeX. > > Then Thomas Esser announced that support for teTeX would end on May, > 2006. Esser recommended that users switch to TeX Live. I and many of > my colleagues ignored this announcement and thought "Gerben will take > care of it." And indeed Gerben developed a revised distribution using > a subset of the TeX Live texmf tree. Gerben had always used the TeX > Live binaries rather than binaries from Esser; indeed Gerben is the > guy who compiled these binaries for the Mac portion of TeX Live. The > new distribution was called gwTeX. Gerben publicly announced this > distribution in November of 2006, and he simultaneously announced that > he would stop supporting it in January of 2007 !!! > > It is at that moment that many people, including me, took notice. A > new edition of MacTeX was just around the corner. Should it install > teTeX, or gwTeX, or TeX Live? > > I installed TeX Live for the first time on my machine in November, > 2006. To my enormous surprise, the installation script was very > straightforward. I belong to TUG and had talked often to Karl Berry, > one of the creators of TeX Live, but he never once asked the obvious > question, which was "why don't you Mac guys use TeX Live?" > > After just a few days it was clear that TeX Live could easily replace > Gerben's distribution. But for the next six months or more, I > maintained three experimental versions of the next MacTeX, one > installing the old teTeX, one installing gwTeX, and one installing the > full unmodified TeX Live. One lucky feature, a deliberate design by > Gerben, was that the distributions installed in different locations: / > usr/local/teTeX, /usr/local/gwTeX, and /usr/local/texlive. So they > could coexist. > > In those first MacTeX experimental packages, I made a new symbolic > link, called something like /usr/bin/texprograms, pointing to the > binary files of the distribution being installed. The idea was that > front ends could use this as a default path to TeX, and thus wouldn't > have to be reconfigured when a different distribution was installed. > > Then I wrote Gerben asking him to support /usr/bin/texprograms in his > own distribution. But instead of doing that, Gerben and Jerome Laurens > designed a very much expanded version of the idea. In the expanded > version, a control panel module allowed the user to switch > distributions with a single button click, so they could safely install > a new distribution but immediately switch back to the old one in case > of trouble. The single click switched binaries, but it also switched > PATH for shells automatically, and switched MANPATH for man pages, and > did lots of other things. 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. > > When it came time to formally release MacTeX we included the Gerben-- > Laurens preference panel and decided to install the full TeX Live. > While the very first MacTeX installed teTeX, but all subsequent > releases nstall TeX Live. > > ------------- > > OK, now I'm approaching questions which came up in your email. > > All of us involved in MacTeX wanted to make an installation which is > completely automatic, so the user needs to do NO CONFIGURATION AT ALL. > When the distribution is installed, all front ends immediately work > without configuration. And if you use a shell, or consult man pages, > that too should work automatically without configuration. > > In addition, if you have several TeX distributions, we wanted those to > coexist with no configuration. The last distribution installed should > be the active one. But if you switch distributions using that > Preference pane, everything should automatically switch: front ends, > shell commands, everything. I think we achieved that, mainly due to > the Gerben-Jerome structure. > > We even took care of SOME distributions that existed before this work. > For instance, the TeX Distribution data structure has data for teTeX, > and for one version of TeX Live produced before MacTeX. Originally > Gerben wanted to do much more, and have data for TeX Live > distributions going many years into the past. If he got his way, your > 2005 installation would have been recognized automatically. But > instead I got my way. Sorry. So the data is a little simplier and you > just missed the cutoff point. > > In a later email, your say "I don't see that I should need to know > about all these details when installing." I agree 100%. You shouldn't > need to know ANY detail. You should never need to look at /Library/ > TeX. Forget about it. > > You also write that the panel only shows TeXLive-2008. I've explained > why. > > You write "As a naive user, I wouldn't know about /usr/texbin or even > want to know about it." That's absolutely correct. That is our > philosophy exactly. > > --------------- > > Now as to your suggestions. I'm sorry you ran into the /usr/bin/latex > link problems, and I'm very impressed with your debugging skills. !!! > > I don't know where that link came from. It certainly didn't come from > any copy of MacTeX. I don't think the TeX Live script would have > produced that link by default. So it would not be appropriate from > MacTeX to remove it. I certainly agree that if an older MacTeX had > installed such a link, we should have removed it. But we didn't > install it. > > You wrote: "It seems to me that the program could be aware of the > previous > installations and "do the right thing" or ask the user what to do to > upgrade." > > I agree completely, if the previous installations come from us or from > Gerben. It is reasonable for you to suspect they came from us. But > they didn't. Notice that TeX Live 2005 didn't cause problems (although > we didn't recognize it). Your problems came from the stray /usr/bin/ > latex link. > > You also suggested offering to remove old distributions. MacTeX uses > Apple's installer technology, and this installer doesn't have the > ability to uninstall. Adding this ability is a request developers > sometimes make to Apple, but so far it isn't implemented. (To be > honest, it may be implemented in the very latest version, but we use > an older version so MacTeX will work on OS 10.3 and OS 10.4.) > > Luckily, MacTeX installs TeX Live in a single spot: /usr/local/texlive/ > 2008. So uninstalling is easy; just remove the 2008 folder, using > something like > > sudo rm -R /usr/local/texlive/2008 > > ----------------- > > I really enjoyed your email, because your philosophy about what should > happen coincides exactly with our intentions! > > Dick Koch > koch at math.uoregon.edu I'm glad we have the same philosophy for packages, though I've never gotten around to making such a tight package for my own programs! My first installation seems to have been from fink, so maybe that's where the link came from. Regards, Tom Dr. Thomas D. Schneider National Institutes of Health National Cancer Institute Center for Cancer Research Nanobiology Program Molecular Information Theory Group Frederick, Maryland 21702-1201 toms at ncifcrf.gov permanent email: toms at alum.mit.edu http://www.ccrnp.ncifcrf.gov/~toms/ From kalpakis at gmail.com Sat Jan 31 12:47:24 2009 From: kalpakis at gmail.com (George Kalpakis) Date: Sat, 31 Jan 2009 13:47:24 +0200 Subject: [texhax] colortbl pdf problem In-Reply-To: <4982E90D.1090406@imf.au.dk> References: <3c7ba39f0901291508s4d6adef4g8fa176efc7d6b1af@mail.gmail.com> <4982C3C1.6010102@imf.au.dk> <3c7ba39f0901300314j7da3b580q17a69eb57c2c6e9a@mail.gmail.com> <4982E90D.1090406@imf.au.dk> Message-ID: <3c7ba39f0901310347k3422a88br436c3b0860d0ab9f@mail.gmail.com> I have tried both ways as well as a third one the pdflatex. I tried it not only through winedt but also through command line. The best result was through dvips+ps2pdf where the hlines appear but not on all the tables. 2009/1/30 Lars Madsen > George Kalpakis wrote: > >> I am converting it through winedt with the dvi2pdf button >> >> > well there are at least two ways of getting from dvi to pdf, so we might > need to know what exactly that button does (dvipdfm(x) or dvips + ps2pdf) > > > this is an example code >> >> \newcommand{\rhline}% >> {\arrayrulecolor[cmyk]{1 0 0 0}\hline} >> >> \begin{document} >> \begin{tabular}% >> {|>{\columncolor{blue}\color{white}\bfseries}lr|} >> \rhline >> \rowcolor[gray]{0.8} >> \color{black} Day & \bfseries Attendance\\[2pt]\rhline >> Monday & 57 \\ >> Tuesday & 11 \\ >> Wednesday & 96 \\ >> \rhline >> Thursday & 122 \\ >> Friday & 210 \\ >> Saturday & 198 \\ >> Sunday & 40 \\ \rhline >> \cellcolor[gray]{0.8}\color{black} Total & 724 \\ >> \rhline >> \end{tabular} >> \end{document} >> >> 2009/1/30 Lars Madsen >> >> George Kalpakis wrote: >>> >>> I would be gratefull if anybody could help me with my problem. >>>> >>>> I am using the colortbl package in order to add colors to the table of >>>> my >>>> book. Despite the fact that when I produce the dvi file everything looks >>>> fine >>>> when I convert it to pdf most of the hline of the tabular enviroment do >>>> not >>>> appear right. I am using miktex 2.7 and winedt. Does anybody know how I >>>> can >>>> resolve >>>> it? >>>> >>>> Thanks >>>> >>>> >>>> >>>> how do you convert to pdf? >>> and could you provide a minimal example? >>> >>> >>> -- >>> >>> /daleif >>> >>> >> > > -- > > /daleif > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20090131/d1c5428d/attachment.html From philip.ratcliffe at fastwebnet.it Sat Jan 31 14:28:55 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sat, 31 Jan 2009 14:28:55 +0100 Subject: [texhax] colortbl pdf problem In-Reply-To: <3c7ba39f0901310347k3422a88br436c3b0860d0ab9f@mail.gmail.com> Message-ID: <26AA6A38436E4909B245FD51BAC00963@PGR1> Are we sure this isn't just a problem of resolution? That is, are we just looking at the screen version or comparing printed versions? Cheers, Phil From philip.ratcliffe at fastwebnet.it Sat Jan 31 14:52:48 2009 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Sat, 31 Jan 2009 14:52:48 +0100 Subject: [texhax] colortbl pdf problem In-Reply-To: <3c7ba39f0901310347k3422a88br436c3b0860d0ab9f@mail.gmail.com> Message-ID: <600812AD5A74434C830FCD91CC3B39EE@PGR1> Sorry, if this is a repeat but something funny happened to my computer earlier just as I was posting. Anyway, my question is if this isn't just a problem of screen resolution. That is, does the problem persist in the printed versions? Cheers, Phil P.S. I get LaTeX errors with the "minimal example" provided - it doesn't klike the \arrayrulecolor[cmyk]{1 0 0 0} command. From eaugust at student.ethz.ch Sat Jan 31 18:18:24 2009 From: eaugust at student.ethz.ch (Eilinger August) Date: Sat, 31 Jan 2009 18:18:24 +0100 Subject: [texhax] supertabular References: <050664ACF0ECC04FA9354B92990A97AF012B14E5@EX6.d.ethz.ch> <050664ACF0ECC04FA9354B92990A97AF012B14E7@EX6.d.ethz.ch> Message-ID: <050664ACF0ECC04FA9354B92990A97AF012B14E8@EX6.d.ethz.ch> Dear Madam/Sir I have only a little question concerning the package ?supertabular?: Is there a command to determine that there are, on every page, four more lines in the table. I can solve this problem with a negative value of the command ?\shrinkheight?. But with this command, I can solve this problem only local. How can I do this global, with one command so that it will appear on every page? Thanks a lot and best regards Gust Eilinger PS: I have been looking in google and in several forums for more than four hours but I haven't succeeded ... I also have read the documentation about the supertabular-package. But I wasn't lucky ... From karl at freefriends.org Sat Jan 31 23:48:09 2009 From: karl at freefriends.org (Karl Berry) Date: Sat, 31 Jan 2009 16:48:09 -0600 Subject: [texhax] MacTeX installation In-Reply-To: <200901302329.n0UNT4Sw014952@strawberry.ncifcrf.gov> Message-ID: <200901312248.n0VMm9l11889@f7.net> 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