From axel.retif at mac.com Wed Oct 1 03:32:00 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 30 Sep 2008 20:32:00 -0500 Subject: [texhax] Need Help in finding a Solution.... In-Reply-To: References: <7FA7B15E-3711-4C3C-97A0-65037FAFE74A@mac.com> Message-ID: On 30 Sep, 2008, at 07:28, Vasudeva wrote: (Please make sure you reply to the list as well ---I might make some mistakes that other list members can correct.) > Namaste, > > Thank you so much. > > Iam actually using WinEdt for writing my Tex programs. Fine. > Can you please send me the complete URL where I can download Circ > Package... I'm sure you already have it. MiKTeX is a very complete distribution. > Shall do as suggested and get back to you w.r.t Colors. But see the links Uwe L?ck sent you. I wasn't aware of those --I'll use them myself. Best, Axel From fmablan at hotmail.com Wed Oct 1 14:42:21 2008 From: fmablan at hotmail.com (Marcos Ablanque) Date: Wed, 01 Oct 2008 13:42:21 +0100 Subject: [texhax] Help with SOP writing.. Message-ID: Hello, I discovered Latex recently and think is just great. I've been working Latex under Kile and Lyx. I would like to transform/write some lab protocols, but none of the standard latex document class fits the purpose correctly. Page headers style and information, as well as document structure required in SOP are not the same as for a normal publications. I've been trying/playing with the fancyheaders package and with document class creation, but with very poor results (specially for the document class): I'm just a beginner on the matter, I also searched for any SOP-like latex layout/example already available on the web with no results. I know now that making a new document class is too ambitious for my skills, so never mind on that. Common sense tell me to to work with one of the available classes. However, before investing more time on it I would like to ask if there is something close to SOP like (fulfilling ISO req) already somewhere, and if not, If you could hand me some hints on how to proceed. The specific points I'm stuck with are: - How to make boxed headers (minor proplem, more a wish than a requirement) - How to ignore/oversee the general page numeration and replace it by specific SOP page numbers. - Making the headers appear only at the starting of each individual SOP. Thanks for your attention. Best regards, Marcos Ablanque -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081001/6c204f8f/attachment.html From maryh.williams at murraystate.edu Thu Oct 2 07:35:28 2008 From: maryh.williams at murraystate.edu (maryh.williams at murraystate.edu) Date: Thu, 2 Oct 2008 00:35:28 -0500 Subject: [texhax] help Message-ID: <125b7ca0e7b445ad8e4c7a29d1338899.maryh.williams@murraystate.edu> I have been looking for a very long time onhow to create a block matrix. I have a 10 by 10 matrix wit entries down the diagonal and above and below te diagonal. The rest are 0's and i wanted to put a big zero in the lower and upper triangles of the matrix. If you can give me any help then I would greatly appreciate it! Thanks! Molly Williams From ayar at bilkent.edu.tr Thu Oct 2 10:42:17 2008 From: ayar at bilkent.edu.tr (ayar at bilkent.edu.tr) Date: Thu, 2 Oct 2008 11:42:17 +0300 (EEST) Subject: [texhax] (no subject) Message-ID: <50085.78.160.25.220.1222936937.squirrel@webmail.bilkent.edu.tr> Hi, i have a problem about writing an algorithm. i want to write an algorithm but it does not fit into one page. i need to write it on two pages. but it does not automatically divides. rather, some of the part of my algorithm does not seem. how can i eliminate this problem? thanks for your help.. From Herbert.Voss at FU-Berlin.DE Thu Oct 2 16:22:22 2008 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Thu, 02 Oct 2008 16:22:22 +0200 Subject: [texhax] help In-Reply-To: <125b7ca0e7b445ad8e4c7a29d1338899.maryh.williams@murraystate.edu> References: <125b7ca0e7b445ad8e4c7a29d1338899.maryh.williams@murraystate.edu> Message-ID: <48E4D91E.2050607@FU-Berlin.DE> maryh.williams at murraystate.edu schrieb: > I have been looking for a very long time onhow to create a block matrix. I > have a 10 by 10 matrix wit entries down the diagonal and above and below te > diagonal. The rest are 0's and i wanted to put a big zero in the lower and > upper triangles of the matrix. If you can give me any help then I would > greatly appreciate it! http://www.dante.de/CTAN/info/math/voss/mathmode/Mathmode.pdf p120 Herbert From daleif at imf.au.dk Thu Oct 2 17:04:14 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 02 Oct 2008 17:04:14 +0200 Subject: [texhax] (no subject) In-Reply-To: <50085.78.160.25.220.1222936937.squirrel@webmail.bilkent.edu.tr> References: <50085.78.160.25.220.1222936937.squirrel@webmail.bilkent.edu.tr> Message-ID: <48E4E2EE.3050107@imf.au.dk> ayar at bilkent.edu.tr wrote: > Hi, > i have a problem about writing an algorithm. i want to write an algorithm > but it does not fit into one page. i need to write it on two pages. but it > does not automatically divides. rather, some of the part of my algorithm > does not seem. how can i eliminate this problem? thanks for your help.. > minimal example please Are you placing the algorithm inside a float? In that case don't, floats does not break. -- /daleif From Anne.Mackenzie-1 at nasa.gov Thu Oct 2 19:50:05 2008 From: Anne.Mackenzie-1 at nasa.gov (Mackenzie, Anne (LARC-D319)) Date: Thu, 2 Oct 2008 12:50:05 -0500 Subject: [texhax] top margin problem Message-ID: <5ADD7A02A19DDC4885F8AECA894142D50128F96D@NDMSEVS32B.ndc.nasa.gov> I am writing a dissertation in which the chapter title pages and some of the front pages must have an extra one inch margin at the top. The bulk of the text has a one inch top margin, but the title pages require a 2 inch top margin. Is it possible to enter something at the top of a page that produces a blank but would be counted as part of the text height, so that the bottom margins will always look the same? Thanks, Anne Anne Mackenzie Electromagnetics & Sensors Branch MS 473, 8 North Dryden St. NASA Langley Research Center Hampton, VA 23681-0001 757-864-1820 From c at aastrup.org Thu Oct 2 22:28:19 2008 From: c at aastrup.org (Christian H. Aastrup) Date: Thu, 2 Oct 2008 22:28:19 +0200 Subject: [texhax] align, align*, nonumber and ?? In-Reply-To: References: Message-ID: <9C297554165047679992BC39A4B85CF8@KontorPC> Hi there! When I write \begin{align} a&=b\nonumber \\ &=c \nonumber \\ &=d \end{align} I only get at number in the last line. But I want to do this in align and need a command that makes a number rather than suppress it \begin{align*} a&=b \\ &=c \\ &=d \yesnumber \end{align*} Does such a \yesnumber command exist? Kind regards, Christian Aastrup From justin at mac.com Fri Oct 3 06:05:08 2008 From: justin at mac.com (Justin C. Walker) Date: Thu, 02 Oct 2008 21:05:08 -0700 Subject: [texhax] top margin problem In-Reply-To: <5ADD7A02A19DDC4885F8AECA894142D50128F96D@NDMSEVS32B.ndc.nasa.gov> References: <5ADD7A02A19DDC4885F8AECA894142D50128F96D@NDMSEVS32B.ndc.nasa.gov> Message-ID: On Oct 2, 2008, at 10:50 , Mackenzie, Anne (LARC-D319) wrote: > I am writing a dissertation in which the chapter title pages and > some of > the front pages must have an extra one inch margin at the top. The > bulk > of the text has a one inch top margin, but the title pages require a 2 > inch top margin. Is it possible to enter something at the top of a > page > that produces a blank but would be counted as part of the text height, > so that the bottom margins will always look the same? This link may be of some use (if you are using LaTeX, at leasat). Check p. 2. HTH Justin -- Justin C. Walker, Curmudgeon-At-Large Director Institute for the Enhancement of the Director's Income -------- "Weaseling out of things is what separates us from the animals. Well, except the weasel." - Homer J Simpson -------- From edsko at edsko.net Fri Oct 3 09:48:04 2008 From: edsko at edsko.net (Edsko de Vries) Date: Fri, 3 Oct 2008 08:48:04 +0100 Subject: [texhax] align, align*, nonumber and ?? In-Reply-To: <9C297554165047679992BC39A4B85CF8@KontorPC> References: <9C297554165047679992BC39A4B85CF8@KontorPC> Message-ID: <20081003074804.GA655@netsoc.tcd.ie> On Thu, Oct 02, 2008 at 10:28:19PM +0200, Christian H. Aastrup wrote: > Hi there! > > When I write > > \begin{align} > a&=b\nonumber > \\ > &=c \nonumber > \\ > &=d > \end{align} > > I only get at number in the last line. But I want to do this in align and > need a command that makes a number rather than suppress it > > \begin{align*} > a&=b > \\ > &=c > \\ > &=d \yesnumber > \end{align*} > > Does such a \yesnumber command exist? I don't know of a predefined one, but in my thesis I use: % sometimes it is useful to tag some equations in an align* block but not % others; \newtag can be used for this purpose \newcommand{\newtag}{\tag{\theequation}\addtocounter{equation}{1}} Edsko From vivrii at gmail.com Fri Oct 3 09:55:15 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Fri, 3 Oct 2008 03:55:15 -0400 Subject: [texhax] align, align*, nonumber and ?? In-Reply-To: <20081003074804.GA655@netsoc.tcd.ie> References: <9C297554165047679992BC39A4B85CF8@KontorPC> <20081003074804.GA655@netsoc.tcd.ie> Message-ID: <19af81400810030055i38dd4c84o7c2592b9c5786192@mail.gmail.com> On Fri, Oct 3, 2008 at 3:48 AM, Edsko de Vries wrote: > On Thu, Oct 02, 2008 at 10:28:19PM +0200, Christian H. Aastrup wrote: >> Hi there! >> >> When I write >> >> \begin{align} >> a&=b\nonumber >> \\ >> &=c \nonumber >> \\ >> &=d >> \end{align} >> >> I only get at number in the last line. But I want to do this in align and >> need a command that makes a number rather than suppress it >> >> \begin{align*} >> a&=b >> \\ >> &=c >> \\ >> &=d \yesnumber >> \end{align*} >> >> Does such a \yesnumber command exist? Not sure why one should not use {align} with \notag for all others > > I don't know of a predefined one, but in my thesis I use: > > % sometimes it is useful to tag some equations in an align* block but not > % others; \newtag can be used for this purpose > \newcommand{\newtag}{\tag{\theequation}\addtocounter{equation}{1}} Better \stepcounter{equation} or \refstepcounter{equation} (if with hyperref) instead of \addtocounter{equation}{1} > -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From s.schwartz at imperial.ac.uk Fri Oct 3 11:12:33 2008 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Fri, 03 Oct 2008 10:12:33 +0100 Subject: [texhax] top margin problem In-Reply-To: <5ADD7A02A19DDC4885F8AECA894142D50128F96D@NDMSEVS32B.ndc.nasa.gov> References: <5ADD7A02A19DDC4885F8AECA894142D50128F96D@NDMSEVS32B.ndc.nasa.gov> Message-ID: <1223025153.4720.3.camel@sony-sjs.sp.ph.ic.ac.uk> Anne, On Thu, 2008-10-02 at 12:50 -0500, Mackenzie, Anne (LARC-D319) wrote: > Is it possible to enter something at the top of a page > that produces a blank but would be counted as part of the text height, > so that the bottom margins will always look the same? What you'd like to do is simply add a \vspace{1in} at the beginning of the page (or \vskip in plain tex), but (La)TeX will gobble this up. So you need to put something invisible at the top of the page. Try: \phantom{.}\vspace{1in} This may skip a bit too much (by \baselineskip it a line gets allocated by the \phantom) but you can easily adjust the amount of \vspace to get what you want. Does this help? Steve -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Space and Atmospheric Physics Fax: +44-(0)20-7594-7772 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 6M70 London SW7 2AZ, U.K. Web: http://www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From P.Taylor at Rhul.Ac.Uk Fri Oct 3 11:31:57 2008 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Fri, 03 Oct 2008 10:31:57 +0100 Subject: [texhax] top margin problem In-Reply-To: <1223025153.4720.3.camel@sony-sjs.sp.ph.ic.ac.uk> References: <5ADD7A02A19DDC4885F8AECA894142D50128F96D@NDMSEVS32B.ndc.nasa.gov> <1223025153.4720.3.camel@sony-sjs.sp.ph.ic.ac.uk> Message-ID: <48E5E68D.1090402@Rhul.Ac.Uk> In Plain TeX, this is the function of \topglue; no idea what the LaTeX equivalent is ... Philip TAYLOR -------- Steve Schwartz wrote: > Anne, > > On Thu, 2008-10-02 at 12:50 -0500, Mackenzie, Anne (LARC-D319) wrote: >> Is it possible to enter something at the top of a page >> that produces a blank but would be counted as part of the text height, >> so that the bottom margins will always look the same? > > What you'd like to do is simply add a \vspace{1in} at the beginning of > the page (or \vskip in plain tex), but (La)TeX will gobble this up. So > you need to put something invisible at the top of the page. > > Try: > > \phantom{.}\vspace{1in} > > This may skip a bit too much (by \baselineskip it a line gets allocated > by the \phantom) but you can easily adjust the amount of \vspace to get > what you want. > > Does this help? > > Steve From news2 at nililand.de Fri Oct 3 11:43:08 2008 From: news2 at nililand.de (Ulrike Fischer) Date: Fri, 3 Oct 2008 11:43:08 +0200 Subject: [texhax] top margin problem References: <5ADD7A02A19DDC4885F8AECA894142D50128F96D@NDMSEVS32B.ndc.nasa.gov> <1223025153.4720.3.camel@sony-sjs.sp.ph.ic.ac.uk> Message-ID: Am Fri, 03 Oct 2008 10:12:33 +0100 schrieb Steve Schwartz: > What you'd like to do is simply add a \vspace{1in} at the beginning of > the page (or \vskip in plain tex), but (La)TeX will gobble this up. So > you need to put something invisible at the top of the page. Or use \vspace*{1in}. -- Ulrike Fischer From tug-news at tug.org Sat Oct 4 02:51:39 2008 From: tug-news at tug.org (tug-news at tug.org) Date: Fri, 3 Oct 2008 19:51:39 -0500 Subject: [texhax] October 2008 TUG news Message-ID: <200810040051.m940pdv30548@f7.net> Dear TeX users, Software news: - TeX Live 2008 was released a few weeks ago. For the first time, ongoing updates for TeX Live are available over the Internet for those who want them (a feature MiKTeX has provided for years). http://tug.org/texlive/ - The full TeX Collection DVD is at the production facility now (in Germany) and should ship within a few more weeks. The TeX Collection contains new versions of proTeXt and MacTeX, as well as an updated snapshot of CTAN. http://tug.org/texcollection/ - TUG has received a renewed development grant from the same anonymous donor who generously provided support last year. As before, we received $10,000 outright for TeX development and another $10,000 is available if we can match it. We are attempting to raise institutional support, but individual contributions of any size are very welcome and very important, both to TUG and to the donor. So please consider donating to the development fund in general, or a specific development project: https://www.tug.org/donate/ The three main projects we are supporting are ongoing from last year: the TeX Gyre fonts (http://www.gust.org.pl/projects/e-foundry/tex-gyre/), LuaTeX (http://www.luatex.org/), and the TeXworks front end (http://tug.org/texworks/). For our rationale and past grants, see the development fund web pages: http://tug.org/tc/devfund/ Journals: - The third issue of TUGboat for 2008 will be the proceedings for TUG'08. It is nearly complete and should make its way to the printer by the end of the month. http://tug.org/TUGboat/ - Issue 2008-2 of the PracTeX Journal has been published; the theme of this issue is LaTeX and TeX on the web. http://tug.org/pracjourn/ Interview Corner: - Several more interviews have been completed since the last installment of this newsletter: Amy Hendrickson, Yuri Robbers, Tomas Rokicki, Han The Thanh, and Arthur Ogawa. http://tug.org/interviews/ - We are planning to produce the interviews as a book, since there has been considerable interest, but have no publication schedule as yet. Conferences: - Many of the presentations from TUG 2008 in Cork are available as online video, thanks to the indefatigable Kaveh Bazargan and River Valley Technologies. http://www.river-valley.tv/conferences/tug2008/ - 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 South Bend, 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/ Printing history fellowship opportunity: - The American Printing History Association invites applications for a fellowship of up to $2,000 to study any area of the history of printing in any form. The deadline is 12 December 2008. More information and an application form: http://printinghistory.org/htm/fellowship/ Finally, we on the board would like to welcome Alan Wetmore to the TUG Bursary committee (http://tug.org/bursary), and thank Dave Walden for his service on the committee for the last several years. Dave remains as the TUG treasurer. As always, we appreciate your support! Happy TeXing, Karl Berry (President) on behalf of the TUG Board http://www.tug.org/ From uwe.lueck at web.de Sat Oct 4 17:53:44 2008 From: uwe.lueck at web.de (=?UTF-8?b?VXdlIEzDvGNr?=) Date: Sat, 4 Oct 2008 17:53:44 +0200 Subject: [texhax] Help with SOP writing.. Message-ID: An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081004/fd68377c/attachment.html From vivrii at gmail.com Sat Oct 4 18:39:55 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Sat, 4 Oct 2008 12:39:55 -0400 Subject: [texhax] Help with SOP writing.. In-Reply-To: References: Message-ID: <19af81400810040939r42d33572wecdcf0e162886cbb@mail.gmail.com> What about memoir? It is extremely flexible Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From chandru.mcc at gmail.com Sun Oct 5 00:32:01 2008 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Sun, 5 Oct 2008 04:02:01 +0530 Subject: [texhax] Doubts Message-ID: Respected Sir/Mam, I am an undergraduate and I have some doubts in Latex. I need the procedure for creating own packages in detail. It would be really nice if you explain it briefly. To be specific there is a writing style called as "Edwardian Script" in Ms word. I need that to be available in Latex. Please reply at the earliest. Chandrasekhar From reinhard.kotucha at web.de Sun Oct 5 05:23:45 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 5 Oct 2008 05:23:45 +0200 Subject: [texhax] Doubts In-Reply-To: References: Message-ID: <18664.13121.552960.25450@zaphod.ms25.net> chandrasekhar s writes: > I am an undergraduate and I have some doubts in Latex. I need the > procedure for creating own packages in detail. It would be really nice > if you explain it briefly. > > To be specific there is a writing style called as "Edwardian Script" > in Ms word. I need that to be available in Latex. Hi Chandrasekhar, creating the tfm and fd files needed by latex is not trivial. Maybe it's easier to use xelatex instead of latex. xetex supports system fonts (fonts in c:/windows/fonts) directly. No conversion required. http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=xetex 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 axel.retif at mac.com Sun Oct 5 05:42:15 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Sat, 04 Oct 2008 22:42:15 -0500 Subject: [texhax] Doubts In-Reply-To: <18664.13121.552960.25450@zaphod.ms25.net> References: <18664.13121.552960.25450@zaphod.ms25.net> Message-ID: <55382721-FB3C-4ACD-ABE5-7A925B60F659@mac.com> On 4 Oct, 2008, at 22:23, Reinhard Kotucha wrote: > chandrasekhar s writes: > >> I am an undergraduate and I have some doubts in Latex. I need the >> procedure for creating own packages in detail. It would be really >> nice >> if you explain it briefly. Not an easy thing, really! If you have a recent TeX distribution (TeX Live or MiKTeX), type in your terminal or Command Prompt texdoc clsguide It's better to use existing packages. The better source is "The LaTeX Companion", 2nd ed. But see also Scott Pakin's http://ctan.tug.org/tex-archive/info/visualFAQ/visualFAQ.pdf >> To be specific there is a writing style called as "Edwardian Script" >> in Ms word. I need that to be available in Latex. > > Hi Chandrasekhar, > creating the tfm and fd files needed by latex is not trivial. Maybe > it's easier to use xelatex instead of latex. xetex supports system > fonts (fonts in c:/windows/fonts) directly. No conversion required. > > http://scripts.sil.org/cms/scripts/page.php? > site_id=nrsi&item_id=xetex See also Goossens' http://xml.web.cern.ch/XML/lgc2/xetexmain.pdf Best, Axel From john at wexfordpress.com Sun Oct 5 14:56:33 2008 From: john at wexfordpress.com (John Culleton) Date: Sun, 5 Oct 2008 08:56:33 -0400 Subject: [texhax] Burning a dvd. Message-ID: <200810050856.33701.john@wexfordpress.com> I asked this question on alt.os.linux.slackware via google groups but that site seems to be broken. No posts since Oct 3 on any newsgroup. Anyhow--- I have the dvd iso for Slackware current. I want to transfer that file to a dvd disk via my dvd-capable r/w drive. For a cdr I use: cdrecord dev=1001,0,0 filename.iso Will that work also for a dvd disk? Or is there a different incantation? I have already created some coasters fooling around, and the media is expensive. If necessary I can boot a Debian partition, but I hope it isn?t necessary. I don?t speak Debian very fluently. -- John Culleton Resources for every author and publisher: http://wexfordpress.com/tex/shortlist.pdf http://wexfordpress.com/tex/packagers.pdf http://www.creativemindspress.com/newbiefaq.htm http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm From john at wexfordpress.com Sun Oct 5 15:24:38 2008 From: john at wexfordpress.com (John Culleton) Date: Sun, 5 Oct 2008 09:24:38 -0400 Subject: [texhax] Sorting index In-Reply-To: <48DB6953.4010208@imf.au.dk> References: <311224200809250258o39da72efm74114d37b4a76461@mail.gmail.com> <48DB6953.4010208@imf.au.dk> Message-ID: <200810050924.38756.john@wexfordpress.com> On Thursday 25 September 2008 06:34:59 am Lars Madsen wrote: > Henrik Frisk wrote: > > Hi again, > > > > Does anyone know how I can have the Index sort names starting > > with O umlaut (?) alphabetically correct? Right thes names are > > put at the top of the index which looks quite odd. > > > > Thanks > > For any indexable item, if you create a command like \sidx{foo at bar} the item will sort as foo but will show bar. That is the command for eplain. For LaTeX it is as I recall \index{foo at bar} Worst case you can edit the book.idx file after the first pass but before the makeindex pass to insert code foo at bar as I have suggested. Alternatively you can edit the output book.ind file and rearrange it. So there are three different solutions. Take your pick. -- John Culleton Precision Typesetting Able Indexers and Typesetters http://wexfordpress.com From padawan12 at obiwannabe.co.uk Sun Oct 5 16:24:48 2008 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Sun, 5 Oct 2008 15:24:48 +0100 Subject: [texhax] Burning a dvd. In-Reply-To: <200810050856.33701.john@wexfordpress.com> References: <200810050856.33701.john@wexfordpress.com> Message-ID: <20081005152448.6bfbdb2a.padawan12@obiwannabe.co.uk> I use K3b on my Debian. Apparently to put it into Slack you do something like: Go to http://www.slackware.com/getslack/ and coose a mirror close to your location and then browse to the directory slackware-10.2/slackware/ap/ and there you will find dvd+rw-tools-5.21.4.10.8-i486-1.tgz # installpkg dvd+rw-tools-5.21.4.10.8-i486-1.tgz # su - http://www.slackware.com/getslack/ browse to the directory slackware-10.2/extra/k3b/ Download k3b-0.12.4a-i486-1.tgz package. Install # installpkg k3b-0.12.4a-i486-1.tgz Then run # k3b YMMV with versions etc. Check on the latest appropriate packages for your Slack distro for dvd tools and k3b. Source: http://www.linuxforums.org/forum/slackware-linux-help/47104-dvd-burning.html a. On Sun, 5 Oct 2008 08:56:33 -0400 John Culleton wrote: > I asked this question on alt.os.linux.slackware via google groups but > that site seems to be broken. No posts since Oct 3 on any newsgroup. > Anyhow--- > I have the dvd iso for Slackware current. I want to transfer that file > to a dvd disk via my dvd-capable r/w drive. For a cdr I use: > > cdrecord dev=1001,0,0 filename.iso > > Will that work also for a dvd disk? Or is there a different > incantation? > > I have already created some coasters fooling around, and the media is > expensive. > > If necessary I can boot a Debian partition, but I hope it isn?t > necessary. I don?t speak Debian very fluently. > -- > John Culleton > Resources for every author and publisher: > http://wexfordpress.com/tex/shortlist.pdf > http://wexfordpress.com/tex/packagers.pdf > http://www.creativemindspress.com/newbiefaq.htm > http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm > _______________________________________________ > 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 -- Use the source From reinhard.kotucha at web.de Sun Oct 5 18:24:39 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 5 Oct 2008 18:24:39 +0200 Subject: [texhax] Burning a dvd. In-Reply-To: <200810050856.33701.john@wexfordpress.com> References: <200810050856.33701.john@wexfordpress.com> Message-ID: <18664.59975.526040.488419@zaphod.ms25.net> John Culleton writes: > cdrecord dev=1001,0,0 filename.iso > > Will that work also for a dvd disk? Or is there a different > incantation? The only difference between a DVD and a CD is its size and you can use cdrecord as you described. Hovever, to be sure you can try with the -dummy option first as described in the man page. 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 chandru.mcc at gmail.com Sun Oct 5 20:28:53 2008 From: chandru.mcc at gmail.com (chandrasekhar s) Date: Sun, 5 Oct 2008 23:58:53 +0530 Subject: [texhax] Doubt Message-ID: Respected Sir, I have another doubt. Please help me out. I am not able to recognize how to write text near the picture. Example supposing i have increased the pagewidth and i follow this command \begin{figure} \flushleft \includegraphics \end{figure} So the picture is embedded on the left hand side of the page while there is some space left on the right hand side. I need to write my text here what should i do. i am unable to write as of now. Please help. Chandru From reinhard.kotucha at web.de Sun Oct 5 20:58:38 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sun, 5 Oct 2008 20:58:38 +0200 Subject: [texhax] Doubt In-Reply-To: References: Message-ID: <18665.3678.858787.406488@zaphod.ms25.net> chandrasekhar s writes: > Respected Sir, > > I have another doubt. Please help me out. I am not able to recognize > how to write text near the picture. > Example supposing i have increased the pagewidth and i follow this command > > \begin{figure} > \flushleft > \includegraphics > \end{figure} > > So the picture is embedded on the left hand side of the page while > there is some space left on the right hand side. I need to write my > text here what should i do. i am unable to write as of now. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=textflow Regards, Reinhard -- ---------------------------------------------------------------------------- Reinhard Kotucha Phone: +49-511-3373112 Marschnerstr. 25 D-30167 Hannover mailto:reinhard.kotucha at web.de ---------------------------------------------------------------------------- Microsoft isn't the answer. Microsoft is the question, and the answer is NO. ---------------------------------------------------------------------------- From uwe.lueck at web.de Sat Oct 4 21:46:44 2008 From: uwe.lueck at web.de (Uwe =?iso-8859-1?Q?L=FCck?=) Date: Sat, 04 Oct 2008 21:46:44 +0200 Subject: [texhax] Help with SOP writing.. In-Reply-To: <19af81400810040939r42d33572wecdcf0e162886cbb@mail.gmail.co m> References: Message-ID: <5.1.0.14.0.20081004213936.036baec0@pop3.web.de> At 18:39 04.10.08, Victor Ivrii wrote: >What about memoir? It is extremely flexible Sure, I just suppressed this reflex of mine because ... TeX is flexible, too ... ... and if fancyhdr has been tried successlessly, another flexible package won't help more, unless it addresses SOP expressly ... ... Uwe. From eduardo at kalinowski.com.br Sun Oct 5 21:28:50 2008 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sun, 05 Oct 2008 16:28:50 -0300 Subject: [texhax] Doubt In-Reply-To: References: Message-ID: <48E91572.6050407@kalinowski.com.br> chandrasekhar s wrote: > Respected Sir, > > I have another doubt. Please help me out. I am not able to recognize > how to write text near the picture. > > Example supposing i have increased the pagewidth and i follow this command > > \begin{figure} > \flushleft > \includegraphics > \end{figure} > > So the picture is embedded on the left hand side of the page while > there is some space left on the right hand side. I need to write my > text here what should i do. i am unable to write as of now. > These packages might help: http://www.ctan.org/tex-archive/help/Catalogue/entries/wrapfig.html and http://www.ctan.org/tex-archive/help/Catalogue/entries/floatflt.html . -- There are two ways of disliking art. One is to dislike it. The other is to like it rationally. -- Oscar Wilde Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb From vasudevalaya at gmail.com Sun Oct 5 07:36:33 2008 From: vasudevalaya at gmail.com (Vasudeva) Date: Sun, 5 Oct 2008 11:06:33 +0530 Subject: [texhax] Need Help in finding a Solution.... In-Reply-To: <5.1.0.14.0.20080930182712.03576b10@pop3.web.de> References: <5.1.0.14.0.20080930182712.03576b10@pop3.web.de> Message-ID: Namaste, Thank you so much for the info. However, Iam still not able to understand Why my Colors are not working. Do you recommend that I should reinstall MikTex 2.7? Iam using Windows and WinEdt. You may refer to the same examples - I had referred in my prev mail. Also, I need to know the Down loadable software for Circuit Diagrams in LaTeX? Your help in this regard is appreciated. Thank you, Sincerely, Vasudeva,,, On Tue, Sep 30, 2008 at 10:30 PM, Uwe L?ck wrote: > At 08:07 30.09.08, Vasudeva wrote: > > 1. Iam not able to get the font colors - all I get is plain Black Text >> as output. >> >> 2. I would like to know the procedures or packages required for >> incorporating Diagrams and Circuit-Diagrams >> > > The LaTeX Wikibook explains some essentials: > > http://en.wikibooks.org/wiki/LaTeX/Importing_Graphics > http://en.wikibooks.org/wiki/LaTeX/Creating_Graphics > http://en.wikibooks.org/wiki/LaTeX/Colors > > The Topical Index of the TeX Catalogue is often helpful to find out what > packages > serve certain purposes: > > http://mirror.ctan.org/help/Catalogue/bytopic.html > > Packages are listed "by topic", with a one-line description and a link to > get more for each. > > Packages for including graphics made outside TeX are listed here: > > http://mirror.ctan.org/help/Catalogue/bytopic.html#graphics > > This is about drawing using TeX: > > http://mirror.ctan.org/help/Catalogue/bytopic.html#charts > > And here is something about colours: > > http://mirror.ctan.org/help/Catalogue/bytopic.html#colour > > This is just the CTAN directory of (free) packages for drawing and > graphics: > > http://mirror.ctan.org/graphics/ > > -- Please note that many TeX users are not fond of getting > HTML (or likewise formatted) mails since their mail programs > show the script code instead of processing it. > > HTH -- Uwe. > > -- With Love, Vasudeva... Walk in Devotion, See Through Devotion, Devotion is the only means to attain the LORD. Seed of Devotion is LOVE --- Love thy ALL -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081005/425cb6e0/attachment-0001.html From olegkat at gmail.com Mon Oct 6 02:10:51 2008 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 6 Oct 2008 03:10:51 +0300 Subject: [texhax] Burning a dvd. In-Reply-To: <200810050856.33701.john@wexfordpress.com> References: <200810050856.33701.john@wexfordpress.com> Message-ID: <20081006001051.GA5189@thor> On Sun, Oct 05, 2008 at 08:56:33AM -0400, John Culleton wrote: > Or is there a different incantation? FWIW, here's what I use on Debian: $ growisofs -speed=4 -Z /dev/dvd=image.iso -dvd-compat To install, run # apt-get install dvd+rw-tools Oleg From axel.retif at mac.com Mon Oct 6 03:04:43 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Sun, 05 Oct 2008 20:04:43 -0500 Subject: [texhax] Need Help in finding a Solution.... In-Reply-To: References: <5.1.0.14.0.20080930182712.03576b10@pop3.web.de> Message-ID: <667891BD-F78A-4E15-9E12-D1AB908BFA0F@mac.com> On 5 Oct, 2008, at 00:36, Vasudeva wrote: > Namaste, > > Thank you so much for the info. > > However, Iam still not able to understand Why my Colors are not > working. Do you recommend that I should reinstall MikTex 2.7? > Iam using Windows and WinEdt. You may refer to the same examples - > I had referred in my prev mail. > > Also, I need to know the Down loadable software for Circuit Diagrams > in LaTeX? I still think you already have it..., but anyway, http://www.ctan.org/tex-archive/macros/generic/diagrams/circ/ Best, Axel From reinhard.kotucha at web.de Mon Oct 6 03:35:50 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Mon, 6 Oct 2008 03:35:50 +0200 Subject: [texhax] Burning a dvd. In-Reply-To: <20081006001051.GA5189@thor> References: <200810050856.33701.john@wexfordpress.com> <20081006001051.GA5189@thor> Message-ID: <18665.27510.553080.514460@zaphod.ms25.net> Oleg Katsitadze writes: > On Sun, Oct 05, 2008 at 08:56:33AM -0400, John Culleton wrote: > > Or is there a different incantation? > > FWIW, here's what I use on Debian: > > $ growisofs -speed=4 -Z /dev/dvd=image.iso -dvd-compat No, John doesn't want to create a new DVD image, he just wants to burn the TeX Live ISO image on a DVD. growisofs is not a solution. 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 olegkat at gmail.com Mon Oct 6 05:48:04 2008 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 6 Oct 2008 06:48:04 +0300 Subject: [texhax] Burning a dvd. In-Reply-To: <18665.27510.553080.514460@zaphod.ms25.net> References: <200810050856.33701.john@wexfordpress.com> <20081006001051.GA5189@thor> <18665.27510.553080.514460@zaphod.ms25.net> Message-ID: <20081006034804.GA10573@thor> On Mon, Oct 06, 2008 at 03:35:50AM +0200, Reinhard Kotucha wrote: > > $ growisofs -speed=4 -Z /dev/dvd=image.iso -dvd-compat > > No, John doesn't want to create a new DVD image, he just wants to burn > the TeX Live ISO image on a DVD. growisofs is not a solution. But growisofs can do both! The above command takes an existing image.iso and burns it to device on /dev/dvd. Oleg From mahi2308 at rediffmail.com Mon Oct 6 10:48:57 2008 From: mahi2308 at rediffmail.com (mahi) Date: 6 Oct 2008 08:48:57 -0000 Subject: [texhax] hyperref Message-ID: <20081006084857.25048.qmail@f4mail204.rediffmail.com> ? Hi I am MikTeX user, and i am using a hyperref package with dvips option after creation of pdf the internal links are not going to the particular cite, figure etc. links, it goes only that particular page. I want to use hyperref package with dvips option only, if anybody know the answer please post me. Thanks for your answers. Maheshwari -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081006/44633bca/attachment.html From george at galis.org Mon Oct 6 11:37:02 2008 From: george at galis.org (George Georgalis) Date: Mon, 6 Oct 2008 11:37:02 +0200 Subject: [texhax] memoir Re: Help with SOP writing.. In-Reply-To: <5.1.0.14.0.20081004213936.036baec0@pop3.web.de> References: <5.1.0.14.0.20081004213936.036baec0@pop3.web.de> Message-ID: <20081006093702.GD26466@fuji.local> Hello All, On Sat 04 Oct 2008 at 09:46:44 PM +0200, Uwe L?ck wrote: >At 18:39 04.10.08, Victor Ivrii wrote: >>What about memoir? It is extremely flexible > >Sure, I just suppressed this reflex of mine because ... >TeX is flexible, too ... >... and if fancyhdr has been tried successlessly, >another flexible package won't help more, >unless it addresses SOP expressly ... I've followed this thread with interest as matching a preexisting layout can be one of the more challenging aspects of Latex document preparation (for me). I'd like to share my SOP templates but that wouldn't be allowed. After looking at the memoir manual, I'm curious, how well adopted it is? While it seems professionally done, it does so much that I wonder if I take the time to adopt it will I be stranded if I get stuck with some issue? How many people are using it? How many people are interested in providing user support should I get stuck? I generally prefer the unix methodology that programs (packages) do one thing, and very well. But if memoir just makes *everything* easier, it may be worthwhile loading it in my documents. What are the shortcomings of memoir? George From daleif at imf.au.dk Mon Oct 6 13:07:01 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Mon, 06 Oct 2008 13:07:01 +0200 Subject: [texhax] memoir Re: Help with SOP writing.. In-Reply-To: <20081006093702.GD26466@fuji.local> References: <5.1.0.14.0.20081004213936.036baec0@pop3.web.de> <20081006093702.GD26466@fuji.local> Message-ID: <48E9F155.8090508@imf.au.dk> George Georgalis wrote: > Hello All, > > On Sat 04 Oct 2008 at 09:46:44 PM +0200, Uwe L?ck wrote: >> At 18:39 04.10.08, Victor Ivrii wrote: >>> What about memoir? It is extremely flexible >> Sure, I just suppressed this reflex of mine because ... >> TeX is flexible, too ... >> ... and if fancyhdr has been tried successlessly, >> another flexible package won't help more, >> unless it addresses SOP expressly ... > > > > I've followed this thread with interest as matching a preexisting > layout can be one of the more challenging aspects of Latex > document preparation (for me). I'd like to share my SOP templates > but that wouldn't be allowed. > > After looking at the memoir manual, I'm curious, how well adopted > it is? While it seems professionally done, it does so much that I > wonder if I take the time to adopt it will I be stranded if I get > stuck with some issue? > > How many people are using it? How many people are interested in > providing user support should I get stuck? > > I generally prefer the unix methodology that programs (packages) > do one thing, and very well. But if memoir just makes *everything* > easier, it may be worthwhile loading it in my documents. > > What are the shortcomings of memoir? > > George > Well, the manual is not always easy to understand for a novice. I instruct all my users to use memoir, because in the long run it is a better investment than starting with the standard classes. If you run into problems you just ask here or on comp.text.tex and there are a lot of people who can help -- /daleif From axel.retif at mac.com Tue Oct 7 09:55:50 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 07 Oct 2008 02:55:50 -0500 Subject: [texhax] xfrac Message-ID: <5FD84EF9-95A7-4134-8BB1-0248E1FEAB11@mac.com> First, sorry for cross-posting..., but I really think members of these three lists might like ---and profit from--- the xfrac package, by Morten H?gholm. xfrac allows you to use split fractions in a new way, both using the defaults or, better yet, creating your own instances per font family, and both in text and math modes. I've been using xfrac for some time; unfortunately, its dependencies in TeX Live 2007 were outdated ---I got the right ancillary files from the LaTeX3 project, I think. But now with TeX Live 2008 we have a new xfrac package and all needed dependencies are there and up to date. If you're interested, texdoc xfrac Best, Axel From backer at psych.uib.no Tue Oct 7 10:09:58 2008 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Tue, 07 Oct 2008 10:09:58 +0200 Subject: [texhax] Information about document in the document Message-ID: <48EB1956.1090806@psych.uib.no> For some of the documents I write I would like to include a line in the upper left corner of the first page containing (a) the directory and name of the main file, and (b) the date and the time the document was printed. At the same time I would like to drop the date that appears by default when using the \maketitle command. I know about the \jobname command which gives the name of the main file (without the extension), but how do I get hold of the (full) directory path and the date/time? Tom From SDittmar at eureca.de Tue Oct 7 12:09:07 2008 From: SDittmar at eureca.de (Susan Dittmar) Date: Tue, 7 Oct 2008 12:09:07 +0200 Subject: [texhax] Information about document in the document In-Reply-To: <48EB1956.1090806@psych.uib.no> References: <48EB1956.1090806@psych.uib.no> Message-ID: <20081007100907.GA9576@eureca.de> Hi Tom, from the top of my head I can only answer parts of your questions; maybe I'll find more time for the rest later. >I would like to drop the date that appears by default when using the >\maketitle command. use an empty \date{} command before the \maketitle command. > how do I get hold of [...] the date/time? Date: \today Hope that helps as first steps towards your goal, Susan -------------- 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/20081007/54d7aa19/attachment.bin From backer at psych.uib.no Tue Oct 7 22:49:19 2008 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Tue, 07 Oct 2008 22:49:19 +0200 Subject: [texhax] Information about document in the document In-Reply-To: <20081007100907.GA9576@eureca.de> References: <48EB1956.1090806@psych.uib.no> <20081007100907.GA9576@eureca.de> Message-ID: <48EBCB4F.50003@psych.uib.no> Susan Dittmar wrote: > Hi Tom, > > from the top of my head I can only answer parts of your questions; maybe > I'll find more time for the rest later. > >> I would like to drop the date that appears by default when using the >> \maketitle command. > > use an empty \date{} command before the \maketitle command. > >> how do I get hold of [...] the date/time? > > Date: \today > > Hope that helps as first steps towards your goal, > > Susan The inclusion of \date{} works fine. Thanks. And I have assumed that a corresponding \time{} function, but I have not located it, Perhaps \clock{}, no. And the directory, what would that be? Tom From tomfool at as220.org Tue Oct 7 23:12:01 2008 From: tomfool at as220.org (tom sgouros) Date: Tue, 07 Oct 2008 17:12:01 -0400 Subject: [texhax] Information about document in the document In-Reply-To: <48EBCB4F.50003@psych.uib.no> References: <48EB1956.1090806@psych.uib.no> <20081007100907.GA9576@eureca.de> <48EBCB4F.50003@psych.uib.no> Message-ID: <27769.1223413921@as220.org> Hi Tom: I'm sorry to have missed the original post on this, so pardon me please if I'm slightly off target. I have accomplished related goals by using the rcsinfo.sty package (the documents in question were checked into a CVS archive). The package makes parts of the RCS string available. You do this at the top of the file: \rcsInfo $Id: ripr33.tex,v 1.1 2008-09-28 02:54:47 tomfool Exp $ And then parts of the string are available as \RCSInfoDate and so on. The actual package also has header formatting facilities, which I didn't need, but the rcs string parsing stuff was pretty easy to carve off into a separate package. About ten years ago I implemented a class that used the mktextex business, about which I've forgotten almost everything, but I find this in an old class definition: \DeclareOption{draft} {\message{Using `draft' format}\input pwd.tex\@paperdrafttrue} ... % In draft mode, the footer will have the time and date on it. It % will also have the name of the file on the right hand side. In % order for this to work, there must be a file called mktextex in the % \$PATH (apparently ~/bin doesn't work for AucTeX) with the following % contents: % %<*mktex> echo "\def\dirname{`pwd`}" >$1 echo $1 % % % This will create a file called pwd.tex in the directory, whose % contents are the \$PWD. This is not a perfect solution, since it % leaves little pwd.tex files all over the place, but so it goes. % ... \if at paperdraft \fancyfoot[L]{\sectfont\today} \fancyfoot[R]{\sectfont\dirname/\jobname} \fi This is not very portable, and I think it's kind of a security issue for some purposes, but it might work for you. There are possibly more stylish ways to do these things now, but these two have worked for me. Hope this helps, -tom Tom Backer Johnsen wrote: > Susan Dittmar wrote: > > Hi Tom, > > > > from the top of my head I can only answer parts of your questions; maybe > > I'll find more time for the rest later. > > > >> I would like to drop the date that appears by default when using the > >> \maketitle command. > > > > use an empty \date{} command before the \maketitle command. > > > >> how do I get hold of [...] the date/time? > > > > Date: \today > > > > Hope that helps as first steps towards your goal, > > > > Susan > > The inclusion of \date{} works fine. Thanks. And I have assumed that a > corresponding \time{} function, but I have not located it, Perhaps > \clock{}, no. And the directory, what would that be? > > Tom > > _______________________________________________ > 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 ekmath at asianetindia.com Wed Oct 8 01:19:50 2008 From: ekmath at asianetindia.com (E. Krishnan) Date: Wed, 8 Oct 2008 04:49:50 +0530 (IST) Subject: [texhax] Information about document in the document In-Reply-To: <48EB1956.1090806@psych.uib.no> References: <48EB1956.1090806@psych.uib.no> Message-ID: On Tue, 7 Oct 2008, Tom Backer Johnsen wrote: > For some of the documents I write I would like to include a line in the > upper left corner of the first page containing (a) the directory and > name of the main file, and (b) the date and the time the document was > printed. At the same time I would like to drop the date that appears by > default when using the \maketitle command. This is one way of doing it in a linux system \documentclass{article} \usepackage{calc} \usepackage{fancyhdr} \fancyhead[L]{% \makebox[\taglen-4cm][r]{% \small\ttfamily \printfilename \today\ \printtime}} \renewcommand{\headrulewidth}{0pt} \newcommand{\filename}{\jobname.tex} \newcommand{\printfilename}{% \immediate\write18{pwd > path.tex}{\input{path}\llap/\filename}} \newcounter{hours} \newcounter{minutes} \setcounter{hours}{\time/60} \setcounter{minutes}{\time-\value{hours}*60} \newcommand{\printtime}{\thehours:\theminutes} \newlength{\taglen} \settowidth{\taglen}{\printfilename\ \today\ \printtime} \begin{document} \title{An experiment} \author{E.~Krishnan} \date{} \maketitle \thispagestyle{fancy} This is a test \clearpage This is a test \end{document} You may have to compile by latex -shell-escape filename -- Krishnan From backer at psych.uib.no Wed Oct 8 08:41:57 2008 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Wed, 08 Oct 2008 08:41:57 +0200 Subject: [texhax] Information about document in the document In-Reply-To: References: <48EB1956.1090806@psych.uib.no> Message-ID: <48EC5635.4060204@psych.uib.no> E. Krishnan wrote: > On Tue, 7 Oct 2008, Tom Backer Johnsen wrote: > >> For some of the documents I write I would like to include a line in the >> upper left corner of the first page containing (a) the directory and >> name of the main file, and (b) the date and the time the document was >> printed. At the same time I would like to drop the date that appears by >> default when using the \maketitle command. > > This is one way of doing it in a linux system > > > \documentclass{article} > \usepackage{calc} > \usepackage{fancyhdr} > > > \fancyhead[L]{% > \makebox[\taglen-4cm][r]{% > \small\ttfamily > \printfilename \today\ \printtime}} > \renewcommand{\headrulewidth}{0pt} > > \newcommand{\filename}{\jobname.tex} > \newcommand{\printfilename}{% > \immediate\write18{pwd > path.tex}{\input{path}\llap/\filename}} > > \newcounter{hours} > \newcounter{minutes} > \setcounter{hours}{\time/60} > \setcounter{minutes}{\time-\value{hours}*60} > \newcommand{\printtime}{\thehours:\theminutes} > > \newlength{\taglen} > \settowidth{\taglen}{\printfilename\ \today\ \printtime} > > > > \begin{document} > > > \title{An experiment} > \author{E.~Krishnan} > \date{} > \maketitle > \thispagestyle{fancy} > > > This is a test > > \clearpage > > This is a test > > > \end{document} > > > You may have to compile by > > latex -shell-escape filename This one did not work on a Windows system using MikTex, but I'll have a look at it later today and see if I can find out why. Thanks! Tom From backer at psych.uib.no Wed Oct 8 15:34:06 2008 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Wed, 08 Oct 2008 15:34:06 +0200 Subject: [texhax] Information about document in the document In-Reply-To: <48ECA72C.80000@uea.ac.uk> References: <48EB1956.1090806@psych.uib.no> <48ECA72C.80000@uea.ac.uk> Message-ID: <48ECB6CE.6060708@psych.uib.no> Dr Nicola L C Talbot wrote: > Tom Backer Johnsen wrote: >> For some of the documents I write I would like to include a line in >> the upper left corner of the first page containing (a) the directory >> and name of the main file, and (b) the date and the time the document >> was printed. At the same time I would like to drop the date that >> appears by default when using the \maketitle command. >> >> I know about the \jobname command which gives the name of the main >> file (without the extension), but how do I get hold of the (full) >> directory path and the date/time? > > The datetime package provides a command for printing the current time > (you can change the format). I think the fink package provides a command > to access the directory name. > > Regards > Nicola Talbot > The datetime package looks fine (I assume you are the person behind that one, so thank you!), but I am less sure about fink, so far I have been unable locate any documentation. I'll keep searching. Tom From toms at ncifcrf.gov Wed Oct 8 15:38:27 2008 From: toms at ncifcrf.gov (Tom Schneider) Date: Wed, 8 Oct 2008 09:38:27 -0400 (EDT) Subject: [texhax] Information about document in the document In-Reply-To: <48EC5635.4060204@psych.uib.no> from Tom Backer Johnsen at "Oct 8, 2008 08:41:57 am" Message-ID: <200810081338.m98DcSEq005227@strawberry.ncifcrf.gov> Tom: > > This is one way of doing it in a linux system > > > > \documentclass{article} > > \usepackage{calc} > > \usepackage{fancyhdr} > > > > \fancyhead[L]{% > > \makebox[\taglen-4cm][r]{% > > \small\ttfamily > > \printfilename \today\ \printtime}} > > \renewcommand{\headrulewidth}{0pt} > > > > \newcommand{\filename}{\jobname.tex} > > \newcommand{\printfilename}{% > > \immediate\write18{pwd > path.tex}{\input{path}\llap/\filename}} See the 'pwd' there? That's 'print working directory', a command under all unix operating systems such as Linux. It probably doesn't exist in Bill's brain. However perhaps you can put unix on your machine (ubuntu!) or make a unix platform (Cygwin) in which you can run the program. 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 L.C.G.Rogers at statslab.cam.ac.uk Wed Oct 8 14:09:25 2008 From: L.C.G.Rogers at statslab.cam.ac.uk (Chris Rogers) Date: Wed, 8 Oct 2008 13:09:25 +0100 (BST) Subject: [texhax] Turning the tables? Message-ID: I have a table which is necessarily somewhat wider than the width of the page, but it is not very high, so I would like to turn it through 90 degrees to fit it neatly into one page ... I couldn't find any instructions on how to do that in the documentation .. is this possible? Thanks -- /////////////////////////////////////////////////////////////////// // Professor L C G Rogers Tel: +44 1223 766806 // // Statistical Laboratory Fax: +44 1223 337956 // // Wilberforce Road Web: www.statslab.cam.ac.uk/~chris // // Cambridge CB3 0WB, GB // /////////////////////////////////////////////////////////////////// From n.talbot at uea.ac.uk Wed Oct 8 14:27:24 2008 From: n.talbot at uea.ac.uk (Dr Nicola L C Talbot) Date: Wed, 08 Oct 2008 13:27:24 +0100 Subject: [texhax] Information about document in the document In-Reply-To: <48EB1956.1090806@psych.uib.no> References: <48EB1956.1090806@psych.uib.no> Message-ID: <48ECA72C.80000@uea.ac.uk> Tom Backer Johnsen wrote: > For some of the documents I write I would like to include a line in the > upper left corner of the first page containing (a) the directory and > name of the main file, and (b) the date and the time the document was > printed. At the same time I would like to drop the date that appears by > default when using the \maketitle command. > > I know about the \jobname command which gives the name of the main file > (without the extension), but how do I get hold of the (full) directory > path and the date/time? The datetime package provides a command for printing the current time (you can change the format). I think the fink package provides a command to access the directory name. Regards Nicola Talbot From frainj at gmail.com Wed Oct 8 17:26:02 2008 From: frainj at gmail.com (John C Frain) Date: Wed, 8 Oct 2008 16:26:02 +0100 Subject: [texhax] Turning the tables? In-Reply-To: References: Message-ID: The rotating package will rotate tables John Frain 2008/10/8 Chris Rogers : > > > I have a table which is necessarily somewhat wider > than the width of the page, but it is not very high, > so I would like to turn it through 90 degrees to > fit it neatly into one page ... I couldn't find any > instructions on how to do that in the documentation .. > is this possible? > > Thanks > > > -- > /////////////////////////////////////////////////////////////////// > // Professor L C G Rogers Tel: +44 1223 766806 // > // Statistical Laboratory Fax: +44 1223 337956 // > // Wilberforce Road Web: www.statslab.cam.ac.uk/~chris // > // Cambridge CB3 0WB, GB // > /////////////////////////////////////////////////////////////////// > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html > > Automated subscription management: http://tug.org/mailman/listinfo/texhax > Human mailing list managers: postmaster at tug.org > -- John C Frain Trinity College Dublin Dublin 2 Ireland www.tcd.ie/Economics/staff/frainj/home.html mailto:frainj at tcd.ie mailto:frainj at gmail.com From eduardo at kalinowski.com.br Wed Oct 8 18:12:14 2008 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Wed, 08 Oct 2008 13:12:14 -0300 Subject: [texhax] Turning the tables? In-Reply-To: References: Message-ID: <48ECDBDE.6010405@kalinowski.com.br> Chris Rogers escreveu: > I have a table which is necessarily somewhat wider > than the width of the page, but it is not very high, > so I would like to turn it through 90 degrees to > fit it neatly into one page ... I couldn't find any > instructions on how to do that in the documentation .. > is this possible? > This might help: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=landscape -- Eduardo M Kalinowski eduardo at kalinowski.com.br From backer at psych.uib.no Wed Oct 8 23:22:43 2008 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Wed, 08 Oct 2008 23:22:43 +0200 Subject: [texhax] Information about document in the document In-Reply-To: <200810081338.m98DcSEq005227@strawberry.ncifcrf.gov> References: <200810081338.m98DcSEq005227@strawberry.ncifcrf.gov> Message-ID: <48ED24A3.9080603@psych.uib.no> Tom Schneider wrote: > Tom: > >>> This is one way of doing it in a linux system >>> >>> \documentclass{article} >>> \usepackage{calc} >>> \usepackage{fancyhdr} >>> >>> \fancyhead[L]{% >>> \makebox[\taglen-4cm][r]{% >>> \small\ttfamily >>> \printfilename \today\ \printtime}} >>> \renewcommand{\headrulewidth}{0pt} >>> >>> \newcommand{\filename}{\jobname.tex} >>> \newcommand{\printfilename}{% >>> \immediate\write18{pwd > path.tex}{\input{path}\llap/\filename}} > > See the 'pwd' there? That's 'print working directory', a command > under all unix operating systems such as Linux. It probably doesn't > exist in Bill's brain. However perhaps you can put unix on your > machine (ubuntu!) or make a unix platform (Cygwin) in which you can > run the program. > > Tom Tom: Thank you, I was looking at that part and could not understand why it was there. The error message from the MikTex Windows installation I am working with at the moment indicated that a file named path.tex was missing. When I created such a file it worked, but I did not get the path for the main file in the output. And the file was empty after running, so the write18 part was not understandable. In any case I have to admit that the machine I am using is a dual boot one, with Ubuntu as the alternative to Windows XP. However, I have only sniffed at Latex under Windows, all the serious work using Latex (started 2-3 years ago) have been under Windows. I have not considered Cygwin yet, perhaps I should. 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 -- +----------------------------------------------------------------+ | Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology | | University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY | | Tel : +47-5558-9185 Fax : +47-5558-9879 | | Email : backer at psych.uib.no URL : http://www.galton.uib.no/ | +----------------------------------------------------------------+ From reinhard.kotucha at web.de Thu Oct 9 00:26:10 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Thu, 9 Oct 2008 00:26:10 +0200 Subject: [texhax] Information about document in the document In-Reply-To: <200810081338.m98DcSEq005227@strawberry.ncifcrf.gov> References: <48EC5635.4060204@psych.uib.no> <200810081338.m98DcSEq005227@strawberry.ncifcrf.gov> Message-ID: <18669.13186.299889.733415@zaphod.ms25.net> Tom Schneider writes: > > > \newcommand{\filename}{\jobname.tex} > > > \newcommand{\printfilename}{% > > > \immediate\write18{pwd > path.tex}{\input{path}\llap/\filename}} > > See the 'pwd' there? That's 'print working directory', a command > under all unix operating systems such as Linux. It probably doesn't > exist in Bill's brain. Let's avoid a discussion about this brain, please. However, on Windows you could try to invoke 'cd' without any arguments. It does something similar as 'pwd' on Unix. 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 ruffel1 at hotmail.com Wed Oct 8 18:35:43 2008 From: ruffel1 at hotmail.com (Ralph S.) Date: Wed, 8 Oct 2008 12:35:43 -0400 Subject: [texhax] graph automatically produces title Message-ID: Hi, I am including a pdf (or jpg) file in my TeXShop Tex code (mac, with TeX/Ghostscript), using a simple line of includgraphics. In the output pdf, I see the filename written as a title over the graph. I don't want that - any ideas how I can change this? Many thanks, -R _________________________________________________________________ Stay up to date on your PC, the Web, and your mobile phone with Windows Live. http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081008/66775b7c/attachment-0001.html From n.talbot at uea.ac.uk Thu Oct 9 15:07:36 2008 From: n.talbot at uea.ac.uk (Dr Nicola L C Talbot) Date: Thu, 09 Oct 2008 14:07:36 +0100 Subject: [texhax] Information about document in the document In-Reply-To: <48ECB6CE.6060708@psych.uib.no> References: <48EB1956.1090806@psych.uib.no> <48ECA72C.80000@uea.ac.uk> <48ECB6CE.6060708@psych.uib.no> Message-ID: <48EE0218.3070009@uea.ac.uk> Tom Backer Johnsen wrote: > The datetime package looks fine (I assume you are the person behind that > one, so thank you!), Yes, I am :-) > but I am less sure about fink, so far I have been > unable locate any documentation. I'll keep searching. http://tug.ctan.org/get/macros/latex/contrib/fink/fink.pdf Regards Nicola Talbot From vi5u0-texhax at yahoo.co.uk Thu Oct 9 16:48:20 2008 From: vi5u0-texhax at yahoo.co.uk (Dan Hatton) Date: Thu, 9 Oct 2008 15:48:20 +0100 (BST) Subject: [texhax] Information about document in the document In-Reply-To: <48ED24A3.9080603@psych.uib.no> References: <200810081338.m98DcSEq005227@strawberry.ncifcrf.gov> <48ED24A3.9080603@psych.uib.no> Message-ID: Tom Schneider wrote: > See the 'pwd' there? That's 'print working directory', a command > under all unix operating systems such as Linux. It probably doesn't > exist in Bill's brain. However perhaps you can put unix on your > machine (ubuntu!) or make a unix platform (Cygwin) in which you can > run the program. 'cd' without arguments is to MSDOS (and therefore presumably to modern Windows versions as well) as 'pwd' is to Linux. ('cd' without arguments on Linux will, however, change the working directory to the user's home directory, so watch out). Although I don't know how you'd get the rest of it, particularly the output redirection '>', to work. -- HTH, Dan From backer at psych.uib.no Thu Oct 9 22:15:00 2008 From: backer at psych.uib.no (Tom Backer Johnsen) Date: Thu, 09 Oct 2008 22:15:00 +0200 Subject: [texhax] Information about document in the document In-Reply-To: References: <200810081338.m98DcSEq005227@strawberry.ncifcrf.gov> <48ED24A3.9080603@psych.uib.no> Message-ID: <48EE6644.6030902@psych.uib.no> Dan Hatton wrote: > Tom Schneider wrote: > >> See the 'pwd' there? That's 'print working directory', a command >> under all unix operating systems such as Linux. It probably doesn't >> exist in Bill's brain. However perhaps you can put unix on your >> machine (ubuntu!) or make a unix platform (Cygwin) in which you can >> run the program. > > 'cd' without arguments is to MSDOS (and therefore presumably to modern > Windows versions as well) as 'pwd' is to Linux. ('cd' without > arguments on Linux will, however, change the working directory to the > user's home directory, so watch out). Although I don't know how you'd > get the rest of it, particularly the output redirection '>', to work. > That part certainly looks strange to me, but for the time being I am working with Windows. I'll have a look at \cd, but I do not want a directory change. I must say that I regard the documentation to the fink package as quite dense and not very readable for a non-nerd user of Latex. Tom -- +----------------------------------------------------------------+ | Tom Backer Johnsen, Psychometrics Unit, Faculty of Psychology | | University of Bergen, Christies gt. 12, N-5015 Bergen, NORWAY | | Tel : +47-5558-9185 Fax : +47-5558-9879 | | Email : backer at psych.uib.no URL : http://www.galton.uib.no/ | +----------------------------------------------------------------+ From john at wexfordpress.com Fri Oct 10 22:15:36 2008 From: john at wexfordpress.com (John Culleton) Date: Fri, 10 Oct 2008 16:15:36 -0400 Subject: [texhax] Information about document in the document In-Reply-To: References: <200810081338.m98DcSEq005227@strawberry.ncifcrf.gov> <48ED24A3.9080603@psych.uib.no> Message-ID: <200810101615.37218.john@wexfordpress.com> On Thursday 09 October 2008 10:48:20 am Dan Hatton wrote: > Tom Schneider wrote: > > See the 'pwd' there? That's 'print working directory', a command > > under all unix operating systems such as Linux. It probably > > doesn't exist in Bill's brain. However perhaps you can put unix > > on your machine (ubuntu!) or make a unix platform (Cygwin) in > > which you can run the program. > > 'cd' without arguments is to MSDOS (and therefore presumably to > modern Windows versions as well) as 'pwd' is to Linux. ('cd' > without arguments on Linux will, however, change the working > directory to the user's home directory, so watch out). Although I > don't know how you'd get the rest of it, particularly the output > redirection '>', to work. As I recall input and output redirection works on MSDOS as well. For example the command more beer on *nix is more Hi to all TeX users. I wish to put a blank line before and after displayed equations, e.g.: bla bla bla $$x = y$$ bla bla , but without being a new paragraph really begun. In other words, I wish that those two blank lines (before and after displayed equation) had no effect. Is that possible, and how? Thanks for any help Rodolfo From edsko at edsko.net Sun Oct 12 14:06:26 2008 From: edsko at edsko.net (Edsko de Vries) Date: Sun, 12 Oct 2008 13:06:26 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations In-Reply-To: <878wsu9dn6.fsf@gmail.com> References: <878wsu9dn6.fsf@gmail.com> Message-ID: <20081012120625.GA11332@netsoc.tcd.ie> On Sun, Oct 12, 2008 at 01:55:09PM +0100, Rodolfo Medina wrote: > Hi to all TeX users. > > I wish to put a blank line before and after displayed equations, e.g.: > > > bla bla bla > > $$x = y$$ > > bla bla > > > , but without being a new paragraph really begun. In other words, I wish that > those two blank lines (before and after displayed equation) had no effect. Is > that possible, and how? I always sue bla bla bla % $$x = y$$ % bla blah Not quite a blank line but close enough :) Edsko From rodolfo.medina at gmail.com Sun Oct 12 16:21:42 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 15:21:42 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> Message-ID: <87wsgd6gi1.fsf@gmail.com> On Sun, Oct 12, 2008 at 01:55:09PM +0100, Rodolfo Medina wrote: >> I wish to put a blank line before and after displayed equations, e.g.: >> >> >> bla bla bla >> >> $$x = y$$ >> >> bla bla >> >> >> , but without being a new paragraph really begun. In other words, I wish >> that those two blank lines (before and after displayed equation) had no >> effect. Is that possible, and how? Edsko de Vries writes: > I always sue > > bla bla bla > % > $$x = y$$ > % > bla blah > > Not quite a blank line but close enough :) Thanks, but that can't work. I'll explain why I want that. I use Emacs as text editor, and the command `M-q' fills a paragraph. So I need that in my .tex file paragraphs are separated by blank lines, else paragraphs will be messed up by `M-q'. Bye Rodolfo From olegkat at gmail.com Sun Oct 12 18:03:13 2008 From: olegkat at gmail.com (Oleg Katsitadze) Date: Sun, 12 Oct 2008 19:03:13 +0300 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations In-Reply-To: <87wsgd6gi1.fsf@gmail.com> References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> Message-ID: <20081012160313.GA12684@thor> On Sun, Oct 12, 2008 at 03:21:42PM +0100, Rodolfo Medina wrote: > I use Emacs as > text editor, and the command `M-q' fills a paragraph. So I need that in my > .tex file paragraphs are separated by blank lines, else paragraphs will be > messed up by `M-q'. I use AUCTeX 11.83 and it fills paragraphs correctly with the % lines around displayed math. Best, Oleg From rodolfo.medina at gmail.com Sun Oct 12 20:23:48 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 19:23:48 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> Message-ID: <87r66ly8nf.fsf@gmail.com> Rodolfo Medina wrote: >> I wish to put a blank line before and after displayed equations, e.g.: >> >> >> bla bla bla >> >> $$x = y$$ >> >> bla bla >> >> >> , but without being a new paragraph really begun. In other words, I wish >> that those two blank lines (before and after displayed equation) had no >> effect. Is that possible, and how? >> I use Emacs as >> text editor, and the command `M-q' fills a paragraph. So I need that in my >> .tex file paragraphs are separated by blank lines, else paragraphs will be >> messed up by `M-q'. Oleg Katsitadze writes: > I use AUCTeX 11.83 and it fills paragraphs correctly with the % lines > around displayed math. I use AUCTeX 11.84. Do you mean this: bla bla bla %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% $$x = y$$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% bla bla or this: bla bla bla % $$x = y$$ % bla bla ? Because, this latter does not work for me, however the former could be a possible (not very nice) solution. Thanks Rodolfo From tsc25 at cantab.net Sun Oct 12 20:04:51 2008 From: tsc25 at cantab.net (Toby Cubitt) Date: Sun, 12 Oct 2008 19:04:51 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations In-Reply-To: <87r66ly8nf.fsf@gmail.com> References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> Message-ID: <48F23C43.2020606@dr-qubit.org> Rodolfo Medina wrote: > Rodolfo Medina wrote: > Oleg Katsitadze writes: > >> I use AUCTeX 11.83 and it fills paragraphs correctly with the % lines >> around displayed math. > > I use AUCTeX 11.84. Do you mean this: > > > bla bla bla > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > $$x = y$$ > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > bla bla > > > or this: > > > bla bla bla > % > $$x = y$$ > % > bla bla I use AUCTeX 11.85, and M-q fills paragraphs correctly for me even *without* the surrounding %'s. I.e. bla bla bla $$x = y$$ bla bla I didn't do anything special to configure AUCTeX. HTH, Toby From olegkat at gmail.com Sun Oct 12 20:14:43 2008 From: olegkat at gmail.com (Oleg Katsitadze) Date: Sun, 12 Oct 2008 21:14:43 +0300 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations In-Reply-To: <87r66ly8nf.fsf@gmail.com> References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> Message-ID: <20081012181443.GA13652@thor> On Sun, Oct 12, 2008 at 07:23:48PM +0100, Rodolfo Medina wrote: > I use AUCTeX 11.84. Do you mean this: > > > bla bla bla > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > $$x = y$$ > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > bla bla > > > or this: > > > bla bla bla > % > $$x = y$$ > % > bla bla I mean the latter. Here's what I have: a oeu aoeu aoe uao ue oaeua ou oau oe uoo ue aoeu ao eua oue aoe uao aoue aoe uoa eu aoeu eoaauo % $$x=a$$ % aoe eoaua oeu aoeu eoa eoa eoauoae uoae ueoa ueoa u ao euao eeoa eoaueoa ueoa ueoaueoa aoeu. becomes a oeu aoeu aoe uao ue oaeua ou oau oe uoo ue aoeu ao eua oue aoe uao aoue aoe uoa eu aoeu eoaauo % $$x=a$$ % aoe eoaua oeu aoeu eoa eoa eoauoae uoae ueoa ueoa u ao euao eeoa eoaueoa ueoa ueoaueoa aoeu. when I press M-q above and below displayed math. However, when I try that on another computer with the same version of Emacs and AUCTeX, I get this instead: a oeu aoeu aoe uao ue oaeua ou oau oe uoo ue aoeu ao eua oue aoe uao aoue aoe uoa eu aoeu eoaauo % $$x=a$$ % aoe eoaua oeu aoeu eoa eoa eoauoae uoae ueoa ueoa u ao euao eeoa eoaueoa ueoa ueoaueoa aoeu. Which is very strange because I don't see any differences in TeX-related settings on the two installations (in particular, there are no customizations of TeX-mode filling). Oleg From eduardo at kalinowski.com.br Sun Oct 12 20:09:18 2008 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sun, 12 Oct 2008 15:09:18 -0300 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations In-Reply-To: <87r66ly8nf.fsf@gmail.com> References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> Message-ID: <48F23D4E.5090103@kalinowski.com.br> Rodolfo Medina wrote: > I use AUCTeX 11.84. Do you mean this: > > > bla bla bla > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > $$x = y$$ > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > bla bla > > > or this: > > > bla bla bla > % > $$x = y$$ > % > bla bla > > > > ? Because, this latter does not work for me, however the former could be a > possible (not very nice) solution. > That's strange, here I'm using version 11.83 and the second one works perfectly. As a matter of fact, even if there is no separation between the text and the displayed equation, auctex properly identifies the paragraphs, when filling them. -- Violence is the last refuge of the incompetent. -- Salvor Hardin Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb From rodolfo.medina at gmail.com Sun Oct 12 22:06:15 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 21:06:15 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> Message-ID: <87hc7hvars.fsf@gmail.com> Rodolfo Medina writes: > I use Emacs as text editor, and the command `M-q' fills a paragraph. So I > need that in my .tex file paragraphs are separated by blank lines, else > paragraphs will be messed up by `M-q'. > bla bla bla > % > $$x = y$$ > % > bla bla > > > > [...] this latter does not work for me This was because in the end of the file I have: %%% Local Variables: %%% mode: plain-TeX %%% End: I changed plain-TeX into TeX and now it works. I wonder if there is a way to make it work also without changing that. Rodolfo From rodolfo.medina at gmail.com Sun Oct 12 22:10:09 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 21:10:09 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> <48F23C43.2020606@dr-qubit.org> Message-ID: <87abd9tw0u.fsf@gmail.com> Oleg Katsitadze writes: >>> I use AUCTeX 11.83 and it fills paragraphs correctly with the % lines >>> around displayed math. Rodolfo Medina wrote: >> I use AUCTeX 11.84. Do you mean this: >> >> >> bla bla bla >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> $$x = y$$ >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> bla bla >> >> >> or this: >> >> >> bla bla bla >> % >> $$x = y$$ >> % >> bla bla Toby Cubitt writes: > I use AUCTeX 11.85, and M-q fills paragraphs correctly for me even > *without* the surrounding %'s. I.e. > > bla bla bla > $$x = y$$ > bla bla Hey, fantastic! How can I uninstall 11.84 and install 11.85? I installed it from a tar.gz package. Rodolfo From rodolfo.medina at gmail.com Sun Oct 12 22:13:40 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 21:13:40 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> <48F23D4E.5090103@kalinowski.com.br> Message-ID: <87tzbhshaj.fsf_-_@gmail.com> Rodolfo Medina wrote: >> I use Emacs as >> text editor, and the command `M-q' fills a paragraph. So I need that in my >> .tex file paragraphs are separated by blank lines, else paragraphs will be >> messed up by `M-q'. >> I use AUCTeX 11.84. Do you mean this: >> >> >> bla bla bla >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> $$x = y$$ >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> bla bla >> >> >> or this: >> >> >> bla bla bla >> % >> $$x = y$$ >> % >> bla bla >> >> >> >> ? Because, this latter does not work for me, however the former could be a >> possible (not very nice) solution. Eduardo M KALINOWSKI writes: > That's strange, here I'm using version 11.83 and the second one works > perfectly. As a matter of fact, even if there is no separation between > the text and the displayed equation, auctex properly identifies the > paragraphs, when filling them. What do you mean by `no separation'? Even without the `%' line? Rodolfo From rodolfo.medina at gmail.com Sun Oct 12 22:15:41 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 21:15:41 +0100 Subject: [texhax] LaTeX-paragraph-commands customization Message-ID: <87skr1r2mq.fsf@gmail.com> I wish to customize th LaTeX-paragraph-commands variable so to include a `\subparagraph' command in it, but it seems that I don't manage to do that. Please any help. bye Rodolfo From rodolfo.medina at gmail.com Sun Oct 12 22:19:21 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 21:19:21 +0100 Subject: [texhax] LaTeX-paragraph-commands customization References: <87skr1r2mq.fsf@gmail.com> Message-ID: <87skr1pnw6.fsf@gmail.com> Rodolfo Medina writes: > I wish to customize th LaTeX-paragraph-commands variable so to include a > `\subparagraph' command in it, but it seems that I don't manage to do that. > Please any help. I forgot to say that it's an AUCTeX variable. Rodolfo From eduardo at kalinowski.com.br Sun Oct 12 22:00:57 2008 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sun, 12 Oct 2008 17:00:57 -0300 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations In-Reply-To: <87tzbhshaj.fsf_-_@gmail.com> References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> <48F23D4E.5090103@kalinowski.com.br> <87tzbhshaj.fsf_-_@gmail.com> Message-ID: <48F25779.6060105@kalinowski.com.br> Rodolfo Medina wrote: > Eduardo M KALINOWSKI writes >> That's strange, here I'm using version 11.83 and the second one works >> perfectly. As a matter of fact, even if there is no separation between >> the text and the displayed equation, auctex properly identifies the >> paragraphs, when filling them. >> > > > What do you mean by `no separation'? Even without the `%' line? > Exactly, like others have reported. The equation is considered a separate paragraph. -- There is no distinctly native American criminal class except Congress. -- Mark Twain Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb From olegkat at gmail.com Sun Oct 12 22:31:59 2008 From: olegkat at gmail.com (Oleg Katsitadze) Date: Sun, 12 Oct 2008 23:31:59 +0300 Subject: [texhax] LaTeX-paragraph-commands customization In-Reply-To: <87skr1r2mq.fsf@gmail.com> References: <87skr1r2mq.fsf@gmail.com> Message-ID: <20081012203159.GA14700@thor> On Sun, Oct 12, 2008 at 09:15:41PM +0100, Rodolfo Medina wrote: > I wish to customize th LaTeX-paragraph-commands variable so to include a > `\subparagraph' command in it, but it seems that I don't manage to do that. > Please any help. I have this in my .emacs: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(LaTeX-paragraph-commands (quote ("orderedlist" "unorderedlist" "li")))) This was obviously created using customize, but this should work too: (setq LaTeX-paragraph-commands '("orderedlist" "unorderedlist" "li")) However, it seems there's a related bug in AUCTeX: http://www.nabble.com/11.85--LaTeX-paragraph-commands-not-evaluated-td18496575.html Oleg From rodolfo.medina at gmail.com Mon Oct 13 00:37:47 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 23:37:47 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> <48F23D4E.5090103@kalinowski.com.br> <87tzbhshaj.fsf_-_@gmail.com> <48F25779.6060105@kalinowski.com.br> Message-ID: <87ljwth22s.fsf@gmail.com> Eduardo M KALINOWSKI writes: >>> That's strange, here I'm using version 11.83 and the second one works >>> perfectly. As a matter of fact, even if there is no separation between >>> the text and the displayed equation, auctex properly identifies the >>> paragraphs, when filling them. >> What do you mean by `no separation'? Even without the `%' line? Eduardo: > Exactly, like others have reported. The equation is considered a > separate paragraph. Also when the displayed equation is longer than only one line, say two or more lines? Rodolfo From rodolfo.medina at gmail.com Mon Oct 13 00:39:31 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 23:39:31 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> <48F23C43.2020606@dr-qubit.org> Message-ID: <87bpxph1zw.fsf@gmail.com> > Rodolfo Medina wrote: >> Rodolfo Medina wrote: >> Oleg Katsitadze writes: >> >>> I use AUCTeX 11.83 and it fills paragraphs correctly with the % lines >>> around displayed math. >> >> I use AUCTeX 11.84. Do you mean this: >> >> >> bla bla bla >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> $$x = y$$ >> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% >> bla bla >> >> >> or this: >> >> >> bla bla bla >> % >> $$x = y$$ >> % >> bla bla > Toby Cubitt writes: > I use AUCTeX 11.85, and M-q fills paragraphs correctly for me even > *without* the surrounding %'s. I.e. > > bla bla bla > $$x = y$$ > bla bla Also when the displayed equation is longer than only one line, say two or more lines? Rodolfo From rodolfo.medina at gmail.com Mon Oct 13 00:41:35 2008 From: rodolfo.medina at gmail.com (Rodolfo Medina) Date: Sun, 12 Oct 2008 23:41:35 +0100 Subject: [texhax] LaTeX-paragraph-commands customization References: <87skr1r2mq.fsf@gmail.com> <20081012203159.GA14700@thor> Message-ID: <874p3hh1wg.fsf@gmail.com> On Sun, Oct 12, 2008 at 09:15:41PM +0100, Rodolfo Medina wrote: >> I wish to customize th LaTeX-paragraph-commands variable so to include a >> `\subparagraph' command in it, but it seems that I don't manage to do that. >> Please any help. Oleg Katsitadze writes: > I have this in my .emacs: > > (custom-set-variables > ;; custom-set-variables was added by Custom. > ;; If you edit it by hand, you could mess it up, so be careful. > ;; Your init file should contain only one such instance. > ;; If there is more than one, they won't work right. > '(LaTeX-paragraph-commands (quote ("orderedlist" "unorderedlist" "li")))) > > This was obviously created using customize, but this should work too: > > (setq LaTeX-paragraph-commands '("orderedlist" "unorderedlist" "li")) > > However, it seems there's a related bug in AUCTeX: > > http://www.nabble.com/11.85--LaTeX-paragraph-commands-not-evaluated-td18496575.html Does the above setting work in your case, despite of the bug? Or do you have an Emacs version where the bug has been fixed? bye Rodolfo From tsc25 at cantab.net Mon Oct 13 00:09:40 2008 From: tsc25 at cantab.net (Toby Cubitt) Date: Sun, 12 Oct 2008 23:09:40 +0100 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations In-Reply-To: <87bpxph1zw.fsf@gmail.com> References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> <48F23C43.2020606@dr-qubit.org> <87bpxph1zw.fsf@gmail.com> Message-ID: <48F275A4.3020006@dr-qubit.org> Rodolfo Medina wrote: [snip] > Toby Cubitt writes: > >> I use AUCTeX 11.85, and M-q fills paragraphs correctly for me even >> *without* the surrounding %'s. I.e. >> >> bla bla bla >> $$x = y$$ >> bla bla > > > Also when the displayed equation is longer than only one line, say two or more > lines? Ah, interesting. It works for the text preceding the equation, but not for the succeeding text. So: bla bla bla $$ long equation = over two lines$$ bla bla bla becomes: bla bla bla $$ long equation = over two lines$$ bla bla bla but: bla bla bla $$ long equation = over two lines$$ bla bla bla becomes: bla bla bla $$ long equation = over two lines$$ bla bla bla If I use a blank commented line between the equation and text, it works again: bla bla bla $$ long equation = over two lines$$ % bla bla bla becomes: bla bla bla $$ long equation = over two lines$$ % bla bla bla In my opinion, this is a minor bug in AUCTeX's paragraph fill settings, so maybe you should report it to them. Toby From eduardo at kalinowski.com.br Mon Oct 13 00:20:37 2008 From: eduardo at kalinowski.com.br (Eduardo M KALINOWSKI) Date: Sun, 12 Oct 2008 19:20:37 -0300 Subject: [texhax] Plain TeX: a question about \par before and after displayed equations In-Reply-To: <87ljwth22s.fsf@gmail.com> References: <878wsu9dn6.fsf@gmail.com> <20081012120625.GA11332@netsoc.tcd.ie> <87wsgd6gi1.fsf@gmail.com> <20081012160313.GA12684@thor> <87r66ly8nf.fsf@gmail.com> <48F23D4E.5090103@kalinowski.com.br> <87tzbhshaj.fsf_-_@gmail.com> <48F25779.6060105@kalinowski.com.br> <87ljwth22s.fsf@gmail.com> Message-ID: <48F27835.8090903@kalinowski.com.br> Rodolfo Medina wrote: > Also when the displayed equation is longer than only one line, say two or more > lines? > No, in this case not. -- Chegar em segundo lugar significa ser o primeiro perdedor. Eduardo M KALINOWSKI eduardo at kalinowski.com.br http://move.to/hpkb From olegkat at gmail.com Mon Oct 13 01:25:02 2008 From: olegkat at gmail.com (Oleg Katsitadze) Date: Mon, 13 Oct 2008 02:25:02 +0300 Subject: [texhax] LaTeX-paragraph-commands customization In-Reply-To: <874p3hh1wg.fsf@gmail.com> References: <87skr1r2mq.fsf@gmail.com> <20081012203159.GA14700@thor> <874p3hh1wg.fsf@gmail.com> Message-ID: <20081012232502.GA16685@thor> On Sun, Oct 12, 2008 at 11:41:35PM +0100, Rodolfo Medina wrote: > Does the above setting work in your case, despite of the bug? Or do you have > an Emacs version where the bug has been fixed? In my case lines beginning with a command are never filled. I could never get LaTeX-paragraph-commands to work, so that setting just uselessly remained in my .emacs. So there's probably yet another bug on my installation. Oleg From juergen.goebel at eads.com Mon Oct 13 09:23:32 2008 From: juergen.goebel at eads.com (Goebel, Juergen) Date: Mon, 13 Oct 2008 09:23:32 +0200 Subject: [texhax] font footline and headline not bold Message-ID: Hi, One simple question: How-to change the 'font series' of footline and headline to 'normal' (as opposite to bfseries)? The following lines aren't successfull (to no surprise). \mode \setbeamerfont{footline}{series={\normalseries}} \setbeamerfont{headline}{series={\normalfont}} Regards, Juergen -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081013/ff90091b/attachment.html From mr_heller at yahoo.dk Mon Oct 13 13:06:05 2008 From: mr_heller at yahoo.dk (Martin Heller) Date: Mon, 13 Oct 2008 13:06:05 +0200 Subject: [texhax] font footline and headline not bold In-Reply-To: References: Message-ID: Goebel, Juergen skrev: > Hi, > > One simple question: How-to change the 'font series' of footline > and headline to 'normal' (as opposite to bfseries)? > > The following lines aren't successfull (to no surprise). > > \mode > > > \setbeamerfont{footline}{series={\normalseries}} > \setbeamerfont{headline}{series={\normalfont}} > > Regards, > > Juergen > \setbeamerfont{footline}{series=\mdseries} From joel at wmi.com Mon Oct 13 15:02:38 2008 From: joel at wmi.com (Joel Coltoff) Date: Mon, 13 Oct 2008 13:02:38 +0000 Subject: [texhax] Problems with shapepar Message-ID: <48F346EE.1050408@wmi.com> Hi, I've got a problem that I can't quite get a handle on. I'm trying to use shapepar (Version 2.1, 2006-11-18) to typeset some text in a circle. I get the following error ! Arithmetic overflow. \fpdivide ...1=\dimexpr #1*\p@ /\@tempcntb \relax l.13 The line number varies depending on how much text is in the circle. i.e. how many lines are not commented out. If there is a small amount of text then it works ok. If I try another shape like heartpar or starpar it works fine. Here's my input. For what it's worth, I'm running MikTeX 2.7 \documentclass{article} \usepackage{shapepar} \begin{document} \shapepar{\circleshape} Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Vivamus elementum posuere purus. Quisque hendrerit auctor ligula. Nam molestie %scelerisque dui. Quisque sit amet arcu. Pellentesque elementum ligula %sit amet nibh. In vel risus non sapien lobortis euismod. Morbi eu %urna. Praesent urna eros, tristique sed, dapibus ac, auctor vel, %nulla. Nulla posuere. Sed a pede. Pellentesque vel risus non lorem %interdum mattis. Sed tincidunt. \end{document} Thanks, - Joel From christopherolah.co at gmail.com Tue Oct 14 02:14:36 2008 From: christopherolah.co at gmail.com (Christopher Olah) Date: Mon, 13 Oct 2008 20:14:36 -0400 Subject: [texhax] Execute other Program, or parse.... Message-ID: Greetings! I've been working with LaTeX for a while and had an idea I wanted to work on. I implemented the basic algorithom in C++. Now I'd like to make package. I've been reading through documentation on the `programming' aspects of TeX and LaTeX, but can't find out how to either execute another program (Preferable solution) or parse a command's input (eg, access newcommand's #1 in individual characters). If anyone could tell me how to do either, I would be very greatful. Thanks, Christopher Olah From toms at ncifcrf.gov Tue Oct 14 04:55:40 2008 From: toms at ncifcrf.gov (Tom Schneider) Date: Mon, 13 Oct 2008 22:55:40 -0400 (EDT) Subject: [texhax] Execute other Program, or parse.... In-Reply-To: from Christopher Olah at "Oct 13, 2008 08:14:36 pm" Message-ID: <200810140255.m9E2teu2002178@strawberry.ncifcrf.gov> Christopher: > I've been working with LaTeX for a while and had an idea I wanted to > work on. I implemented the basic algorithom in C++. Now I'd like to > make package. I've been reading through documentation on the > `programming' aspects of TeX and LaTeX, but can't find out how to > either execute another program (Preferable solution) or parse a > command's input (eg, access newcommand's #1 in individual characters). > > If anyone could tell me how to do either, I would be very greatful. There was a recent discussion on the use of write18 that did a pwd. http://www.tug.org/pipermail/texhax/2008-October/011144.html and another one I found by google: http://www.tug.org/pipermail/texhax/2005-November/005085.html That's pretty powerful! 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 bec022000 at utdallas.edu Wed Oct 15 04:03:35 2008 From: bec022000 at utdallas.edu (Billye Ellen Cheek) Date: Tue, 14 Oct 2008 21:03:35 -0500 (CDT) Subject: [texhax] trouble installing Protext Message-ID: <3350657.1224036215732.JavaMail.bec022000@utdallas.edu> Hi! I am trying to set up Protext on my home computer (Windows XP). I downloaded the file OK, but as it was installing I got an error message saying that installation could not be completed because some installation files were corrupt. I tried going to miktex.org and downloading Miktex 2.7 but I also got error messages trying to install that. Is there something I'm missing or is there a problem with the files that are out there? Your help is greatly appreciated! Billye Cheek From prasad at ece.neu.edu Wed Oct 15 16:36:18 2008 From: prasad at ece.neu.edu (Prof. Sheila Prasad) Date: Wed, 15 Oct 2008 10:36:18 -0400 (EDT) Subject: [texhax] Spacing in equations Message-ID: When I am in equation mode, how do I introduce a space e.g. writing the function cosh ax or cosh (ax) ? Sheila Prasad ------------------------------------------------------------ Professor Sheila Prasad Emeritus Professor, ECE Dept. Northeastern University e-mail: prasad at ece.neu.edu From padawan12 at obiwannabe.co.uk Wed Oct 15 17:25:28 2008 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Wed, 15 Oct 2008 16:25:28 +0100 Subject: [texhax] Spacing in equations In-Reply-To: References: Message-ID: <20081015162528.7277aa9a.padawan12@obiwannabe.co.uk> # \; a thick space # \: a medium space # \, a thin space # \! a negative thin space see: http://www.personal.ceu.hu/tex/math.htm a. On Wed, 15 Oct 2008 10:36:18 -0400 (EDT) "Prof. Sheila Prasad" wrote: > When I am in equation mode, how do I introduce a space e.g. writing the > function > cosh ax or cosh (ax) ? > Sheila Prasad > > > ------------------------------------------------------------ > Professor Sheila Prasad > Emeritus Professor, ECE Dept. > Northeastern University > e-mail: prasad at ece.neu.edu > > _______________________________________________ > 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 -- Use the source From daleif at imf.au.dk Wed Oct 15 17:45:16 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 15 Oct 2008 17:45:16 +0200 Subject: [texhax] Spacing in equations In-Reply-To: References: Message-ID: <48F6100C.9010306@imf.au.dk> Prof. Sheila Prasad wrote: > When I am in equation mode, how do I introduce a space e.g. writing the > function > cosh ax or cosh (ax) ? > Sheila Prasad > > they should do that automatically \documentclass{article} \usepackage{amsmath} \begin{document} \[ \cosh ax \qquad \cosh(ax) \] \end{document} in the case of the \cosh(ax) no space is needed as the ()'s already provide the separation. Note that function names such as cosh should be written in an upright font, not as $cosh ax$ as that can be interpreted as $c \cdot o \cdot s \cdot h \cdot a \cdot x$ amsmath defines a lot of these function name shortcut such as \cosh, other can be defined uding \DeclareMathOperator{\macroname}{Text} Manual spaces can be inserted via \:,\, etc. But one should be a bit careful and think whether this is actually a good thing to do. -- /Lars Madsen Programmer Dept. of Mathematical Sciences University of Aarhus Denmark From padawan12 at obiwannabe.co.uk Wed Oct 15 18:32:06 2008 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Wed, 15 Oct 2008 17:32:06 +0100 Subject: [texhax] TOC problems Message-ID: <20081015173206.166659b2.padawan12@obiwannabe.co.uk> On the last page of my table of contents LaTeX seems to ignore the bottom margin and it all runs off the bottom of the page. It's as if it's treating the entire last page as a float. Any thoughts? I'm using tocloft class to try and improve the look but not having much fun. Does anyone have a model example for a nice TOC I can play with please? Cheers, Andy -- Use the source From philip.ratcliffe at fastwebnet.it Wed Oct 15 18:32:32 2008 From: philip.ratcliffe at fastwebnet.it (Philip G. Ratcliffe) Date: Wed, 15 Oct 2008 18:32:32 +0200 Subject: [texhax] Spacing in equations In-Reply-To: Message-ID: <6884BA9EBABC484CA3048F7308C9B4FE@PGR1> > When I am in equation mode, how do I introduce a space e.g. > writing the function > cosh ax or cosh (ax) ? * \; - a thick space * \: - a medium space * \, - a thin space * \! - a negative thin space Maybe a little bedtime manual reading would be a useful investment; for example, the (17-page) Short Math Guide for LATEX by Michael Downes of the American Mathematical Society or (a little weightier) The Not So Short Introduction to LATEX2?. Cheers, Phil From prasad at ece.neu.edu Wed Oct 15 20:36:59 2008 From: prasad at ece.neu.edu (Prof. Sheila Prasad) Date: Wed, 15 Oct 2008 14:36:59 -0400 (EDT) Subject: [texhax] Spacing in equations In-Reply-To: <20081015162528.7277aa9a.padawan12@obiwannabe.co.uk> References: <20081015162528.7277aa9a.padawan12@obiwannabe.co.uk> Message-ID: Thank you for your help. SP ------------------------------------------------------------ Professor Sheila Prasad Emeritus Professor, ECE Dept. Northeastern University e-mail: prasad at ece.neu.edu On Wed, 15 Oct 2008, Andy Farnell wrote: > > > # \; a thick space > # \: a medium space > # \, a thin space > # \! a negative thin space > > see: http://www.personal.ceu.hu/tex/math.htm > > a. > > > On Wed, 15 Oct 2008 10:36:18 -0400 (EDT) > "Prof. Sheila Prasad" wrote: > >> When I am in equation mode, how do I introduce a space e.g. writing the >> function >> cosh ax or cosh (ax) ? >> Sheila Prasad >> >> >> ------------------------------------------------------------ >> Professor Sheila Prasad >> Emeritus Professor, ECE Dept. >> Northeastern University >> e-mail: prasad at ece.neu.edu >> >> _______________________________________________ >> 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 > > > -- > Use 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 > From prasad at ece.neu.edu Wed Oct 15 20:38:09 2008 From: prasad at ece.neu.edu (Prof. Sheila Prasad) Date: Wed, 15 Oct 2008 14:38:09 -0400 (EDT) Subject: [texhax] Spacing in equations In-Reply-To: <48F6100C.9010306@imf.au.dk> References: <48F6100C.9010306@imf.au.dk> Message-ID: Thank you for your help. SP ------------------------------------------------------------ Professor Sheila Prasad Emeritus Professor, ECE Dept. Northeastern University e-mail: prasad at ece.neu.edu On Wed, 15 Oct 2008, Lars Madsen wrote: > Prof. Sheila Prasad wrote: >> When I am in equation mode, how do I introduce a space e.g. writing the >> function >> cosh ax or cosh (ax) ? >> Sheila Prasad >> >> > > they should do that automatically > > \documentclass{article} > \usepackage{amsmath} > \begin{document} > \[ > \cosh ax \qquad \cosh(ax) > \] > \end{document} > > in the case of the \cosh(ax) no space is needed as the ()'s already > provide the separation. > > Note that function names such as cosh should be written in an upright > font, not as $cosh ax$ as that can be interpreted as $c \cdot o \cdot s > \cdot h \cdot a \cdot x$ > > amsmath defines a lot of these function name shortcut such as \cosh, > other can be defined uding > > \DeclareMathOperator{\macroname}{Text} > > Manual spaces can be inserted via \:,\, etc. But one should be a bit > careful and think whether this is actually a good thing to do. > > > > > > -- > > /Lars Madsen > Programmer > Dept. of Mathematical Sciences > University of Aarhus > Denmark > _______________________________________________ > 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 daleif at imf.au.dk Wed Oct 15 22:45:00 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 15 Oct 2008 22:45:00 +0200 Subject: [texhax] TOC problems In-Reply-To: <20081015173206.166659b2.padawan12@obiwannabe.co.uk> References: <20081015173206.166659b2.padawan12@obiwannabe.co.uk> Message-ID: <48F6564C.1090604@imf.au.dk> Andy Farnell wrote: > On the last page of my table of contents LaTeX seems to ignore > the bottom margin and it all runs off the bottom of the page. > > It's as if it's treating the entire last page as a float. > > Any thoughts? > > I'm using tocloft class to try and improve the look but not > having much fun. > > Does anyone have a model example for a nice TOC I can play > with please? > > Cheers, > > Andy > might be a bit easier for us if you showed a minimal example of your code. What you are describing is not normal. /daleif From padawan12 at obiwannabe.co.uk Thu Oct 16 00:23:10 2008 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Wed, 15 Oct 2008 23:23:10 +0100 Subject: [texhax] TOC problems In-Reply-To: <48F6564C.1090604@imf.au.dk> References: <20081015173206.166659b2.padawan12@obiwannabe.co.uk> <48F6564C.1090604@imf.au.dk> Message-ID: <20081015232310.65db5bf4.padawan12@obiwannabe.co.uk> Thanks for reponse Lars, I have discovered something that seems relevant, a correlation between the main.toc file and the errant behaviour. The book comprises 4 parts, theory, tools, technique and practicals. Parts 1-3 are fine. These are very orthodox with sections, subsections and so forth. They print fine in the TOC. Part 4 is special, because each chapter follows exactly the same section structure - Aims, Analysis, Methods, DSP code, Results, Conclusions etc. Because of this I do not want the sections to show up, so I use \section*{} throughout. I have elected to make the TOC depth to the sections level, which gives the optimal information but no more. The result is that main.toc follows a traditional format Part 1 Chapter 1 Section 1 Subsection 1 ... Section 2 ... Chapter 2 Section 1 ... Part 2 ... (of course only the Parts, Chapters and Sections print in TOC) all the way up to Part 4 but then there are no other entries deeper than chapter, so it continues Chapter n Chapter n+1 Chapter n+2 ... Here is where the problem starts. Latex doesn't want to split these over a page. I'm considering some options such as trying to use \addtocontents{toc}{\protect\newpage} to force a page break. >From the tocloft manual "You may get undesired page breaks in the ToC. For example you may have long multiline section title and in the ToC there is a page break between the lines. After your document is stable you can use \addtocontents at appropriate places in the body of the document to adjust the page breaking in the ToC." QUESTION: Is it a fair assumption that the .toc file effectively isolates the TOC printing from any other prior code that produced it? If so the problem seems related to the lack of any children to chapters. Have I found a bug? Is there a possible remedy like inserting some kind of invisible child level to chapter in Part 4? Thankyou for any thoughts, Andy Farnell ::main.toc:: \contentsline {chapter}{\numberline {1}Introduction}{1} \contentsline {part}{I\hspace {1em}Theory}{5} \mbox {}\hrulefill \par \contentsline {chapter}{\numberline {2}Introduction to theory chapters}{7} \contentsline {chapter}{\numberline {3}Physical Sound}{9} \contentsline {section}{\numberline {3.1}Elementary physics}{9} \contentsline {subsection}{Energy}{9} \contentsline {subsection}{Force}{9} \contentsline {subsection}{Work}{9} \contentsline {subsection}{Systems}{10} \contentsline {subsection}{Power}{10} \contentsline {subsection}{Energy sources}{10} \contentsline {subsection}{Matter and mass}{10} \contentsline {subsection}{Force, distance and acceleration}{11} \contentsline {subsection}{Displacement, movement and freedom}{11} \contentsline {subsection}{Excitation}{12} \contentsline {section}{\numberline {3.2}Materials}{12} \contentsline {subsection}{Elasticity and restoration}{13} \contentsline {subsection}{Density}{14} \contentsline {subsection}{Plasticity}{15} \contentsline {subsection}{Structure and strength}{16} \contentsline {section}{\numberline {3.3}Waves}{17} \contentsline {subsection}{Wave models}{17} \contentsline {subsection}{Exchange of forces}{17} \contentsline {subsection}{Propagation}{18} \contentsline {subsection}{Wave types}{19} \contentsline {subsection}{Amplitude}{20} \contentsline {subsection}{Speed}{20} \contentsline {subsection}{Group and phase velocity}{21} \contentsline {subsection}{Wavelength}{22} \contentsline {subsection}{Frequency and period}{22} \contentsline {subsection}{Simple wave math}{23} \contentsline {subsection}{Phase}{23} \contentsline {subsection}{Superposition and phase cancellation}{23} \contentsline {section}{\numberline {3.4}Boundaries}{24} \contentsline {subsection}{Phase of bending waves at solid boundaries}{25} \contentsline {subsection}{Coupling}{26} \contentsline {subsection}{Reflection and standing waves}{27} \contentsline {subsection}{Modes}{28} \contentsline {subsection}{Visualising sound waves}{29} \contentsline {subsection}{Shape}{29} \contentsline {subsection}{Entropy and heat}{30} \contentsline {subsection}{Loss and Damping}{30} \contentsline {section}{\numberline {3.5}Analogs}{31} \contentsline {subsection}{Potential}{31} \contentsline {subsection}{Energy inlet}{32} \contentsline {subsection}{Flow}{32} \contentsline {subsection}{Resistance}{32} \contentsline {subsection}{Tap or outlet}{33} \contentsline {subsection}{Capacitance}{33} \contentsline {subsection}{Example network analogy}{33} \contentsline {subsection}{Example system analysis}{34} \contentsline {subsection}{Textbooks}{34} \contentsline {chapter}{\numberline {4}Oscillations}{37} \contentsline {section}{\numberline {4.1}Oscillators}{37} \contentsline {subsection}{Period and frequency}{37} \contentsline {subsection}{Frequency of a spinning object}{37} \contentsline {subsection}{Relaxation}{39} \contentsline {subsection}{Frequency of relaxation systems}{40} \contentsline {subsection}{Quantisation}{41} \contentsline {section}{\numberline {4.2}Simple harmonic oscillators}{41} \contentsline {subsection}{Frequency of a mass on spring}{42} \contentsline {subsection}{Frequency of a pendulum}{43} \contentsline {subsection}{Frequency of an LC network}{44} \contentsline {section}{\numberline {4.3}Complex harmonic oscillators}{45} \contentsline {subsection}{Oscillation of a string}{46} \contentsline {subsection}{Oscillation of a bar or rod}{46} \contentsline {subsection}{Oscillation of cones, membranes, laminas}{48} \contentsline {section}{\numberline {4.4}Driven oscillations and resonance}{48} \contentsline {chapter}{\numberline {5}Acoustics}{51} \contentsline {section}{\numberline {5.1}Acoustic systems}{51} \contentsline {subsection}{Vibrations in air}{51} \contentsline {subsection}{Radiation}{52} \contentsline {subsection}{Radiation patterns}{52} \contentsline {subsection}{Spherical, cylindrical and planar waves}{53} \contentsline {section}{\numberline {5.2}Intensity and attenuation}{54} \contentsline {subsection}{Sound pressure level}{54} \contentsline {subsection}{Position and correlation}{54} \contentsline {subsection}{Acoustic sound intensity}{55} \contentsline {subsection}{Geometric Attenuation}{56} \contentsline {subsection}{Transmission and absorption}{56} \contentsline {section}{\numberline {5.3}Other propagation effects}{58} \contentsline {subsection}{Reflection}{58} \contentsline {subsection}{Scattering}{58} \contentsline {subsection}{Dispersion}{59} \contentsline {subsection}{Refraction}{59} \contentsline {subsection}{Diffraction}{60} \contentsline {subsection}{Diffusion}{61} \contentsline {subsection}{Ground effects}{62} \contentsline {subsection}{Oblique boundary loss}{62} \contentsline {subsection}{Wind shear}{62} \contentsline {subsection}{Aberration}{63} \contentsline {subsection}{The Doppler effect}{63} \contentsline {subsection}{Room acoustics}{63} \contentsline {subsection}{Reverb time}{64} \contentsline {subsection}{Outdoor acoustics}{65} \contentsline {section}{\numberline {5.4}Acoustic oscillations}{65} \contentsline {subsection}{Turbulence}{66} \contentsline {subsection}{Laminar flow}{66} \contentsline {subsection}{Chaos and vortices}{66} \contentsline {subsection}{Reynolds number}{66} \contentsline {subsection}{Sounds of turbulence}{67} \contentsline {subsection}{Pipes}{67} \contentsline {subsection}{Radiation from pipes and horns}{68} \contentsline {subsection}{Helmholtz oscillator}{69} \contentsline {subsection}{Textbooks}{69} \contentsline {subsection}{Papers}{70} \contentsline {subsection}{Online resources}{70} \contentsline {chapter}{\numberline {6}Psychoacoustics}{71} \contentsline {section}{\numberline {6.1}Perceiving sounds}{71} \contentsline {subsection}{Ears}{71} \contentsline {subsection}{Frequency range of human hearing}{72} \contentsline {subsection}{Non-linearity}{72} \contentsline {subsection}{Threshold of hearing}{72} \contentsline {subsection}{Just noticable difference}{73} \contentsline {subsection}{Localisation}{73} \contentsline {subsection}{Inter-aural time difference}{73} \contentsline {subsection}{Inter-aural intensity difference}{74} \contentsline {subsection}{Head response transfer function}{74} \contentsline {subsection}{Distance}{74} \contentsline {subsection}{Source identity}{75} \contentsline {subsection}{Perception of loudness}{75} \contentsline {subsection}{Loudness scales and weighting}{75} \contentsline {subsection}{Duration and loudness}{76} \contentsline {subsection}{Fatigue}{77} \contentsline {subsection}{Change of loudness}{77} \contentsline {subsection}{Perception of frequency}{77} \contentsline {subsection}{Pure tone discrimination}{77} \contentsline {subsection}{Critical bands}{77} \contentsline {subsection}{Ranges}{78} \contentsline {subsection}{Resolution}{79} \contentsline {subsection}{Average of close components}{79} \contentsline {subsection}{Rapid change of amplitude}{79} \contentsline {subsection}{Phantom fundamentals}{80} \contentsline {subsection}{Huggins binaural pitch}{80} \contentsline {subsection}{Bilsen band edge pitch}{80} \contentsline {subsection}{Perception of spectra}{80} \contentsline {subsection}{Perception of harmonic and inharmonic spectra}{80} \contentsline {subsection}{Consonance, harmony and roughness}{81} \contentsline {subsection}{Brightness, dullness and spectral centroid}{81} \contentsline {subsection}{Resonance, flatness and formants}{82} \contentsline {subsection}{Perception of temporal structure}{82} \contentsline {subsection}{Granularity}{83} \contentsline {subsection}{Events and flows}{83} \contentsline {subsection}{Envelopes}{83} \contentsline {subsection}{Attack}{83} \contentsline {subsection}{Transient and rise time}{83} \contentsline {subsection}{Slow attacks}{84} \contentsline {subsection}{Decay}{84} \contentsline {subsection}{Sustain}{84} \contentsline {subsection}{Release}{85} \contentsline {subsection}{Effort and movement}{85} \contentsline {subsection}{Precedence and belonging}{85} \contentsline {subsection}{Gabor limit for duration}{85} \contentsline {subsection}{Hirsh limit for ordering}{85} \contentsline {subsection}{Streaming}{85} \contentsline {subsection}{Streaming by pitch}{86} \contentsline {subsection}{Van Noorden ambiguity}{86} \contentsline {subsection}{Spectral and spacial streams}{86} \contentsline {section}{\numberline {6.2}Sound cognition}{87} \contentsline {subsection}{Gestalt effects}{87} \contentsline {subsection}{Discrimination}{87} \contentsline {subsection}{Scaling}{87} \contentsline {subsection}{Similarity}{88} \contentsline {subsection}{Matching}{88} \contentsline {subsection}{Classification}{89} \contentsline {subsection}{Identification}{89} \contentsline {subsection}{Recognition}{89} \contentsline {subsection}{Attention}{90} \contentsline {subsection}{Correspondence}{90} \contentsline {subsection}{Asynchronous sound}{90} \contentsline {subsection}{Acousmatic sound}{91} \contentsline {subsection}{The audio-visual contract}{91} \contentsline {subsection}{Absence}{91} \contentsline {subsection}{Concurrent masking}{92} \contentsline {subsection}{Temporal proximity masking}{92} \contentsline {section}{\numberline {6.3}Auditory scene analysis}{93} \contentsline {subsection}{Segregation}{93} \contentsline {subsection}{Schema activation}{93} \contentsline {subsection}{Primitive features}{94} \contentsline {subsection}{Harmonicity}{94} \contentsline {subsection}{Continuity}{94} \contentsline {subsection}{Momentum}{95} \contentsline {subsection}{Monotonicity}{95} \contentsline {subsection}{Temporal correlation}{95} \contentsline {subsection}{Coherence}{96} \contentsline {subsection}{The process of scene analysis}{96} \contentsline {section}{\numberline {6.4}Auditory Memory}{96} \contentsline {subsection}{Short and long term memory}{97} \contentsline {subsection}{Auditory pipeline}{97} \contentsline {subsection}{Verbal and non-verbal memory}{97} \contentsline {subsection}{Visual augmentation}{97} \contentsline {section}{\numberline {6.5}Listening strategies}{98} \contentsline {subsection}{Listening hierarchy}{98} \contentsline {subsection}{Reflexive}{98} \contentsline {subsection}{Connotative}{98} \contentsline {subsection}{Causal}{99} \contentsline {subsection}{Empathetic}{99} \contentsline {subsection}{Functional}{99} \contentsline {subsection}{Semantic}{99} \contentsline {subsection}{Critical}{100} \contentsline {subsection}{Reduced}{100} \contentsline {subsection}{Analytic listening}{100} \contentsline {subsection}{Component analysis}{100} \contentsline {subsection}{Signal listening}{100} \contentsline {subsection}{Engaged}{101} \contentsline {section}{\numberline {6.6}Physiological responses to sound}{101} \contentsline {subsection}{Stapedius reflex}{101} \contentsline {subsection}{Startle response}{102} \contentsline {subsection}{Orientation response}{102} \contentsline {subsection}{Ecstatic response}{102} \contentsline {subsection}{Stress responses}{102} \contentsline {subsection}{Binaural beat entrainment}{103} \contentsline {subsection}{Psycho-theraputical applications and Art}{103} \contentsline {subsection}{Cross-modal perception}{103} \contentsline {section}{\numberline {6.7}Sound, Language and knowledge}{104} \contentsline {subsection}{Imagining sound}{104} \contentsline {subsection}{Talking about sound}{104} \contentsline {subsection}{Noun descriptions}{104} \contentsline {subsection}{Adjective and adjunctive descriptions}{105} \contentsline {subsection}{Gerund verb descriptions}{105} \contentsline {subsection}{Onomatopoeia and alliteration}{105} \contentsline {subsection}{Reference points}{105} \contentsline {subsection}{Procedural knowledge}{106} \contentsline {subsection}{Declarative domain knowledge}{106} \contentsline {subsection}{Imperative knowledge}{106} \contentsline {subsection}{Poetic knowledge}{106} \contentsline {subsection}{Categorical knowledge}{106} \contentsline {subsection}{Weak cultural domain knowledge}{107} \contentsline {subsection}{Strong cultural domain knowledge}{107} \contentsline {subsection}{Exercise 1 - Perception}{107} \contentsline {subsection}{Exercise 2 - Language}{107} \contentsline {subsection}{Exercise 3 - Knowledge and communication}{107} \contentsline {subsection}{Books}{108} \contentsline {subsection}{Papers}{108} \contentsline {subsection}{Online resources}{110} \contentsline {chapter}{\numberline {7}Digital Signals}{111} \contentsline {section}{\numberline {7.1}Signals}{111} \contentsline {subsection}{Transducers}{111} \contentsline {subsection}{Electronic, continuous signals}{111} \contentsline {subsection}{Sound transducers}{111} \contentsline {subsection}{Information}{111} \contentsline {subsection}{Representing signals}{112} \contentsline {subsection}{Digital encoding}{113} \contentsline {subsection}{Digital to analog conversion}{113} \contentsline {subsection}{Analog to digital conversion}{114} \contentsline {subsection}{Digital signal processing}{114} \contentsline {subsection}{Floating point normalised form}{115} \contentsline {subsection}{Smoothing samples}{116} \contentsline {section}{\numberline {7.2}Graphs}{116} \contentsline {subsection}{Spectrums}{116} \contentsline {subsection}{Spectrograms}{118} \contentsline {subsection}{Waterfall plots}{118} \contentsline {section}{\numberline {7.3}Generating digital waveforms}{119} \contentsline {subsection}{Generating samples}{119} \contentsline {subsection}{Buffering}{120} \contentsline {subsection}{The sound of zero (silence)}{120} \contentsline {subsection}{The sound of one (constants)}{121} \contentsline {subsection}{Moving signals}{122} \contentsline {subsection}{Sinusoidal waves}{123} \contentsline {subsection}{Complex harmonic motion}{125} \contentsline {subsection}{Randomly moving signals}{126} \contentsline {subsection}{Suddenly moving signals}{127} \contentsline {subsection}{Slowly moving signals}{130} \contentsline {subsection}{Signal programming abstraction}{131} \contentsline {subsection}{A Csound snippet}{131} \contentsline {subsection}{A CLM snippet}{132} \contentsline {subsection}{Papers}{132} \contentsline {subsection}{Books}{133} \contentsline {subsection}{Online resources}{133} \contentsline {part}{II\hspace {1em}Tools}{135} \mbox {}\hrulefill \par \contentsline {chapter}{\numberline {8}Tools introduction}{137} \contentsline {section}{\numberline {8.1}You will need:}{137} \contentsline {section}{\numberline {8.2}Tools for sound design}{137} \contentsline {section}{\numberline {8.3}Supporting tools}{138} \contentsline {chapter}{\numberline {9}Starting with Pure Data}{139} \contentsline {section}{\numberline {9.1}Pure Data}{139} \contentsline {subsection}{Installing and running Pure Data}{140} \contentsline {subsection}{Testing Pure Data}{140} \contentsline {section}{\numberline {9.2}How does Pure Data work?}{141} \contentsline {subsection}{Objects}{141} \contentsline {subsection}{Connections}{142} \contentsline {subsection}{Data}{142} \contentsline {subsection}{Patches}{142} \contentsline {subsection}{A deeper look at Pd}{143} \contentsline {subsection}{Pure Data software architecture}{143} \contentsline {subsection}{Your first patch}{143} \contentsline {subsection}{Creating a canvas}{143} \contentsline {subsection}{New object placement}{144} \contentsline {subsection}{Edit mode and wiring}{145} \contentsline {subsection}{Initial parameters}{145} \contentsline {subsection}{Modifying objects}{146} \contentsline {subsection}{Number input and output}{146} \contentsline {subsection}{Toggling edit mode}{146} \contentsline {subsection}{More edit operations}{146} \contentsline {subsection}{Patch files}{147} \contentsline {section}{\numberline {9.3}Message data and GUI boxes}{147} \contentsline {subsection}{Selectors}{148} \contentsline {subsection}{Bang message}{148} \contentsline {subsection}{Bang box}{148} \contentsline {subsection}{Float messages}{148} \contentsline {subsection}{Number box}{148} \contentsline {subsection}{Toggle box}{149} \contentsline {subsection}{Sliders and other numerical GUI elements}{149} \contentsline {subsection}{General messages}{150} \contentsline {subsection}{Message box}{150} \contentsline {subsection}{Symbolic messages}{150} \contentsline {subsection}{Symbol box}{150} \contentsline {subsection}{Lists}{150} \contentsline {subsection}{Pointers}{151} \contentsline {subsection}{Tables, arrays and graphs}{151} \contentsline {section}{\numberline {9.4}Getting help with Pure Data}{152} \contentsline {subsection}{Exercise 1}{152} \contentsline {subsection}{Exercise 2}{153} \contentsline {subsection}{Exercise 3}{153} \contentsline {chapter}{\numberline {10}Using Pure Data}{155} \contentsline {section}{\numberline {10.1}Basic objects and principles of operation}{155} \contentsline {subsection}{Hot and cold inlets}{155} \contentsline {subsection}{Bad evaluation order}{155} \contentsline {subsection}{Trigger objects}{156} \contentsline {subsection}{Making cold inlets hot}{156} \contentsline {subsection}{Float objects}{156} \contentsline {subsection}{Int objects}{157} \contentsline {subsection}{Symbol and list objects}{157} \contentsline {subsection}{Merging message connections}{157} \contentsline {section}{\numberline {10.2}Working with time and events}{157} \contentsline {subsection}{Metronome}{157} \contentsline {subsection}{A counter timebase}{158} \contentsline {subsection}{Time objects}{158} \contentsline {subsection}{Select}{159} \contentsline {section}{\numberline {10.3}Data flow control}{159} \contentsline {subsection}{Route}{159} \contentsline {subsection}{Moses}{160} \contentsline {subsection}{Spigot}{160} \contentsline {subsection}{Swap}{160} \contentsline {subsection}{Change}{160} \contentsline {subsection}{Send and receive objects}{161} \contentsline {subsection}{Broadcast messages}{161} \contentsline {subsection}{Special message destinations}{161} \contentsline {subsection}{Message sequences}{162} \contentsline {section}{\numberline {10.4}List objects and operations}{162} \contentsline {subsection}{Packing and unpacking lists}{162} \contentsline {subsection}{Substitutions}{163} \contentsline {subsection}{Persistence}{163} \contentsline {subsection}{List distribution}{164} \contentsline {subsection}{More advanced list operations}{164} \contentsline {section}{\numberline {10.5}Input and output}{164} \contentsline {subsection}{The print object}{165} \contentsline {subsection}{MIDI}{165} \contentsline {subsubsection}{Notes in}{165} \contentsline {subsubsection}{Notes out}{165} \contentsline {subsubsection}{Continuous controllers}{166} \contentsline {subsubsection}{MIDI to Frequency}{166} \contentsline {subsubsection}{Other MIDI objects}{166} \contentsline {section}{\numberline {10.6}Working with numbers}{167} \contentsline {subsection}{Arithmetic objects}{167} \contentsline {subsection}{Trigonometric maths objects}{167} \contentsline {subsection}{Random numbers}{167} \contentsline {subsection}{Arithmetic example}{167} \contentsline {subsection}{Comparative objects}{168} \contentsline {subsection}{Boolean logical objects}{169} \contentsline {section}{\numberline {10.7}Common idioms}{169} \contentsline {subsection}{Constrained counting}{169} \contentsline {subsection}{Accumulator}{169} \contentsline {subsection}{Rounding}{170} \contentsline {subsection}{Scaling}{170} \contentsline {subsection}{Looping with until}{170} \contentsline {subsection}{Message complement and inverse}{171} \contentsline {subsection}{Random selection}{171} \contentsline {subsection}{Weighted random selection}{171} \contentsline {subsection}{Delay cascade}{172} \contentsline {subsection}{Last float and averages}{172} \contentsline {subsection}{Running maximum (or minimum)}{172} \contentsline {subsection}{Float lowpass}{172} \contentsline {chapter}{\numberline {11}Pure Data Audio}{175} \contentsline {section}{\numberline {11.1}Audio objects}{175} \contentsline {subsection}{Audio connections}{175} \contentsline {subsection}{Blocks}{175} \contentsline {subsection}{Audio object CPU use}{176} \contentsline {section}{\numberline {11.2}Audio objects and principles}{176} \contentsline {subsection}{Fanout and merging}{176} \contentsline {subsection}{Time and resolution}{176} \contentsline {subsection}{Audio signal block to messages}{177} \contentsline {subsection}{Sending and receiving audio signals}{177} \contentsline {subsection}{Audio generators}{177} \contentsline {subsection}{Audio line objects}{178} \contentsline {subsection}{Audio input and output}{179} \contentsline {subsection}{Example: A simple MIDI monosynth}{179} \contentsline {subsection}{Audio filter objects}{180} \contentsline {subsection}{Audio arithmetic objects}{180} \contentsline {subsection}{Trigonometric and math objects}{180} \contentsline {subsection}{Audio delay objects}{181} \contentsline {chapter}{\numberline {12}Abstraction}{183} \contentsline {section}{\numberline {12.1}Subpatches}{183} \contentsline {subsection}{Copying subpatches}{183} \contentsline {subsection}{Deep subpatches}{184} \contentsline {subsection}{Abstractions}{185} \contentsline {subsection}{Scope and \$0}{185} \contentsline {section}{\numberline {12.2}Instantiation}{186} \contentsline {section}{\numberline {12.3}Editing}{187} \contentsline {section}{\numberline {12.4}Parameters}{187} \contentsline {section}{\numberline {12.5}Defaults and states}{188} \contentsline {section}{\numberline {12.6}Common abstraction techniques}{189} \contentsline {subsection}{Graph On Parent}{189} \contentsline {subsection}{Using list inputs}{190} \contentsline {subsubsection}{Packing and unpacking}{190} \contentsline {subsubsection}{Control normalisation}{191} \contentsline {subsection}{Summation chains}{191} \contentsline {subsection}{Routed inputs}{191} \contentsline {chapter}{\numberline {13}Shaping sound}{193} \contentsline {section}{\numberline {13.1}Amplitude dependent signal shaping}{193} \contentsline {subsection}{Simple signal arithmetic}{193} \contentsline {subsection}{Limits}{195} \contentsline {subsection}{Wave shaping}{195} \contentsline {subsection}{Squaring and roots}{197} \contentsline {subsection}{Curved envelopes}{198} \contentsline {section}{\numberline {13.2}Periodic functions}{198} \contentsline {subsection}{Wrapping ranges}{199} \contentsline {subsection}{Cosine function}{199} \contentsline {section}{\numberline {13.3}Other functions}{200} \contentsline {subsection}{Polynomials}{200} \contentsline {subsection}{Expressions}{200} \contentsline {section}{\numberline {13.4}Time dependent signal shaping}{201} \contentsline {subsection}{Delay}{201} \contentsline {subsection}{Phase cancellation}{202} \contentsline {subsection}{Filters}{202} \contentsline {subsection}{User friendly filters}{202} \contentsline {subsection}{Integration}{203} \contentsline {subsection}{Differentiation}{204} \contentsline {subsection}{Textbooks}{205} \contentsline {subsection}{Papers}{205} \contentsline {chapter}{\numberline {14}Pure Data essentials}{207} \contentsline {section}{\numberline {14.1}Channel strip}{207} \contentsline {subsection}{Signal switch}{207} \contentsline {subsection}{Simple level control}{207} \contentsline {subsection}{Using a log law fader}{208} \contentsline {subsection}{MIDI fader}{208} \contentsline {subsection}{Mute button and smooth fades}{209} \contentsline {subsection}{Panning}{209} \contentsline {subsection}{Simple linear panner}{209} \contentsline {subsection}{Square root panner}{210} \contentsline {subsection}{Cosine panner}{210} \contentsline {subsection}{Crossfader}{211} \contentsline {subsection}{Demultiplexer}{212} \contentsline {section}{\numberline {14.2}Audio File Tools}{212} \contentsline {subsection}{Monophonic sampler}{212} \contentsline {subsection}{File recorder}{213} \contentsline {subsection}{Loop player}{214} \contentsline {section}{\numberline {14.3}Events and sequencing}{214} \contentsline {subsection}{Timebase}{214} \contentsline {subsection}{Select sequencer}{215} \contentsline {subsection}{Partitioning time}{216} \contentsline {subsection}{Dividing time}{216} \contentsline {subsection}{Event synchronised LFO}{216} \contentsline {subsection}{List sequencer}{217} \contentsline {subsection}{Textfile control}{218} \contentsline {section}{\numberline {14.4}Effects}{219} \contentsline {subsection}{Stereo chorus/flanger effect}{219} \contentsline {subsection}{Simple reverberation}{220} \contentsline {subsection}{Exercise 1}{221} \contentsline {subsection}{Exercise 2}{222} \contentsline {subsection}{Exercise 3}{222} \contentsline {subsection}{Exercise 4}{222} \contentsline {subsection}{Online resources}{222} \contentsline {part}{III\hspace {1em}Technique}{225} \mbox {}\hrulefill \par \contentsline {chapter}{\numberline {15}Technique introduction}{227} \contentsline {section}{\numberline {15.1}Procedural sound technique}{227} \contentsline {chapter}{\numberline {16}Strategic production}{229} \contentsline {section}{\numberline {16.1}Working methods}{229} \contentsline {subsection}{Listen}{229} \contentsline {subsection}{Stimulate}{229} \contentsline {subsection}{Use scale}{229} \contentsline {subsection}{Vary scope}{229} \contentsline {subsection}{Keep moving}{230} \contentsline {subsection}{Balance priorities}{230} \contentsline {subsection}{Reuse and share successful techniques}{230} \contentsline {subsection}{Create a comfortable working space}{230} \contentsline {subsection}{Invite input}{230} \contentsline {section}{\numberline {16.2}SE approaches}{231} \contentsline {subsection}{Structured approach summary}{231} \contentsline {subsubsection}{Lifecycle}{231} \contentsline {subsubsection}{Requirements analysis}{231} \contentsline {subsubsection}{Research}{232} \contentsline {subsubsection}{Model building}{232} \contentsline {subsubsection}{Method analysis}{232} \contentsline {subsubsection}{Implementation}{233} \contentsline {subsubsection}{Integration}{233} \contentsline {subsubsection}{Test and iteration}{233} \contentsline {subsubsection}{Maintenance}{233} \contentsline {section}{\numberline {16.3}Requirements analysis process}{233} \contentsline {subsection}{Consensus of vision}{234} \contentsline {subsection}{Requirements specification document}{235} \contentsline {subsection}{Writing requirements specifications}{235} \contentsline {subsection}{Placeholders and attachment}{235} \contentsline {subsection}{Target medium}{235} \contentsline {section}{\numberline {16.4}Research}{236} \contentsline {subsection}{Papers, books, TV documentaries}{237} \contentsline {subsection}{Schematics and plans}{237} \contentsline {subsection}{Analytical, partial recording}{237} \contentsline {subsection}{Impulses and test excitations}{237} \contentsline {subsection}{Physical deconstruction}{238} \contentsline {section}{\numberline {16.5}Creating a model}{238} \contentsline {subsection}{Model abstraction}{238} \contentsline {section}{\numberline {16.6}Analysis}{239} \contentsline {subsection}{Waveform analysis}{239} \contentsline {subsection}{Spectral analysis}{239} \contentsline {subsection}{Physical analysis}{240} \contentsline {subsection}{Operational analysis}{240} \contentsline {subsection}{Model parameterisation}{240} \contentsline {section}{\numberline {16.7}Methods}{240} \contentsline {subsection}{Piecewise}{241} \contentsline {subsection}{Pure Additive}{241} \contentsline {subsection}{Mixed additive composites}{242} \contentsline {subsection}{Wavetables}{242} \contentsline {subsection}{Subtractive}{242} \contentsline {subsection}{Non linear}{242} \contentsline {subsection}{Granular}{243} \contentsline {subsection}{Physical}{243} \contentsline {section}{\numberline {16.8}Implementation}{243} \contentsline {subsection}{Encapsulation}{243} \contentsline {subsection}{Internal control}{244} \contentsline {subsection}{Interface}{244} \contentsline {section}{\numberline {16.9}Parameterisation}{245} \contentsline {subsection}{Decoupling}{245} \contentsline {subsection}{Orthogonality and parameter space}{245} \contentsline {subsection}{Efficiency of parameter space}{246} \contentsline {subsection}{Factoring/Collapsing}{246} \contentsline {section}{\numberline {16.10}Practice and psychology}{246} \contentsline {subsection}{Design cycle}{247} \contentsline {subsection}{Objectification}{247} \contentsline {subsection}{Expediency}{247} \contentsline {subsection}{Flow}{248} \contentsline {subsection}{Concentration, familiarity, simplicity}{249} \contentsline {subsection}{Time and vision}{249} \contentsline {subsection}{Online resources}{250} \contentsline {chapter}{\numberline {17}Technique 1 - Summation}{251} \contentsline {section}{\numberline {17.1}Additive synthesis}{251} \contentsline {section}{\numberline {17.2}Discrete summation synthesis}{254} \contentsline {section}{\numberline {17.3}Pre-computation}{256} \contentsline {chapter}{\numberline {18}Technique 2 - Tables}{259} \contentsline {section}{\numberline {18.1}Wavetable synthesis}{259} \contentsline {section}{\numberline {18.2}Practical wavetables}{260} \contentsline {section}{\numberline {18.3}Vector synthesis}{261} \contentsline {section}{\numberline {18.4}Wavescanning synthesis}{262} \contentsline {chapter}{\numberline {19}Technique 3 - Functions}{265} \contentsline {section}{\numberline {19.1}Waveshaping}{265} \contentsline {subsection}{Table transfer functions}{265} \contentsline {section}{\numberline {19.2}Chebyshev polynomials}{266} \contentsline {chapter}{\numberline {20}Technique 4 - Modulation}{271} \contentsline {section}{\numberline {20.1}Amplitude modulation}{271} \contentsline {section}{\numberline {20.2}Adding sidebands}{273} \contentsline {section}{\numberline {20.3}Cascade AM, with other spectra}{274} \contentsline {section}{\numberline {20.4}Single sideband modulation}{275} \contentsline {section}{\numberline {20.5}Frequency modulation}{276} \contentsline {subsection}{Negative frequencies}{281} \contentsline {subsection}{Phase modulation}{282} \contentsline {chapter}{\numberline {21}Technique 5 - Grains}{285} \contentsline {section}{\numberline {21.1}Granular synthesis}{285} \contentsline {subsection}{A grain generator}{285} \contentsline {subsection}{Types of granular synthesis}{287} \contentsline {subsubsection}{Synchronous granular synthesis and PSOLA}{287} \contentsline {subsubsection}{Asynchronous granular synthesis}{288} \contentsline {subsection}{Sound hybridisation}{289} \contentsline {subsection}{A granular texture source}{289} \contentsline {section}{\numberline {21.2}Time and pitch alteration}{292} \contentsline {subsection}{Textbooks}{293} \contentsline {subsection}{Papers}{293} \contentsline {chapter}{\numberline {22}Game Audio}{295} \contentsline {section}{\numberline {22.1}Virtual reality fundamentals}{295} \contentsline {subsection}{Game Objects}{295} \contentsline {subsection}{Object methods}{295} \contentsline {subsection}{Object views}{295} \contentsline {subsection}{Object behaviours}{296} \contentsline {subsection}{The players}{296} \contentsline {subsection}{World geometry}{296} \contentsline {subsection}{Stages}{297} \contentsline {subsection}{Platforms}{297} \contentsline {subsection}{Game logic}{297} \contentsline {subsection}{Actors and relevance}{297} \contentsline {section}{\numberline {22.2}Samples or procedural audio?}{298} \contentsline {subsection}{Events vs behaviours}{298} \contentsline {subsection}{Limitations of sample based audio}{298} \contentsline {section}{\numberline {22.3}Traditional game audio engine functions}{299} \contentsline {subsection}{Switching}{299} \contentsline {subsection}{Sequence and randomisation}{299} \contentsline {subsection}{Blending}{299} \contentsline {subsection}{Grouping and buses}{299} \contentsline {subsection}{Real-time controllers}{299} \contentsline {subsection}{Localisation}{300} \contentsline {subsection}{Ambiance}{300} \contentsline {subsection}{Attenuation and damping}{300} \contentsline {subsection}{Replication and alignment}{300} \contentsline {subsection}{Music dialogue and menus}{300} \contentsline {section}{\numberline {22.4}Procedural audio advantages}{301} \contentsline {subsection}{Deferred form}{301} \contentsline {subsection}{Default forms}{301} \contentsline {subsection}{Variety}{301} \contentsline {subsection}{Variable cost}{302} \contentsline {subsection}{Dynamic LOD}{302} \contentsline {section}{\numberline {22.5}Challenges for new games audio systems}{303} \contentsline {subsection}{Dynamic graph configuration}{303} \contentsline {subsection}{Denormal and drift contingencies}{303} \contentsline {subsection}{Automatic code translation}{304} \contentsline {subsection}{Embedding a Pd interpreter}{304} \contentsline {subsection}{Plugins}{304} \contentsline {subsection}{Cost metrics}{305} \contentsline {subsection}{Hybrid architectures}{305} \contentsline {subsection}{Hard sounds}{305} \contentsline {part}{IV\hspace {1em}Practicals}{307} \mbox {}\hrulefill \par \contentsline {chapter}{\numberline {23}Practicals introduction}{309} \contentsline {chapter}{\bfseries {Practical series - Artificial sounds}}{311} \contentsline {chapter}{\numberline {24}Pedestrians}{313} \contentsline {chapter}{\numberline {25}Phone tones}{319} \contentsline {chapter}{\numberline {26}DTMF Tones}{325} \contentsline {chapter}{\numberline {27}Alarm generator}{329} \contentsline {chapter}{\numberline {28}Police}{337} \contentsline {chapter}{\bfseries {Practical series - Idiophonics}}{347} \contentsline {chapter}{\numberline {29}Telephone bell}{349} \contentsline {chapter}{\numberline {30}Bouncing}{365} \contentsline {chapter}{\numberline {31}Rolling}{369} \contentsline {chapter}{\numberline {32}Creaking}{377} \contentsline {chapter}{\numberline {33}Boing}{383} \contentsline {chapter}{\bfseries {Practical series - Nature}}{389} \contentsline {chapter}{\numberline {34}Fire}{391} \contentsline {chapter}{\numberline {35}Bubbles}{401} \contentsline {chapter}{\numberline {36}Running water}{411} \contentsline {chapter}{\numberline {37}Pouring}{419} \contentsline {chapter}{\numberline {38}Rain}{425} \contentsline {chapter}{\numberline {39}Electricity}{435} \contentsline {chapter}{\numberline {40}Thunder}{443} \contentsline {chapter}{\numberline {41}Wind}{455} \contentsline {chapter}{\bfseries {Practical series - Machines}}{465} \contentsline {chapter}{\numberline {42}Switches}{467} \contentsline {chapter}{\numberline {43}Clocks}{473} \contentsline {chapter}{\numberline {44}Motors}{481} \contentsline {chapter}{\numberline {45}Cars}{487} \contentsline {chapter}{\numberline {46}Fans}{497} \contentsline {chapter}{\numberline {47}Jet engine}{503} \contentsline {chapter}{\numberline {48}Helicopter}{509} \contentsline {chapter}{\bfseries {Practical series - Lifeforms}}{525} \contentsline {chapter}{\numberline {49}Footsteps}{527} \contentsline {chapter}{\numberline {50}Insects}{537} \contentsline {chapter}{\numberline {51}Birds}{551} \contentsline {chapter}{\numberline {52}Mammals}{559} \contentsline {chapter}{\bfseries {Practical series - Mayhem}}{571} \contentsline {chapter}{\numberline {53}Guns}{573} \contentsline {chapter}{\numberline {54}Explosions}{587} \contentsline {chapter}{\numberline {55}Rocket launcher}{597} \contentsline {chapter}{\bfseries {Practical series - Sci-Fi}}{607} \contentsline {chapter}{\numberline {56}Transporter}{611} \contentsline {chapter}{\numberline {57}R2D2}{617} \contentsline {chapter}{\numberline {58}Red alert}{623} \contentsfinish On Wed, 15 Oct 2008 22:45:00 +0200 Lars Madsen wrote: > Andy Farnell wrote: > > On the last page of my table of contents LaTeX seems to ignore > > the bottom margin and it all runs off the bottom of the page. > > > > It's as if it's treating the entire last page as a float. > > > > Any thoughts? > > > > I'm using tocloft class to try and improve the look but not > > having much fun. > > > > Does anyone have a model example for a nice TOC I can play > > with please? > > > > Cheers, > > > > Andy > > > > might be a bit easier for us if you showed a minimal example of your > code. What you are describing is not normal. > > /daleif > _______________________________________________ > 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 -- Use the source From prasad at ece.neu.edu Thu Oct 16 00:23:02 2008 From: prasad at ece.neu.edu (Prof. Sheila Prasad) Date: Wed, 15 Oct 2008 18:23:02 -0400 (EDT) Subject: [texhax] Boldface Message-ID: I am using \mathcal{E} to get a script E. I want it in boldface to indicate a vector. How do I get this? Sheila Prasad ------------------------------------------------------------ Professor Sheila Prasad Emeritus Professor, ECE Dept. Northeastern University e-mail: prasad at ece.neu.edu From padawan12 at obiwannabe.co.uk Thu Oct 16 01:16:20 2008 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Thu, 16 Oct 2008 00:16:20 +0100 Subject: [texhax] Boldface In-Reply-To: References: Message-ID: <20081016001620.5c523fd8.padawan12@obiwannabe.co.uk> Try these for sets, vectors etc \\mathbb{V} \\mathbbmss{V} \\mathds{V} On Wed, 15 Oct 2008 18:23:02 -0400 (EDT) "Prof. Sheila Prasad" wrote: > I am using \mathcal{E} to get a script E. I want it in boldface to > indicate a vector. How do I get this? > Sheila Prasad > > > ------------------------------------------------------------ > Professor Sheila Prasad > Emeritus Professor, ECE Dept. > Northeastern University > e-mail: prasad at ece.neu.edu > > _______________________________________________ > 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 -- Use the source From daleif at imf.au.dk Thu Oct 16 01:31:26 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 16 Oct 2008 01:31:26 +0200 Subject: [texhax] Boldface In-Reply-To: References: Message-ID: <48F67D4E.5050303@imf.au.dk> Prof. Sheila Prasad wrote: > I am using \mathcal{E} to get a script E. I want it in boldface to > indicate a vector. How do I get this? > Sheila Prasad > > these often do not exist in bold, hower you might want to try \usepackage{bm} \bm{\mathcal{E}} untested /daleif From daleif at imf.au.dk Thu Oct 16 01:35:08 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 16 Oct 2008 01:35:08 +0200 Subject: [texhax] TOC problems In-Reply-To: <20081015232310.65db5bf4.padawan12@obiwannabe.co.uk> References: <20081015173206.166659b2.padawan12@obiwannabe.co.uk> <48F6564C.1090604@imf.au.dk> <20081015232310.65db5bf4.padawan12@obiwannabe.co.uk> Message-ID: <48F67E2C.40707@imf.au.dk> Andy Farnell wrote: > > Thanks for reponse Lars, > > I have discovered something that seems relevant, a correlation between > the main.toc file and the errant behaviour. > > The book comprises 4 parts, theory, tools, technique and practicals. > > Parts 1-3 are fine. These are very orthodox with sections, subsections > and so forth. They print fine in the TOC. > > Part 4 is special, because each chapter follows exactly the same section > structure - Aims, Analysis, Methods, DSP code, Results, Conclusions etc. > Because of this I do not want the sections to show up, so I use > \section*{} throughout. > > I have elected to make the TOC depth to the sections level, which gives > the optimal information but no more. > > The result is that main.toc follows a traditional format > Part 1 > Chapter 1 > Section 1 > Subsection 1 ... > Section 2 ... > > Chapter 2 > Section 1 ... > > Part 2 ... > > (of course only the Parts, Chapters and Sections print in TOC) > > all the way up to > > Part 4 > > but then there are no other entries deeper than chapter, so it continues > > Chapter n > Chapter n+1 > Chapter n+2 ... > > Here is where the problem starts. > > Latex doesn't want to split these over a page. > > I'm considering some options such as trying to use > > \addtocontents{toc}{\protect\newpage} to force a page break. > >>From the tocloft manual > > "You may get undesired page breaks in the ToC. For example you may have > long multiline section title and in the ToC there is a page break between > the lines. After your document is stable you can use \addtocontents at > appropriate places in the body of the document to adjust the page breaking > in the ToC." > > QUESTION: > > Is it a fair assumption that the .toc file effectively isolates the > TOC printing from any other prior code that produced it? If so > the problem seems related to the lack of any children to chapters. > > Have I found a bug? > > Is there a possible remedy like inserting some kind of invisible > child level to chapter in Part 4? > > Thankyou for any thoughts, > > Andy Farnell > > I cannot say, I need to see what generates the .toc file, and thus have something I can run on my system. Also I don;t know which class you are using, and what is \contentsfinish and how does those lines appear. Please create a minimal example that we can run, that produces the bad TOC. /daleif From r.turner at auckland.ac.nz Thu Oct 16 02:28:42 2008 From: r.turner at auckland.ac.nz (Rolf Turner) Date: Thu, 16 Oct 2008 13:28:42 +1300 Subject: [texhax] Boldface In-Reply-To: References: Message-ID: <70C38A6F-0A47-44D5-96B7-414F5BEB3BB9@auckland.ac.nz> On 16/10/2008, at 11:23 AM, Prof. Sheila Prasad wrote: > I am using \mathcal{E} to get a script E. I want it in boldface to > indicate a vector. How do I get this? $\boldsymbol{\mathcal{E}}$ seems to work for me. cheers, Rolf Turner ###################################################################### Attention: This e-mail message is privileged and confidential. If you are not the intended recipient please delete the message and notify the sender. Any views or opinions presented are solely those of the author. This e-mail has been scanned and cleared by MailMarshal www.marshalsoftware.com ###################################################################### From godbyk at gmail.com Thu Oct 16 01:24:56 2008 From: godbyk at gmail.com (Kevin Godby) Date: Wed, 15 Oct 2008 18:24:56 -0500 Subject: [texhax] Boldface In-Reply-To: References: Message-ID: You could try something like this: \mbox{\boldmath\ensuremath{\mathcal{E}}} Note that \mathbold should be used carefully: http://www.eng.cam.ac.uk/help/tpl/textprocessing/teTeX/latex/latex2e-html/boldmath.html To save some typing, I'd write a shortcut macro: \newcommand{\Evec}{\mbox{\boldmath\ensuremath{\mathcal{E}}}} and use it like this: ``Our macro \Evec{} can be used in non-math mode or in math mode $\Evec$.'' --Kevin Godby On Wed, Oct 15, 2008 at 5:23 PM, Prof. Sheila Prasad wrote: > I am using \mathcal{E} to get a script E. I want it in boldface to > indicate a vector. How do I get this? > Sheila Prasad > > > ------------------------------------------------------------ > Professor Sheila Prasad > Emeritus Professor, ECE Dept. > Northeastern University > e-mail: prasad at ece.neu.edu > > _______________________________________________ > 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 asnd at triumf.ca Thu Oct 16 05:41:25 2008 From: asnd at triumf.ca (Donald Arseneau) Date: 15 Oct 2008 20:41:25 -0700 Subject: [texhax] TOC problems In-Reply-To: <20081015173206.166659b2.padawan12@obiwannabe.co.uk> References: <20081015173206.166659b2.padawan12@obiwannabe.co.uk> Message-ID: Andy Farnell writes: > On the last page of my table of contents LaTeX seems to ignore > the bottom margin and it all runs off the bottom of the page. > > I'm using tocloft class to try and improve the look but not > having much fun. Reeeeely stupid bug in tocloft's \l at part, which makes a local setting of \everypar \global\@nobreaktrue \everypar{\global\@nobreakfalse\everypar{}} immediately followed by \endgroup (to erase the setting). The effect is that any "part" entry in the TOC prevents page breaks in the rest of the TOC. The \endgroup should be moved up to before \if at cfthaschapter. -- Donald Arseneau asnd at triumf.ca From axel.retif at mac.com Thu Oct 16 09:46:44 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Thu, 16 Oct 2008 02:46:44 -0500 Subject: [texhax] Spacing in equations In-Reply-To: <6884BA9EBABC484CA3048F7308C9B4FE@PGR1> References: <6884BA9EBABC484CA3048F7308C9B4FE@PGR1> Message-ID: On 15 Oct, 2008, at 11:32, Philip G. Ratcliffe wrote: >> When I am in equation mode, how do I introduce a space [...] > Maybe a little bedtime manual reading would be a useful investment; > for > example, the (17-page) Short Math Guide for LATEX by Michael Downes > of the > American Mathematical Society Also, Herbert Voss' Math mode and the documentation of Morten H?gholm's mathtools package. In your terminal or Command Prompt, texdoc mathmode mathtools If you use Windows and MiKTeX, maybe you don't have Voss' Math mode, but you can get it here: http://www.ctan.org/tex-archive/info/math/voss/mathmode/ Best, Axel From john.simmie at nuigalway.ie Thu Oct 16 10:34:21 2008 From: john.simmie at nuigalway.ie (Simmie, John) Date: Thu, 16 Oct 2008 09:34:21 +0100 Subject: [texhax] Defining an intermediate bond Message-ID: <5987A522AEAB7548B380D086C85CD241B44F2C@EVS1.ac.nuigalway.ie> The following code in my LaTeX documents provides proper typesetting of single/double/triple chemical bonds it is both robust and pleasing to the eye & can be used inside/outside mathmode However I need a new bond type, \bond4, which draws a bond intermediate between single and double, say a line topped by a dotted or dashed line So, suggestions please, for TeX commands in ????? below \def\bond#1{\relax \hbox \bgroup \kern 0.1em \setbox0=\hbox{X}% \vbox to \ht0 \bgroup \vss \ifcase#1 \or \hrule width 0.8em depth 0pt height 0.05em \or \hrule width 0.8em depth 0pt height 0.05em \vskip 0.2em \hrule width 0.8em depth 0pt height 0.05em \or \hrule width 0.8em depth 0pt height 0.05em \vskip 0.2em \hrule width 0.8em depth 0pt height 0.05em \vskip 0.2em \hrule width 0.8em depth 0pt height 0.05em \or ?????????????????????????????????????? \vskip 0.2em \hrule width 0.8em depth 0pt height 0.05em \fi \vss \egroup \kern 0.1em \egroup }% ------------------------------------------------------ \begin{document} ... $$\mathrm{C\bond4C}$$ Professor John Simmie::Combustion Chemistry Centre National University of Ireland, Galway From philip.ratcliffe at uninsubria.it Thu Oct 16 12:27:45 2008 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Thu, 16 Oct 2008 12:27:45 +0200 Subject: [texhax] Defining an intermediate bond In-Reply-To: <5987A522AEAB7548B380D086C85CD241B44F2C@EVS1.ac.nuigalway.ie> Message-ID: <2A67F05AD68F441EA434A44928C51EA1@PGR1> > The following code in my LaTeX documents provides proper > typesetting of > single/double/triple chemical bonds > it is both robust and pleasing to the eye & can be used > inside/outside mathmode > > However I need a new bond type, \bond4, which draws a bond > intermediate between single and double, say a line topped by > a dotted or dashed line > > So, suggestions please, for TeX commands in ????? below > > \def\bond#1{\relax > \hbox \bgroup > \kern 0.1em > \setbox0=\hbox{X}% > \vbox to \ht0 \bgroup > \vss > \ifcase#1 > \or > \hrule width 0.8em depth 0pt height 0.05em > \or > \hrule width 0.8em depth 0pt height 0.05em > \vskip 0.2em > \hrule width 0.8em depth 0pt height 0.05em > \or > \hrule width 0.8em depth 0pt height 0.05em > \vskip 0.2em > \hrule width 0.8em depth 0pt height 0.05em > \vskip 0.2em > \hrule width 0.8em depth 0pt height 0.05em > \or > ?????????????????????????????????????? > \vskip 0.2em > \hrule width 0.8em depth 0pt height 0.05em > \fi > \vss > \egroup > \kern 0.1em > \egroup > }% > ------------------------------------------------------ > \begin{document} > ... > $$\mathrm{C\bond4C}$$ Try \hbox to 0.8em{\kern-0.06em\hbox to 0.901em{\cleaders \hbox to 0.225em{\hss.\hss}\hfill}\hss}% in place of the question marks - it's a variation on the theme of \dotfill. Cheers, Phil From nico.vancleemput at gmail.com Thu Oct 16 09:39:48 2008 From: nico.vancleemput at gmail.com (Nico Van Cleemput) Date: Thu, 16 Oct 2008 09:39:48 +0200 Subject: [texhax] nopagebreak \hline in a longtable Message-ID: <79596f180810160039t1a17d70epb52808403d38173c@mail.gmail.com> I use the longtable package for some very long tables I have, however sometimes I want to rows to stay together even if it isn't ideal for the layout. This is possible by using the \\* or a \nopagebreak at the beginning of the row. This works fine if there is no \hline between the two rows. At first I thought I'll try \nopagebreak\hline, but this doesn't work. When I looked into the longtable package, it's seems that this isn't working because \hline in longtable actually adds two lines and the rows are split in between those two lines. So my guess was that the only solution was to add a sort of \hline* command that adds a line without the possibility of a pagebreak on that line. My TeX knowledge however is far from sufficient to tackle such a hack as I noticed. I was mostly guessing what would happen without any certainty that what I was doing was right. So it's no surprise that I didn't succeed. My question is if anyone knows how to this, or could give me some hints or knows a better way to achieve this effect. kind regards, Nico Van Cleemput Applied Mathematics and Computer Science Ghent University Krijgslaan 281 - S9 B - 9000 Ghent From padawan12 at obiwannabe.co.uk Thu Oct 16 16:12:21 2008 From: padawan12 at obiwannabe.co.uk (Andy Farnell) Date: Thu, 16 Oct 2008 15:12:21 +0100 Subject: [texhax] TOC problems In-Reply-To: References: <20081015173206.166659b2.padawan12@obiwannabe.co.uk> Message-ID: <20081016151221.1510956f.padawan12@obiwannabe.co.uk> Yep, that's got it! Thankyou very much Donald. Andy On 15 Oct 2008 20:41:25 -0700 Donald Arseneau wrote: > Andy Farnell writes: > > > On the last page of my table of contents LaTeX seems to ignore > > the bottom margin and it all runs off the bottom of the page. > > > > I'm using tocloft class to try and improve the look but not > > having much fun. > > Reeeeely stupid bug in tocloft's \l at part, which makes a > local setting of \everypar > > \global\@nobreaktrue > \everypar{\global\@nobreakfalse\everypar{}} > > immediately followed by \endgroup (to erase the setting). > The effect is that any "part" entry in the TOC prevents > page breaks in the rest of the TOC. The \endgroup should > be moved up to before \if at cfthaschapter. > > > -- > Donald Arseneau asnd at triumf.ca > _______________________________________________ > 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 -- Use the source From news2 at nililand.de Thu Oct 16 17:31:49 2008 From: news2 at nililand.de (Ulrike Fischer) Date: Thu, 16 Oct 2008 17:31:49 +0200 Subject: [texhax] nopagebreak \hline in a longtable References: <79596f180810160039t1a17d70epb52808403d38173c@mail.gmail.com> Message-ID: <1me0h6rh527g8$.dlg@nililand.de> Am Thu, 16 Oct 2008 09:39:48 +0200 schrieb Nico Van Cleemput: > I use the longtable package for some very long tables I have, however > sometimes I want to rows to stay together even if it isn't ideal for > the layout. This is possible by using the \\* or a \nopagebreak at the > beginning of the row. This works fine if there is no \hline between > the two rows. At first I thought I'll try \nopagebreak\hline, but this > doesn't work. When I looked into the longtable package, it's seems > that this isn't working because \hline in longtable actually adds two > lines and the rows are split in between those two lines. So my guess > was that the only solution was to add a sort of \hline* command that > adds a line without the possibility of a pagebreak on that line. My > TeX knowledge however is far from sufficient to tackle such a hack as > I noticed. I was mostly guessing what would happen without any > certainty that what I was doing was right. So it's no surprise that I > didn't succeed. > > My question is if anyone knows how to this, or could give me some > hints or knows a better way to achieve this effect. a search google.groups ("hline longtable nopagebreak") gives this solution: \documentclass{article} \usepackage{longtable} \makeatletter \newcommand*{\nonbreakhline}{\cline{1-\LT at cols}} \makeatother \begin{document} \begin{longtable}{llll} links & mitte links & mitte rechts & rechts \\\nonbreakhline links & mitte links & mitte rechts & rechts \\*\nonbreakhline links & mitte links & mitte rechts & rechts \\ \end{longtable} \end{document} -- Ulrike Fischer From nico.vancleemput at gmail.com Thu Oct 16 20:40:16 2008 From: nico.vancleemput at gmail.com (Nico Van Cleemput) Date: Thu, 16 Oct 2008 20:40:16 +0200 Subject: [texhax] nopagebreak \hline in a longtable In-Reply-To: <1me0h6rh527g8$.dlg@nililand.de> References: <79596f180810160039t1a17d70epb52808403d38173c@mail.gmail.com> <1me0h6rh527g8$.dlg@nililand.de> Message-ID: <79596f180810161140l26d2da63gb6a5a0848c7cd892@mail.gmail.com> Thanks, I had done several searches with slightly different keywords and the first pages of Google gave nothing. 2008/10/16 Ulrike Fischer : > Am Thu, 16 Oct 2008 09:39:48 +0200 schrieb Nico Van Cleemput: > > > a search google.groups ("hline longtable nopagebreak") gives this > solution: > > \documentclass{article} > \usepackage{longtable} > > \makeatletter > \newcommand*{\nonbreakhline}{\cline{1-\LT at cols}} > \makeatother > \begin{document} > \begin{longtable}{llll} > links & mitte links & mitte rechts & rechts \\\nonbreakhline > links & mitte links & mitte rechts & rechts \\*\nonbreakhline > links & mitte links & mitte rechts & rechts \\ > \end{longtable} > \end{document} > > -- > Ulrike Fischer > > _______________________________________________ > 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 alan at alphabyte.co.nz Fri Oct 17 00:07:12 2008 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Fri, 17 Oct 2008 11:07:12 +1300 (NZDT) Subject: [texhax] Fill a page with lines Message-ID: <46001.156.62.3.23.1224194832.squirrel@webmail.ak.planet.gen.nz> Hi all, I would like to fill a page with lines in an exam (exam.cls). This is a continuation of an existing question. Anyone know of a clever package that does this, or an even cleverer solution? Thanks Alan From olegkat at gmail.com Fri Oct 17 06:07:14 2008 From: olegkat at gmail.com (Oleg Katsitadze) Date: Fri, 17 Oct 2008 07:07:14 +0300 Subject: [texhax] Fill a page with lines In-Reply-To: <46001.156.62.3.23.1224194832.squirrel@webmail.ak.planet.gen.nz> References: <46001.156.62.3.23.1224194832.squirrel@webmail.ak.planet.gen.nz> Message-ID: <20081017040714.GA25843@thor> On Fri, Oct 17, 2008 at 11:07:12AM +1300, Alan Litchfield wrote: > I would like to fill a page with lines in an exam (exam.cls). This is a > continuation of an existing question. > > Anyone know of a clever package that does this, or an even cleverer solution? As long as the lines are only vertical and horizontal, anything can be done directly in TeX, although the resulting text will not necessarily be readable. Example is in attachment. Run $ tex layout $ xdvi layout Best, Oleg -------------- next part -------------- A non-text attachment was scrubbed... Name: layout.tex Type: text/x-tex Size: 2015 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20081017/dca7cc92/attachment.bin From holy at wustl.edu Fri Oct 17 00:35:45 2008 From: holy at wustl.edu (Tim Holy) Date: Thu, 16 Oct 2008 17:35:45 -0500 Subject: [texhax] sidecap + wrap Message-ID: <200810161735.45487.holy@wustl.edu> Hello, I've been a LaTeX user for some time, but have never delved into hacking it before, and I'm quite a novice; please pardon my ignorance. I'm writing a grant application with very limited space. To help save space, I want the figure captions to be as space efficient as possible. Since my captions tend to be long (they explain a lot of details about the figures), what I want is something like "sidecap", but that when the caption reaches the bottom of the figure, it then fills the entire available width. Schematically, if "F" indicates region occupied by figure, and "C" indicates region occupied by caption, then standard figures are like this: FFFFF FFFFF FFFFF CCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCC CCCCCCCCCC (this email may be best viewed with a fixed-width font!) and sidecap gives you figures like this: CCCCCCCCCCCCCCC CCCCCCCCCCCCCCC CCCCCCCCCCCCCCC FFFFF CCCCCCCCCCCCCCC FFFFF CCCCCCCCCCCCCCC FFFFF CCCCCCCCCCCCC (notice the blank space above the figure, because the caption is bigger than the figure) and what I want is this: FFFFF CCCCCCCCCCCCCCC FFFFF CCCCCCCCCCCCCCC FFFFF CCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCC It turns out that this effect isn't too hard to achieve, but the way I've done it requires a lot of manual tweaking; I can't help but think that there must be a better way. Here's the really awful manual method: \documentclass{article} \usepackage{graphicx} \newcount\thisfigindentedlines \newlength{\thisfigurewidth} \newlength{\thiscaptionindent} \newlength{\thisremaininglength} \newlength{\captionsep} \setlength{\captionsep}{0.15in} \newlength{\extravspace} \setlength{\extravspace}{-0.25in} \newcommand{\setcaptionlengths}{ \setlength{\thiscaptionindent}{\thisfigurewidth} \addtolength{\thiscaptionindent}{\captionsep} \setlength{\thisremaininglength}{\columnwidth} \addtolength{\thisremaininglength}{-\thiscaptionindent} } \begin{document} This is a test document to see if I can develop a version of side-captioning that wraps any extra text around the bottom of a figure. \def\thisfigureheight{1.25in} \setlength{\thisfigurewidth}{3.5in} \setcaptionlengths \begin{figure} \includegraphics[height=\thisfigureheight]{gull}\quad \includegraphics[height=\thisfigureheight]{tiger} \vspace{-\thisfigureheight} \vspace{\extravspace} \caption{ \parshape=10 \thiscaptionindent \thisremaininglength \thiscaptionindent \thisremaininglength \thiscaptionindent \thisremaininglength \thiscaptionindent \thisremaininglength \thiscaptionindent \thisremaininglength \thiscaptionindent \thisremaininglength \thiscaptionindent \thisremaininglength \thiscaptionindent \thisremaininglength \thiscaptionindent \thisremaininglength 0pt \columnwidth ({\bf A}) A gull. This is a bird. It's a sea bird. You know, one that flies out over the ocean. I don't know much about gulls, so I don't know what more to say about them. {\bf B} A tiger. They're big. I hear they're friendly, at least when they don't intend to eat you. Certainly, they're really strong. They like water. } \end{figure} \end{document} Note the many ways that this solution could be improved: 1. I use the \parshape command with an explicit number of indented lines; but this seems silly, because I already have a variable that contains the height of the figure. It seems that I should be able to calculate the number of lines (from \thisfigureheight and \baselineskip) and then put this in a loop. But I'm not having any luck with a construct like this: \def\parshapecmd{} \loop\ifnum\thisfigindentedlines>1 \advance\thisfigindentedlines by -1 \def\parshapecmd{\parshapecmd \thiscaptionindent \thisremaininglength} \repeat \def\parshapecmd{\parshapecmd 0pt \columnwidth} I just don't know enough TeX to know what's wrong with it. 2. At the end of the \includegraphics commands, it seems that there should be some way of knowing "where you are" (i.e., where the "cursor" is) so that you know both the height and width of the inserted graphics. That way, the user doesn't have to explicitly specify widths and heights. I'm envisioning that this should be as easy as: \def\thisfigureheight{1.25in} % needed only because there are 2 images \begin{figure} \includegraphics[height=\thisfigureheight]{gull}\quad \includegraphics[height=\thisfigureheight]{tiger} \sidecapwrap{ ({\bf A}) A gull.... } \end{figure} Can anyone offer advice? Thanks, --Tim From nico.vancleemput at gmail.com Fri Oct 17 09:03:57 2008 From: nico.vancleemput at gmail.com (Nico Van Cleemput) Date: Fri, 17 Oct 2008 09:03:57 +0200 Subject: [texhax] nopagebreak \hline in a longtable In-Reply-To: <1me0h6rh527g8$.dlg@nililand.de> References: <79596f180810160039t1a17d70epb52808403d38173c@mail.gmail.com> <1me0h6rh527g8$.dlg@nililand.de> Message-ID: <79596f180810170003h56235bccn3f7d9f7a735c5af5@mail.gmail.com> When trying this solution this morning I was surprised to see that it has not the desired effect. It does indeed prohibit a line break on the line, but does not keep the rows together. Let me try it by giving a diagram. The original output was PAGE 1: row1 ------- PAGE 2: ------- row2 ------- row3 And I want row1 and row 2 to stay together. After using this solution, the result is PAGE 1: row1 ------- PAGE 2: row2 ------- row3 So the only effect is that the line is no longer on two pages. The desired effect however is PAGE 1: row1 ------- row2 ------- PAGE 2: ------- row3 So maybe I'm more looking for something to group several rows and disallow any break within that group. Kind regards and thanks in advance for any help. Nico Van Cleemput Applied Mathematics and Computer Science Ghent University Krijgslaan 281 - S9 B - 9000 Ghent 2008/10/16 Ulrike Fischer : > Am Thu, 16 Oct 2008 09:39:48 +0200 schrieb Nico Van Cleemput: > > > a search google.groups ("hline longtable nopagebreak") gives this > solution: > > \documentclass{article} > \usepackage{longtable} > > \makeatletter > \newcommand*{\nonbreakhline}{\cline{1-\LT at cols}} > \makeatother > \begin{document} > \begin{longtable}{llll} > links & mitte links & mitte rechts & rechts \\\nonbreakhline > links & mitte links & mitte rechts & rechts \\*\nonbreakhline > links & mitte links & mitte rechts & rechts \\ > \end{longtable} > \end{document} > > -- > Ulrike Fischer > > _______________________________________________ > 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 mahi2308 at rediffmail.com Fri Oct 17 10:25:37 2008 From: mahi2308 at rediffmail.com (mahi) Date: 17 Oct 2008 08:25:37 -0000 Subject: [texhax] phonetic letters Message-ID: <20081017082537.21724.qmail@f4mail-234-124.rediffmail.com> ? HI How to get a phonetic letters in italic. Maheshwari -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081017/b238541f/attachment.html From P.Taylor at Rhul.Ac.Uk Fri Oct 17 11:25:55 2008 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR (Ret'd)) Date: Fri, 17 Oct 2008 10:25:55 +0100 Subject: [texhax] Fill a page with lines In-Reply-To: <46001.156.62.3.23.1224194832.squirrel@webmail.ak.planet.gen.nz> References: <46001.156.62.3.23.1224194832.squirrel@webmail.ak.planet.gen.nz> Message-ID: <48F85A23.7060005@Rhul.Ac.Uk> No idea about interworking with Exam.cls (or with LaTeX at all, for that matter) but this may give you some ideas : \vbox to 72 ex {\xleaders \vbox to 1 pc {\vfil \hrule width 32 pc \vfil} \vfil} Philip TAYLOR -------- Alan Litchfield wrote: > I would like to fill a page with lines in an exam (exam.cls). This is a > continuation of an existing question. From gin at mo.msk.ru Fri Oct 17 16:43:22 2008 From: gin at mo.msk.ru (Ilya N. Golubev) Date: Fri, 17 Oct 2008 18:43:22 +0400 Subject: [texhax] index entries in verbatim text? Message-ID: <96od1jjn91.fsf@mo.msk.ru> In latex document have large (possibly spanning many pages) stretches of verbatim text, something like program source, normally to be written inside `verbatim' environment. Index entries are to point to locations in the middle of such text. Is there a way to write `\index' commands to achieve this? They certainly must not insert vertical spacing or otherwise alter the printed appearance of verbatim text. So the trivial way, splitting `verbatim', \begin{verbatim} TEXT BEFORE LINE TO POINT TO \end{verbatim} \index{KEY} \begin{verbatim} TEXT AFTER \end{verbatim} does not work. Between these `verbatim' environments vertical spacing is inserted. It does not look like just \begin{verbatim} TEXT BEFORE LINE TO POINT TO TEXT AFTER \end{verbatim} `\verb' command refuses to process multiple- line stretches of text. So at best have to use it on each and every line of text to format. This certainly allows to put `\index' command at arbitrary point without breaking anything. And this is also not for regular use. Not only such a `\verb' quoting tedious and error- prone. The text to be formatted verbatim is generally program code, its language may be pretty hairy, may use just any character, so selecting quote character for `\verb' command is hard to automate. `alltt' environment is checked to be useless. `\index' in it is ignored, leaves nothing in index. (Inclined to consider this a bug of the `alltt' package, defeating the very purpose of it.) Is there environment like `verbatim' that one can split arbitrarily so that `\index' will point to arbitrary line in it? From edsko at edsko.net Sat Oct 18 11:22:28 2008 From: edsko at edsko.net (Edsko de Vries) Date: Sat, 18 Oct 2008 10:22:28 +0100 Subject: [texhax] index entries in verbatim text? In-Reply-To: <96od1jjn91.fsf@mo.msk.ru> References: <96od1jjn91.fsf@mo.msk.ru> Message-ID: <20081018092228.GA23640@netsoc.tcd.ie> Try the listings package. It allows to escape to tex from within the typeset listing, so you could do something like (untested:) \begin{lstlisting}[escapechar=\%] .. .. .. .. %\index{key}% .. .. .. \end{lstlisting} Edsko From ekmath at asianetindia.com Sat Oct 18 14:09:40 2008 From: ekmath at asianetindia.com (E. Krishnan) Date: Sat, 18 Oct 2008 17:39:40 +0530 (IST) Subject: [texhax] index entries in verbatim text? In-Reply-To: <96od1jjn91.fsf@mo.msk.ru> References: <96od1jjn91.fsf@mo.msk.ru> Message-ID: On Fri, 17 Oct 2008, Ilya N. Golubev wrote: > In latex document have large (possibly spanning many pages) stretches > of verbatim text, something like program source, normally to be > written inside `verbatim' environment. Index entries are to point to > locations in the middle of such text. > > Is there a way to write `\index' commands to achieve this? Please see whether this helps: \usepackage{fancyvrb} \begin{Verbatim}[commandchars=\|\[\]] TEXT BEFORE LINE TO POINT TO|index[KEY] TEXT AFTER \end{Verbatim} Note that here the default escape character \ is changed to | and the default argument delimiters { and } are changed to [ and ] using "commandchars". You can use any other characters (including the default ones) for these as long as they don't appear in the verbatim text. -- Krishnan From damiano at chem.gla.ac.uk Sun Oct 19 19:53:17 2008 From: damiano at chem.gla.ac.uk (Damiano Portinari) Date: Sun, 19 Oct 2008 18:53:17 +0100 Subject: [texhax] moderncv package : adding more items in the personal information block Message-ID: <48FB740D.9020907@chem.gla.ac.uk> Dear All, I would like to add more, for instance, phone numbers or addresses into my CV within the moderncv classic theme. It seems that if I add something like another \phone{} latex doesn't compile it, basically I cannot add more items than what are present in the template of the package. Thank you very much in advance for your help, Damiano. -- +--------------------------------------------------------------+ Damiano Portinari PhD student Department of Chemistry Joseph Black Building University Avenue G128QQ Glasgow Scotland, UK Tel: +44 (0)141 330 8273 http://www.chem.gla.ac.uk/staff/lee/group.html http://www.chem.gla.ac.uk/groups/wilson/ +--------------------------------------------------------------+ From uno at ingard.com Tue Oct 21 04:13:23 2008 From: uno at ingard.com (Uno Ingard) Date: Mon, 20 Oct 2008 22:13:23 -0400 Subject: [texhax] tex on vista Message-ID: <014301c93322$9977a6f0$6401a8c0@uno> I have used Tex for many years and hope to continue doing so. My new computer has the Vista operating system. My old has XP. Installed my PCTEX on Vista but it does not work. Is there a new version of Tex that runs on Vista or is there something that can be done to make my Visual Tex,Version 8.5 work on Vista. Thanks Uno Ingard email uno at ingard.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081020/1f9ccbb7/attachment.html From john.simmie at nuigalway.ie Tue Oct 21 12:20:39 2008 From: john.simmie at nuigalway.ie (Simmie, John) Date: Tue, 21 Oct 2008 11:20:39 +0100 Subject: [texhax] TeX on Vista Message-ID: <5987A522AEAB7548B380D086C85CD241BC324A@EVS1.ac.nuigalway.ie> PCTeX does work under 64-bit Vista no problem ... John From ayar at bilkent.edu.tr Tue Oct 21 12:35:50 2008 From: ayar at bilkent.edu.tr (ayar at bilkent.edu.tr) Date: Tue, 21 Oct 2008 13:35:50 +0300 (EEST) Subject: [texhax] (no subject) Message-ID: <49722.139.179.20.123.1224585350.squirrel@webmail.bilkent.edu.tr> Hi, I have a problem about adding boundaries to an equation. I added \left[ to beginning of an equation, and \right ] to end of the equation. after i compile my project, in pdf the close of the boundary is not seemed. i try it several times, but it has not done. what can be the problem and how can i solve it? thanks for your help.. From axel.retif at mac.com Tue Oct 21 13:28:03 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 21 Oct 2008 06:28:03 -0500 Subject: [texhax] (no subject) In-Reply-To: <49722.139.179.20.123.1224585350.squirrel@webmail.bilkent.edu.tr> References: <49722.139.179.20.123.1224585350.squirrel@webmail.bilkent.edu.tr> Message-ID: On 21 Oct, 2008, at 05:35, ayar at bilkent.edu.tr wrote: > Hi, > I have a problem about adding boundaries to an equation. I added > \left[ > to beginning of an equation, and \right ] to end of the equation. > after i > compile my project, in pdf the close of the boundary is not seemed. > i try > it several times, but it has not done. what can be the problem and > how can > i solve it? thanks for your help. Maybe is the space (\right])? Or maybe your equation is in two or more lines? See a short introduction to LaTeX http://www.ctan.org/tex-archive/info/lshort/ in several languages. Also, http://www.ctan.org/tex-archive/info/math/voss/mathmode/Mathmode.pdf (pages 29 and 62 about \right. and \left. for multiline equations). Best, Axel From daleif at imf.au.dk Tue Oct 21 13:47:05 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 21 Oct 2008 13:47:05 +0200 Subject: [texhax] (no subject) In-Reply-To: <49722.139.179.20.123.1224585350.squirrel@webmail.bilkent.edu.tr> References: <49722.139.179.20.123.1224585350.squirrel@webmail.bilkent.edu.tr> Message-ID: <48FDC139.6050707@imf.au.dk> ayar at bilkent.edu.tr wrote: > Hi, > I have a problem about adding boundaries to an equation. I added \left[ > to beginning of an equation, and \right ] to end of the equation. after i > compile my project, in pdf the close of the boundary is not seemed. i try > it several times, but it has not done. what can be the problem and how can > i solve it? thanks for your help.. > > please provide a minimal example displaying the problem. There can be a number of reasons, so it is a lot easier for us to help, is you show some code. Please remember that this DOES NOT WORK: \begin{align*} f(x) ={} & \left[ blah blah \\ + blah balh \right] \end{align*} you cannot have a \left and a \right on different lines like that. In this case one would have to scale the []'s by hand. /daleif From vivrii at gmail.com Tue Oct 21 14:05:09 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Tue, 21 Oct 2008 08:05:09 -0400 Subject: [texhax] (no subject) In-Reply-To: <48FDC139.6050707@imf.au.dk> References: <49722.139.179.20.123.1224585350.squirrel@webmail.bilkent.edu.tr> <48FDC139.6050707@imf.au.dk> Message-ID: <19af81400810210505md06ac74h31a67870919ae149@mail.gmail.com> On Tue, Oct 21, 2008 at 7:47 AM, Lars Madsen wrote: > ayar at bilkent.edu.tr wrote: >> Hi, >> I have a problem about adding boundaries to an equation. I added \left[ >> to beginning of an equation, and \right ] to end of the equation. after i >> compile my project, in pdf the close of the boundary is not seemed. i try >> it several times, but it has not done. what can be the problem and how can >> i solve it? thanks for your help.. >> >> > > please provide a minimal example displaying the problem. There can be a > number of reasons, so it is a lot easier for us to help, is you show > some code. > > Please remember that this DOES NOT WORK: > > \begin{align*} > f(x) ={} & \left[ blah blah > \\ > + blah balh \right] > \end{align*} > or use \begin{equation*} \left[\begin{aligned} f(x) ={} & \left[ blah blah \\ blah balh \end{aligned} \right] \end{equation*} -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From axel.retif at mac.com Tue Oct 21 14:25:51 2008 From: axel.retif at mac.com (Axel E. Retif) Date: Tue, 21 Oct 2008 07:25:51 -0500 Subject: [texhax] (no subject) In-Reply-To: <1168.139.179.20.152.1224589585.squirrel@webmail.bilkent.edu.tr> References: <49722.139.179.20.123.1224585350.squirrel@webmail.bilkent.edu.tr> <1168.139.179.20.152.1224589585.squirrel@webmail.bilkent.edu.tr> Message-ID: On 21 Oct, 2008, at 06:46, ayar at bilkent.edu.tr wrote: > yes, my equation is in two lines. is there any way to solve my > problem in > the link? Yes, see pages 29 and 62-63 of Mathmode.pdf. Also, if your language is Turkish, see http://www.ctan.org/tex-archive/info/lshort/turkish/ Best, Axel > On 21 Oct, 2008, at 05:35, ayar at bilkent.edu.tr wrote: >> >>> Hi, >>> I have a problem about adding boundaries to an equation. I added >>> \left[ >>> to beginning of an equation, and \right ] to end of the equation. >>> after i >>> compile my project, in pdf the close of the boundary is not seemed. >>> i try >>> it several times, but it has not done. what can be the problem and >>> how can >>> i solve it? thanks for your help. >> >> Maybe is the space (\right])? Or maybe your equation is in two or >> more >> lines? >> >> See a short introduction to LaTeX >> >> http://www.ctan.org/tex-archive/info/lshort/ >> >> in several languages. >> >> Also, >> >> http://www.ctan.org/tex-archive/info/math/voss/mathmode/Mathmode.pdf >> >> (pages 29 and 62 about \right. and \left. for multiline equations). >> >> Best, >> >> Axel >> > > From barr at math.mcgill.ca Tue Oct 21 14:50:39 2008 From: barr at math.mcgill.ca (Michael Barr) Date: Tue, 21 Oct 2008 08:50:39 -0400 (EDT) Subject: [texhax] TeX on Vista In-Reply-To: References: Message-ID: Before I downgraded my computer to XP, I did get TeX working on it. I think I had to make myself super-user (just being administrator wasn't enough) and I first installed TeX-Live 2007 which ran but couldn't display or print since it didn't have permission to write fonts. (It is possible that I did this before realizing I had to make myself super-user; this was a year and a half ago). Then I installed Miktex, v. 2.7 and that installed and ran without difficulty. Still I had enough problems with Vista ("find" never found anything, for example) that I downgraded and am happy with that decision. Michael Barr On Tue, 21 Oct 2008, texhax-request at tug.org wrote: > Send texhax mailing list submissions to > texhax at tug.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://tug.org/mailman/listinfo/texhax > or, via email, send a message with subject or body 'help' to > texhax-request at tug.org > > You can reach the person managing the list at > texhax-owner at tug.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of texhax digest..." > > > Today's Topics: > > 1. tex on vista (Uno Ingard) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 20 Oct 2008 22:13:23 -0400 > From: "Uno Ingard" > Subject: [texhax] tex on vista > To: > Message-ID: <014301c93322$9977a6f0$6401a8c0 at uno> > Content-Type: text/plain; charset="iso-8859-1" > > I have used Tex for many years and hope to continue doing so. > My new computer has the Vista operating system. My old has XP. > Installed my PCTEX on Vista but it does not work. Is there a new version of Tex that runs on Vista or is there something that can be done to make my Visual Tex,Version 8.5 work on Vista. > Thanks > Uno Ingard > email uno at ingard.com > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: http://tug.org/pipermail/texhax/attachments/20081020/1f9ccbb7/attachment-0001.html > > ------------------------------ > > _______________________________________________ > texhax mailing list > texhax at tug.org > http://tug.org/mailman/listinfo/texhax > > End of texhax Digest, Vol 2008, Issue 297 > ***************************************** > From gin at mo.msk.ru Tue Oct 21 18:35:53 2008 From: gin at mo.msk.ru (Ilya N. Golubev) Date: Tue, 21 Oct 2008 20:35:53 +0400 Subject: [texhax] index entries in verbatim text? In-Reply-To: (E. Krishnan's message of "Sat, 18 Oct 2008 17:39:40 +0530 (IST)") References: <96od1jjn91.fsf@mo.msk.ru> <20081018092228.GA23640@netsoc.tcd.ie> Message-ID: <56prlt52ja.fsf@mo.msk.ru> Thanks for trying, and all of this fails to address one of the key issues of the initial message (one with the question): in > The text to be formatted verbatim > language may be pretty hairy, may use just > any character In particular, Edsko de Vries writes: > use any other characters (including the > default ones) for these as long as they don't appear in the verbatim > text. That's just it. There is (generally) no such characters at all. ASCII ones, at least. That is, for escaping to LaTeX to be useful in this case, it has to be possible to specify for it a substring pattern much more complex than just encountering some fixed character. The task is very much like that of selecting, generating `boundary' (attribute) value for multipart MIME entity, of which each body part may contain arbitrary text. And the set, syntax of allowed patterns has to be at least that general. Perhaps will (in my copious free time) even write such a feature request to maintainers of packages we tried here. From r.aluizio at gmail.com Tue Oct 21 19:27:39 2008 From: r.aluizio at gmail.com (Rodrigo Aluizio) Date: Tue, 21 Oct 2008 15:27:39 -0200 Subject: [texhax] Problem with \begin{abstract} and \begin{keyword} Message-ID: <3BFA5D364607474A9B9FE9F2EBBE5564@Rodrigo> Hi, I'm a beginner with LaTex, and I'm preparing an article to submit to Elsevier. So I'm using the elsarticle document class. Well when I include the \begin{abstract}, and \begin{keyword} nothing happens, nor even an error, but nothing different appears were it should be. Something similar occurs with the e-mail addresses of the preamble, they don't appear in footnote. I've already consulted the general and specific documentations. Furthermore the elsdoc (the specific documentation) says that the \begin{abstract} and \begin{keywords} must be in the preamble, it looks like wrong to me, ad when I do that I get an error. Well, I wasn't able to find a correspondence list to write to, so I'm as king for help here, but I know that probably the wrong way to do that... Any way I'll appreciate if someone could help me. Thank you fot the patience and attention! Bellow is the code: \documentclass[1p,review,authoryear]{elsarticle} \usepackage{natbib} \usepackage[brazil]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \title{My Title)} \author[focal]{R.~Aluizio\corref{cor1}} \ead{e-mail address} \author[focal]{C.A.~Borzone\corref{cor2}} \ead{e-mail address} \cortext[cor1]{Principal Corresponding Author} \cortext[cor2]{Corresponding Author} \address[focal]{My Address} \date{} \begin{document} \maketitle \begin{abstract} My article abstract \end{abstract} \begin{keyword} my \sep keywords \end{keyword} \section{Introduction} \section{Materials and Methods} \section{Results} \section{Discussion} \section{Acknowledgments} \begin{thebibliography}{1} \bibitem % My bibliography, several entries \bibliography{MyBib.bib} \end{thebibliography} \end{document} ___________________________________ MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laborat?rio de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paran? - PR - BRASIL -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081021/1955808c/attachment-0001.html From r.aluizio at gmail.com Tue Oct 21 20:54:50 2008 From: r.aluizio at gmail.com (Rodrigo Aluizio) Date: Tue, 21 Oct 2008 16:54:50 -0200 Subject: [texhax] Problem with \begin{abstract} and \begin{keyword} Message-ID: Hi everybody, I'm a beginner with LaTex, and I'm preparing an article to submit to Elsevier. So I'm using the elsarticle document class. Well when I include the \begin{abstract}, and \begin{keyword} nothing happens, nor even an error, but nothing different appears were it should be. Something similar occurs with the e-mail addresses of the preamble, they don't appear in footnote. I've already consulted the general and specific documentations. Furthermore the elsdoc (the specific documentation) says that the \begin{abstract} and \begin{keywords} must be in the preamble, it seems wrong to me, ad when I do that I get an error. I'll appreciate if someone could help me. Thank you fot the patience and attention! I'm running the code on Windows XP, LEd Tex Editor and MikTex. Bellow is the code: \documentclass[1p,review,authoryear]{elsarticle} \usepackage{natbib} \usepackage[brazil]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \title{My Title)} \author[focal]{R.~Aluizio\corref{cor1}} \ead{e-mail address} \author[focal]{C.A.~Borzone\corref{cor2}} \ead{e-mail address} \cortext[cor1]{Principal Corresponding Author} \cortext[cor2]{Corresponding Author} \address[focal]{My Address} \date{} \begin{document} \maketitle \begin{abstract} My article abstract \end{abstract} \begin{keyword} my \sep keywords \end{keyword} \section{Introduction} \section{Materials and Methods} \section{Results} \section{Discussion} \section{Acknowledgments} \begin{thebibliography}{1} \bibitem % My bibliography, several entries \bibliography{MyBib.bib} \end{thebibliography} \end{document} ___________________________________ MSc. Rodrigo Aluizio Centro de Estudos do Mar/UFPR Laborat?rio de Micropaleontologia Avenida Beira Mar s/n - CEP 83255-000 Pontal do Paran? - PR - BRASIL -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081021/3fc78df1/attachment.html From ayar at bilkent.edu.tr Wed Oct 22 10:50:12 2008 From: ayar at bilkent.edu.tr (ayar at bilkent.edu.tr) Date: Wed, 22 Oct 2008 11:50:12 +0300 (EEST) Subject: [texhax] (no subject) Message-ID: <1675.139.179.20.152.1224665412.squirrel@webmail.bilkent.edu.tr> Hi, i have a problem about writing a constraints set i write a constraint set like this \begin{align} constraint1 \hspace{2 cm} forall k \label{s1} \end{align} i want to see the part after for all in the next line whixh they will be on right. i write it as; constraint1 \nonumber \\ hspace{8cm}forall k \label{} but here hspace{} is not worked. my for all k and label part is written in the next line bt they are always on the left regrdless what is length on curly brackets of hspace. how can correct my problem? thanks.. From philip.ratcliffe at uninsubria.it Wed Oct 22 11:12:46 2008 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Wed, 22 Oct 2008 11:12:46 +0200 Subject: [texhax] Problem with \begin{abstract} and \begin{keyword} In-Reply-To: Message-ID: <0B83D34A652C4761ACCF20CF2B9C1D0D@PGR1> > I'm a beginner with LaTex, and I'm preparing an article to > submit to Elsevier. So I'm using the elsarticle document > class. Well when I include the \begin{abstract}, and > \begin{keyword} nothing happens, nor even an error, but > nothing different appears were it should be. Something > similar occurs with the e-mail addresses of the preamble, > they don't appear in footnote. I've already consulted the > general and specific documentations. Furthermore the elsdoc > (the specific documentation) says that the \begin{abstract} > and \begin{keywords} must be in the preamble, it seems wrong > to me, ad when I do that I get an error. Why didn't you use the templates they provide? If you do that, you get the following, which works. \documentclass[1p,review,authoryear]{elsarticle} \usepackage{natbib} \usepackage[brazil]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \begin{document} \begin{frontmatter} \date{} \title{My Title)} \author[focal]{R.~Aluizio\corref{cor1}} \ead{e-mail address} \author[focal]{C.A.~Borzone\corref{cor2}} \ead{e-mail address} \cortext[cor1]{Principal Corresponding Author} \cortext[cor2]{Corresponding Author} \address[focal]{My Address} \begin{abstract} My article abstract \end{abstract} \begin{keyword} my \sep keywords \end{keyword} \end{frontmatter} \section{Introduction} ... From philip.ratcliffe at uninsubria.it Wed Oct 22 12:07:28 2008 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Wed, 22 Oct 2008 12:07:28 +0200 Subject: [texhax] (no subject) In-Reply-To: <1675.139.179.20.152.1224665412.squirrel@webmail.bilkent.edu.tr> Message-ID: > i have a problem about writing a constraints set > i write a constraint set like this > > \begin{align} > constraint1 \hspace{2 cm} forall k \label{s1} > \end{align} > > i want to see the part after for all in the next line whixh > they will be on right. i write it as; > > constraint1 \nonumber \\ > hspace{8cm}forall k \label{} > > but here hspace{} is not worked. my for all k and label part > is written in the next line bt they are always on the left > regrdless what is length on curly brackets of hspace. I'm not sure I really understand, but maybe somethng like this is what you want: \begin{align} constraint1 \nonumber \\ & \hspace{2 cm} \forall k \end{align} Anyway, since you are using "amsmath" and its "align" environment, why not also read its (rather good) manual and find out just what "align" is for and how it works? Cheers, Phil From r.aluizio at gmail.com Wed Oct 22 12:31:14 2008 From: r.aluizio at gmail.com (Rodrigo Aluizio) Date: Wed, 22 Oct 2008 08:31:14 -0200 Subject: [texhax] Problem with \begin{abstract} and \begin{keyword} References: <0B83D34A652C4761ACCF20CF2B9C1D0D@PGR1> Message-ID: Thanks Philip. It works. Rodrigo. -------------------------------------------------- From: "Philip G. Ratcliffe" Sent: Wednesday, October 22, 2008 7:12 AM To: "'Rodrigo Aluizio'" ; "'Tex User Group'" Subject: RE: [texhax] Problem with \begin{abstract} and \begin{keyword} >> I'm a beginner with LaTex, and I'm preparing an article to >> submit to Elsevier. So I'm using the elsarticle document >> class. Well when I include the \begin{abstract}, and >> \begin{keyword} nothing happens, nor even an error, but >> nothing different appears were it should be. Something >> similar occurs with the e-mail addresses of the preamble, >> they don't appear in footnote. I've already consulted the >> general and specific documentations. Furthermore the elsdoc >> (the specific documentation) says that the \begin{abstract} >> and \begin{keywords} must be in the preamble, it seems wrong >> to me, ad when I do that I get an error. > > Why didn't you use the templates they provide? If you do that, you get > the > following, which works. > > \documentclass[1p,review,authoryear]{elsarticle} > > \usepackage{natbib} > \usepackage[brazil]{babel} > \usepackage[latin1]{inputenc} > \usepackage[T1]{fontenc} > > \begin{document} > > \begin{frontmatter} > > \date{} > > \title{My Title)} > > \author[focal]{R.~Aluizio\corref{cor1}} > \ead{e-mail address} > > \author[focal]{C.A.~Borzone\corref{cor2}} > \ead{e-mail address} > > \cortext[cor1]{Principal Corresponding Author} > \cortext[cor2]{Corresponding Author} > \address[focal]{My Address} > > \begin{abstract} > My article abstract > \end{abstract} > > \begin{keyword} > my \sep keywords > \end{keyword} > > \end{frontmatter} > > \section{Introduction} > ... > From gin at mo.msk.ru Wed Oct 22 17:04:41 2008 From: gin at mo.msk.ru (Ilya N. Golubev) Date: Wed, 22 Oct 2008 19:04:41 +0400 Subject: [texhax] index entries in verbatim text? In-Reply-To: (E. Krishnan's message of "Sat, 18 Oct 2008 17:39:40 +0530 (IST)") References: <96od1jjn91.fsf@mo.msk.ru> <56prlt52ja.fsf@mo.msk.ru> Message-ID: <47abcwbrhy.fsf@mo.msk.ru> > Please see whether this helps: Even if abandon the issue of coding arbitrary characters to typeset verbatim, - no. As of `tetex-latex-3.0-4' `fancyvrb' v2.6, with DG/SPQR fixes <1998/07/17> (tvz) breaks `\index' commands easily. `\index{WORD!WORD}' works, `\index{WORD!WORD-W}' do not. Again, may even write to the package maintainer. From Bryan.Lepore at umassmed.edu Wed Oct 22 18:02:00 2008 From: Bryan.Lepore at umassmed.edu (Bryan W. Lepore) Date: Wed, 22 Oct 2008 12:02:00 -0400 (EDT) Subject: [texhax] random tip Message-ID: i thought this was interesting to see work : \begin{itemize} \item[1. ] first item \begin{verbatim} this % is % verbatim % text \end{verbatim} \item[2. ] last item \end{itemize} hope that helps someone -bryan From texhax at agogme.com Thu Oct 23 01:54:12 2008 From: texhax at agogme.com (Thomas Dukleth) Date: Wed, 22 Oct 2008 23:54:12 -0000 (UCT) Subject: [texhax] Control blank area at beginning of chapters Message-ID: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> I am using the memoir document class for a book and would like to control or eliminate the large vertical blank area at the beginning of each new chapter. I have been using a custom chapter style to eliminate unwanted chapter numbering. My current chapterstyle code which merely eliminates unwanted numbering is as follows. \makechapterstyle{nonumber}{% \renewcommand{\printchaptername}{} \renewcommand{\printchapternum}{ } } How can I modify this code or something else to control the large vertical blank area at the beginning of each new chapter? Thomas Dukleth Agogme 109 E 9th Street, 3D New York, NY 10003 USA http//www.agogme.com 212-674-3783 From daleif at imf.au.dk Thu Oct 23 11:58:39 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Thu, 23 Oct 2008 11:58:39 +0200 Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> Message-ID: <49004ACF.1070807@imf.au.dk> Thomas Dukleth wrote: > I am using the memoir document class for a book and would like to control > or eliminate the large vertical blank area at the beginning of each new > chapter. > > I have been using a custom chapter style to eliminate unwanted chapter > numbering. My current chapterstyle code which merely eliminates unwanted > numbering is as follows. > > \makechapterstyle{nonumber}{% > \renewcommand{\printchaptername}{} > \renewcommand{\printchapternum}{ } > } > > How can I modify this code or something else to control the large vertical > blank area at the beginning of each new chapter? > > it is a bit hard to know exactly what space you are talking about. Could you post a minimal (but full) document displaying a sample chapter, such that we can just copy'n'paste to our own systems and see if we can fix your problem. That makes it a lot easier for us. /daleif From mukesh.garg at aptaracorp.com Thu Oct 23 05:53:55 2008 From: mukesh.garg at aptaracorp.com (Mukesh Garg) Date: Thu, 23 Oct 2008 09:23:55 +0530 Subject: [texhax] Problem with dreating ps file Message-ID: <8FECCE508EA1784EA6DCA8F062318BD1041FDA4D@mail-x.del.techbooks.com> Dear Sir, We are working on UNIX platform and using TeTeX. My chapter has 3 GB of arts. When I am creating the ps file using dvips command, we are not getting the complete ps file. Sometimes, it is creating 2 GB .ps file and sometimes only 1 GB. Can you please help me resolving this issue. The command I am using to create .ps file is dvips -j0 -G0 -Ppdf filename Thanks in advance for all your help. TEAM = Together Everyone Achieves More Mukesh Garg Techbooks to Aptara - The Content Transformation Company Senior Manager - Workflow +91.11.4168 2424/2525 - ext 262 +91.98104 54557 - Mobile +91.11.41682828 - Fax mukesh.garg at aptaracorp.com A-28, Mohan Cooperative Industrial Estate Mathura Road, New Delhi - 110 044, INDIA www.aptaracorp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20081023/3ac4779d/attachment.html From vivrii at gmail.com Thu Oct 23 16:38:54 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Thu, 23 Oct 2008 10:38:54 -0400 Subject: [texhax] Problem with dreating ps file In-Reply-To: <8FECCE508EA1784EA6DCA8F062318BD1041FDA4D@mail-x.del.techbooks.com> References: <8FECCE508EA1784EA6DCA8F062318BD1041FDA4D@mail-x.del.techbooks.com> Message-ID: <19af81400810230738w799e8387q896c8b532def2d6d@mail.gmail.com> On Wed, Oct 22, 2008 at 11:53 PM, Mukesh Garg wrote: > Dear Sir, > > > > We are working on UNIX platform and using TeTeX. > > > > My chapter has 3 GB of arts. When I am creating the ps file using dvips > command, we are not getting the complete ps file. Sometimes, it is creating > 2 GB .ps file and sometimes only 1 GB. > > > > Can you please help me resolving this issue. The command I am using to > create .ps file is > > > > dvips ?j0 ?G0 ?Ppdf filename > > A week ago one of our posdocs encountered the similar problem with 1,000,000 dvi file and dying dvips (he had me think twice as big file). However pdflatex worked well; may be it will work for you too (if your art is in ps or eps you can convert it in pdf). HTH ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From madduck at madduck.net Thu Oct 23 20:55:02 2008 From: madduck at madduck.net (martin f krafft) Date: Thu, 23 Oct 2008 20:55:02 +0200 Subject: [texhax] page breaking figures Message-ID: <20081023185502.GA30262@piper.oerlikon.madduck.net> Hi folks, I need to include 2.5 pages of text as a figure in a document. Unfortunately, if I wrap it into a 'figure' environment, there won't be page breaks, because 'figure' is a float and floats are designed to be just that: non-breaking. In general, I don't care about the text being in a 'figure' environment, nor where it appears (I am happy to let it appear right where I have it in the source), but what I do want/need are a \caption and a \label with the same semantics as if I used them within a 'figure' environment. I looked across the Web and in the books I have, but without success. Could anyone possibly let me know how to do either of - make figure floats break across multiple pages - simulate non-floating figures? I found the nonfloat package, which promises to do the latter, but it appears overly complex, and the examples use minipages, which have the same problem: they won't break across pages, right? Any clues? -- martin | http://madduck.net/ | http://two.sentenc.es/ if you find a spelling mistake in the above, you get to keep it. spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) Url : http://tug.org/pipermail/texhax/attachments/20081023/1a483e23/attachment.bin From dafshartous at med.miami.edu Thu Oct 23 23:33:10 2008 From: dafshartous at med.miami.edu (David Afshartous) Date: Thu, 23 Oct 2008 17:33:10 -0400 Subject: [texhax] Bibtex question Message-ID: All, When using the "srt" bibliography style to get numbered references, is there a way to get consecutive numbers to print e.g. [1,2,3,4], or [1-4], instead of [1],[2],[3],[4]? As shown in \cite{Pinheiro/Bates:2000},\cite{Verbeke/Molenberghs:2000}, \cite{Gelman:2007}, \cite{Bryk/Raudenbush:1992}. \bibliographystyle{unsrt} \bibliography{references} Thanks! David From borisv at lk.net Thu Oct 23 23:46:51 2008 From: borisv at lk.net (Boris Veytsman) Date: Thu, 23 Oct 2008 17:46:51 -0400 Subject: [texhax] Bibtex question In-Reply-To: (message from David Afshartous on Thu, 23 Oct 2008 17:33:10 -0400) References: Message-ID: <200810232146.m9NLkpAP004202@bilbo.localnet> DA> Date: Thu, 23 Oct 2008 17:33:10 -0400 DA> From: David Afshartous DA> All, DA> When using the "srt" bibliography style to get numbered references, is there DA> a way to get consecutive numbers to print e.g. [1,2,3,4], or [1-4], instead DA> of [1],[2],[3],[4]? \usepackage{cite} -- Good luck -Boris Griffin's Thought: When you starve with a tiger, the tiger starves last. From tmsommers2 at gmail.com Fri Oct 24 00:54:45 2008 From: tmsommers2 at gmail.com (Thomas M. Sommers) Date: Thu, 23 Oct 2008 18:54:45 -0400 Subject: [texhax] Problem with dreating ps file In-Reply-To: <8FECCE508EA1784EA6DCA8F062318BD1041FDA4D@mail-x.del.techbooks.com> References: <8FECCE508EA1784EA6DCA8F062318BD1041FDA4D@mail-x.del.techbooks.com> Message-ID: On 10/22/08, Mukesh Garg wrote: > > We are working on UNIX platform and using TeTeX. > > My chapter has 3 GB of arts. When I am creating the ps file using dvips > command, we are not getting the complete ps file. Sometimes, it is creating > 2 GB .ps file and sometimes only 1 GB. It may be that your particular flavor of Unix limits file size to 2 GB. -- T. M. Sommers From madduck at madduck.net Fri Oct 24 09:45:01 2008 From: madduck at madduck.net (martin f krafft) Date: Fri, 24 Oct 2008 09:45:01 +0200 Subject: [texhax] page breaking figures In-Reply-To: <20081023185502.GA30262@piper.oerlikon.madduck.net> References: <20081023185502.GA30262@piper.oerlikon.madduck.net> Message-ID: <20081024074501.GA24279@piper.oerlikon.madduck.net> also sprach martin f krafft [2008.10.23.2055 +0200]: > I found the nonfloat package, which promises to do the latter, but > it appears overly complex, and the examples use minipages, which > have the same problem: they won't break across pages, right? Actually, after a good night's sleep, everything seems a bit easier: \documentclass{article} \usepackage{fancyvrb} \usepackage{nonfloat} \begin{document} \VerbatimInput[frame=lines,framesep=1em,label={[Begin of file]End of file}]{/etc/services} \figcaption{The file /etc/services} \end{document} I'd still prefer if there was a caption on every page, and on the top of every page there was a continuation notice, but this will do for now. If anyone has a better idea, please let me know! -- martin | http://madduck.net/ | http://two.sentenc.es/ "there are two major products that come out of berkeley: lsd and unix." one caused me an addiction -- fyodor spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) Url : http://tug.org/pipermail/texhax/attachments/20081024/22edee94/attachment-0001.bin From s.schwartz at imperial.ac.uk Fri Oct 24 11:00:33 2008 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Fri, 24 Oct 2008 10:00:33 +0100 Subject: [texhax] Bibtex question In-Reply-To: References: Message-ID: <1224838833.4665.1.camel@sony-sjs.sp.ph.ic.ac.uk> David, On Thu, 2008-10-23 at 17:33 -0400, David Afshartous wrote: > When using the "srt" bibliography style to get numbered references, is > there > a way to get consecutive numbers to print e.g. [1,2,3,4], or [1-4], > instead > of [1],[2],[3],[4]? > > As shown in \cite{Pinheiro/Bates:2000}, > \cite{Verbeke/Molenberghs:2000}, > \cite{Gelman:2007}, \cite{Bryk/Raudenbush:1992}. You might get more consistent results with a single \cite command, i.e., \cite{Pinheiro/Bates:2000,Verbeke/Molenberghs:2000,Gelman:2007,Bryk/Raudenbush:1992}. (untested) Steve -- +-------------------------------------------------------------------+ Professor Steven J Schwartz Phone: +44-(0)20-7594-7660 Space and Atmospheric Physics Fax: +44-(0)20-7594-7772 The Blackett Laboratory E-mail: s.schwartz at imperial.ac.uk Imperial College London Office: Huxley 6M70 London SW7 2AZ, U.K. Web: http://www.sp.ph.ic.ac.uk/~sjs +-------------------------------------------------------------------+ From asnd at triumf.ca Fri Oct 24 11:43:52 2008 From: asnd at triumf.ca (Donald Arseneau) Date: 24 Oct 2008 02:43:52 -0700 Subject: [texhax] Bibtex question In-Reply-To: References: Message-ID: David Afshartous writes: > a way to get consecutive numbers to print e.g. [1,2,3,4], or [1-4], instead > of [1],[2],[3],[4]? > > As shown in \cite{Pinheiro/Bates:2000},\cite{Verbeke/Molenberghs:2000}, > \cite{Gelman:2007}, \cite{Bryk/Raudenbush:1992}. \cite{Pinheiro/Bates:2000, Verbeke/Molenberghs:2000, Gelman:2007, Bryk/Raudenbush:1992} Use cite.sty or natbib.sty or others for sorting and "ranges". -- Donald Arseneau asnd at triumf.ca From asnd at triumf.ca Fri Oct 24 11:42:01 2008 From: asnd at triumf.ca (Donald Arseneau) Date: 24 Oct 2008 02:42:01 -0700 Subject: [texhax] page breaking figures In-Reply-To: <20081023185502.GA30262@piper.oerlikon.madduck.net> References: <20081023185502.GA30262@piper.oerlikon.madduck.net> Message-ID: martin f krafft writes: > I need to include 2.5 pages of text as a figure in a document. ... > a \caption and a \label with the same semantics as if I used them > within a 'figure' environment. \makeatletter \renewcommand\@captype{figure} \makeatother thereafter, any isolated \captions will be interpreted as figure captions. See also captionof.sty and others. > Any clues? this is probably a FAQ at http://www.tex.ac.uk/cgi-bin/texfaq2html -- Donald Arseneau asnd at triumf.ca From madduck at madduck.net Fri Oct 24 13:29:48 2008 From: madduck at madduck.net (martin f krafft) Date: Fri, 24 Oct 2008 13:29:48 +0200 Subject: [texhax] page breaking figures In-Reply-To: References: <20081023185502.GA30262@piper.oerlikon.madduck.net> Message-ID: <20081024112948.GB3476@piper.oerlikon.madduck.net> also sprach Donald Arseneau [2008.10.24.1142 +0200]: > See also captionof.sty and others. Yeah, that was part of the problem: there are too many options, and none do what I want. I now have an acceptable solution using float and caption. Note that with a newer caption package, \DeclareCaptionType replaces the need for the float package entirely. See the attached file. -- martin | http://madduck.net/ | http://two.sentenc.es/ "when a woman marries again it is because she detested her first husband. when a man marries again it is because he adored his first wife. women try their luck; men risk theirs." -- oscar wilde spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: page-breaking-fileincludes.tex Type: text/x-tex Size: 945 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20081024/4970ce17/attachment.bin -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) Url : http://tug.org/pipermail/texhax/attachments/20081024/4970ce17/attachment-0001.bin From will.adams at frycomm.com Fri Oct 24 14:45:03 2008 From: will.adams at frycomm.com (William Adams) Date: Fri, 24 Oct 2008 08:45:03 -0400 Subject: [texhax] OT: WillAdams' web pages changing location Message-ID: Due to AOL's ``sunsetting'' FTP / web hosting I've been forced to find a new service provider, so my URL is now: http://mysite.verizon.net/william_franklin_adams/ (used to be http://members.aol.com/willadams) Anyway, if anyone referred to or made use of the pages or their contents, you'll know where to look when they disappear later next week. Thanks! And please accept my apologies for the inconvenience. William -- William Adams senior graphic designer Fry Communications From toms at ncifcrf.gov Fri Oct 24 15:44:18 2008 From: toms at ncifcrf.gov (Tom Schneider) Date: Fri, 24 Oct 2008 09:44:18 -0400 (EDT) Subject: [texhax] OT: WillAdams' web pages changing location In-Reply-To: from William Adams at "Oct 24, 2008 08:45:03 am" Message-ID: <200810241344.m9ODiILV000440@strawberry.ncifcrf.gov> William: > http://mysite.verizon.net/william_franklin_adams/ Thanks for the alert, I corrected the links at http://www.ccrnp.ncifcrf.gov/~toms/latex.html The new links work fine. 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 madduck at madduck.net Fri Oct 24 16:54:50 2008 From: madduck at madduck.net (martin f krafft) Date: Fri, 24 Oct 2008 16:54:50 +0200 Subject: [texhax] page breaking figures In-Reply-To: <20081024112948.GB3476@piper.oerlikon.madduck.net> References: <20081023185502.GA30262@piper.oerlikon.madduck.net> <20081024112948.GB3476@piper.oerlikon.madduck.net> Message-ID: <20081024145450.GA14216@piper.oerlikon.madduck.net> also sprach martin f krafft [2008.10.24.1329 +0200]: > I now have an acceptable solution using float and caption. Note > that with a newer caption package, \DeclareCaptionType replaces the > need for the float package entirely. The "solution" does not work with hyperref. As soon as I use the name passed to \label{} in a \ref{}, latex runs fine for one invocation, bitches about unresolved references, asks me to rerun, but as soon as I do, it dies: ! Undefined control sequence. email.\theHemail on the line of the \ref{}. Thoughts? -- martin | http://madduck.net/ | http://two.sentenc.es/ anyone who says sunshine brings happiness has never danced in the rain. spamtraps: madduck.bogus at madduck.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature (see http://martin-krafft.net/gpg/) Url : http://tug.org/pipermail/texhax/attachments/20081024/ce564090/attachment.bin From reinhard.kotucha at web.de Sat Oct 25 05:57:39 2008 From: reinhard.kotucha at web.de (Reinhard Kotucha) Date: Sat, 25 Oct 2008 05:57:39 +0200 Subject: [texhax] Problem with dreating ps file In-Reply-To: References: <8FECCE508EA1784EA6DCA8F062318BD1041FDA4D@mail-x.del.techbooks.com> Message-ID: <18690.39219.761815.152103@zaphod.ms25.net> Thomas M. Sommers writes: >On 10/22/08, Mukesh Garg wrote: >> >> We are working on UNIX platform and using TeTeX. >> >> My chapter has 3 GB of arts. When I am creating the ps file using dvips >> command, we are not getting the complete ps file. Sometimes, it is creating >> 2 GB .ps file and sometimes only 1 GB. > > It may be that your particular flavor of Unix limits file size to 2 GB. Maybe, maybe not: >> and sometimes only 1 GB. More information is needed: Which Unix, which shell, and so on. Is it possible to install Bash? The latter would make it easier to reproduce the problem on other systems. 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 vivrii at gmail.com Sat Oct 25 13:31:05 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Sat, 25 Oct 2008 07:31:05 -0400 Subject: [texhax] toc: two questions Message-ID: <19af81400810250431k271a2196l4712c4f0580f5d5a@mail.gmail.com> With documentclass memoir I have a couple of questions: 1) I use concise and detailed toc \setcounter{tocdepth}{0} \tableofcontents* \dominitoc \setcounter{tocdepth}{3} \tableofcontents* However how I can change the name of toc in the first case from Contents to "Short Contents" ? 2) Some lines in the toc are too long and they are broken only when the whole width of the text area is covered like Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah 123 while I want to break them automatically as Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah 123 Is it possible? Can I specify the length of the toc line (excluding page numbers)? 3) Just if someone remembers: what is a correct order \chapter[toc title][header title]{title} or \chapter[header title][toc title]{title} and for \section - how one can insert [minitoc title] (if it is possible to make it distinct from [toc title] Thank you very much in advance Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From daleif at imf.au.dk Sun Oct 26 18:38:09 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Sun, 26 Oct 2008 18:38:09 +0100 Subject: [texhax] toc: two questions In-Reply-To: <19af81400810250431k271a2196l4712c4f0580f5d5a@mail.gmail.com> References: <19af81400810250431k271a2196l4712c4f0580f5d5a@mail.gmail.com> Message-ID: <4904AB01.8050709@imf.au.dk> Victor Ivrii wrote: > With documentclass memoir I have a couple of questions: > > > 1) I use concise and detailed toc > > \setcounter{tocdepth}{0} > \tableofcontents* > \dominitoc > \setcounter{tocdepth}{3} > \tableofcontents* > > However how I can change the name of toc in the first case from > Contents to "Short Contents" ? \begingroup \renewcommand\contentsname{What ever new name} \setcounter{tocdepth}{0} \tableofcontents* \dominitoc \endgroup ... > > 2) Some lines in the toc are too long and they are broken only when > the whole width of the text area is covered like > > Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah > Blah Blah Blah Blah > Blah Blah Blah Blah Blah Blah Blah Blah > 123 > > while I want to break them automatically as > > Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah > Blah Blah > Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah > 123 > > Is it possible? Can I specify the length of the toc line (excluding > page numbers)? they are governed by what is left over from the left number area plus the right number area, see the drawing in the memoir manual > > 3) Just if someone remembers: what is a correct order > > \chapter[toc title][header title]{title} > > or > > \chapter[header title][toc title]{title} > try it out, or see the manual, it is all there. > and for \section - how one can insert [minitoc title] (if it is > possible to make it distinct from [toc title] > the three argument feature is available for all the sectional macros > > Thank you very much in advance > > Victor > /daleif From freitas at engebras.com.br Mon Oct 27 13:51:38 2008 From: freitas at engebras.com.br (Rodrigo Freitas) Date: Mon, 27 Oct 2008 10:51:38 -0200 Subject: [texhax] Wrong unnumbered subsections position in ToC Message-ID: <200810271051.38602.freitas@engebras.com.br> Hello, I'm using the tocloft package to change the table of contents of my document. All entries in the ToC must be left aligned, everything is ok except the unnumbered subsections (\subsection*). Below is the code that I'm using to do this: \usepackage[titles]{tocloft} ... \cftsetindents{chapter}(0cm}{1.5cm} \cftsetindents{section}(0cm}{1.5cm} \cftsetindents{subsection}(0cm}{1.5cm} Here is the result: 1 Chapter 1 1.1 Section 1 1.1.1 Subsection 1 Unnumbered subsection 1 Glossary 2 What I'm trying to do is something like this: 1 Chapter 1 1.1 Section 1 1.1.1 Subsection 1 Unnumbered subsection 1 Glossary 2 Can anyone help me? Thanks. -- "All work and no play makes Jack a dull boy" Rodrigo Freitas freitas at engebras.com.br From dexter at bsdfund.org Mon Oct 27 14:29:41 2008 From: dexter at bsdfund.org (Michael Dexter) Date: Mon, 27 Oct 2008 15:29:41 +0200 Subject: [texhax] TeX and make Message-ID: <4905C245.9090309@bsdfund.org> Hello, The question came up of how TeX plays friendly with make and incremental compiling. That is, a whole TeX project must be re-built if any component changes or is simply "touched." Do any tools exist to create the equivalent of a .o object file that is re-liked to the larger work? Else, has anyone ever voiced concern about this and proposed a solution? Thanks, Michael From martin at oneiros.de Mon Oct 27 15:16:41 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Mon, 27 Oct 2008 15:16:41 +0100 Subject: [texhax] TeX and make In-Reply-To: <4905C245.9090309@bsdfund.org> References: <4905C245.9090309@bsdfund.org> Message-ID: <68c491a60810270716w66c10732xa2ba32a0e4617524@mail.gmail.com> 2008/10/27 Michael Dexter : > The question came up of how TeX plays friendly with make and incremental > compiling. That is, a whole TeX project must be re-built if any > component changes or is simply "touched." No. LaTeX has \include and \includeonly. Best Martin From texhax at agogme.com Mon Oct 27 17:16:47 2008 From: texhax at agogme.com (Thomas Dukleth) Date: Mon, 27 Oct 2008 16:16:47 -0000 (UCT) Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <49004ACF.1070807@imf.au.dk> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> <49004ACF.1070807@imf.au.dk> Message-ID: <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> Reply inline: On Thu, October 23, 2008 9:58 am, Lars Madsen wrote: > Thomas Dukleth wrote: >> I am using the memoir document class for a book and would like to >> control >> or eliminate the large vertical blank area at the beginning of each new >> chapter. >> [..] I have commented out my custom chapter style based on the memoir class and used the following code based on the titlesec package. My question about modifying this or some other code remains. \titleformat{\chapter}[display]{\filcenter\sc\Huge}{\thechapter}{0pt}{}{} >> How can I modify this code or something else to control the large >> vertical >> blank area at the beginning of each new chapter? >> >> > > it is a bit hard to know exactly what space you are talking about. Could > you post a minimal (but full) document displaying a sample chapter, such > that we can just copy'n'paste to our own systems and see if we can fix > your problem. That makes it a lot easier for us. [...] I hope the following minimal but full LaTeX document is sufficiently minimal while full enough to demonstrate the issue. Look at how the table of contents page title, "CONTENTS", appears at a higher point on the page than chapter titles. Before modifying the table of contents title with the tocloft package using the following code, the table of contents title had appeared at a lower point on the page much more like the chapter titles. \def\tableofcontents{\section*{\centering CONTENTS}\@starttoc{toc}} Chapter titles in the minimal LaTeX document are "ACKNOWLEDGEMENTS", "THE HOUSE OF MAPUHI", and "THE WHALE TOOTH". \documentclass[12pt,english,oldfontcommands]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{geometry} \usepackage{titlesec} \usepackage{titletoc} \usepackage{subfigure} \usepackage[titles,subfigure][tocloft] \usepackage{fix-cm} \usepackage{lettrine} \usepackage{graphics} \usepackage{longtable} \usepackage{times} \usepackage[normalem]{ulem} \usepackage{babel} \geometry{verbose,paperwidth=5.5in,paperheight=8.5in} \makeatletter \pdfpageheight 8.5in \pdfpagewidth 5.5in \paperheight 8.5in \paperwidth 5.5in \addtolength\topmargin{-0.25in} \addtolength\oddsidemargin{-0.25in} \addtolength\evensidemargin{-0.5in} \addtolength\textheight{1.25in} \addtolength\textwidth{0.75in} \setlength\headsep{12pt} \setlength\marginparsep{0pt} \setlength\marginparwidth{0pt} \setlength\footskip{0pt} % \renewcommand{\aftertoctitle}{\thispagestyle{empty}\afterchaptertitle} % Superceded by titlesec package commands % \makechapterstyle{nonumber}{% % \renewcommand{\printchaptername}{} % \renewcommand{\printchapternum}{ } % } % \chapterstyle{nonumber} \renewcommand{\sectionmark}[1]{\markright{#1}{}} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \pagestyle{myheaders} % Original suggestion % http://for.mat.bham.ac.uk/pgweb/archive/2000/pgweb_academic_latex.html %% \titleformat{\chapter}[display]{\filcenter\sc\Huge}{\chaptertitlename\,\,\thechapter}{0pt}{}{} \titleformat{\part}[display]{\filcenter\sc\Huge}{\thepart}{0pt}{}{} \titleformat{\chapter}[display]{\filcenter\sc\Huge}{\thechapter}{0pt}{}{} \titleformat{\section}[display]{\filcenter\sc\Huge}{\thesection}{0pt}{}{} % From the titlesec package documentation: %% \titleformat{\chapter}[display] %% {...}{...}{...} % Your definitions come here %% [\vspace*{4pc}% %% \startcontents %% \printcontents{l}{1}{\setcounter{tocdepth}{2}}] % Original suggestions % http://allmybrain.com/2007/11/20/a-few-latex-tips/ \def\tableofcontents{\section*{\centering CONTENTS}\@starttoc{toc}} % Next suggestions fail as undefined and the definition alternatives % are ineffective. % change section headers and page numbers to normal instead of bold font % \renewcommand{\cftsecfont}{ % \normalfont % } \def\cftsecfont{\normalfont} % \renewcommand{\cftsecpagefont}{% % \normalfont % } \def\cftsecpagefont{\normalfont} % Original suggestion % http://www.prashblog.com/2008/08/remove-dots-in-table-of-contents-in.html % Does this work? \renewcommand{\@dotsep}{10000} % \renewcommand{\cftZtitlefont}{\hfill\Large\itshape} % \renewcommand{\cftZtitlefont}{\filcenter\sc\Huge\normalfont} \makeatother \begin{document} \frontmatter \thispagestyle{empty} \begin{center} {\fontsize{30pt}{36pt}\selectfont{ \hfill{}\\}} {\fontsize{36pt}{42pt}\selectfont{S}}{\fontsize{30pt}{36pt}\selectfont{OUTH}} {\fontsize{36pt}{42pt}\selectfont{ S}}{\fontsize{30pt}{36pt}\selectfont{EA}} {\fontsize{36pt}{42pt}\selectfont{ T}}{\fontsize{30pt}{36pt}\selectfont{ALES\\}} {\fontsize{36pt}{42pt}\selectfont{ \hfill{}\\}} {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \end{center} \fontsize{12pt}{15pt}\selectfont{} \newpage{} \thispagestyle{empty} {\parindent=0em Library Publication Data. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}}} \newpage{} \thispagestyle{empty} \markboth{SOUTH SEA TALES}{CONTENTS} \renewcommand{\contentsname}{CONTENTS} \tableofcontents \newpage{} \chapter*{ACKNOWLEDGEMENTS} \addcontentsline{toc}{chapter}{\numberline{}Acknowledgements} \thispagestyle{empty} \markboth{SOUTH SEA TALES}{ACKNOWLEDGEMENTS} {\parindent=0em >From the Project Gutenberg Ebook notices,\\ http://www.gutenberg.org/dirs/etext98/soset11.txt:\\ {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}}} \newpage{} \mainmatter \chapter*{THE HOUSE OF MAPUHI} \addcontentsline{toc}{chapter}{\numberline{1.}The House of Mapuhi} \thispagestyle{empty} \markboth{SOUTH SEA TALES}{THE HOUSE OF MAPUHI} \lettrine{D}{espite} the heavy clumsiness of her lines, the \emph{Aorai} handled easily in the light breeze, and her captain ran her well in before he hove to just outside the suck of the surf. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \newpage{} ``Then give me something to eat, for I am hungry,'' said Nauri, complacently. ``And after that we will sleep, for I am weary. And tomorrow we will have more talk about the house before we sell the pearl. It will be better if we take the thousand French in cash. Money is ever better than credit in buying goods from the traders.'' \chapter*{THE WHALE TOOTH} \addcontentsline{toc}{chapter}{\numberline{2.}The Whale Tooth} \thispagestyle{empty} \markboth{SOUTH SEA TALES}{THE WHALE TOOTH} \lettrine{I}{t} was in the early days in Fiji, when John Starhurst arose in the mission house at Rewa Village and announced his intention of carrying the gospel throughout all Viti Levu. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \end{document} Thomas Dukleth Agogme 109 E 9th Street, 3D New York, NY 10003 USA http//www.agogme.com 212-674-3783 From will.adams at frycomm.com Mon Oct 27 18:43:08 2008 From: will.adams at frycomm.com (William Adams) Date: Mon, 27 Oct 2008 13:43:08 -0400 Subject: [texhax] TeX and make In-Reply-To: <4905C245.9090309@bsdfund.org> References: <4905C245.9090309@bsdfund.org> Message-ID: <6E00C8CD-DC7B-41A4-8CF9-AEA4BD7EA61B@frycomm.com> On Oct 27, 2008, at 9:29 AM, Michael Dexter wrote: > The question came up of how TeX plays friendly with make and > incremental > compiling. That is, a whole TeX project must be re-built if any > component changes or is simply "touched." > > Do any tools exist to create the equivalent of a .o object file that > is > re-liked to the larger work? Else, has anyone ever voiced concern > about > this and proposed a solution? This should be doable --- make a change to one chapter, process only that chapter, then process the entire book once --- the difficult part would be tracking the number of pages in a given chapter and then processing all following chapters if the number of pages changes. There is latexmk --- have you looked at it? http://www.phys.psu.edu/~collins/software/latexmk-jcc/ William -- William Adams senior graphic designer Fry Communications From freedman at physics.cornell.edu Tue Oct 28 05:15:22 2008 From: freedman at physics.cornell.edu (Daniel Freedman) Date: Tue, 28 Oct 2008 00:15:22 -0400 Subject: [texhax] Paper size issues with RevTeX in combination with pdfTeX... Message-ID: <20081028041522.GP18248@cpe-67-241-17-133.twcny.res.rr.com> Hi, I know paper-size questions are somewhat scorned, but I'm having difficulty with this issue (after a number of hours of investigation). I've searched both the texhax and pdfTeX-specific mailing lists for this, as well as Google's cache in general, but to no avail. My setup is based upon teTeX 2.0.2c-8 on Debian 3.1, but I suspect the situation is similar in newer TeX distributions as well. RevTeX4 allows one to specifically define the papersize as an option to the class: \documentclass[letterpaper]{revtex4} This works fine for me when compiling with the LaTeX -> dvips -> ps2pdf route. However, it does not work for me with pdfTeX. Instead, that compilation route seems to instead extract page size from the options in '/etc/texmf/pdftex/pdftex.cfg' (similar to '/usr/share/texmf-texlive/tex/generic/config/pdftexconfig.tex' in a newer texlive distribution in Debian 4.0), which is not editable by non-root users, and thus a non-ideal solution for correcting this in general. I'm well aware that the standard solution would be to include the 'geometry' package and then specify the size directly in the LaTeX source. Unfortunately, 'geometry' greatly munges RevTeX's layout, and thus is not a solution that would still allow for APS journal submission. I greatly appreciate any guidance. Thanks kindly, Daniel -- 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/20081028/4a2542e2/attachment.bin From holy at wustl.edu Tue Oct 28 10:52:00 2008 From: holy at wustl.edu (Tim Holy) Date: Tue, 28 Oct 2008 04:52:00 -0500 Subject: [texhax] sidecap + wrap In-Reply-To: <200810161735.45487.holy@wustl.edu> References: <200810161735.45487.holy@wustl.edu> Message-ID: <200810280452.00831.holy@wustl.edu> Hi, Well, I think I mostly have this figured out on my own. However, my solution required that I write my own caption-generating macro, which looks like this: \newcommand{\captiontext}[1]{\refstepcounter{figure} {\captionfont {\captionlabelfont \figurename~\thefigure: }#1} } This works for figures, but is there a way to make a generic macro that works for figures, tables, and any other floats? I've spent quite some time looking through caption.sty for inspiration, but so far I can't get this to work properly. Best, --Tim On Thursday 16 October 2008, Tim Holy wrote: > Hello, > > I've been a LaTeX user for some time, but have never delved into hacking it > before, and I'm quite a novice; please pardon my ignorance. > > I'm writing a grant application with very limited space. To help save > space, I want the figure captions to be as space efficient as possible. > Since my captions tend to be long (they explain a lot of details about the > figures), what I want is something like "sidecap", but that when the > caption reaches the bottom of the figure, it then fills the entire > available width. Schematically, if "F" indicates region occupied by figure, > and "C" indicates region occupied by caption, then standard figures are > like this: > > FFFFF > FFFFF > FFFFF > CCCCCCCCCCCCCCCCCCCCC > CCCCCCCCCCCCCCCCCCCCC > CCCCCCCCCCCCCCCCCCCCC > CCCCCCCCCC > > (this email may be best viewed with a fixed-width font!) and sidecap gives > you figures like this: > > CCCCCCCCCCCCCCC > CCCCCCCCCCCCCCC > CCCCCCCCCCCCCCC > FFFFF CCCCCCCCCCCCCCC > FFFFF CCCCCCCCCCCCCCC > FFFFF CCCCCCCCCCCCC > > (notice the blank space above the figure, because the caption is bigger > than the figure) and what I want is this: > > FFFFF CCCCCCCCCCCCCCC > FFFFF CCCCCCCCCCCCCCC > FFFFF CCCCCCCCCCCCCCC > CCCCCCCCCCCCCCCCCCCCC > CCCCCCCCCCCCCCC > > It turns out that this effect isn't too hard to achieve, but the way I've > done it requires a lot of manual tweaking; I can't help but think that > there must be a better way. > > Here's the really awful manual method: > > \documentclass{article} > \usepackage{graphicx} > > \newcount\thisfigindentedlines > \newlength{\thisfigurewidth} > \newlength{\thiscaptionindent} > \newlength{\thisremaininglength} > \newlength{\captionsep} > \setlength{\captionsep}{0.15in} > \newlength{\extravspace} > \setlength{\extravspace}{-0.25in} > > \newcommand{\setcaptionlengths}{ > \setlength{\thiscaptionindent}{\thisfigurewidth} > \addtolength{\thiscaptionindent}{\captionsep} > \setlength{\thisremaininglength}{\columnwidth} > \addtolength{\thisremaininglength}{-\thiscaptionindent} > } > > \begin{document} > > This is a test document to see if I can develop a version of > side-captioning that wraps any extra text around the bottom of a figure. > > \def\thisfigureheight{1.25in} > \setlength{\thisfigurewidth}{3.5in} > \setcaptionlengths > \begin{figure} > \includegraphics[height=\thisfigureheight]{gull}\quad > \includegraphics[height=\thisfigureheight]{tiger} > \vspace{-\thisfigureheight} > \vspace{\extravspace} > \caption{ > \parshape=10 \thiscaptionindent \thisremaininglength \thiscaptionindent > \thisremaininglength \thiscaptionindent \thisremaininglength > \thiscaptionindent \thisremaininglength \thiscaptionindent > \thisremaininglength \thiscaptionindent \thisremaininglength > \thiscaptionindent \thisremaininglength \thiscaptionindent > \thisremaininglength \thiscaptionindent \thisremaininglength 0pt > \columnwidth ({\bf A}) A gull. This is a bird. It's a sea bird. You know, > one that flies out over the ocean. I don't know much about gulls, so I > don't know what more to say about them. {\bf B} A tiger. They're big. I > hear they're friendly, at least when they don't intend to eat you. > Certainly, they're really strong. They like water. > } > \end{figure} > > \end{document} > > > > Note the many ways that this solution could be improved: > 1. I use the \parshape command with an explicit number of indented lines; > but this seems silly, because I already have a variable that contains the > height of the figure. It seems that I should be able to calculate the > number of lines (from \thisfigureheight and \baselineskip) and then put > this in a loop. But I'm not having any luck with a construct like this: > > \def\parshapecmd{} > \loop\ifnum\thisfigindentedlines>1 > \advance\thisfigindentedlines by -1 > \def\parshapecmd{\parshapecmd \thiscaptionindent \thisremaininglength} > \repeat > \def\parshapecmd{\parshapecmd 0pt \columnwidth} > > I just don't know enough TeX to know what's wrong with it. > > 2. At the end of the \includegraphics commands, it seems that there should > be some way of knowing "where you are" (i.e., where the "cursor" is) so > that you know both the height and width of the inserted graphics. That way, > the user doesn't have to explicitly specify widths and heights. > > I'm envisioning that this should be as easy as: > > \def\thisfigureheight{1.25in} % needed only because there are 2 images > \begin{figure} > \includegraphics[height=\thisfigureheight]{gull}\quad > \includegraphics[height=\thisfigureheight]{tiger} > \sidecapwrap{ > ({\bf A}) A gull.... > } > \end{figure} > > Can anyone offer advice? > > Thanks, > --Tim > _______________________________________________ > 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 daleif at imf.au.dk Tue Oct 28 12:09:48 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 28 Oct 2008 12:09:48 +0100 Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> <49004ACF.1070807@imf.au.dk> <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> Message-ID: <4906F2FC.9000601@imf.au.dk> Thomas Dukleth wrote: > Reply inline: > would you please post something that actually compiles without errors > > On Thu, October 23, 2008 9:58 am, Lars Madsen wrote: >> Thomas Dukleth wrote: >>> I am using the memoir document class for a book and would like to >>> control >>> or eliminate the large vertical blank area at the beginning of each new >>> chapter. >>> > > [..] > > I have commented out my custom chapter style based on the memoir class and > used the following code based on the titlesec package. My question about > modifying this or some other code remains. > > \titleformat{\chapter}[display]{\filcenter\sc\Huge}{\thechapter}{0pt}{}{} > >>> How can I modify this code or something else to control the large >>> vertical >>> blank area at the beginning of each new chapter? >>> >>> >> it is a bit hard to know exactly what space you are talking about. Could >> you post a minimal (but full) document displaying a sample chapter, such >> that we can just copy'n'paste to our own systems and see if we can fix >> your problem. That makes it a lot easier for us. > > [...] > > I hope the following minimal but full LaTeX document is sufficiently > minimal while full enough to demonstrate the issue. > > Look at how the table of contents page title, "CONTENTS", appears at a > higher point on the page than chapter titles. Before modifying the table > of contents title with the tocloft package using the following code, the > table of contents title had appeared at a lower point on the page much > more like the chapter titles. > > \def\tableofcontents{\section*{\centering CONTENTS}\@starttoc{toc}} > > Chapter titles in the minimal LaTeX document are "ACKNOWLEDGEMENTS", "THE > HOUSE OF MAPUHI", and "THE WHALE TOOTH". > > \documentclass[12pt,english,oldfontcommands]{memoir} > \usepackage[T1]{fontenc} > \usepackage[utf8]{inputenc} > \usepackage{geometry} > \usepackage{titlesec} > \usepackage{titletoc} > \usepackage{subfigure} > \usepackage[titles,subfigure][tocloft] > \usepackage{fix-cm} > \usepackage{lettrine} > \usepackage{graphics} > \usepackage{longtable} > \usepackage{times} > \usepackage[normalem]{ulem} > \usepackage{babel} > > \geometry{verbose,paperwidth=5.5in,paperheight=8.5in} > > \makeatletter > \pdfpageheight 8.5in > \pdfpagewidth 5.5in > \paperheight 8.5in > \paperwidth 5.5in > \addtolength\topmargin{-0.25in} > \addtolength\oddsidemargin{-0.25in} > \addtolength\evensidemargin{-0.5in} > \addtolength\textheight{1.25in} > \addtolength\textwidth{0.75in} > \setlength\headsep{12pt} > \setlength\marginparsep{0pt} > \setlength\marginparwidth{0pt} > \setlength\footskip{0pt} > > % \renewcommand{\aftertoctitle}{\thispagestyle{empty}\afterchaptertitle} > > % Superceded by titlesec package commands > % \makechapterstyle{nonumber}{% > % \renewcommand{\printchaptername}{} > % \renewcommand{\printchapternum}{ } > % } > > % \chapterstyle{nonumber} > \renewcommand{\sectionmark}[1]{\markright{#1}{}} > \renewcommand{\chaptermark}[1]{\markboth{#1}{}} > > \pagestyle{myheaders} > > % Original suggestion > % http://for.mat.bham.ac.uk/pgweb/archive/2000/pgweb_academic_latex.html > %% > \titleformat{\chapter}[display]{\filcenter\sc\Huge}{\chaptertitlename\,\,\thechapter}{0pt}{}{} > > \titleformat{\part}[display]{\filcenter\sc\Huge}{\thepart}{0pt}{}{} > \titleformat{\chapter}[display]{\filcenter\sc\Huge}{\thechapter}{0pt}{}{} > \titleformat{\section}[display]{\filcenter\sc\Huge}{\thesection}{0pt}{}{} > > % From the titlesec package documentation: > %% \titleformat{\chapter}[display] > %% {...}{...}{...} % Your definitions come here > %% [\vspace*{4pc}% > %% \startcontents > %% \printcontents{l}{1}{\setcounter{tocdepth}{2}}] > > % Original suggestions > % http://allmybrain.com/2007/11/20/a-few-latex-tips/ > \def\tableofcontents{\section*{\centering CONTENTS}\@starttoc{toc}} > > % Next suggestions fail as undefined and the definition alternatives > % are ineffective. > % change section headers and page numbers to normal instead of bold font > % \renewcommand{\cftsecfont}{ > % \normalfont > % } > \def\cftsecfont{\normalfont} > % \renewcommand{\cftsecpagefont}{% > % \normalfont > % } > \def\cftsecpagefont{\normalfont} > > % Original suggestion > % http://www.prashblog.com/2008/08/remove-dots-in-table-of-contents-in.html > % Does this work? > \renewcommand{\@dotsep}{10000} > > % \renewcommand{\cftZtitlefont}{\hfill\Large\itshape} > % \renewcommand{\cftZtitlefont}{\filcenter\sc\Huge\normalfont} > > \makeatother > > > \begin{document} > \frontmatter > \thispagestyle{empty} > > \begin{center} > {\fontsize{30pt}{36pt}\selectfont{ > \hfill{}\\}} > {\fontsize{36pt}{42pt}\selectfont{S}}{\fontsize{30pt}{36pt}\selectfont{OUTH}} > {\fontsize{36pt}{42pt}\selectfont{ S}}{\fontsize{30pt}{36pt}\selectfont{EA}} > {\fontsize{36pt}{42pt}\selectfont{ > T}}{\fontsize{30pt}{36pt}\selectfont{ALES\\}} > {\fontsize{36pt}{42pt}\selectfont{ > \hfill{}\\}} > {\LARGE{ > \hfill{}\\ > \hfill{}\\ > bla, bla, bla\ldots{}\\ > \hfill{}\\ > \hfill{}\\}} > > \end{center} > \fontsize{12pt}{15pt}\selectfont{} > > \newpage{} > \thispagestyle{empty} > > {\parindent=0em > Library Publication Data. > > {\LARGE{ > \hfill{}\\ > \hfill{}\\ > bla, bla, bla\ldots{}\\ > \hfill{}\\ > \hfill{}\\}}} > > \newpage{} > > \thispagestyle{empty} > \markboth{SOUTH SEA TALES}{CONTENTS} > \renewcommand{\contentsname}{CONTENTS} > \tableofcontents > > \newpage{} > > \chapter*{ACKNOWLEDGEMENTS} > \addcontentsline{toc}{chapter}{\numberline{}Acknowledgements} > \thispagestyle{empty} > \markboth{SOUTH SEA TALES}{ACKNOWLEDGEMENTS} > > {\parindent=0em > >>From the Project Gutenberg Ebook notices,\\ > http://www.gutenberg.org/dirs/etext98/soset11.txt:\\ > > {\LARGE{ > \hfill{}\\ > \hfill{}\\ > bla, bla, bla\ldots{}\\ > \hfill{}\\ > \hfill{}\\}}} > > \newpage{} > > \mainmatter > > \chapter*{THE HOUSE OF MAPUHI} > \addcontentsline{toc}{chapter}{\numberline{1.}The House of Mapuhi} > \thispagestyle{empty} > \markboth{SOUTH SEA TALES}{THE HOUSE OF MAPUHI} > \lettrine{D}{espite} > the heavy clumsiness of her lines, the \emph{Aorai} handled easily in > the light breeze, and her captain ran her well in before he hove to > just outside the suck of the surf. > > {\LARGE{ > \hfill{}\\ > \hfill{}\\ > bla, bla, bla\ldots{}\\ > \hfill{}\\ > \hfill{}\\}} > > \newpage{} > > ``Then give me something to eat, for I am hungry,'' said Nauri, > complacently. ``And after that we will sleep, for I am weary. And > tomorrow we will have more talk about the house before we sell the > pearl. It will be better if we take the thousand French in cash. Money > is ever better than credit in buying goods from the traders.'' > > \chapter*{THE WHALE TOOTH} > \addcontentsline{toc}{chapter}{\numberline{2.}The Whale Tooth} > \thispagestyle{empty} > \markboth{SOUTH SEA TALES}{THE WHALE TOOTH} > \lettrine{I}{t} > was in the early days in Fiji, when John Starhurst arose in the > mission house at Rewa Village and announced his intention of carrying > the gospel throughout all Viti Levu. > > {\LARGE{ > \hfill{}\\ > \hfill{}\\ > bla, bla, bla\ldots{}\\ > \hfill{}\\ > \hfill{}\\}} > > \end{document} > > > Thomas Dukleth > Agogme > 109 E 9th Street, 3D > New York, NY 10003 > USA > http//www.agogme.com > 212-674-3783 > > _______________________________________________ > 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 nmm at uit.co.uk Tue Oct 28 12:29:11 2008 From: nmm at uit.co.uk (Niall Mansfield) Date: Tue, 28 Oct 2008 11:29:11 +0000 Subject: [texhax] TeX and make In-Reply-To: texhax-request@tug.org "texhax Digest, Vol 2008, Issue 306" (Oct 28, 11:07am) References: Message-ID: <1081028112911.ZM10119@dennis-nt> Michael, > From: Michael Dexter > Subject: [texhax] TeX and make > The question came up of how TeX plays friendly with make and incremental > compiling. This question comes up regularly. There are two answers: 1. LaTeX (we don't use TeX per se) on a useful but 8-year old server can process one of our books, 750 pages long, in 36 seconds. In fact this involves running LaTeX three times (for indexing reasons), so it's typesetting 60 pages/second. (Even more, in fact, because the 36s includes index processing, which is done twice.) On a recent laptop it runs at twice this speed, say 100pp/s, and on a fast new server you might get twice this again. This high speed means that in practice you don't need subsidiary .o files or the like for normal typesetting tasks. It would be *nice* to have something like that, but given that the hardware is continually removing the imperative, I don't think it's likely. 2. In the Old Days, when running on Sun 3/50's and the like, it *was* necessary to divide LaTeX processing into chunks. Here's how we did it. The same approach works today. It means you can typically process a chapter (30 pages, say) in less than a second. - Treat each chapter as a separate document. You glue the individual PDFs together at the end, to form the complete book. - Run LaTeX on each chapter, to get an estimate of its extent (i.e. no. of pages in it). - Compile a table of start page numbers for each chapter. (We combined this with other definitions for each chapter, so we could easily move chapters within the book.) Here's an example. (See www.uit.co.uk/latex/latex-and-make-example.tex for a longer example.) \definechap{TOOLKITS}{6}{149}{Look and Feel --- Toolkits}{`Look And Feel' Part 1 --- Toolkits for Application Programs} This is Chap 6, and it starts on p149. (\definechap is our own macro.) - We used Imake to reduce the tedium of writing the dependencies for each Make target, i.e. for each chapter. Then we could say, e.g. "make TOOLKITS", to LaTeX that chapter, and incorporate the necessary bits of TOOLKITS.aux and TOOLKITS.idx etc. into the overall .aux and .idx, for cross-refs, indexing, etc. The obvious problem here is that tracking page numbers is manual. While tedious, this was unimportant in real life. (a) By the time you're anywhere near a final draft of a book, your material is very stable, and pagination is unlikely to change. (b) Even if it does, changing the table isn't a big deal. But I'm sure it could be automated by programmers cleverer than me. Niall Mansfield From SDittmar at eureca.de Tue Oct 28 16:18:36 2008 From: SDittmar at eureca.de (Susan Dittmar) Date: Tue, 28 Oct 2008 16:18:36 +0100 Subject: [texhax] Paper size issues with RevTeX in combination with pdfTeX... In-Reply-To: <20081028041522.GP18248@cpe-67-241-17-133.twcny.res.rr.com> References: <20081028041522.GP18248@cpe-67-241-17-133.twcny.res.rr.com> Message-ID: <20081028151836.GB12456@eureca.de> Quoting Daniel Freedman (freedman at physics.cornell.edu): > RevTeX4 allows one to specifically define the papersize as an option > to the class: > > \documentclass[letterpaper]{revtex4} > > This works fine for me when compiling with the LaTeX -> dvips -> > ps2pdf route. However, it does not work for me with pdfTeX. Instead, > that compilation route seems to instead extract page size from the > options in '/etc/texmf/pdftex/pdftex.cfg' The following is taken from typearea.sty (koma-script): \AtBeginDocument{\scr at ifpdfoutput{\pdfpagewidth=\paperwidth\pdfpageheight=\paperheight}{\AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}}} I suspect you will have to make sure all those commands are availlable (or substituted), but perhaps that helps towards your goal. Susan -------------- 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/20081028/a96396c7/attachment.bin From texhax at agogme.com Tue Oct 28 20:26:31 2008 From: texhax at agogme.com (Thomas Dukleth) Date: Tue, 28 Oct 2008 19:26:31 -0000 (UCT) Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <4906F2FC.9000601@imf.au.dk> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> <49004ACF.1070807@imf.au.dk> <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> <4906F2FC.9000601@imf.au.dk> Message-ID: <59669.4.236.111.133.1225221991.squirrel@mail.highspeedrails.com> Sorry that my last few changes were not reported by LyX at compile time. Apparently my attempt to cheat and load the tocloft package after memoir had loaded its tocloft emulation merely temporarily fooled error catching when compiling with LyX. I have corrected the errors and tested on the command line. Any advice about creating blank lines without triggering the underfull \hbox badness warnings would be appreciated. My new attempt to demonstrate the issue for my original question follows. On Thu, October 23, 2008 9:58 am, Lars Madsen wrote: > Thomas Dukleth wrote: >> I am using the memoir document class for a book and would like to >> control >> or eliminate the large vertical blank area at the beginning of each new >> chapter. >> [..] I have commented out my custom chapter style based on the memoir class and used the following code based on the titlesec package. My question about modifying this or some other code remains. \titleformat{\chapter}[display]{\filcenter\sc\Huge}{\thechapter}{0pt}{}{} >> How can I modify this code or something else to control the large >> vertical >> blank area at the beginning of each new chapter? >> >> > > it is a bit hard to know exactly what space you are talking about. Could > you post a minimal (but full) document displaying a sample chapter, such > that we can just copy'n'paste to our own systems and see if we can fix > your problem. That makes it a lot easier for us. [...] Look at how the table of contents page title, "CONTENTS", appears at a higher point on the page than chapter titles. Before modifying the table of contents title using the following code, the table of contents title had appeared at a lower point on the page much more like the chapter titles. \def\tableofcontents{\section*{\centering CONTENTS}\@starttoc{toc}} Chapter titles in the minimal LaTeX document are "ACKNOWLEDGEMENTS", "THE HOUSE OF MAPUHI", and "THE WHALE TOOTH". The following code may also be downloaded for the next month from http://pastebin.com/m7619106 in case email line wrapping breaks a long comment line resulting in an error. %%%%%%%%%%%%%%%%%%%%% %% Begin Preamble. %% %%%%%%%%%%%%%%%%%%%%% \documentclass[12pt,english,oldfontcommands]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{geometry} \usepackage{titlesec} \usepackage{titletoc} % Memoir emulates tocloft somewhat. % \usepackage{subfigure} % \usepackage[titles,subfigure]{tocloft} %% \usepackage[titles]{tocloft} \usepackage{fix-cm} \usepackage{lettrine} \usepackage{graphics} \usepackage{longtable} \usepackage{times} \usepackage[normalem]{ulem} \usepackage{babel} \geometry{verbose,paperwidth=5.5in,paperheight=8.5in} \makeatletter \pdfpageheight 8.5in \pdfpagewidth 5.5in \paperheight 8.5in \paperwidth 5.5in \addtolength\topmargin{-0.25in} \addtolength\oddsidemargin{-0.25in} \addtolength\evensidemargin{-0.5in} \addtolength\textheight{1.25in} \addtolength\textwidth{0.75in} \setlength\headsep{12pt} \setlength\marginparsep{0pt} \setlength\marginparwidth{0pt} \setlength\footskip{0pt} % \renewcommand{\aftertoctitle}{\thispagestyle{empty}\afterchaptertitle} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Superseded by titlesec package commands % \makechapterstyle{nonumber}{% % \renewcommand{\printchaptername}{} % \renewcommand{\printchapternum}{ } % } % % \chapterstyle{nonumber} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \renewcommand{\sectionmark}[1]{\markright{#1}{}} \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \pagestyle{myheadings} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Original suggestion % http://for.mat.bham.ac.uk/pgweb/archive/2000/pgweb_academic_latex.html %% \titleformat{\chapter}[display]{\filcenter\sc\Huge}{\chaptertitlename\,\,\thechapter}{0pt}{}{} \titleformat{\part}[display]{\filcenter\scshape\Huge}{\thepart}{0pt}{}{} \titleformat{\chapter}[display]{\filcenter\scshape\Huge}{\thechapter}{0pt}{}{} \titleformat{\section}[display]{\filcenter\scshape\Huge}{\thesection}{0pt}{}{} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Original suggestions % http://allmybrain.com/2007/11/20/a-few-latex-tips/ \def\tableofcontents{\section*{\centering CONTENTS}\@starttoc{toc}} % Next suggestions fail as undefined and merely defining them naturally % does nothing because there is no linked code using them in the memoir % class. % % change section headers and page numbers to normal instead of bold font % \renewcommand{\cftsecfont}{ % \normalfont % } \def\cftsecfont{\normalfont} % \renewcommand{\cftsecpagefont}{% % \normalfont % } \def\cftsecpagefont{\normalfont} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Original suggestion % http://www.prashblog.com/2008/08/remove-dots-in-table-of-contents-in.html % Does this work? % \renewcommand{\@dotsep}{10000} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \makeatother %%%%%%%%%%%%%%%%%%% %% End Preamble. %% %%%%%%%%%%%%%%%%%%% \begin{document} \frontmatter \thispagestyle{empty} \begin{center} {\fontsize{30pt}{36pt}\selectfont{ \hfill{}\\}} {\fontsize{36pt}{42pt}\selectfont{S}}{\fontsize{30pt}{36pt}\selectfont{OUTH}} {\fontsize{36pt}{42pt}\selectfont{ S}}{\fontsize{30pt}{36pt}\selectfont{EA}} {\fontsize{36pt}{42pt}\selectfont{ T}}{\fontsize{30pt}{36pt}\selectfont{ALES\\}} {\fontsize{36pt}{42pt}\selectfont{ \hfill{}\\}} {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \end{center} \fontsize{12pt}{15pt}\selectfont{} \newpage{} \thispagestyle{empty} {\parindent=0em Library Publication Data. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}}} \newpage{} \thispagestyle{empty} \markboth{SOUTH SEA TALES}{CONTENTS} \renewcommand{\contentsname}{CONTENTS} \tableofcontents \newpage{} \chapter*{ACKNOWLEDGEMENTS} \addcontentsline{toc}{chapter}{\numberline{}Acknowledgements} \thispagestyle{empty} \markboth{SOUTH SEA TALES}{ACKNOWLEDGEMENTS} {\parindent=0em >From the Project Gutenberg Ebook notices,\\ http://www.gutenberg.org/dirs/etext98/soset11.txt:\\ {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}}} \newpage{} \mainmatter \chapter*{THE HOUSE OF MAPUHI} \addcontentsline{toc}{chapter}{\numberline{1.}The House of Mapuhi} \thispagestyle{empty} \markboth{SOUTH SEA TALES}{THE HOUSE OF MAPUHI} \lettrine{D}{espite} the heavy clumsiness of her lines, the \emph{Aorai} handled easily in the light breeze, and her captain ran her well in before he hove to just outside the suck of the surf. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \newpage{} ``Then give me something to eat, for I am hungry,'' said Nauri, complacently. ``And after that we will sleep, for I am weary. And tomorrow we will have more talk about the house before we sell the pearl. It will be better if we take the thousand French in cash. Money is ever better than credit in buying goods from the traders.'' \chapter*{THE WHALE TOOTH} \addcontentsline{toc}{chapter}{\numberline{2.}The Whale Tooth} \thispagestyle{empty} \markboth{SOUTH SEA TALES}{THE WHALE TOOTH} \lettrine{I}{t} was in the early days in Fiji, when John Starhurst arose in the mission house at Rewa Village and announced his intention of carrying the gospel throughout all Viti Levu. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \end{document} Thomas Dukleth Agogme 109 E 9th Street, 3D New York, NY 10003 USA http//www.agogme.com 212-674-3783 From daleif at imf.au.dk Tue Oct 28 20:51:29 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Tue, 28 Oct 2008 20:51:29 +0100 Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <59669.4.236.111.133.1225221991.squirrel@mail.highspeedrails.com> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> <49004ACF.1070807@imf.au.dk> <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> <4906F2FC.9000601@imf.au.dk> <59669.4.236.111.133.1225221991.squirrel@mail.highspeedrails.com> Message-ID: <49076D41.1050800@imf.au.dk> Thomas Dukleth wrote: > Sorry that my last few changes were not reported by LyX at compile time. > Apparently my attempt to cheat and load the tocloft package after memoir > had loaded its tocloft emulation merely temporarily fooled error catching > when compiling with LyX. > > I have corrected the errors and tested on the command line. Any advice > about creating blank lines without triggering the underfull \hbox badness > warnings would be appreciated. > > My new attempt to demonstrate the issue for my original question follows. > I suspect the redefinition of the table of contents, it uses \section* while the others use \chapter could I ask you to describe exactly how you cwant the chapterstyle to look like, then I'll have a go such that we can eliminate at least titlesec /daleif From texhax at agogme.com Tue Oct 28 22:03:49 2008 From: texhax at agogme.com (Thomas Dukleth) Date: Tue, 28 Oct 2008 21:03:49 -0000 (UCT) Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <49076D41.1050800@imf.au.dk> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> <49004ACF.1070807@imf.au.dk> <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> <4906F2FC.9000601@imf.au.dk> <59669.4.236.111.133.1225221991.squirrel@mail.highspeedrails.com> <49076D41.1050800@imf.au.dk> Message-ID: <46596.4.236.111.133.1225227829.squirrel@mail.highspeedrails.com> Reply inline: On Tue, October 28, 2008 7:51 pm, Lars Madsen wrote: > Thomas Dukleth wrote: [...] > I suspect the redefinition of the table of contents, it uses \section* > while the others use \chapter > > could I ask you to describe exactly how you cwant the chapterstyle to > look like, then I'll have a go such that we can eliminate at least > titlesec [...] Just to be clear, my personal preference is to have an aesthetically pleasing amount of white space for maximising readability. However, I am instructed to do whatever can be reasonably managed to reduce the total page count by increasing the number of lines of text on a page wherever possible. The preamble being tested for production text has 11 point type and a 10% reduction in space between lines to aid in the page count. I have done my best to avoid any extremely unpleasant consequences of that thinking. An aid in this effort would be a means to reduce the space between the top of the page and the chapter title for the first page of chapters. Allowing even a few lines on the first page of a chapter can save a couple of pages if the last page of the chapter is an odd numbered page with only a few lines of text followed by a blank even numbered page. I want to be able to arbitrarily control the space above a chapter title on the first page of a chapter. I do not want to loose the ability to control the presence or absence of chapter labels such as with the word 'Chapter', numbering, font size, weight, and horizontal alignment for chapter titles. For the project I have at the moment, chapter titles which have no 'Chapter' labels, no numbers, \Huge sized fonts, normal weight, and centred horizontal alignment are preferred. However, I hope to avoid losing the ability to control those elements to gain control over the vertical placement of chapter titles. Currently I am using titlesec to control font size, weight, and horizontal alignment of chapter titles using the following command. \titleformat{\chapter}[display]{\filcenter\scshape\Huge}{\thechapter}{0pt}{}{} I have equivalent uses of \titleformat for part and section. I do not want to loose the control provided as a consequence of eliminating titlesec. Thomas Dukleth Agogme 109 E 9th Street, 3D New York, NY 10003 USA http//www.agogme.com 212-674-3783 From daleif at imf.au.dk Wed Oct 29 00:17:12 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 29 Oct 2008 00:17:12 +0100 Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <46596.4.236.111.133.1225227829.squirrel@mail.highspeedrails.com> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> <49004ACF.1070807@imf.au.dk> <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> <4906F2FC.9000601@imf.au.dk> <59669.4.236.111.133.1225221991.squirrel@mail.highspeedrails.com> <49076D41.1050800@imf.au.dk> <46596.4.236.111.133.1225227829.squirrel@mail.highspeedrails.com> Message-ID: <49079D78.90308@imf.au.dk> Below is my version without the use of titlesec or titletoc I removed the use of \chapter*, \addcontentsline and \markboth, since that just adds unnecessary extra typing that are not needed if the document is designed correctly. /daleif \documentclass[12pt,english,oldfontcommands]{memoir} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{geometry} \usepackage{fix-cm} \usepackage{lettrine} \usepackage{graphics} \usepackage{longtable} \usepackage{times} \usepackage[normalem]{ulem} \usepackage{babel} \geometry{verbose,paperwidth=5.5in,paperheight=8.5in} \makeatletter \pdfpageheight 8.5in \pdfpagewidth 5.5in \paperheight 8.5in \paperwidth 5.5in \addtolength\topmargin{-0.25in} \addtolength\oddsidemargin{-0.25in} \addtolength\evensidemargin{-0.5in} \addtolength\textheight{1.25in} \addtolength\textwidth{0.75in} \setlength\headsep{12pt} \setlength\marginparsep{0pt} \setlength\marginparwidth{0pt} \setlength\footskip{0pt} \makeatother % TOC stuff % add '.' after chapter numbers \renewcommand\cftchapteraftersnum{.} % no dots in the toc \renewcommand\cftdotsep{\cftnodots} % font setting for sectional entries in the TOC \renewcommand\cftsectionfont{\normalfont} \renewcommand\cftsectionpagefont{\normalfont} % chapterstyle \makechapterstyle{Dukleth}{ \setlength{\beforechapskip}{50pt} % space above chapter heading \setlength{\afterchapskip}{40pt} % space below \renewcommand\printchaptername{} % no chapter name \renewcommand\printchapternum{} % no chapter num \renewcommand\afterchapternum{} % no \midchap % specifying how chapter titles should be printed, notice the use of \MakeUppercase \renewcommand\printchaptertitle[1]{\centering\Huge\scshape\MakeUppercase{##1}} } % activating the style \chapterstyle{Dukleth} % page style, basically we do not want to write 'South Sea Tales' all % the time, we also make use of the build in uppercasing that memoir % uses inside these marks, then the header stuff generated by % e.g. \chapter is enough \makepagestyle{Dukleth} \makeevenhead{Dukleth}{\thepage}{}{\slshape \MakeUppercase{South Sea Tales}} \makeoddhead{Dukleth}{\slshape\rightmark}{}{\thepage} \makepsmarks{Dukleth}{ \createmark{chapter}{right}{nonumber}{}{} \createmark{section}{right}{nonumber}{}{} \createplainmark{toc}{both}{\contentsname} \createplainmark{lof}{both}{\listfigurename} \createplainmark{lot}{both}{\listtablename} \createplainmark{bib}{both}{\bibname} \createplainmark{index}{both}{\indexname} \createplainmark{glossary}{both}{\glossaryname} } % activating the pagestyle \pagestyle{Dukleth} % PART stuff \renewcommand\printpartname{} \renewcommand\partnumfont{\scshape\Huge} \renewcommand\midpartskip{\par}% \renewcommand\parttitlefont{\scshape\Huge} % section stuff % how far down the chain to number things \setsecnumdepth{chapter} \maxsecnumdepth{chapter} \setsecheadstyle{\centering\Huge\scshape} % space before and after a section can be controlled by % \setbeforesecskip{-3.5ex plus -1ex minus -.2ex}% % \setaftersecskip{2.3ex plus .2ex}% % it is a good idea to include a bit of stretch/shrink, note that the % space before is the absolute value of the number given, see manual % for explanation % simple text \usepackage{lipsum} \begin{document} \frontmatter \thispagestyle{empty} \begin{center} {\fontsize{30pt}{36pt}\selectfont{ \hfill{}\\}} {\fontsize{36pt}{42pt}\selectfont{S}}{\fontsize{30pt}{36pt}\selectfont{OUTH}} {\fontsize{36pt}{42pt}\selectfont{ S}}{\fontsize{30pt}{36pt}\selectfont{EA}} {\fontsize{36pt}{42pt}\selectfont{ T}}{\fontsize{30pt}{36pt}\selectfont{ALES\\}} {\fontsize{36pt}{42pt}\selectfont{ \hfill{}\\}} {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \end{center} \fontsize{12pt}{15pt}\selectfont{} \newpage{} \thispagestyle{empty} {\parindent=0em Library Publication Data. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}}} \newpage{} % \thispagestyle{empty} % \markboth{SOUTH SEA TALES}{CONTENTS} \renewcommand{\contentsname}{CONTENTS} \tableofcontents* \newpage{} %\chapter*{ACKNOWLEDGEMENTS} % a bit of cheating to get 'acknowledgements' indented, but still % easier to type than using \addcontentsline \chapter[\numberline{}Acknowledgements][Acknowledgements]{Acknowledgements} %\addcontentsline{toc}{chapter}{\numberline{}Acknowledgements} %\thispagestyle{empty} %\markboth{SOUTH SEA TALES}{ACKNOWLEDGEMENTS} {\parindent=0em From the Project Gutenberg Ebook notices,\\ http://www.gutenberg.org/dirs/etext98/soset11.txt:\\ {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}}} \newpage{} \mainmatter %\chapter*{THE HOUSE OF MAPUHI} \chapter{The House of Mapuhi} %\addcontentsline{toc}{chapter}{\numberline{1.}The House of Mapuhi} %\thispagestyle{empty} %\markboth{SOUTH SEA TALES}{THE HOUSE OF MAPUHI} \lettrine{D}{espite} the heavy clumsiness of her lines, the \emph{Aorai} handled easily in the light breeze, and her captain ran her well in before he hove to just outside the suck of the surf. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \newpage{} ``Then give me something to eat, for I am hungry,'' said Nauri, complacently. ``And after that we will sleep, for I am weary. And tomorrow we will have more talk about the house before we sell the pearl. It will be better if we take the thousand French in cash. Money is ever better than credit in buying goods from the traders.'' \section{test} \lipsum %\chapter*{THE WHALE TOOTH} \chapter{The Whale Tooth} %\addcontentsline{toc}{chapter}{\numberline{2.}The Whale Tooth} %\thispagestyle{empty} %\markboth{SOUTH SEA TALES}{THE WHALE TOOTH} \lettrine{I}{t} was in the early days in Fiji, when John Starhurst arose in the mission house at Rewa Village and announced his intention of carrying the gospel throughout all Viti Levu. {\LARGE{ \hfill{}\\ \hfill{}\\ bla, bla, bla\ldots{}\\ \hfill{}\\ \hfill{}\\}} \end{document} From freedman at physics.cornell.edu Wed Oct 29 02:24:01 2008 From: freedman at physics.cornell.edu (Daniel Freedman) Date: Tue, 28 Oct 2008 21:24:01 -0400 Subject: [texhax] Paper size issues with RevTeX in combination with pdfTeX... In-Reply-To: <20081028151836.GB12456@eureca.de> References: <20081028041522.GP18248@cpe-67-241-17-133.twcny.res.rr.com> <20081028151836.GB12456@eureca.de> Message-ID: <20081029012401.GB22043@cpe-67-241-17-133.twcny.res.rr.com> Hi Susan, On Tue, Oct 28, 2008, Susan Dittmar wrote: > The following is taken from typearea.sty (koma-script): > > \AtBeginDocument{\scr at ifpdfoutput{\pdfpagewidth=\paperwidth\pdfpageheight=\paperheight}{\AtBeginDvi{\special{papersize=\the\paperwidth,\the\paperheight}}}} > > I suspect you will have to make sure all those commands are availlable (or > substituted), but perhaps that helps towards your goal. Thanks for the suggestion. It definitely led me down the right road. Unfortunately, RevTeX appears to make things a little more complicated. The above didn't work. The following, however, did (hopefully, reproducing it here might help others who would later search for a similar solution): \ifpdf \pdfpagewidth=8.5 true in \pdfpageheight=11 true in \fi Obviously, this also requires inclusion of the 'ifpdf' package. The problem with the initial suggestion appears to stem from the fact that \paperwidth and \paperheight don't contain meaningful values when the document is processed using the RevTeX class. If I use the TeX commands \showthe to pause compilation and display their values, they both show 0. (Not sure what this means, but I doubt it's good, as they should show appropriate letter-sized values, I'd think...) Thus, I'm forced to explicitly use the letter size above in defining them. Anyway, thank you again, Daniel -- 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/20081028/f97295fc/attachment.bin From texhax at agogme.com Wed Oct 29 07:53:15 2008 From: texhax at agogme.com (Thomas Dukleth) Date: Wed, 29 Oct 2008 06:53:15 -0000 (UCT) Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <49079D78.90308@imf.au.dk> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> <49004ACF.1070807@imf.au.dk> <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> <4906F2FC.9000601@imf.au.dk> <59669.4.236.111.133.1225221991.squirrel@mail.highspeedrails.com> <49076D41.1050800@imf.au.dk> <46596.4.236.111.133.1225227829.squirrel@mail.highspeedrails.com> <49079D78.90308@imf.au.dk> Message-ID: <43281.4.236.111.197.1225263195.squirrel@mail.highspeedrails.com> Thank you very much. Apparently, I will need to upgrade to memoir 1.61803 to use the new easy customisation commands which have been included in the style suggestions from Lars Madsen. I expect I will acquire the upgraded memoir automatically when I replace my current Debian GNU/Linux etch stable packaged version of TeX Live 2005 with the new standard TeX Live 2008 distribution. I already had needed to upgrade LaTeX completely to avoid upstream LaTeX line breaking bugs involving fonts for some punctuation which have been trapped in Debian etch from the point when Debian etch package development was frozen in preparation for stable release. I will wait until upgrading in a couple of weeks or so to read more about the new memoir commands. Thomas Dukleth Agogme 109 E 9th Street, 3D New York, NY 10003 USA http://www.agogme.com 212-674-3783 From daleif at imf.au.dk Wed Oct 29 09:53:07 2008 From: daleif at imf.au.dk (Lars Madsen) Date: Wed, 29 Oct 2008 09:53:07 +0100 Subject: [texhax] Control blank area at beginning of chapters In-Reply-To: <43281.4.236.111.197.1225263195.squirrel@mail.highspeedrails.com> References: <33105.71.167.178.38.1224719652.squirrel@mail.highspeedrails.com> <49004ACF.1070807@imf.au.dk> <52911.4.236.111.242.1225124207.squirrel@mail.highspeedrails.com> <4906F2FC.9000601@imf.au.dk> <59669.4.236.111.133.1225221991.squirrel@mail.highspeedrails.com> <49076D41.1050800@imf.au.dk> <46596.4.236.111.133.1225227829.squirrel@mail.highspeedrails.com> <49079D78.90308@imf.au.dk> <43281.4.236.111.197.1225263195.squirrel@mail.highspeedrails.com> Message-ID: <49082473.50103@imf.au.dk> Thomas Dukleth wrote: > Thank you very much. Apparently, I will need to upgrade to memoir > 1.61803 to use the new easy customisation commands which have been > included in the style suggestions from Lars Madsen. > > I expect I will acquire the upgraded memoir automatically when I replace > my current Debian GNU/Linux etch stable packaged version of TeX Live 2005 > with the new standard TeX Live 2008 distribution. I already had needed to > upgrade LaTeX completely to avoid upstream LaTeX line breaking bugs > involving fonts for some punctuation which have been trapped in Debian > etch from the point when Debian etch package development was frozen in > preparation for stable release. > > I will wait until upgrading in a couple of weeks or so to read more about > the new memoir commands. > if you have the space you can have both TL2005 and TL2008 side by side. I have to say that the new TL2008 is very cool, including online update. TL2005, is VERY old. /daleif From vivrii at gmail.com Wed Oct 29 17:49:39 2008 From: vivrii at gmail.com (Victor Ivrii) Date: Wed, 29 Oct 2008 12:49:39 -0400 Subject: [texhax] [tex-live] minor problems with install-tl In-Reply-To: <22554.1225269431@mole.cl.cam.ac.uk> References: <20081029.073411.171441243.wl@gnu.org> <22554.1225269431@mole.cl.cam.ac.uk> Message-ID: <19af81400810290949q59f273e4r49e28af5c2a6b70c@mail.gmail.com> On Wed, Oct 29, 2008 at 4:37 AM, Robin Fairbairns wrote: > > after tug '96 at dubna, sebastian and i went back to moscow by train, > which was interesting. the track was obviously in a terrible state, and > the train didn't go fast at any time. but there was more leg-room in > the carriage than i've experienced in any other transport: stretched > full out in opposite seats, our feet didn't touch, and while neither of > us is 2m tall, we're not midgets either. If you are writing about Nuclear Institute I was there few times in the late 80-ties and it was a fun to see how attitude of security there provided by KGB went from rather strict to completely lame. In the last my visit the checkpoint was decorated by a big billboard with a lot of notes describing KGB crimes. > > robin > On the separate note: in the 70ties in backpacking camping I and friends took few times some route on the Southern Ural with very narrow rail (much more narrow than the standard European leave alone wider Russian one). Train was going only once a day, and in one direction it started before dawn. It was cold (jackets and sweaters were worn) and dark and a lot of fog but later it was becoming warmer and few hours later we were just in T-shorts sitting near open doors and some even had their legs outside sometimes touching the tall grass; door were very wide since the coaches were both for passengers and cargo. Train was very short and went very slowly, human could overrun it in the short run. There were only very few passengers and it seems that all of them except us knew one another (despite traveling separately). This is not typical train in Russia. 15 years later few villages there were devastated by the flood and tens of people were killed: there were few artificial lakes used to retain river water for use in metallurgy and levees were not strong enough to resist high water > Victor -- ======================== Victor Ivrii, Professor, Department of Mathematics, University of Toronto http://www.math.toronto.edu/ivrii From jeneyg at hit.bme.hu Fri Oct 31 13:24:51 2008 From: jeneyg at hit.bme.hu (Jeney =?ISO-8859-1?Q?G=E1bor?=) Date: Fri, 31 Oct 2008 13:24:51 +0100 Subject: [texhax] A new question not in the TeX FAQ Message-ID: <1225455891.15196.350.camel@dezsolaptop> Dear TeXhax, I am an associate professor at the Budapest University of Technology and Economics, using (and also teaching) LaTeX, and I have the following question which I have not been able to find any explanation up to now: inside the \label statement, it is not possible to use the \usebox command. It is quite strange, since any other commands can be used there. I show the code which helped me to discover the problem: \newsavebox{\tabcaption} \newsavebox{\tablabel} \newenvironment*{tabl}[3]% #1: caption, #2: label, #3: columns {\begin{table}[htb]% \sbox{\tabcaption}{#1}\sbox{\tablabel}{tab:#2}\center% \begin{tabular}{#3}} {\end{tabular} \caption{\usebox{\tabcaption}}\label{\usebox{\tablabel}} \end{table}} This is just a new environment, which would ease the usage of tabular inside table environments, e.g. \begin{tabl}{Wise statements}{wise}{c|r@{,}l} Expression & \multicolumn{2}{c}{Value} \\ \hline $\pi$ & 3&1415927 \\ $\pi^\pi$ & 36&46216 \\ $\pi^{\pi^\pi}$ & 80662&666 \end{tabl} The problem is that ``tabl'' does not work: during compilation, it says: ! Missing \endcsname inserted. \unhbox l.15 ... \voidb at x \copy \tabcimke \relax }{{5}{3}} I have found a workaround though: if I declare a new command which stores the label and I use this command inside the \label statement, it works (the .aux file must be deleted, of course): \newcommand{\tablabel}{} % we will redefine this command later \newsavebox{\tabcaption} \newenvironment*{tabl}[3]% #1: caption, #2: label, #3: columns {\begin{table}[htb]% \sbox{\tabcaption}{#1}\renewcommand{\tablabel}{tab:#2}\center% \begin{tabular}{#3}} {\end{tabular} \caption{\usebox{\tabcaption}}\label{\tablabel} \end{table}} This works (it compiles smoothly). But why \usebox does not work inside \label? Many thanks in advance for your feedback. -- Best regards, G?bor JENEY __________________________________________________________ BME, Dep. of Telecommunications, Mobile Innovation Center | Office: I.B.116, Tel: +36-1-463-2418, Fax: +36-1-463-3263 | From martin at oneiros.de Fri Oct 31 15:47:10 2008 From: martin at oneiros.de (=?ISO-8859-1?Q?Martin_Schr=F6der?=) Date: Fri, 31 Oct 2008 15:47:10 +0100 Subject: [texhax] A new question not in the TeX FAQ In-Reply-To: <1225455891.15196.350.camel@dezsolaptop> References: <1225455891.15196.350.camel@dezsolaptop> Message-ID: <68c491a60810310747j26b8eedch4ffb28929cdd1a12@mail.gmail.com> 2008/10/31 Jeney G?bor : > inside the \label statement, it is not possible to use the \usebox > command. It is quite strange, since any other commands can be used > there. I show the code which helped me to discover the problem: Standard answers regarding \caption: - remember that the argument of \caption is normally fragile - check the caption package Also: \label takes a label, not text to be typeset! Best Martin From Herbert.Voss at FU-Berlin.DE Fri Oct 31 15:43:22 2008 From: Herbert.Voss at FU-Berlin.DE (Herbert Voss) Date: Fri, 31 Oct 2008 15:43:22 +0100 Subject: [texhax] A new question not in the TeX FAQ In-Reply-To: <1225455891.15196.350.camel@dezsolaptop> References: <1225455891.15196.350.camel@dezsolaptop> Message-ID: <490B198A.9060304@FU-Berlin.DE> Jeney G?bor schrieb: > I am an associate professor at the Budapest University of Technology and > Economics, using (and also teaching) LaTeX, and I have the following > question which I have not been able to find any explanation up to now: > > inside the \label statement, it is not possible to use the \usebox > command. It is quite strange, since any other commands can be used > there. I show the code which helped me to discover the problem: \documentclass{article} \newsavebox{\tabBox} \newenvironment*{tabl}[3]{% #1: caption, #2: label, #3: columns \def\tabcaption{#1} \def\tablabel{#3} \begin{lrbox}{\tabBox} \tabular{#3} }{\endtabular\end{lrbox}% \begin{table}[htb] \centering \caption{\tabcaption}\label{\tablabel} \medskip \usebox\tabBox \end{table}} \begin{document} \begin{tabl}{Wise statements}{wise}{c|r@{,}l} Expression & \multicolumn{2}{c}{Value} \\\hline $\pi$ & 3&1415927 \\ $\pi^\pi$ & 36&46216 \\ $\pi^{\pi^\pi}$ & 80662&666 \end{tabl} \end{document} Herbert From Bryan.Lepore at umassmed.edu Fri Oct 31 22:09:39 2008 From: Bryan.Lepore at umassmed.edu (Bryan W. Lepore) Date: Fri, 31 Oct 2008 17:09:39 -0400 (EDT) Subject: [texhax] hyperref : bookmarks pointing into table of contents Message-ID: it seems there is no documented way to get bookmarks (as from the hyperref package) to point to e.g. the \listoftables, which shows up in the table of contents ... so you can quickly jump to the list of tables instead of paging through. am i right? any pointers on how to make that happen appreciated. -bryan