From smadim2 at grads.ece.mcmaster.ca Sat Apr 2 05:45:04 2005 From: smadim2 at grads.ece.mcmaster.ca (M.N.A.Smadi) Date: Sat Apr 2 05:46:56 2005 Subject: [texhax] table formatting problem Message-ID: <424E1540.9090509@grads.ece.mcmaster.ca> hi; i have a table that has way too many lines and it cannot fit on one page, it does not show the table over two pages it just chops the lower part and as a matter of fact it continue until the end of the page without leaving any margins. How can i have the same table show over multiple pages? The code am using is as follows: \begin{table}[hang] \centering \caption{XXX} \begin{tabular}{|l|p{5in}|} \hline \textbf{\bf Message} & {\bf Description}\\ \hline \hline . my text is going here in. . \end{tabular} \label{tab:XXX} \end{table} thanks -ms From tomfool at as220.org Sat Apr 2 05:51:15 2005 From: tomfool at as220.org (tom sgouros) Date: Sat Apr 2 05:53:46 2005 Subject: [texhax] table formatting problem In-Reply-To: Your message of "Fri, 01 Apr 2005 22:45:04 EST." <424E1540.9090509@grads.ece.mcmaster.ca> References: <424E1540.9090509@grads.ece.mcmaster.ca> Message-ID: Look for the longtable package. -tom ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net From brock at quantifier.org Sat Apr 2 05:57:31 2005 From: brock at quantifier.org (=?iso-8859-1?Q?BR=D8=E7K=AAQ=B5=E6=F1T=ECF=EC=EAR=B7=AERG?=) Date: Sat Apr 2 06:39:59 2005 Subject: [texhax] table formatting problem In-Reply-To: <424E1540.9090509@grads.ece.mcmaster.ca> References: <424E1540.9090509@grads.ece.mcmaster.ca> Message-ID: my Latex Companion says you should use either supertabular, or longtable. maybe look into supertabular first. longtable looks a bit more involved (although, also more configurable) bobby ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~ ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~ On Fri, 1 Apr 2005, M.N.A.Smadi wrote: > hi; > > i have a table that has way too many lines and it cannot fit on one > page, it does not show the table over two pages it just chops the lower > part and as a matter of fact it continue until the end of the page > without leaving any margins. How can i have the same table show over > multiple pages? > > The code am using is as follows: > \begin{table}[hang] > \centering > \caption{XXX} > > \begin{tabular}{|l|p{5in}|} > \hline > \textbf{\bf Message} & {\bf Description}\\ \hline > \hline > . > my text is going here in. > . > > \end{tabular} > \label{tab:XXX} > \end{table} > > > thanks > -ms > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org > From technix88 at yahoo.com Sat Apr 2 22:41:46 2005 From: technix88 at yahoo.com (hemant kumar) Date: Sat Apr 2 22:50:55 2005 Subject: [texhax] Using captions in longtables Message-ID: <20050402204146.34125.qmail@web54107.mail.yahoo.com> Hi..All, I want to put the caption,at the end of table.And when i do something like this.. \begin{longtable}{...} ..... \\ ......\\ \hline \caption{It is a caption} \end{longtable} It comes too close to the last row of the table.What is the solution. __________________________________ Do you Yahoo!? Yahoo! Personals - Better first dates. More second dates. http://personals.yahoo.com From Robin.Fairbairns at cl.cam.ac.uk Sat Apr 2 23:08:17 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Sat Apr 2 23:10:53 2005 Subject: [texhax] Using captions in longtables In-Reply-To: Your message of Sat, 02 Apr 2005 12:41:46 -0800. <20050402204146.34125.qmail@web54107.mail.yahoo.com> Message-ID: > I want to put the caption,at the end of table.And when > i do something like this.. > \begin{longtable}{...} > ..... \\ > ......\\ > \hline > \caption{It is a caption} > \end{longtable} > > It comes too close to the last row of the table.What > is the solution. for multi-page tables, it makes little sense to have the caption at the bottom of the last page (only). the common practice is to put the caption in the first head, and to put something similar in the subsequent heads, with a continuation marker. since the caption command is designed for such usage, your odd choice isn't catered for. as a first try, i would suggest putting a \strut command at the start of the caption text. or redesign the table as i've suggested. From technix88 at yahoo.com Sat Apr 2 23:13:10 2005 From: technix88 at yahoo.com (hemant kumar) Date: Sat Apr 2 23:15:43 2005 Subject: [texhax] Using captions in longtables In-Reply-To: 6667 Message-ID: <20050402211310.87803.qmail@web54109.mail.yahoo.com> My tables are not multipage.It is just that,i don't like using combination of "table" and "tabular".And that's why though my tables are within a page,i am still using "longtable". I am still waiting for the solution. --- Robin Fairbairns wrote: > > I want to put the caption,at the end of table.And > when > > i do something like this.. > > \begin{longtable}{...} > > ..... \\ > > ......\\ > > \hline > > \caption{It is a caption} > > \end{longtable} > > > > It comes too close to the last row of the > table.What > > is the solution. > > for multi-page tables, it makes little sense to have > the caption at > the bottom of the last page (only). the common > practice is to put the > caption in the first head, and to put something > similar in the > subsequent heads, with a continuation marker. > > since the caption command is designed for such > usage, your odd choice > isn't catered for. as a first try, i would suggest > putting a \strut > command at the start of the caption text. or > redesign the table as > i've suggested. > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: > http://groups.google.com/groups?group=comp.text.tex > 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@tug.org > __________________________________ Do you Yahoo!? Make Yahoo! your home page http://www.yahoo.com/r/hs From philip.ratcliffe at email.it Sat Apr 2 23:49:31 2005 From: philip.ratcliffe at email.it (Philip Ratcliffe) Date: Sat Apr 2 23:52:01 2005 Subject: [texhax] Using captions in longtables In-Reply-To: <20050402204146.34125.qmail@web54107.mail.yahoo.com> Message-ID: > I want to put the caption,at the end of table.And when > i do something like this.. > \begin{longtable}{...} > ..... \\ > ......\\ > \hline > \caption{It is a caption} > \end{longtable} > > It comes too close to the last row of the table.What > is the solution. As the longtable documentation explains, \caption is actually set as a \multicolumn and so one could just insert space before with \\ adusting the spacing with eg \\[1ex] or \\[-1ex], or (probably better) something like \caption{\vrule height\baselineskip It is a caption} works well. Cheers, Phil Ratcliffe -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti e Finanziamenti con un semplice click, scopri subito se sei finanziabile cliccando qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2910&d=2-4 From philip.ratcliffe at email.it Sun Apr 3 00:30:22 2005 From: philip.ratcliffe at email.it (Philip Ratcliffe) Date: Sun Apr 3 00:32:53 2005 Subject: [texhax] Using captions in longtables In-Reply-To: Message-ID: > isn't catered for. as a first try, i would suggest putting a \strut > command at the start of the caption text. Just as a note, \strut is usually too short to have any effect here (or in similar situations); something a little higher is needed (as I suggested in my previous posting). Cheers, Phil -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Suonerie polifoniche, loghi, sfondi colorati, giochi multimediali, ecco tutto quello che trovi nella sezione email.it dedicata ai cellulari Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3116&d=3-4 From moheb1333 at comcast.net Sun Apr 3 18:18:19 2005 From: moheb1333 at comcast.net (moheb missaghi) Date: Sun Apr 3 18:21:01 2005 Subject: [texhax] Placing things References: Message-ID: <000901c53868$c08d3100$6501a8c0@y8h26> Hi, I am trying to use \put to position various things on the page. Lamport's book states that \put's args identify a "reference point". I have following questions: 1. Is there anyway to place things using absolute coordinates (for example for overlaying objects on top of one another)? 2. Where does position 0,0 refer to? Top left of the page for example? 3. Is there a macro/register such as \currpos or something which can set/get the current position (is there actually a concept of current position in tex)? Thanks, Moheb From kashif at ccse.kfupm.edu.sa Fri Apr 1 14:44:49 2005 From: kashif at ccse.kfupm.edu.sa (Kashif Khan) Date: Mon Apr 4 20:13:39 2005 Subject: [texhax] Table Creation Message-ID: <004401c536b8$9ae1f870$12035a0a@BabULaL> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: Tab.doc Type: application/msword Size: 25600 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20050401/8ae542f5/Tab-0001.doc From jghart0 at uky.edu Sat Apr 2 18:17:09 2005 From: jghart0 at uky.edu (jghart0@uky.edu) Date: Mon Apr 4 20:13:40 2005 Subject: [texhax] individual chapter authors and TOC Message-ID: Dear list, For an edited volume where each chapter is separately authored, I would like the TOC to first list the chapter title and then, on the next line, the author(s) name in somewhat differently formatted text. Is there a package I'm overlooking or suggested script to handle this behavior gracefully? My amateur hacking hasn't produced good results. Thank you, -Jason jhartell@uky.edu / jason@rural.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050402/2aece3a0/attachment.htm From philip.ratcliffe at email.it Mon Apr 4 21:09:56 2005 From: philip.ratcliffe at email.it (Philip Ratcliffe) Date: Mon Apr 4 21:12:39 2005 Subject: [texhax] individual chapter authors and TOC In-Reply-To: Message-ID: > For an edited volume where each chapter is separately authored, > I would like the TOC to first list the chapter title and then, > on the next line, the author(s) name in somewhat differently > formatted text. Is there a package I'm overlooking or suggested > script to handle this behavior gracefully? This might be a useful starting point: \chapter[A Title\\ \small\emph{A.N. Other}]{A Title} Cheers, Phil -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: La raffinatezza gastronomica di Parma: prosciutto, formaggio e tanto altro ancora, cosa aspetti clicca qui e scopri il gusto! Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3359&d=4-4 From daleif at imf.au.dk Tue Apr 5 01:04:46 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Tue Apr 5 01:07:21 2005 Subject: [texhax] individual chapter authors and TOC In-Reply-To: References: Message-ID: jghart0@uky.edu : > Dear list, > > For an edited volume where each chapter is separately authored, I would > like the TOC to first list the chapter title and then, on the next line, > the author(s) name in somewhat differently formatted text. Is there a > package I'm overlooking or suggested script to handle this behavior > gracefully? My amateur hacking hasn't produced good results. > THe memoir class has a feature liket this called chapter precis, it exists in different form see the memoir manual. This feature might also be available from some package ... otherwise just have a look at the memoir code and copy what's needed. -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From ekmath at asianetindia.com Tue Apr 5 17:43:56 2005 From: ekmath at asianetindia.com (E. Krishnan) Date: Tue Apr 5 18:43:03 2005 Subject: [texhax] Table Creation In-Reply-To: <004401c536b8$9ae1f870$12035a0a@BabULaL> Message-ID: On Fri, 1 Apr 2005, Kashif Khan wrote: > Attached document file contains a table, would you please tell me > how to create such table in LaTeX? \documentclass{article} \usepackage{array} \usepackage{multirow} \begin{document} \begin{center} \renewcommand{\arraystretch}{2} \addtolength{\tabcolsep}{5pt} \renewcommand{\multirowsetup}{\centering} \newlength{\colwid} \settowidth{\colwid}{XYZ} \begin{tabular}{*{4}{|c}|} \hline \multicolumn{4}{|c|}{ABCD}\\ \hline \multirow{2}{\colwid}{XYZ} & 123 & \multicolumn{2}{c|}{342}\\ \cline{2-4} & 44 & 33 & 56\\ \hline WVO & 343 & 232 & 454\\ \hline \end{tabular} \end{center} \end{document} -- Krishnan From mgayayp at yahoo.com Wed Apr 6 02:21:27 2005 From: mgayayp at yahoo.com (Prosper Mgaya) Date: Wed Apr 6 14:46:21 2005 Subject: [texhax] Latex2e compiler Message-ID: <20050406002128.9036.qmail@web61003.mail.yahoo.com> Dear I am writing to request how can I get Latex2e compiler for I am writing a paper latex which needs to be compiled by Latex2e. Waiting to hear from you. Best regards Prosper Kyoto University --------------------------------- Do you Yahoo!? Better first dates. More second dates. Yahoo! Personals -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050405/bb939cc4/attachment.htm From wadams at atlis.com Wed Apr 6 15:08:23 2005 From: wadams at atlis.com (William F. Adams) Date: Wed Apr 6 15:12:21 2005 Subject: [texhax] Latex2e compiler In-Reply-To: <20050406002128.9036.qmail@web61003.mail.yahoo.com> References: <20050406002128.9036.qmail@web61003.mail.yahoo.com> Message-ID: <63f7cd36fe4489d8a19dc030786c9eb3@atlis.com> On Apr 5, 2005, at 8:21 PM, Prosper Mgaya wrote: > I am writing to request how can I get Latex2e compiler for I am > writing a paper latex which needs to be compiled by Latex2e. > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > Mailing list archives: http://tug.org/pipermail/texhax/ > More links: http://tug.org/begin.html I believe the above links from the texhax mailing list footer will get you started. If doing Japanese, you'll want to consider solutions like platex: http://www.ascii.co.jp/pb/ptex/ and if you've access to a recent Mac, you may want to consider XeTeX, http://scripts.sil.org/xetex William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com From houssni at e-press.co.ma Thu Apr 7 12:44:00 2005 From: houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Thu Apr 7 12:46:49 2005 Subject: [texhax] Help bst file Message-ID: <42550EF0.7050505@e-press.co.ma> Dear Tug, I was wondering if someone can help me with a LaTeX problem. I've developed a small (.bst) file for a personal use with the help of the auxiliary program "makebst" by doing abbreviation for the surnames (first names) in order to well format the author names but I have some problems with the (.bib) file that already contains initials or abbreviation for the surnames i.e. In the bib file we already have for example : R.M. Wald and when I generate the bbl file with my (.bst) file the initials are trancated i.e. I obtain R. Wald ??? instead of R.M. Wald How can I resolve this problem? Please I would be very grateful to you to help me resolving this problem because I am a beginner in the programation of that kind of file. Thanks and best regards -- Dr. Houssni From catdogbeloved at yahoo.com Thu Apr 7 13:31:09 2005 From: catdogbeloved at yahoo.com (Bob Hunter) Date: Thu Apr 7 13:33:41 2005 Subject: [texhax] problems with backward references Message-ID: <20050407113109.53633.qmail@web31307.mail.mud.yahoo.com> Hello. I am sending a test example that triggers a problem with backward references. Task: re-define \thebibliography while using hyperref's backref. Notes: Backref requires \thebibliography, which usually comes from plain book.cls or article.cls. To avoid doubts on the source of the problem, in this example the bibliography style is latex's plain, and \thebibliography is identical to that in book.cls. \documentclass{book} \RequirePackage[plainpages=false,pdfpagelabels]{hyperref} \bibliographystyle{plain} \renewenvironment{thebibliography}[1] {\chapter*{\bibname}% \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy \clubpenalty4000 \@clubpenalty \clubpenalty \widowpenalty4000% \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliography' environment}}% \endlist} \RequirePackage{backref}% requires \thebibliography \hypersetup{backref=true} \begin{document} This is a reference to \cite{aaa}. \clearpage This is a reference to \cite{bbb}. \clearpage \bibliography{test} \end{document} The bibliography file is in "test.bib": @Book{aaa, author = {A}, title = {B}, publisher = {C}, year = {2005}, } @Book{bbb, author = {A2}, title = {B2}, publisher = {C}, year = {2005}, } __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From mmitra at astro.uiuc.edu Fri Apr 8 09:30:49 2005 From: mmitra at astro.uiuc.edu (Modhurita Mitra) Date: Fri Apr 8 09:33:28 2005 Subject: [texhax] Problem with eqnarray In-Reply-To: <42550EF0.7050505@e-press.co.ma> References: <42550EF0.7050505@e-press.co.ma> Message-ID: Hi, I am having trouble compiling my file which contains an eqnarray. At the third line in the following expression (the one beginning with - \cos, I get an error. \begin{eqnarray} f(x,y,z) & = & P \times \\ \exp \left \[ -\left( \frac{ \cos \theta \cos \phi (x - \mu_x) \\ + \sin \theta (y - \mu_y) \\ - \cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \\ -\left(\frac{ \sin \theta \cos \phi (x - \mu_x) \\ + \cos \theta (y - \mu_y) \\ + \sin \theta \sin \phi (z - \mu_z)}{A_y} \right)^2 \\ -\left( \frac{\sin \phi (x - \mu_x) + \cos \phi (z - \mu_z)}{A_z} \right)^2 \right \] \\ \end{eqnarray} The error message says: ! Missing } inserted. } l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \\ ? ! Extra }, or forgotten \endgroup. } l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \\ ? ! Missing } inserted. } l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \\ ? I cannot find any unbalanced }'s. And it get stuck at this point in an infinite loop, showing the same error again and again and doesn't compile any further. What could be the source of error? Thank you, Sincerely, Modhurita Mitra From mmitra at astro.uiuc.edu Fri Apr 8 09:39:13 2005 From: mmitra at astro.uiuc.edu (Modhurita Mitra) Date: Fri Apr 8 09:41:48 2005 Subject: [texhax] Problems with eqnarray In-Reply-To: References: <42550EF0.7050505@e-press.co.ma> Message-ID: > Hi, > I am having trouble compiling my file which contains an eqnarray. At > the third line in the following expression (the one beginning with - \cos, I > get an error. > > \begin{eqnarray} > f(x,y,z) & = & P \times \\ > \exp \left \[ -\left( \frac{ \cos \theta \cos \phi (x - \mu_x) \\ > + \sin \theta (y - \mu_y) \\ > - \cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \\ > -\left(\frac{ \sin \theta \cos \phi (x - \mu_x) \\ > + \cos \theta (y - \mu_y) \\ > + \sin \theta \sin \phi (z - \mu_z)}{A_y} \right)^2 \\ > -\left( \frac{\sin \phi (x - \mu_x) + \cos \phi (z - \mu_z)}{A_z} \right)^2 > \right \] \\ > \end{eqnarray} > > The error message says: > ! Missing } inserted. > > } > l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} > \right)^2 \\ > ? > ! Extra }, or forgotten \endgroup. > } > > l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} > \right)^2 \\ > ? > ! Missing } inserted. > > } > l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} > \right)^2 \\ > ? > > I cannot find any unbalanced }'s. And it get stuck at this point in an > infinite loop, showing the same error again and again and doesn't compile any > further. What could be the source of error? > > Thank you, > Sincerely, > Modhurita Mitra > From morten.hoegholm at latex-project.org Fri Apr 8 09:42:02 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Fri Apr 8 10:05:30 2005 Subject: [texhax] Problem with eqnarray In-Reply-To: References: <42550EF0.7050505@e-press.co.ma> Message-ID: On Fri, 08 Apr 2005 02:30:49 -0500 (CDT), Modhurita Mitra wrote: > Hi, > I am having trouble compiling my file which contains an eqnarray. At > the third line in the following expression (the one beginning with - > \cos, I get an error. > > \begin{eqnarray} > f(x,y,z) & = & P \times \\ > \exp \left \[ -\left( \frac{ \cos \theta \cos \phi (x - \mu_x) \\ > + \sin \theta (y - \mu_y) \\ > - \cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \\ \left and \right can only be used in the same line so you need to use \bigl( and \bigr) instead. However I feel I should also point you to -- Morten From Robin.Fairbairns at cl.cam.ac.uk Fri Apr 8 10:22:29 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Fri Apr 8 10:25:02 2005 Subject: [texhax] Problem with eqnarray In-Reply-To: Your message of Fri, 08 Apr 2005 02:30:49 -0500. Message-ID: > I am having trouble compiling my file which contains an eqnarray. > At the third line in the following expression (the one beginning with > - \cos, I get an error. in that case, you're not compiling what we see here, or you've some highly eccentric package you don't bother to mention: > \begin{eqnarray} > f(x,y,z) & = & P \times \\ > \exp \left \[ -\left( \frac{ \cos \theta \cos \phi (x - \mu_x) \\ \[ opens displaymath mode, so \left\[ produces the error ! Missing delimiter (. inserted). and then (if you're crazy enough to press on) ! LaTeX Error: Bad math environment delimiter. > + \sin \theta (y - \mu_y) \\ > - \cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \\ i suggest you clear up that error (there's a \] later on to clear up, too). if that lot then works, perhaps you might consider using one of the amsmath align environments in place of the seriously grotty eqnarray From mmitra at astro.uiuc.edu Fri Apr 8 10:48:40 2005 From: mmitra at astro.uiuc.edu (Modhurita Mitra) Date: Fri Apr 8 10:51:23 2005 Subject: [texhax] Problem with eqnarray In-Reply-To: References: Message-ID: Hi, I made the changes you and Morten suggested, so now my expression looks like \begin{eqnarray} f(x,y,z) & = & P \times \\ \exp \bigl[ -\bigl( \frac{ \cos \theta \cos \phi (x - \mu_x) \\ + \sin \theta (y - \mu_y) \\ - \cos \theta \sin \phi (z - \mu_z)}{A_x} \bigr)^2 \\ -\bigl(\frac{ \sin \theta \cos \phi (x - \mu_x) \\ + \cos \theta (y - \mu_y) \\ + \sin \theta \sin \phi (z - \mu_z)}{A_y} \bigr)^2 \\ -\bigl( \frac{\sin \phi (x - \mu_x) + \cos \phi (z - \mu_z)}{A_z} \bigr)^2 \bigr] \end{eqnarray} However, I still get the errors: ! Missing } inserted. } l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} \bigr)^2 \\ ? ! Extra }, or forgotten \endgroup. } l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} \bigr)^2 \\ ? ! Missing } inserted. } l.270 ...- \cos \theta \sin \phi (z - \mu_z)}{A_x} \bigr)^2 \\ ? Could it be that there is some unbalances { somewhere earlier in the text? Yes, I do tend to press on even when I see an error since then I can see many errors at once and don't have to compile the file several times. I am kind of a novice at LaTeX, so I am not sure about the package you mention. There was \usepackage{natbib} at the beginning of the template file I am using. And I am using AASTeX, which is called the style file, I think, for astrophysical journals. Thanks, Sincerely, M. On Fri, 8 Apr 2005, Robin Fairbairns wrote: >> I am having trouble compiling my file which contains an eqnarray. >> At the third line in the following expression (the one beginning with >> - \cos, I get an error. > > in that case, you're not compiling what we see here, or you've some > highly eccentric package you don't bother to mention: > >> \begin{eqnarray} >> f(x,y,z) & = & P \times \\ >> \exp \left \[ -\left( \frac{ \cos \theta \cos \phi (x - \mu_x) \\ > > \[ opens displaymath mode, so \left\[ produces the error > > ! Missing delimiter (. inserted). > > and then (if you're crazy enough to press on) > > ! LaTeX Error: Bad math environment delimiter. > >> + \sin \theta (y - \mu_y) \\ >> - \cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \\ > > i suggest you clear up that error (there's a \] later on to clear up, > too). if that lot then works, perhaps you might consider using one of > the amsmath align environments in place of the seriously grotty > eqnarray > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org > From Robin.Fairbairns at cl.cam.ac.uk Fri Apr 8 11:10:19 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Fri Apr 8 11:13:09 2005 Subject: [texhax] Problem with eqnarray In-Reply-To: Your message of Fri, 08 Apr 2005 03:48:40 -0500. Message-ID: > \begin{eqnarray} > f(x,y,z) & = & P \times \\ > \exp \bigl[ -\bigl( \frac{ \cos \theta \cos \phi (x - \mu_x) \\ > + \sin \theta (y - \mu_y) \\ > - \cos \theta \sin \phi (z - \mu_z)}{A_x} \bigr)^2 \\ > -\bigl(\frac{ \sin \theta \cos \phi (x - \mu_x) \\ > + \cos \theta (y - \mu_y) \\ > + \sin \theta \sin \phi (z - \mu_z)}{A_y} \bigr)^2 \\ > -\bigl( \frac{\sin \phi (x - \mu_x) + \cos \phi (z - \mu_z)}{A_z} > \bigr)^2 \bigr] > \end{eqnarray} the problem (which i hadn't spotted before) is presumably the array break commands inside the argument of \frac: each one is trying to start a new alignment line for the eqnarray, and getting confused. \\ is bad news pretty much everywhere except in alignments: take your \frac out of the equation and the \\ commands are ignored. i would recommend putting the array inside the \frac argument into an array or something. From philip.ratcliffe at email.it Fri Apr 8 12:59:35 2005 From: philip.ratcliffe at email.it (Philip Ratcliffe) Date: Fri Apr 8 13:02:20 2005 Subject: [texhax] Help bst file In-Reply-To: <42550EF0.7050505@e-press.co.ma> Message-ID: > I've developed a small (.bst) file for a personal use with the help of > the auxiliary program "makebst" by doing abbreviation for the surnames > (first names) in order to well format the author names but I have some > problems with the (.bib) file that already contains initials or > abbreviation for the surnames i.e. In the bib file we already have for > example : R.M. Wald and when I generate the bbl file with my (.bst) file > the initials are trancated i.e. I obtain > R. Wald ??? instead of R.M. Wald I'd have to see your .bst to be sure, but I suspect that separating the initials in your bib file should solve the prtoblem. That is: author = "R. M. Wald", ^ Cheers, Phil -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Erbe e tisane di primissima qualità. * Inoltre 1800 articoli erboristici. Tutti a portata di un click ! * Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1309&d=8-4 From flom at ndri.org Fri Apr 8 17:25:23 2005 From: flom at ndri.org (Peter Flom) Date: Fri Apr 8 17:28:28 2005 Subject: [texhax] Table question - defined width and alignment Message-ID: Hello again This seems simple, but I've looked in several books and can't find it. I have a table where some of the rows contain text, and some contain numbers. I'd like to make the columns fixed width, with the numbers below set either flush right or decimal aligned.....When I use a p column, it sets the column flush left.....for example \begin{table} \begin{tabular}{|l|p{.8 in}|p{.8in}|}\hline & \multicolumn{2}{c|}{Percent using} \\\hline & Direct questioning & Randomized response \\\hline 18 - 25 & \centering{53} & \centering{48} \tabularnewline \hline 26 - 34 & \centering{36} & \centering{45} \\\hline 35 - 49 & 6 & 19 \\\hline 50 + & <1 & 3\\\hline Total & 21 & 24\\\hline \end{tabular} \end{table} I'd like "Direct Questioning" and "Randomized Response" to be set on two lines in one cell, but the numbers in the columns below to be flush right. Any suggestions? TIA Peter Peter L. Flom, PhD Assistant Director, Statistics and Data Analysis Core Center for Drug Use and HIV Research National Development and Research Institutes 71 W. 23rd St www.peterflom.com New York, NY 10010 (212) 845-4485 (voice) (917) 438-0894 (fax) From jkovacs at scripps.edu Fri Apr 8 00:28:41 2005 From: jkovacs at scripps.edu (Julio Kovacs) Date: Fri Apr 8 17:55:08 2005 Subject: [texhax] running heads on blank pages Message-ID: <4255B419.6080003@scripps.edu> Hi, I was wondering if there is way to avoid having the running head on the blank page that is generated automatically when TeX starts a new chapter on an odd page. Thanks! Julio From lloydb at mail.business.und.edu Fri Apr 8 05:21:25 2005 From: lloydb at mail.business.und.edu (Lloyd ) Date: Fri Apr 8 17:55:09 2005 Subject: [texhax] Nested commands, Matrix labels Message-ID: I have two problems, both in LaTeX . 1. I'm trying to bold a subscripted symbol which is also an element in a matrix. I tried this with: \mathbf{\beta}, but it simply doesn't work. Any ideas here? 2. How to I assign an equation number to a matrix equation? I know I can assign "equation" numbers to rows in an array, but that's not what I want. But I'm not opposed to using the array setup to get the job done. Thanks, Lloyd -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050407/b620489d/attachment.htm From Robin.Fairbairns at cl.cam.ac.uk Fri Apr 8 18:15:40 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Fri Apr 8 18:18:44 2005 Subject: [texhax] running heads on blank pages In-Reply-To: Your message of Thu, 07 Apr 2005 15:28:41 -0700. <4255B419.6080003@scripps.edu> Message-ID: > I was wondering if there is way to avoid having the running head on the > blank page that is generated automatically when TeX starts a new chapter > on an odd page. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=reallyblank From houssni at e-press.co.ma Fri Apr 8 18:24:53 2005 From: houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Fri Apr 8 18:27:46 2005 Subject: [texhax] running heads on blank pages In-Reply-To: <4255B419.6080003@scripps.edu> References: <4255B419.6080003@scripps.edu> Message-ID: <4256B055.8000705@e-press.co.ma> Julio Kovacs a ?crit : > Hi, > I was wondering if there is way to avoid having the running head on > the blank page that is generated automatically when TeX starts a new > chapter on an odd page. > Thanks! > Julio > You have to add in the class file the following command: \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} and to replace in the chapter command the \cleardoublepage by \clearemptydoublepage Good luck > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org > > -- Dr. Mohamed Houssni Assistant d'Edition e-Press, Casablanca Technopark 20100 Casablanca - Maroc Phone : 212 (0)22 52 58 00 Fax : 212 (0)22 21 42 21 From daleif at imf.au.dk Fri Apr 8 20:17:58 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Fri Apr 8 20:20:31 2005 Subject: [texhax] Nested commands, Matrix labels In-Reply-To: References: Message-ID: Lloyd : > I have two problems, both in LaTeX . > > > > 1. I'm trying to bold a subscripted symbol which is also an element in > a matrix. I tried this with: > > > > \mathbf{\beta}, but it simply doesn't work. Any ideas here? > not all symbols exists in a bold version. Try: \usepackage{bm} \bm{\beta} \bm will simulate bold if needed. BTW: \mathbf does not work on symbols anyway, only uppercase greek letters (which is why the bm package is recommended) > > > 2. How to I assign an equation number to a matrix equation? I > know I can assign "equation" numbers to rows in an array, but that's not > what I want. But I'm not opposed to using the array setup to get the job > done. > I don't quite follow, are you looking for a way to simply have a few matrices and an equation number? (assuming the amsmath package) \begin{equation} \begin{pmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{pmatrix} \begin{pmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{pmatrix} = \begin{pmatrix} b_{11} & b_{12} \\ b_{21} & b_{22} \end{pmatrix} \end{equation} -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From ekmath at asianetindia.com Sat Apr 9 05:06:16 2005 From: ekmath at asianetindia.com (E. Krishnan) Date: Sat Apr 9 05:05:07 2005 Subject: [texhax] Nested commands, Matrix labels In-Reply-To: Message-ID: On Thu, 7 Apr 2005, Lloyd wrote: > 1. I'm trying to bold a subscripted symbol which is also an element in > a matrix. Something like this? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \begin{pmatrix} x_{\boldsymbol{\alpha}} & x_{\boldsymbol{\beta}}\\ x_{\boldsymbol{\gamma}} & x_{\boldsymbol{\delta}}\\ \end{pmatrix} \end{equation*} \end{document} > 2. How to I assign an equation number to a matrix equation? I > know I can assign "equation" numbers to rows in an array, but that's not > what I want. Can you explain this a bit more? -- Krishnan From ekmath at asianetindia.com Sat Apr 9 05:49:31 2005 From: ekmath at asianetindia.com (E. Krishnan) Date: Sat Apr 9 05:48:14 2005 Subject: [texhax] Table question - defined width and alignment In-Reply-To: Message-ID: On Fri, 8 Apr 2005, Peter Flom wrote: > \begin{table} > \begin{tabular}{|l|p{.8 in}|p{.8in}|}\hline > & \multicolumn{2}{c|}{Percent using} \\\hline > & Direct questioning & Randomized response \\\hline > 18 - 25 & \centering{53} & \centering{48} \tabularnewline \hline > 26 - 34 & \centering{36} & \centering{45} \\\hline > 35 - 49 & 6 & 19 \\\hline > 50 + & <1 & 3\\\hline > Total & 21 & 24\\\hline > \end{tabular} > \end{table} > > I'd like "Direct Questioning" and "Randomized Response" to be set on > two lines in one cell, but the numbers in the columns below to be flush > right. See whether any of these meets your needs First : \begin{table} \renewcommand{\arraystretch}{1.5} \begin{tabular}{|l|r|r|} \hline & \multicolumn{2}{c|}{Percent using} \\ \cline{2-3} & \multicolumn{1}{p{0.8in}|}{\raggedright Direct \\ questioning} & \multicolumn{1}{p{0.8in}|}{\raggedright Randomized \\ response} \tabularnewline \hline 18 - 25 & 53 & 48 \\ \hline 26 - 34 & 36 & 45 \\ \hline 35 - 49 & 6 & 19 \\ \hline 50 + & $<1$ & 3 \\ \hline Total & 21 & 24 \\ \hline \end{tabular} \end{table} Second : \begin{table} \renewcommand{\arraystretch}{1.5} \begin{tabular}{|l|c|c|} \hline & \multicolumn{2}{c|}{Percent using} \\ \cline{2-3} & \multicolumn{1}{p{0.8in}|}{\raggedright Direct \\ questioning} & \multicolumn{1}{p{0.8in}|}{\raggedright Randomized \\ response} \tabularnewline \hline 18 - 25 & 53 & 48 \\ \hline 26 - 34 & 36 & 45 \\ \hline 35 - 49 & \hphantom{3}6 & 19 \\ \hline 50 + & $<$1 & \hphantom{1}3 \\ \hline Total & 21 & 24 \\ \hline \end{tabular} \end{table} -- Krishnan From Patric.Gloede at t-online.de Sat Apr 9 11:29:01 2005 From: Patric.Gloede at t-online.de (=?ISO-8859-1?Q?Patric_Gl=F6de?=) Date: Sat Apr 9 11:31:43 2005 Subject: [texhax] foiltex Message-ID: <4257A05D.5040708@T-Online.de> Dear TeX support, I want to create a presentation using FoilTeX. Therefore, I have an example of a FoilTex file which can serve as basis for my own slides. Just I do not get along with the settings in the preamble which control the overall appearance of the slides. Would it be possible that you indicate behind the following commands appearing in the preamble what their function is / what effect they produce? Unless I understand their meaning it is of course impossible to change them so that they fit the requirements of my own presentation. --------------------------------------------------------------- ... ... \usepackage{soul} ... ... \hfuzz5pt \vfuzz5pt \newcommand{\rz}[1]{\raisebox{-1.5ex}{#1}} \newcommand{\az}{"`} \newcommand{\sz}{"'} \setlength{\parindent}{0pt} \setlength{\parskip}{18pt} \setlength{\foilheadskip}{18pt} \setlength{\baselineskip}{0pt} \setlength{\textheight}{15.0 cm} \setlength{\topmargin}{ -2.0 cm} \setlength{\textwidth}{ 25 cm} \setlength{\oddsidemargin}{0 cm} \setlength{\headheight}{2.5cm} \LogoOff \definecolor{dtextcolor}{rgb}{0.8,0.8,0.9} \definecolor{etextcolor}{rgb}{0.8,0.0,0.0} \definecolor{textcolor}{rgb}{0.0,0.0,0.5} \pagestyle{fancy} \setlength{\color{textcolor} \headrulewidth}{1.0pt} \setlength{\color{textcolor} \footrulewidth}{1.0pt} ... ... ------------------------------------------------------------------------------- Many thanks for your help! Best regards Patric Gloede From philip.ratcliffe at email.it Sat Apr 9 13:42:59 2005 From: philip.ratcliffe at email.it (Philip Ratcliffe) Date: Sat Apr 9 13:45:32 2005 Subject: [texhax] Help bst file In-Reply-To: <4256745D.4040305@e-press.co.ma> Message-ID: > I would like to do it without taking a look at each time to the bib file. Ok, maybe I should have been a little more explicit: BibTeX does not normally "see" the periods in name abbreviations and so a name appearing in the .bib file as R.M. Wald is interpretted as having a single first name R.M., which it then abbreviates to R. As the documentation probably states (but I don't have anything to hand right now) the corect format for names in the .bib file is "first second surname" (or safer "surname, first second"). In other words, just edit your .bib file (once) and put it into standard format by separating all compacted initals (any decent editting programme will allow you to perform such a task in a jiffy). Then you won't have to look "each time" at your bib file. Cheers, Phil -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Rc auto Zuritel. Assaggia il frutto del risparmio. Clicca qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3177&d=9-4 From Patric.Gloede at t-online.de Sun Apr 10 12:27:40 2005 From: Patric.Gloede at t-online.de (=?ISO-8859-1?Q?Patric_Gl=F6de?=) Date: Sun Apr 10 12:30:18 2005 Subject: [texhax] Including pictures from MS Powerpoint into FoilTeX slides Message-ID: <4258FF9C.6020004@T-Online.de> Dear TeX support, I have some MS PowerPoint slides with diagrams which I want to paste into my FoilTeX slides. (The PPT slides consist of nothing but the diagrams. The diagrams, however, are made up out of different lines and other elements, so that it is not possible to work wit ONE single picture.) What is the most efficient way to get these diagrams into FoilTeX? I have tried to convert the PPT slides into pdf and than use the \includegraphics command. This theoretically works, but of course the format of the then pdf slides is not right. They are too high, so that the picture needs several FoilTeX slides. Just defining another scale or height in the option of \includegraphics did not work --> I did not manage to position the picture afterwards and in fact, what I need, is not to resize the picture itself but to cut away the "white parts" of the pdf slide so that just the original picture appears. I should add, that I do not dispose of Adobe Acrobat which might enable me to tailor the pdf slides with the pictures. Neither do I dispose of devices to convert the ppt pictures into eps and tailor the eps pictures. I would be very grateful for advices how to tackle this not so trivial task! Best regards Patric Gloede From ross at ics.mq.edu.au Sun Apr 10 14:57:31 2005 From: ross at ics.mq.edu.au (Ross Moore) Date: Sun Apr 10 15:03:18 2005 Subject: [texhax] Including pictures from MS Powerpoint into FoilTeX slides In-Reply-To: <4258FF9C.6020004@T-Online.de> References: <4258FF9C.6020004@T-Online.de> Message-ID: <33304363caaac0a939e452b822b001f2@maths.mq.edu.au> Hello Patric, On 10/04/2005, at 8:27 PM, Patric Gl?de wrote: > Dear TeX support, > > I have some MS PowerPoint slides with diagrams which I want to paste > into my FoilTeX slides. (The PPT slides consist of nothing but the > diagrams. The diagrams, however, are made up out of different lines > and other elements, so that it is not possible to work wit ONE single > picture.) Sure it is. PowerPoint can export as HTML, which makes an image per slide, and also into other formats. Just create the exported images at sufficiently high resolution, then scale them down as you import into a pdfLaTeX (or other TeX) document, so that the resulting quality is acceptable. > What is the most efficient way to get these diagrams into FoilTeX? > I have tried to convert the PPT slides into pdf and than use the > \includegraphics command. This theoretically works, but of course the > format of the then pdf slides is not right. They are too high, This works too --- but you need to adjust the 'viewport' and set the 'clip' option, for your \includegraphics commands. > so that the picture needs several FoilTeX slides. Just defining > another scale or height in the option of \includegraphics did not > work --> I did not manage to position the picture afterwards and in > fact, what I need, is not to resize the picture itself but to cut away > the "white parts" of the pdf slide so that just the original picture > appears. That's what the `viewport= ....' option does, along with 'clip'. This is well-documented. > I should add, that I do not dispose of Adobe Acrobat which might > enable me to tailor the pdf slides with the pictures. Neither do I > dispose of devices to convert the ppt pictures into eps and tailor the > eps pictures. Another way, though probably of lesser quality, is to use the image-capture tool in a PDF browser. Adobe Reader 7 has such a feature, but with version 6 you may need the Pro version. > > I would be very grateful for advices how to tackle this not so trivial > task! I'd guess that you have all the tools available already. Just some experience in using them is all that's required. > > Best regards Hope this helps, Ross Moore > > Patric Gloede > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org > ------------------------------------------------------------------------ Ross Moore ross@maths.mq.edu.au Mathematics Department office: E7A-419 Macquarie University tel: +61 +2 9850 8955 Sydney, Australia fax: +61 +2 9850 8114 ------------------------------------------------------------------------ From glimming at kth.se Sun Apr 10 16:45:29 2005 From: glimming at kth.se (Johan Glimming) Date: Sun Apr 10 16:48:08 2005 Subject: [texhax] Problems with pxfonts/txfonts and lambda/Lambda + local macro modes Message-ID: Dear TeXhax, I have two different questions, so I decided to write them up in one single email. 1. I have had a hard time to typeset \lambda, \Lambda, and have still not figured out how to typeset \forall and \exists *nicely* while using pxfonts and txfonts. I use these fonts because in my opinion they look better on slides. However, I am using \mathtt{} for variables etc, and it looks extremely ugly with the tx/pxfonts math symbols. So, I introduced some hacks: \DeclareSymbolFont{greekletters} {OML}{cmr}{m}{n} \DeclareSymbolFont{operators} {OT1}{cmr}{m}{n} \DeclareMathSymbol{\lambda}{\mathalpha} {greekletters}{"15} And then to write a nice lambda in mathtt{...}- contexts: \newcommand{\lam}[2]{\text{${\fontfamily{cmmii} \lambda}$}\tm{#1.\, #2}} Admittedly, this is an ugly hack, and my question -finally- is: can I more nicely change greek letters, and forall/exists to their standard mathtt format while using pxfonts/txfonts? 2. Suppose I have a bunch of local definitions in LaTeX, and wish to temporarilly override some built-in macros, and set, say, \def\G{\Gamma} \def\L{\lambda} \def\D{\Delta} for convenience. Is there a way to make a "lambda mode" such that I can write \lambdaMode \endLambdaMode rather than introducing brackets {...}?which tends to be cumbersome to match, and sometimes causes hard-to-track-down errors in LaTeX? Yours Sincerely, Johan Glimming From SUKOMAL at csiberkeley.com Sun Apr 10 21:34:30 2005 From: SUKOMAL at csiberkeley.com (Sukomal Modak) Date: Sun Apr 10 21:38:20 2005 Subject: [texhax] Problem with eqnarray Message-ID: Dear Modhumita, > > \begin{eqnarray} > > f(x,y,z) & = & P \times \\ > > \exp \bigl[ -\bigl( \frac{ \cos \theta \cos \phi (x - \mu_x) \\ > > + \sin \theta (y - \mu_y) \\ > > - \cos \theta \sin \phi (z - > \mu_z)}{A_x} \bigr)^2 \\ > > -\bigl(\frac{ \sin \theta \cos \phi (x - \mu_x) \\ > > + \cos \theta (y - \mu_y) \\ > > + \sin \theta \sin \phi (z - \mu_z)}{A_y} > \bigr)^2 \\ > > -\bigl( \frac{\sin \phi (x - \mu_x) + \cos \phi (z - \mu_z)}{A_z} > > \bigr)^2 \bigr] \end{eqnarray} You can try any of the following two options: \usepackage[?]{amsmath} \begin{eqnarray} f(x,y,z) = P \times \exp \Bigg[ &-&\left(\frac{ \cos \theta \cos \phi (x - \mu_x) +\sin \theta (y - \mu_y) -\cos \theta \sin \phi (z - \mu_z)} {A_x} \right)^2 \nonumber \\ &-&\left(\frac{ \sin \theta \cos \phi (x - \mu_x) +\cos \theta (y - \mu_y) +\sin \theta \sin \phi (z - \mu_z)} {A_y} \right)^2 \nonumber \\ &-&\left(\frac{ \sin \phi (x - \mu_x) +\cos \phi (z - \mu_z)} {A_z} \right)^2 \Bigg] \end{eqnarray} \begin{align} f(x,y,z) = P \times \exp \Bigg[ &-\left(\frac{ \cos \theta \cos \phi (x - \mu_x) +\sin \theta (y - \mu_y) -\cos \theta \sin \phi (z - \mu_z)}{A_x} \right)^2 \nonumber\\ &-\left(\frac{ \sin \theta \cos \phi (x - \mu_x) +\cos \theta (y - \mu_y) +\sin \theta \sin \phi (z - \mu_z)}{A_y} \right)^2 \nonumber\\ &-\left(\frac{ \sin \phi (x - \mu_x) +\cos \phi (z - \mu_z)}{A_z} \right)^2 \Bigg] \nonumber \end{align} For the second option, you need to use the amsmath package with \usepackage[?]{amsmath}. You can use multiple package as you need. For example, AASTeX style package can also be used. I hope amsmath and aastex are compatible (I have no real experience in using both of them together). If you include both the equations, you will be able to see the difference in spacings before the minus signs. For the equation typeset with align environment, the spacings are much better than that for plain eqnarray. This is what Morten and Robin mentioned earlier. You do not need to put \\ after every line in your input tex file in any of the equation environment. You need to put this only where you want a line break in the displayed equation in the output. The use of extra \\ after the group for \frac started with { and before closing the group with } is confusing. Is it a real line break or a line break within the numerator of frac? This is what Robin pointed out. You can use \left( and \right) pair, or similar pairs, across lines. That is why you were getting error messages. If you open an adjustable size parenthesis with \left( and if you have to break the line before closing it with \right), you can use a dummy closing using \right. . For example: \left( blah blah \right. \\ \left. blah blah \right) However, sometimes this creates a problem in determining the appropriate size of the parenthesis automatically. In such case you can use \bigl(, \big(, \bigg(, \Big(, \Bigg(, etc. This is also mentioned by Morten. You do not need any escape character to get [ bracket. A simple [ or \left[ is good enough. \[ has a special meaning. However, you need \{ to get braces in the equation, as { alone has a special meaning. You should also consider giving extra spacing after \theta and \phi using \, or \; to beautify the equations. I suggest that you read the amsmath documentation. This will pay you big time. Hope this helps. Regards, -- Sukomal Modak ================================= Sukomal Modak, Ph.D. Structural Engineer (R&D) Computers and Structures, Inc. 1995 University Ave., Suite 540 Berkeley, CA 94704 Tel: (510) 845-2177 (x 234) Fax: (510) 845-4096 ================================= From s.schwartz at imperial.ac.uk Mon Apr 11 11:20:56 2005 From: s.schwartz at imperial.ac.uk (Steve Schwartz) Date: Mon Apr 11 11:25:18 2005 Subject: [texhax] Including pictures from MS Powerpoint into FoilTeX slides In-Reply-To: <4258FF9C.6020004@T-Online.de> References: <4258FF9C.6020004@T-Online.de> Message-ID: <1113211254.2036.6.camel@fred.local> pdfcrop (from the CTAN archives) does a very good job of getting rid of the surrounding white space in a pdf image. Not 100% of the time, so using a viewport may still be necessary, but better than most other things I've tried. Actually, if all you want it for is presentation purposes, the quickest approach is to view the original as large as possible on the screen, then use a screen capture routine and save as a png (if you use pdflatex) or jpeg or bmp or whatever. Any standard bitmap editor (I use gimp) will then do a simple crop for you. This doesn't preserve the vector nature of the graphic, but I don't the presentation screen has higher resolution than your computer screen so there is nothing to be lost. Steve On Sun, 2005-04-10 at 11:27, Patric Gl?de wrote: > Dear TeX support, > > I have some MS PowerPoint slides with diagrams which I want to paste > into my FoilTeX slides. (The PPT slides consist of nothing but the > diagrams. The diagrams, however, are made up out of different lines and > other elements, so that it is not possible to work wit ONE single picture.) > What is the most efficient way to get these diagrams into FoilTeX? > I have tried to convert the PPT slides into pdf and than use the > \includegraphics command. This theoretically works, but of course the > format of the then pdf slides is not right. They are too high, so that > the picture needs several FoilTeX slides. Just defining another scale > or height in the option of \includegraphics did not work --> I did not > manage to position the picture afterwards and in fact, what I need, is > not to resize the picture itself but to cut away the "white parts" of > the pdf slide so that just the original picture appears. > I should add, that I do not dispose of Adobe Acrobat which might > enable me to tailor the pdf slides with the pictures. Neither do I > dispose of devices to convert the ppt pictures into eps and tailor the > eps pictures. > > I would be very grateful for advices how to tackle this not so trivial task! > > Best regards > > Patric Gloede > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org -- +-------------------------------------------------------------------+ 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@imperial.ac.uk Imperial College London Office: Huxley 6M70 London SW7 2BW, U.K. Web: http://www.sp.ph.ic.ac.uk/ +-------------------------------------------------------------------+ From ram.dwivedula at okstate.edu Sun Apr 10 14:27:30 2005 From: ram.dwivedula at okstate.edu (Ramamurthy V. Dwivedula) Date: Mon Apr 11 15:05:22 2005 Subject: [texhax] a question Message-ID: <000801c53dc8$aa160310$e64a4e8b@agni> Hi, I would like to get the figure caption as: Figure 4 - Surface winding Newsprint instead of Figure 4: Surface winding Newsprint. Is there a way to change the style of caption? Thanks. Sincerely Ramamurthy -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050410/bd433b67/attachment-0001.htm From Derek.Tardif at USherbrooke.ca Mon Apr 11 00:14:57 2005 From: Derek.Tardif at USherbrooke.ca (Derek Tardif) Date: Mon Apr 11 15:05:24 2005 Subject: [texhax] Problem with listoffigures Message-ID: <000001c53e1a$bb44b080$0402a8c0@DIT> Skipped content of type multipart/related-------------- next part -------------- A non-text attachment was scrubbed... Name: List of figures.pdf Type: application/pdf Size: 63290 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20050410/e84f2bf3/Listoffigures-0001.pdf From philip.ratcliffe at uninsubria.it Mon Apr 11 17:15:46 2005 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Mon Apr 11 17:19:14 2005 Subject: SPAM:[texhax] Problem with listoffigures In-Reply-To: <000001c53e1a$bb44b080$0402a8c0@DIT> Message-ID: > I put in attachment the PDF file that shows the problem I'm having. > The problem is in the List of Figures part provide by the > command \listoffigures. For figure number 1 to 99, there's no problem, > but in my case, I have 200 figures in Appendix. As shown in the last > 4 pages of the PDF file, the number of figure overlap the caption of > the figure??? Even for the figure A.10 to A.99, the caption is too > close from the numbers. > > So, to overcome this problem, after finishing all my text, I went in > the *.lof file and overwrite \ignorespaces by \hspace{0.1in} for each > figure. It works well for small caption, but for captions that take 2 > lines, the second line will not be at the same horizontal position as > the first letter of the caption from the first line. > > So, is there a way to increase the horizontal space between the number > and the caption in the List of Figures? It must also have the same > problem for List of Tables, but I don't have 100 tables J Put this in your preamble \makeatletter \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \makeatother And play with the last length; probably 3.3em is already enough. Do the same for \l@table if you need to. Cheers, Phil From daleif at imf.au.dk Mon Apr 11 17:28:37 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Mon Apr 11 17:31:11 2005 Subject: [texhax] a question In-Reply-To: <000801c53dc8$aa160310$e64a4e8b@agni> References: <000801c53dc8$aa160310$e64a4e8b@agni> Message-ID: Ramamurthy V. Dwivedula : > Hi, > > I would like to get the figure caption as: > > Figure 4 - Surface winding Newsprint > > instead of > > Figure 4: Surface winding Newsprint. > > Is there a way to change the style of caption? > > Thanks. > > Sincerely > > Ramamurthy easily done using the caption package (see the doc) -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From caretti at icmm.csic.es Mon Apr 11 18:07:38 2005 From: caretti at icmm.csic.es (I.Caretti) Date: Mon Apr 11 18:11:00 2005 Subject: [texhax] greek letters in ghostscript Message-ID: <6.1.2.0.0.20050411175947.01c45698@icmm.csic.es> dear texhax: I have a problem with greek letters in *.eps format. When I export a graph from Origin in EPS fomat the greek letters disappear. So, I cannot include EPS figures in LaTeX with greek letters. I tried with exporting the graphs as WMF and then converting with WMF2EPS, and it worked, but the graphs are very different in colour, size, contrast, transparency, etc. from the directly exported to EPS. What can I do to solve this problem???? Do I Have to include symbol fonts or anything similar in Ghostscript? Thanks in advance I.Caretti From kashif at ccse.kfupm.edu.sa Sun Apr 10 18:14:55 2005 From: kashif at ccse.kfupm.edu.sa (Kashif Khan) Date: Mon Apr 11 19:46:03 2005 Subject: [texhax] Table overloaded Message-ID: <000801c53ea9$2c711210$12035a0a@BabULaL> Hi, I'm creating many tables in my tex file by using \begin{table} but when I compile my program it gives me error "Too many unprocessed floats". It seems that LaTeX cannot handle more than 20 tables in a file. Since I've to give label and use captions with those tables that is why I'm using \begin{table}. Is there any solution for this particular problem? Muhammad Kashif Saeed Khan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050410/23751b7a/attachment.htm From kashif at kfupm.edu.sa Mon Apr 11 17:28:47 2005 From: kashif at kfupm.edu.sa (Kashif Khan) Date: Mon Apr 11 20:08:44 2005 Subject: [texhax] greek letters in ghostscript References: <6.1.2.0.0.20050411175947.01c45698@icmm.csic.es> Message-ID: <001b01c53eab$278737f0$12035a0a@BabULaL> Hi, Do not save them as .eps print them as .eps. When you are done with your figure press Ctrl+P and select the printer that offers postscript if you don't have one than install it. After selecting the printer press the Properties button and then in the Layout tag press the Advanced button. You will see a list of options, under Document Options you will find PostScript Options and under it you will find PostScript Output Option which is "Optimized for Speed". Change it to "Encapsulated PostScript" and then press OK....OK....and then check Print to File check box and finally press OK. You are done with saving the eps file. Kashif Khan. ----- Original Message ----- From: "I.Caretti" To: Sent: Monday, April 11, 2005 9:07 PM Subject: [texhax] greek letters in ghostscript > dear texhax: > > I have a problem with greek letters in *.eps format. When I export a graph > from Origin in EPS fomat the greek letters disappear. > So, I cannot include EPS figures in LaTeX with greek letters. I tried with > exporting the graphs as WMF and then converting with WMF2EPS, and it > worked, but the graphs are very different in colour, size, contrast, > transparency, etc. from the directly exported to EPS. > What can I do to solve this problem???? Do I Have to include symbol fonts > or anything similar in Ghostscript? > > Thanks in advance > > I.Caretti > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org > > From daleif at imf.au.dk Mon Apr 11 20:53:08 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Mon Apr 11 20:57:12 2005 Subject: [texhax] Table overloaded In-Reply-To: <000801c53ea9$2c711210$12035a0a@BabULaL> References: <000801c53ea9$2c711210$12035a0a@BabULaL> Message-ID: Kashif Khan : > Hi, > > I'm creating many tables in my tex file by using \begin{table} but when > I compile my program it gives me error "Too many unprocessed floats". It > seems that LaTeX cannot handle more than 20 tables in a file. Since I've > to give label and use captions with those tables that is why I'm using > \begin{table}. > it handles hundres of tables just fine. the problem is like it says: Too many unprocessed floats, meaning that the number of floats that are currently in memory and not yet placed are too large. Try inserting \clearpage some places, it dumps all unprocessed floats, and after the last one it starts a new page. specifying something to the optional argument to \begin{table} might also be usefull. -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From philip.ratcliffe at email.it Mon Apr 11 21:56:52 2005 From: philip.ratcliffe at email.it (Philip Ratcliffe) Date: Mon Apr 11 22:00:12 2005 Subject: [texhax] greek letters in ghostscript In-Reply-To: <6.1.2.0.0.20050411175947.01c45698@icmm.csic.es> Message-ID: > I have a problem with greek letters in *.eps format. When I > export a graph > from Origin in EPS fomat the greek letters disappear. > So, I cannot include EPS figures in LaTeX with greek letters. I > tried with > exporting the graphs as WMF and then converting with WMF2EPS, and it > worked, but the graphs are very different in colour, size, contrast, > transparency, etc. from the directly exported to EPS. > What can I do to solve this problem???? Do I Have to include symbol fonts > or anything similar in Ghostscript? If you can, try exporting to jpg and then use jpg2ps to convert (it's not really conversion, just wrapping, so it shouldn't change the figures). Another alternative, instead of exporting to eps, is to set up a postscript printer and print to file (one figure at a time of course) and then convert to eps using ghostview. Cheers, Phil -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Ascolta le migliori suonerie per il tuo cellulare Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=3113&d=11-4 From philip.ratcliffe at email.it Mon Apr 11 22:02:12 2005 From: philip.ratcliffe at email.it (Philip Ratcliffe) Date: Mon Apr 11 22:05:08 2005 Subject: [texhax] Table overloaded In-Reply-To: <000801c53ea9$2c711210$12035a0a@BabULaL> Message-ID: > I'm creating many tables in my tex file by using \begin{table} > but when I compile my program it gives me error "Too many > unprocessed floats". It seems that LaTeX cannot handle more > than 20 tables in a file. Since I've to give label and use > captions with those tables that is why I'm using \begin{table}. > > Is there any solution for this particular problem? Yes, \clearpage. If that doesn't mean much, look at Qs. 300 and 340 of the TeX FAQ: http://www.tex.ac.uk/faq, indicated at the bottom of most postings to this list. Cheers, Phil -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Mal di schiena? Le nostre panche ad inversione sono la soluzione giusta per te: distendono la colonna vertebrale e rilassano i muscoli. * Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2843&d=11-4 From shitao at hotmail.com Mon Apr 11 23:24:07 2005 From: shitao at hotmail.com (Tao Shi) Date: Mon Apr 11 23:28:33 2005 Subject: [texhax] how to overwrite the default figure number In-Reply-To: <200504111312.j3BDCDq23541@tug.org> Message-ID: For example, I use the following code to include a figure in my text and this is the 2nd figure in the text. ... \begin{figure}[htp] \centerline {\includegraphics [width=14cm, viewport=60 315 545 573, clip] {fig2}} \centering \caption[]{} \label{fig2} \end{figure} .... By default, LaTex will put "Figure 2:" under the figure. What if I want to change it to something like "Figure A.2:", how can I do it? Thanks, ...Tao From Robin.Fairbairns at cl.cam.ac.uk Tue Apr 12 00:40:27 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Tue Apr 12 00:45:04 2005 Subject: [texhax] Table overloaded In-Reply-To: Your message of Mon, 11 Apr 2005 20:53:08 +0200. Message-ID: > Kashif Khan : > > > Hi, > > > > I'm creating many tables in my tex file by using \begin{table} but when > > I compile my program it gives me error "Too many unprocessed floats". It > > seems that LaTeX cannot handle more than 20 tables in a file. Since I've > > to give label and use captions with those tables that is why I'm using > > \begin{table}. > > > > it handles hundres of tables just fine. > > the problem is like it says: Too many unprocessed floats, meaning that the > number of floats that are currently in memory and not yet placed are too > large. or are all specified to go "here", and one of them doesn't fit. > Try inserting \clearpage some places, it dumps all unprocessed floats, and > after the last one it starts a new page. that's certainly a good way of getting out of the worst effects. > specifying something to the optional argument to \begin{table} might also > be usefull. more often, _removing_ the misguided optional argument is more useful. there is the occasional table that's too big, but bad placement instructions by the user are far commoner sources of problems. of course, the faq covers all of this, but it's probably too much to expect people to read it... http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tmupfl and links from that page. From mss4 at duke.edu Tue Apr 12 01:13:34 2005 From: mss4 at duke.edu (mss4@duke.edu) Date: Tue Apr 12 01:16:35 2005 Subject: [texhax] script letters Message-ID: Would anyone know how to make script lettering. For example in matched asymptotic expansions one often uses a script 'o' for outer variables and a script 'i' for inner variables. Thanks From Robin.Fairbairns at cl.cam.ac.uk Tue Apr 12 01:18:06 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Tue Apr 12 01:21:08 2005 Subject: [texhax] Table overloaded In-Reply-To: Your message of Mon, 11 Apr 2005 22:02:12 +0200. Message-ID: philip ratcliffe wrote: > If that doesn't mean much, look at Qs. 300 and 340 of the TeX FAQ: > http://www.tex.ac.uk/faq, indicated at the bottom of most postings to this > list. there's no simple way of getting from the faq link to numbered questions. this is because numbered questions are the spawn of the devil, as i realised after only two upgrades, back in 1995-6. i withdrew all mention of them a year or so later, though they remain in printed copies of the faq. please don't advertise faq questions by number: numbers change from edition to edition (and i'm about to release a new edition [d.v.]). From daleif at imf.au.dk Tue Apr 12 09:04:18 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Tue Apr 12 09:08:58 2005 Subject: [texhax] how to overwrite the default figure number In-Reply-To: References: Message-ID: Tao Shi : > For example, I use the following code to include a figure in my text and this > is the 2nd figure in the text. > > ... > > \begin{figure}[htp] > \centerline {\includegraphics [width=14cm, viewport=60 315 545 573, clip] > {fig2}} > \centering > \caption[]{} > \label{fig2} > \end{figure} > > .... > > By default, LaTex will put "Figure 2:" under the figure. What if I want to > change it to something like "Figure A.2:", how can I do it? > > Thanks, > > ...Tao > assuming this is for some appendix: \renewcommand\thefigure{\Alph{section}.\arabic{figure}} or similar -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From philip.ratcliffe at uninsubria.it Tue Apr 12 11:19:51 2005 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Tue Apr 12 11:23:16 2005 Subject: [texhax] how to overwrite the default figure number In-Reply-To: Message-ID: > assuming this is for some appendix: > > \renewcommand\thefigure{\Alph{section}.\arabic{figure}} And if it's not for an appendix or you want something more self-adapting (i.e., that works with normal sections too): \renewcommand\thefigure{\thesection.\arabic{figure}} Cheers, Phil From philip.ratcliffe at uninsubria.it Tue Apr 12 11:22:16 2005 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Tue Apr 12 11:25:06 2005 Subject: [texhax] Table overloaded In-Reply-To: Message-ID: > please don't advertise faq questions by number: numbers change from Point taken, I won't do it again. Cheers, Phil > edition to edition (and i'm about to release a new edition [d.v.]). Good, I for one will certainly be using it! Cheers and thanks, Phil From Sabine.Damme at mailbox.tu-dresden.de Mon Apr 11 14:24:48 2005 From: Sabine.Damme at mailbox.tu-dresden.de (Sabine Damme) Date: Tue Apr 12 18:06:22 2005 Subject: [texhax] Problem with dvips Message-ID: Dear Ladies and Gentleman, I have a problem, hopefully you can help. I am using Latex and translating "dvips" I get problems with some variables. E.g. in the translation "fi" is in the ps-File the ? , "fl" looks like ?. I know, that this has something to do with T1 and T3 fonts, but unfortunately not, who to solve the problem. I am using: WinEdt 5.4 Yap 0.98 GSView32.exe 4.4 I really hope that you can help, because it is important for my PhD-thesis. Thank you very much, Sabine Damme ************************************* Dipl.-Ing. Sabine Damme Technische Universit?t Dresden Fakultaet Bauingenieurwesen Lehrstuhl f?r Mechanik 01062 Dresden Tel. +49 (351) 463 36658 Fax:+49 (351) 463 37200 Sabine.Damme@mailbox.tu-dresden.de -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050411/0d2c61ca/attachment.htm From R.Gejaraj at spitech.com Tue Apr 12 15:00:57 2005 From: R.Gejaraj at spitech.com (Raja Gejaraj) Date: Tue Apr 12 18:06:23 2005 Subject: [texhax] Phonetics - Italic fonts in MikTeX Message-ID: <4A61088D41FC1B4AA2C3A7C3E95AE9E3115FE5@spsind001s.india.spitech.com> Hello everybody, I'm doing a project using MikTeX with lot many phonetic symbols. In this project some where the symbols are in italics. I'm trying to do with \textit command, but it's not working. Can anyone help me to do phonetics symbols in italics and also pl. confirm whether the phonetic italic fonts are available or not? Thanks in advance. G. Raja -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050412/c394e81d/attachment.htm From morten.hoegholm at latex-project.org Tue Apr 12 18:53:01 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Tue Apr 12 18:57:16 2005 Subject: [texhax] Problem with dvips In-Reply-To: References: Message-ID: On Mon, 11 Apr 2005 14:24:48 +0200, Sabine Damme wrote: > Dear Ladies and Gentleman, > I have a problem, hopefully you can help. I am using Latex and > translating > "dvips" I get problems with some variables. E.g. in the translation "fi" > is > in the ps-File the ? , > "fl" looks like ?. I know, that this has something to do with T1 and T3 > fonts, but unfortunately not, who to solve the problem. > I am using: > WinEdt 5.4 > Yap 0.98 > GSView32.exe 4.4 > I really hope that you can help, because it is important for my > PhD-thesis. See . You must be running a *very* old version of MiKTeX - it can be updated rather painlessly actually. -- Morten From Robin.Fairbairns at cl.cam.ac.uk Tue Apr 12 19:40:30 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Tue Apr 12 19:43:59 2005 Subject: [texhax] Problem with dvips In-Reply-To: Your message of Mon, 11 Apr 2005 14:24:48 +0200. Message-ID: > This is a multi-part message in MIME format. > > --===============0778951296== > Content-Type: multipart/alternative; > boundary="----=_NextPart_000_0022_01C53EA2.37437900" > > This is a multi-part message in MIME format. > > ------=_NextPart_000_0022_01C53EA2.37437900 > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: quoted-printable > > Dear Ladies and Gentleman, > =20 > I have a problem, hopefully you can help. I am using Latex and = > translating > "dvips" I get problems with some variables. E.g. in the translation "fi" = > is > in the ps-File the =A3 , =20 > "fl" looks like =A4. I know, that this has something to do with T1 and = > T3 > fonts, but unfortunately not, who to solve the problem. > =20 > I am using: > =20 > WinEdt 5.4 > Yap 0.98 > GSView32.exe 4.4 > =20 > =20 > I really hope that you can help, because it is important for my = > PhD-thesis. i presume you're using times (or some other type 1 font)? http://www.tex.ac.uk/cgi-bin/texfaq2html?label=charshift deals with that effect. From ekmath at asianetindia.com Tue Apr 12 20:13:16 2005 From: ekmath at asianetindia.com (E. Krishnan) Date: Tue Apr 12 20:12:34 2005 Subject: [texhax] script letters In-Reply-To: Message-ID: On Mon, 11 Apr 2005 mss4@duke.edu wrote: > Would anyone know how to make script lettering. For example in matched > asymptotic expansions one often uses a script 'o' for outer variables and > a script 'i' for inner variables. For upper case script letters in math, the best seems to be those produced by "\mathscr" in the "mathrsfs" package. For others, the Zapf Chancery italics "\usefont{T1}{pzc}{m}{it}" come closest to script letters, as far as I know. -- Krishnan From speter at dandy.net Tue Apr 12 20:30:24 2005 From: speter at dandy.net (Steve Peter) Date: Tue Apr 12 21:34:03 2005 Subject: [texhax] Phonetics - Italic fonts in MikTeX In-Reply-To: <4A61088D41FC1B4AA2C3A7C3E95AE9E3115FE5@spsind001s.india.spitech.com> References: <4A61088D41FC1B4AA2C3A7C3E95AE9E3115FE5@spsind001s.india.spitech.com> Message-ID: <2a023813979fb4f5f78d8dd3c2a8f70f@dandy.net> On Apr 12, 2005, at 9:00 AM, Raja Gejaraj wrote: > I'm?doing a project using MikTeX with lot many phonetic symbols. In > this project some where?the symbols are in italics. I'm trying to do > with \textit command, but it's not working. Can anyone help me to do > phonetics symbols in italics and also pl. confirm whether the phonetic > italic fonts are available or not? What are you using for your IPA fonts? TIPA has italic/slanted versions of the symbols, so you should be able to get them, although phonetics symbols are usually used upright. Check the manual. Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 799 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20050412/1106b779/attachment.bin From Robin.Fairbairns at cl.cam.ac.uk Tue Apr 12 22:58:06 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Tue Apr 12 23:01:35 2005 Subject: [texhax] Phonetics - Italic fonts in MikTeX In-Reply-To: Your message of Tue, 12 Apr 2005 18:30:57 +0530. <4A61088D41FC1B4AA2C3A7C3E95AE9E3115FE5@spsind001s.india.spitech.com> Message-ID: > I'm doing a project using MikTeX with lot many phonetic symbols. In this = > project some where the symbols are in italics. I'm trying to do with = > \textit command, but it's not working. Can anyone help me to do = > phonetics symbols in italics and also pl. confirm whether the phonetic = > italic fonts are available or not? since you don't say which phonetic symbol package you're using, it's impossible to guess what might be available to you. the tipa package, aiui (i'm not a phoneticist), does the job properly, and is well-integrated with latex. i don't think any of the other packages does integrate with latex, so wouldn't necessarily respond to \textit (or any latex font command). From mmitra at astro.uiuc.edu Tue Apr 12 23:20:25 2005 From: mmitra at astro.uiuc.edu (Modhurita Mitra) Date: Tue Apr 12 23:23:31 2005 Subject: [texhax] Calligraphic font in equation environment In-Reply-To: References: Message-ID: Hi, Is the calligraphic style to be used in some special way in the equation environment? The following does not work, the stuff after the \cal{F} doesn't show up properly. \begin{equation} F(u) = |F(u)| \exp [i \psi (u)] = \cal{F} [f(x)] \end{equation} Thanks, M. ******************************************************************************* Modhurita Mitra 130 Astronomy Building / 4153 Beckman Institute University of Illinois at Urbana-Champaign Urbana IL 61801 Phone: Office: 217-244-2039 / 217-244-3008 Home : 217-378-4875 URL: http://www.astro.uiuc.edu/~mmitra ******************************************************************************* From alan at alphabyte.co.nz Wed Apr 13 03:45:58 2005 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Wed Apr 13 03:38:15 2005 Subject: [texhax] hyperref conflicts with apacite Message-ID: <40000.60.234.48.114.1113356758.squirrel@webmail.ak.planet.gen.nz> Hi all, Sorry about the cross post. I am writing a largish document of around 286 pages, with a large number of cross references and citations. I have recently considered using hyperref to help in proofing, checking citations and that kind of thing. My university requires that I use APA 5th, and for this reason I am using apacite, since it renders APA accurately. But... I have a problem with hyperref. It conflicts with any citations using apacite in which the style outputs something (full, citation, year only, etc), but has no problem with \nocite (i.e. no output required). I have put the \usepackage statement after all the rest of the prolog items and it returns the same result. It gasps on the first \cite statement. I looked at using natbib, since hyperref works with that, but natbib does not support apacite.sty. So that is not an option for me. I have read through the hyperref documentation pdf and noted that apacite should be supported, but it seems something has been broken. I also noted the limitations described there and taken those into account. I am using TeXShop on MacOS X 10.3.8, hyperref.sty version 6.74m, and apacite.sty version 2004/07/01 (these are those that were provided wth the latest TeXLive distribution). I have asked this question of the OS X TeX list, but have not been able to resolve it so far. Any help would be appreciated. Cheers Alan From texnic at photonica.ru Wed Apr 13 06:41:26 2005 From: texnic at photonica.ru (Konstantin Karapetyan) Date: Wed Apr 13 06:44:03 2005 Subject: [texhax] Calligraphic font in equation environment In-Reply-To: References: Message-ID: <1371084423.20050413084126@photonica.ru> > Is the calligraphic style to be used in some special way in the > equation environment? The following does not work, the stuff after the > \cal{F} doesn't show up properly. > \begin{equation} > F(u) = |F(u)| \exp [i \psi (u)] = \cal{F} [f(x)] > \end{equation} That's command vs. declaration difference. Use either {\cal F}[f(x)] or \mathcal{F}[f(x)]. HT, Konstantin. From skalman at acc.umu.se Wed Apr 13 09:06:15 2005 From: skalman at acc.umu.se (=?ISO-8859-1?Q?Stefan_Bj=F6rk?=) Date: Wed Apr 13 09:08:59 2005 Subject: [texhax] hyperref conflicts with apacite In-Reply-To: <40000.60.234.48.114.1113356758.squirrel@webmail.ak.planet.gen.nz> References: <40000.60.234.48.114.1113356758.squirrel@webmail.ak.planet.gen.nz> Message-ID: <425CC4E7.9050300@acc.umu.se> > I have a problem with hyperref. It conflicts with any citations using apacite > in which the style outputs something (full, citation, year only, etc), but has > no problem with \nocite (i.e. no output required). Apacite has some compatibility problems with hyperref. See section 6.3 (page 39) in the apacite manual (july 1, 2004): "... the hyperref package ... needs to redefine the citation commands and reference list commands ... These redefinitions are incompatible with redefinitions of the citation commands by apacite." "An attempt to achieve this can be tried through the hyper option of apacite. This activates some code ... that makes apacite and hyperref work together to some extent. However, different things go wrong depending on the order in which the two packages are loaded." Read the rest yourself. :-) Stefan From catdogbeloved at yahoo.com Wed Apr 13 12:06:40 2005 From: catdogbeloved at yahoo.com (Bob Hunter) Date: Wed Apr 13 12:09:26 2005 Subject: [texhax] Re: hyperref problems with backward references In-Reply-To: 6667 Message-ID: <20050413100640.58545.qmail@web31306.mail.mud.yahoo.com> Re: \makeatletter The test example is indeed solved using this command and calling hyperref right before the \begin{document}. However, this does not solve the original problem, in my style package, where no \makeatletter is needed, and hyperref is loaded as above. The error I get is the following, and tex is not helping to trace the exact point where it occurs. Due to the size of the style package, the attempt to reduce this problem to a test example is not straightforward. Tex offers a page number and a line number, but they seem to refer to dynamic content, generated on the fly for the references and used as data to instantiate code in the the style package. It would be very useful in this situation if tex's debug would allow more than the following: >Type to proceed, S to scroll future error messages, >R to run without stopping, Q to run quietly, >I to insert something, E to edit your file, >1 or ... or 9 to ignore the next 1 to 9 tokens of input, >H for help, X to quit. >? >The control sequence at the end of the top line >of your error message was never \def'ed. If you have >misspelled it (e.g., `\hobx'), type `I' and the correct >spelling (e.g., `I\hbox'). Otherwise just continue, >and I'll forget about whatever was undefined. It would be helpful to have an additional help key, to list all the open files and the line number at that breakpoint, as a proper debugger would do. Anyway, the original error is as follows. ! Missing control sequence inserted. \inaccessible l.337 ? ! Extra }, or forgotten \endgroup. ...malfont \protect \sc bibliography} l.337 ? ? [150.150] ! Extra \else. \addpenalty ...tskip =\z@ \penalty #1\relax \else \@tempskipb \lastskip \vsk... l.337 ? ? ! Extra \else. \addpenalty ...skip \@tempskipb \fi \fi \fi \else \@noitemerr \fi l.337 ? ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.337 ? __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From lian.mo at gmail.com Wed Apr 13 03:40:16 2005 From: lian.mo at gmail.com (Lian Mo) Date: Wed Apr 13 14:49:55 2005 Subject: [texhax] No Bold fonts in Table of Contents Message-ID: <107c52170504121840112f2b42@mail.gmail.com> Hi: I am a Phd student at FIU. The requirement of my dissertation is: no bold fonts in the page of Table of Contents, but all the chapter pages are bold fonts. How can I change it back to normal fonts? Thanks Lian Mo From ibarkana at comcast.net Wed Apr 13 12:50:37 2005 From: ibarkana at comcast.net (Itzhak Barkana) Date: Wed Apr 13 14:49:57 2005 Subject: [texhax] ieeeconf.cls is old Message-ID: <000201c54016$a46b97e0$458e5044@userqkm1e3oj4s> I used the ieeeconf.cls that was sent to me by the conference site with no problems. Afterwards, I downloaded the complete system from CTAN, and I wanted to use it the regular way. I suddenly started to have problems, until I observed that the stored CTAN ieeeconf.cls file is old. I replaced it with my updated version 1.6 and no problems again. However, problems start again whenever I "update" the system. I can replace it myself every time I update, yet for the general public maybe it can be updated in the http://www.tug.org/ctan.html storage. Thanks, Itzhak Barkana -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050413/cef8ccc3/attachment.htm From daleif at imf.au.dk Wed Apr 13 15:32:58 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Wed Apr 13 15:35:32 2005 Subject: [texhax] No Bold fonts in Table of Contents In-Reply-To: <107c52170504121840112f2b42@mail.gmail.com> References: <107c52170504121840112f2b42@mail.gmail.com> Message-ID: Lian Mo : > Hi: > I am a Phd student at FIU. The requirement of my dissertation is: no > bold fonts in the page of Table of Contents, but all the chapter pages > are bold fonts. How can I change it back to normal fonts? > > Thanks > > Lian Mo > Depends on your documentclass, but since you haven't told us anything about it, the only answer can be: use the tocloft package, read the manual for it, which explained everything. -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From houssni at e-press.co.ma Wed Apr 13 16:00:19 2005 From: houssni at e-press.co.ma (Mohamed HOUSSNI) Date: Wed Apr 13 16:32:37 2005 Subject: [texhax] No Bold fonts in Table of Contents In-Reply-To: <107c52170504121840112f2b42@mail.gmail.com> References: <107c52170504121840112f2b42@mail.gmail.com> Message-ID: <425D25F3.5040209@e-press.co.ma> Lian Mo a ?crit : >Hi: >I am a Phd student at FIU. The requirement of my dissertation is: no >bold fonts in the page of Table of Contents, but all the chapter pages >are bold fonts. How can I change it back to normal fonts? > >Thanks > >Lian Mo > >_______________________________________________ >TeX FAQ: http://www.tex.ac.uk/faq >TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex >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@tug.org > > > > You should edit the class file then look for the \l@chapter command and remove the \bfseries command. Good luck -- Dr. Mohamed Houssni Assistant d'Edition e-Press, Casablanca Technopark 20100 Casablanca - Maroc Phone : 212 (0)22 52 58 00 Fax : 212 (0)22 21 42 21 From lian.mo at gmail.com Wed Apr 13 17:13:55 2005 From: lian.mo at gmail.com (Lian Mo) Date: Wed Apr 13 17:16:35 2005 Subject: [texhax] No Bold fonts in Table of Contents In-Reply-To: References: <107c52170504121840112f2b42@mail.gmail.com> Message-ID: <107c5217050413081332d5a3b9@mail.gmail.com> Thank you very much. Both of them work very well. Lian Mo On 4/13/05, Lars Madsen wrote: > Lian Mo : > > > Hi: > > I am a Phd student at FIU. The requirement of my dissertation is: no > > bold fonts in the page of Table of Contents, but all the chapter pages > > are bold fonts. How can I change it back to normal fonts? > > > > Thanks > > > > Lian Mo > > > > Depends on your documentclass, but since you haven't told us anything > about it, the only answer can be: > > use the tocloft package, read the manual for it, which explained > everything. > > -- > > /daleif > > ``You cannot help men permanently by doing for them > what they could and should do for themselves. '' > -- Abraham Lincoln > From Robin.Fairbairns at cl.cam.ac.uk Wed Apr 13 17:26:58 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Wed Apr 13 17:29:32 2005 Subject: [texhax] ieeeconf.cls is old In-Reply-To: Your message of Wed, 13 Apr 2005 06:50:37 -0400. <000201c54016$a46b97e0$458e5044@userqkm1e3oj4s> Message-ID: > I used the ieeeconf.cls that was sent to me by the conference site with = > no > problems.=20 > > Afterwards, I downloaded the complete system from CTAN, and I wanted to = > use > it the regular way.=20 > > I suddenly started to have problems, until I observed that the stored = > CTAN > ieeeconf.cls file is old. I replaced it with my updated version 1.6 = > and no > problems again. there is no ieeeconf.cls on ctan. there are source files for generating IEEEconf.cls, but the class itself is not separately stored. the ieeeconf directory was last updated in march of this year (by the author of the class file); is it perhaps that the version provided by your conference site is so old that it's incompatible with the current offering? > However, problems start again whenever I "update" the system. I can = > replace > it myself every time I update, yet for the general public maybe it can = > be > updated in the http://www.tug.org/ctan.html storage. how do you "update" the system? what system? (that is, what tex distribution are you using?) it is impossible to deal with your complaint without knowing what *exactly* you are complaining about. Robin Fairbairns For the CTAN team From vkg at wuche.che.wustl.edu Thu Apr 14 06:14:23 2005 From: vkg at wuche.che.wustl.edu (Vijay Kumar Gupta) Date: Wed Apr 13 18:10:39 2005 Subject: [texhax] page numbering Message-ID: <000601c540a8$73ac1cf0$7dcbfc80@poly16> Hi, By default the first page number (1) of any chapter is at the bottom center. I would like it to be similar to successive page numers, which are placed at the top right corner. Could you please tell me how to do that. Thank you in advance, Vijay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050413/64f14434/attachment.htm From alan at alphabyte.co.nz Wed Apr 13 22:07:12 2005 From: alan at alphabyte.co.nz (Alan Litchfield) Date: Wed Apr 13 22:10:32 2005 Subject: [texhax] hyperref conflicts with apacite In-Reply-To: <425CC4E7.9050300@acc.umu.se> References: <40000.60.234.48.114.1113356758.squirrel@webmail.ak.planet.gen.nz> <425CC4E7.9050300@acc.umu.se> Message-ID: Thanks Stefan, I had read that and tried the hyper option. It returns the same results however :( Oh well. So now we must conclude that hyperref does not play nice with apacite. Perhaps whoever is responsible for the TeX Catalog Online can update the reference to apacite at http://www.ctan.org/tex-archive/help/Catalogue/entries/apacite.html? filename=apacite&action=/tools/cataloguesearch&catstring=apacite so that it does not say that apacite is compatible with hyperref. Cheers Alan On Apr 13, 2005, at 7:06 PM, Stefan Bj?rk wrote: > > Apacite has some compatibility problems with hyperref. See section 6.3 > (page 39) in the apacite manual (july 1, 2004): > > "... the hyperref package ... needs to redefine the citation commands > and reference list commands ... These redefinitions are incompatible > with redefinitions of the citation commands by apacite." > > "An attempt to achieve this can be tried through the hyper option of > apacite. This activates some code ... that makes apacite and hyperref > work together to some extent. However, different things go wrong > depending on the order in which the two packages are loaded." > > Read the rest yourself. :-) > > From Robin.Fairbairns at cl.cam.ac.uk Wed Apr 13 22:28:05 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Wed Apr 13 22:30:44 2005 Subject: [texhax] hyperref conflicts with apacite In-Reply-To: Your message of Thu, 14 Apr 2005 08:07:12 +1200. Message-ID: > I had read that and tried the hyper option. It returns the same results =20 > however :( > > Oh well. So now we must conclude that hyperref does not play nice with =20 > apacite. Perhaps whoever is responsible for the TeX Catalog Online can =20 > update the reference to apacite at =20 > http://www.ctan.org/tex-archive/help/Catalogue/entries/apacite.html?=20 > filename=3Dapacite&action=3D/tools/cataloguesearch&catstring=3Dapacite so= > =20 > that it does not say that apacite is compatible with hyperref. i've the source file in an editor buffer, right now. i've reviewed the manual, and i've changed the relevant sentence to read: The package is compatible with chapterbib and (to some extent) with hyperref (for limits of compatibility, see the manual). (this is a bit like ford prefect and his hhgtg entry for earth...) anyway, i'll check it in now, and it'll make its way to the other ctan sites (including the ref you give above) overnight. From peter at namejigsaws.com Thu Apr 14 01:52:17 2005 From: peter at namejigsaws.com (Peter Ogden) Date: Thu Apr 14 01:57:26 2005 Subject: [texhax] A problem with pstrick-add and Labels Message-ID: <200504132357.j3DNvLq01852@tug.org> Hi All As far as I can determine the following text should generate a graph coupled with labels at a point other than the origin however when this is compiled the graph is drawn but the labels are both orientated normally and at the origin. If anyone can see the problem please tell me. Thank you in advance Peter ----------------------------------------------------------- \documentclass{article} \usepackage{pstricks} \usepackage{pstricks-add} \usepackage{pst-plot} \begin{document} \psset{xAxisLabel=First, xAxisLabelPos={-1cm, 1cm}, yAxisLabel=Second, yAxisLabelPos={1cm, -1cm}} \psgraph(0, -3)(10, 3){4in}{2in} \psset{algebraic=true, plotpoints=101} \psplot[linecolor=yellow, linewidth=4\pslinewidth]{0}{10}{2.71^(-0.2*x)*3*cos(2*x)} \endpsgraph \end{document} -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050414/fafe4f11/attachment-0001.htm From lian.mo at gmail.com Thu Apr 14 06:35:57 2005 From: lian.mo at gmail.com (Lian Mo) Date: Thu Apr 14 06:38:31 2005 Subject: [texhax] The space between different paragraph, the centered part and conjuncted paragraph Message-ID: <107c52170504132135436d1fbe@mail.gmail.com> Hi: It is Lian Mo again. I have two issues and do not know where to change the parameters to solve it. First, for example \begin{center} XXXXXXXX \end{center} YYYYYYY The space between XXXXXXXX and YYYYYYY is more than the normal double or single space. Second, The space between two paragraphs is more than the normal double or single space. Also, the space between the TABLE OF CONTENTS and the first content's line is more than normal space. The space between LIST OF FIGURE and the first line is more than nomorl space. It makes the document beautiful, but it is not qualified to my dissertation. I use the report class style for my dissertation. Where can I find the related part and change the parameters so that the above spaces are exactly the same as double or single space. Thanks! Lian Mo From R.J.A.Steenbakkers at student.tue.nl Thu Apr 14 15:46:08 2005 From: R.J.A.Steenbakkers at student.tue.nl (Steenbakkers, R.J.A.) Date: Thu Apr 14 16:19:10 2005 Subject: [texhax] (no subject) Message-ID: Hi, I'm having a problem with captions of landscape tables in PDF. I use KTeXMaker2 under Linux to compile my DVI files, convert them into PS files, and finally convert these into PDF files. The problem is that, when I choose to display the caption text in italic style, it is not placed on one line. Try the example tex file below and you will see in the PDF file that the caption text at one point jumps to a higher position. Well, at least if you compile and convert the same way I did, you should. This is not a viewer problem; it also shows up in print. Everything is OK in the PS file though, so something must go wrong in the PS->PDF conversion. The problem never occurs when: 1) the table is on a page with portrait layout; 2) the caption text is displayed in any other than italic style; 3) the DVI file is directly converted to PDF instead of to PS first and then to PDF. But I found that the length of the caption also matters. When I replaced it by the jump disappeared, but then the end of the text was messed up. And with the caption there were two jumps plus a messed-up text. So far, I haven't been able to find any information on this problem. Does anyone have an idea? Greetings, Rudi THE EXAMPLE TEX FILE: \documentclass[a4paper]{article} \usepackage[textfont=it]{caption} \usepackage{lscape} \begin{document} \begin{landscape} \begin{table} \begin{center} \caption{This text should be on one line.} \begin{tabular}{|c|c|c|} \hline cell contents & cell contents & cell contents \\\hline cell contents & cell contents & cell contents \\\hline \end{tabular} \end{center} \end{table} \end{landscape} \end{document} From morten.hoegholm at latex-project.org Thu Apr 14 16:57:01 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Thu Apr 14 17:01:46 2005 Subject: [texhax] (no subject) In-Reply-To: References: Message-ID: On Thu, 14 Apr 2005 15:46:08 +0200, Steenbakkers, R.J.A. wrote: > The problem is that, when I choose to display the caption text in italic > style, it is not placed on one line. Try the example tex file below and > you will see in the PDF file that the caption text at one point jumps to > a higher position. Well, at least if you compile and convert the same > way I did, you should. I cannot reproduce your problems. I'm using v3.0d of the caption package. -- Morten From =?ISO-8859-1?Q?=22Prof=2E_Andr=E9_Luiz_Tietb=F6hl_Ramos=2E_?= Wed Apr 13 21:09:47 2005 From: =?ISO-8859-1?Q?=22Prof=2E_Andr=E9_Luiz_Tietb=F6hl_Ramos=2E_?= (=?ISO-8859-1?Q?=22Prof=2E_Andr=E9_Luiz_Tietb=F6hl_Ramos=2E_?=) Date: Thu Apr 14 18:08:37 2005 Subject: [texhax] List of equations Message-ID: <425D6E7B.8000304@terra.com.br> dear andre luis ramos, thanks for your inquiry: How could I generate a list of equations which are in my document and each one has \label command please? Thank you very much indeed. there isn't a facility for a list of labeled equations in any of the ams latex document classes. however, i believe that someone else might have created a package for this. i suggest that you inquire on the comp.text.tex newsgroup and/or the discussion list texhax@tug.org. the readers of those forums are both knowledgeable and helpful. Barbara Beeton Technical Support American Mathematical Society Phone: 800-321-4AMS (321-4267) or 401-455-4080 Internet: tech-support@ams.org Prof. Andr? Luiz Tietb?hl Ramos, M.Sc. Ph.D. Candidate Dept. of Industrial and Systems Engineering Virginia Tech Professor, Departamento de Engenharia Mec?nica e Mecatr?nica, PUC/RS -------------- next part -------------- A non-text attachment was scrubbed... Name: andreltramos.vcf Type: text/x-vcard Size: 588 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20050413/dacbff96/andreltramos.vcf From ihi.marzyciel at wp.pl Thu Apr 14 18:58:56 2005 From: ihi.marzyciel at wp.pl (=?ISO-8859-2?Q?Przemys=B3aw?= Staniszewski) Date: Thu Apr 14 19:08:09 2005 Subject: [texhax] how advance macro works? Message-ID: <20050414185856.13d93efe@83-145-180-220.cable-modem.tkk.net.pl> Hello. I wonder if someone could tell me how \advance macro works? So, I decided to create 6 counters like this: \newcount\mylicznik \mylicznik=10 \newcount\mylicznika \mylicznika=20 \newcount\mylicznikb \mylicznikb=30 \newcount\mylicznikc \mylicznikc=40 \newcount\mylicznikd \mylicznikd=50 \newcount\mylicznike \mylicznike=60 After that command: \advance\mylicznik\mylicznika\mylicznikb \mylicznikc -\mylicznikd\mylicznike\relax \the\mylicznik\hfil\break \the\mylicznika\hfil\break \the\mylicznikb\hfil\break \the\mylicznikc\hfil\break \the\mylicznikd\hfil\break I have: - 30 20 40 40 60 I think mylicznik = mylicznik + mylicznika (30), but what with the rest of counters? Why they have that value? regards ps. sorry for my poor English -- PS From josef.kalcher at kfunigraz.ac.at Thu Apr 14 15:39:18 2005 From: josef.kalcher at kfunigraz.ac.at (Josef Kalcher) Date: Thu Apr 14 19:16:16 2005 Subject: [texhax] references as superscriprts Message-ID: <425E7286.631352A2@kfunigraz.ac.at> Dear TUG How can I get my references as superscripts via bibtex in the text instead of the [xx] format? thanks a lot Josef Kalcher University Graz Institute of Chemistry Strassoldogasse 10 8010 Graz Austria From daleif at imf.au.dk Thu Apr 14 20:13:38 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Thu Apr 14 20:16:14 2005 Subject: [texhax] references as superscriprts In-Reply-To: <425E7286.631352A2@kfunigraz.ac.at> References: <425E7286.631352A2@kfunigraz.ac.at> Message-ID: Josef Kalcher : > Dear TUG > > How can I get my references as superscripts via bibtex in the text > instead of the [xx] format? > using the natbib package, read the manual, you'll nedd the super pacakge option. -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From P.Taylor at Rhul.Ac.Uk Thu Apr 14 21:33:11 2005 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Thu Apr 14 21:36:22 2005 Subject: [texhax] how advance macro works? In-Reply-To: <20050414185856.13d93efe@83-145-180-220.cable-modem.tkk.net.pl> References: <20050414185856.13d93efe@83-145-180-220.cable-modem.tkk.net.pl> Message-ID: <425EC577.9050804@Rhul.Ac.Uk> Przemys?aw Staniszewski wrote: > Hello. > > I wonder if someone could tell me how \advance macro works? > > So, I decided to create 6 counters like this: > > \newcount\mylicznik \mylicznik=10 > \newcount\mylicznika \mylicznika=20 > \newcount\mylicznikb \mylicznikb=30 > \newcount\mylicznikc \mylicznikc=40 > \newcount\mylicznikd \mylicznikd=50 > \newcount\mylicznike \mylicznike=60 > > After that command: > > \advance\mylicznik\mylicznika\mylicznikb \mylicznikc -\mylicznikd\mylicznike\relax -> \advance \mylicznik (10) [by] \mylicznika (20) = (30) \mylicznikb (30) [=] \mylicznikc (40) - (probably gets typeset) \mylicznikd (50) [=] \mylicznike (60) \relax So 30, 40, typeset -, 60 > > \the\mylicznik\hfil\break (30) > \the\mylicznika\hfil\break (unchanged, 20) > \the\mylicznikb\hfil\break (40) > \the\mylicznikc\hfil\break (unchanged, 40) > \the\mylicznikd\hfil\break (60) which seesm to accord with what you get :-) ** Phil. -------- > > I have: > > - > 30 > 20 > 40 > 40 > 60 > > I think mylicznik = mylicznik + mylicznika (30), but what with the rest of > counters? Why they have that value? > > regards > > ps. sorry for my poor English From wes at hef.ru.nl Fri Apr 15 09:23:40 2005 From: wes at hef.ru.nl (W.J. Metzger) Date: Fri Apr 15 09:27:29 2005 Subject: [texhax] references as superscriprts In-Reply-To: <425E7286.631352A2@kfunigraz.ac.at> References: <425E7286.631352A2@kfunigraz.ac.at> Message-ID: On Thu, 14 Apr 2005, Josef Kalcher wrote: > Dear TUG > > How can I get my references as superscripts via bibtex in the text > instead of the [xx] format? > > thanks a lot > Try overcite.sty Wes -- Dr. W. J. Metzger Experimental High Energy Physics Group tel. +31-24-3653127 Faculty of Science (***) +31-24-3652099 (secr.) Radboud University Nijmegen (**) fax. +31-24-3652191 Toernooiveld 1 6525 ED Nijmegen, The Netherlands e-mail: wes@hef.ru.nl or Wesley.Metzger@cern.ch http://home.cern.ch/metzger/ or http://www.hef.ru.nl/~wes From bedini_aurelia at yahoo.com Fri Apr 15 10:36:16 2005 From: bedini_aurelia at yahoo.com (Bedini Aurelia) Date: Fri Apr 15 10:45:32 2005 Subject: [texhax] BibTex for mac OS 10.3 Message-ID: <20050415083616.6415.qmail@web41427.mail.yahoo.com> I am using a Macintosh with system Mac OS 10.3, but the only BibTex software that I am able to get is running on Mac OS 9.... (going back to 1999 or before) I would like to know if there is something of more recent, suitable for mac OS 10.3 Thanks in advance __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ From wadams at atlis.com Fri Apr 15 14:53:09 2005 From: wadams at atlis.com (William F. Adams) Date: Fri Apr 15 14:55:56 2005 Subject: [texhax] BibTex for mac OS 10.3 In-Reply-To: <20050415083616.6415.qmail@web41427.mail.yahoo.com> References: <20050415083616.6415.qmail@web41427.mail.yahoo.com> Message-ID: <3b576fe36aad83e420332111ad0b334d@atlis.com> On Apr 15, 2005, at 4:36 AM, Bedini Aurelia wrote: > I am using a Macintosh with system Mac OS 10.3, but > the only BibTex software that I am able to get is > running on Mac OS 9.... (going back to 1999 or before) > I would like to know if there is something of more > recent, suitable for mac OS 10.3 This is a standard part of any TeX distribution and included in Gerben Wierda's very nice i-Installer driven TeX setup. You'll want to start here: http://www.esm.psu.edu/mac-tex/ download i-Installer and TeX-fat, or get it on a CD: http://www.rna.nl/tex.html use Dick Koch's TeXshop as an initial front-end: http://www.uoregon.edu/~koch/texshop/texshop.html (perhaps moving to Jerome Lauren's iTeXMac, or something else later) and you'll certainly want to get Michael McCracken's BibDesk: http://www.cs.ucsd.edu/%7Emmccrack/bibdesk.html and you may want to try the nifty ``Books.app'': http://books.aetherial.net/ which will populate a books database from bar codes / typed in ISBNs and export to bibtex, saving one a world of typing. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com From eklein at usb.ve Fri Apr 15 18:21:24 2005 From: eklein at usb.ve (Eduardo Klein) Date: Fri Apr 15 18:42:18 2005 Subject: [texhax] rotating and supertabular problem Message-ID: <425FEA04.1030804@usb.ve> Hi, I'm trying to make a long table (4 pages) in a landscape mode. I used rotating and supertabular packages. In the output shown in Adobe Acrobat, only one page of the table appears (the second, rotated) and the margins are messed up. It handle the float and the following text ok. I've also tried the package lscape instead of rotating and the table output is correct but it can not handle the table float and it mess up the bibliography (??) . The code I've been using is: \begin{sidewaystable} \tablecaption{\label{table1} \small table caption here} \tablehead {Table header here} \tabletail {\hline \emph{Continued on next page} & & &\\} \tablelasttail{\hline} \centering \begin{supertabular}{lp{2cm}p{14cm}p{2cm}} .... my long 4-column table here ... \end{supertabular} \end{sidewaystable} I'm using MiKTeX. Any suggestions??? Thanks in advance. Eduardo From Robin.Fairbairns at cl.cam.ac.uk Fri Apr 15 18:55:52 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Fri Apr 15 18:58:33 2005 Subject: [texhax] rotating and supertabular problem In-Reply-To: Your message of Fri, 15 Apr 2005 12:21:24 -0400. <425FEA04.1030804@usb.ve> Message-ID: > Hi, > > I'm trying to make a long table (4 pages) in a landscape mode. I used > rotating and supertabular packages. In the output shown in Adobe > Acrobat, only one page of the table appears (the second, rotated) and > the margins are messed up. It handle the float and the following text > ok. I've also tried the package lscape instead of rotating and the > table output is correct but it can not handle the table float and it > mess up the bibliography (??) . The code I've been using is: rotating gives you a float; you can no more put a multi-page supertabular into a sidewaystable than you can into an ordinary table. you need lscape.sty and then to put your multipage stuff into a landscape environment. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=landscape From eklein at usb.ve Fri Apr 15 20:37:00 2005 From: eklein at usb.ve (Eduardo Klein) Date: Fri Apr 15 20:43:04 2005 Subject: [texhax] rotating and supertabular problem In-Reply-To: References: Message-ID: <426009CC.6030909@usb.ve> Robin: Thanks for your suggestion. Indeed, pdflscape worked fine. But how can I handle the float? When I surround my landscaped table with begin{table}...end{table} I finish with a portion of the long table stuffed in a single landscaped page. EKS Robin Fairbairns wrote: >>Hi, >> >>I'm trying to make a long table (4 pages) in a landscape mode. I used >>rotating and supertabular packages. In the output shown in Adobe >>Acrobat, only one page of the table appears (the second, rotated) and >>the margins are messed up. It handle the float and the following text >>ok. I've also tried the package lscape instead of rotating and the >>table output is correct but it can not handle the table float and it >>mess up the bibliography (??) . The code I've been using is: >> >> > >rotating gives you a float; you can no more put a multi-page >supertabular into a sidewaystable than you can into an ordinary table. > >you need lscape.sty and then to put your multipage stuff into a >landscape environment. > >http://www.tex.ac.uk/cgi-bin/texfaq2html?label=landscape > > > > From mbarr at math.mcgill.ca Fri Apr 15 20:56:49 2005 From: mbarr at math.mcgill.ca (Michael Barr) Date: Fri Apr 15 21:00:09 2005 Subject: [texhax] MikTeX Message-ID: I have a brand new computer and am about to install TeX on it. I put the MikTeX CD (from TUG) in and am reading the instructions. It seems to imply that WinEdt or one other editor is required to run MikTeX. I have no intention of installing a version of TeX that does not permit to work in my usual way, using my usual editor. Let me describe that way. First, although it is a windows machine, I work always from the command line. When I load my editor, I type t filename unless it is the same file I worked on previously, in which case t alone suffices. Then I am ready to tex it, I type, from the command line l or p (the latter in the rare case that for some reason I am using plain) and after that, v which loads the viewer. Meantime, the filename is stored in an environment variable from which all these batch files get their input file names. What version of TeX should I be installing? Should I go back to the 2003 version that I have on my old machine? I would appreciate replies directly to me as I get only the digest, usually once a day. Michael Barr From speter at dandy.net Fri Apr 15 21:33:29 2005 From: speter at dandy.net (Steve Peter) Date: Fri Apr 15 21:36:19 2005 Subject: [texhax] MikTeX In-Reply-To: References: Message-ID: <8259bed35fafd52d45724aeb995123e5@dandy.net> On Apr 15, 2005, at 2:56 PM, Michael Barr wrote: > I have a brand new computer and am about to install TeX on it. I put > the > MikTeX CD (from TUG) in and am reading the instructions. It seems to > imply that WinEdt or one other editor is required to run MikTeX. Where is that implication? (I did the translation for the ProTeXt instructions.) You can in fact use any editor with MikTeX, but there are only a couple included on the CD. If you already have a favorite one installed, you're good to go. Steve From daleif at imf.au.dk Fri Apr 15 21:57:53 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Fri Apr 15 22:00:52 2005 Subject: [texhax] MikTeX In-Reply-To: References: Message-ID: Michael Barr : > I have a brand new computer and am about to install TeX on it. I put the > MikTeX CD (from TUG) in and am reading the instructions. It seems to > imply that WinEdt or one other editor is required to run MikTeX. I have > no intention of installing a version of TeX that does not permit to work > in my usual way, using my usual editor. > > Let me describe that way. First, although it is a windows machine, I work > always from the command line. When I load my editor, I type t filename > unless it is the same file I worked on previously, in which case t alone > suffices. Then I am ready to tex it, I type, from the command line l or p > (the latter in the rare case that for some reason I am using plain) and > after that, v which loads the viewer. Meantime, the filename is stored in > an environment variable from which all these batch files get their input > file names. > > What version of TeX should I be installing? Should I go back to the 2003 > version that I have on my old machine? > > I would appreciate replies directly to me as I get only the digest, > usually once a day. > > Michael Barr > It does not imply that you _need_ to use that editor. It's just a nice thing for newbees (which you're not, I'm sure). The proTeXt (the TUG CD, based uppon MiKTeX) simply sets up an editor, a thing newbees might have a bit of problems with. No _real_ TeX system is tied to a specific editor. Just don't install the editor, and you'll have no problems. -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From romeomedina at libero.it Fri Apr 15 23:16:40 2005 From: romeomedina at libero.it (romeomedina@libero.it) Date: Fri Apr 15 23:19:17 2005 Subject: [texhax] Any PPCHTeX users out there? Message-ID: Hi. I subscribed to both PPCHTeX and Tetex mailing lists to ask for help, but they seem to be not active. I freshly installed tetex-src-3.0.tar.gz in my Mandrakelinux 10.1 Community box, in order to run PPCHTeX to type chemical structure formulas. Now, if I run TeX (onto a file containing PPCHTeX pictures) from within the directory /usr/local/teTeX/bin/i686-pc-linux-gnu, where the executable file `tex' is present, everything goes fine; instead, if I run TeX from my home directory, I get the message: ! TeX capacity exceeded, sorry [text input levels=15]. Can anyone explain these two different behaviours and suggest how to work the problem out? Thanks indeed, Rodolfo ____________________________________________________________ Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. Scegli Libero Adsl Flat senza limiti su http://www.libero.it From karl at freefriends.org Sat Apr 16 00:08:21 2005 From: karl at freefriends.org (Karl Berry) Date: Sat Apr 16 00:10:58 2005 Subject: [texhax] Any PPCHTeX users out there? In-Reply-To: Message-ID: <200504152208.j3FM8LD13856@f7.net> Hi Rodolfo, where the executable file `tex' is present, everything goes fine; instead, if I run TeX from my home directory, I get the message: Obvious question, but are you running the same tex binary in both cases? Did you set PATH to include the directory with that `tex' before others? ! TeX capacity exceeded, sorry [text input levels=15]. Any indication as to what files it is reading? The log file might be helpful, for a start. Cheers, karl From romeomedina at libero.it Sat Apr 16 14:05:36 2005 From: romeomedina at libero.it (romeomedina@libero.it) Date: Sat Apr 16 14:08:12 2005 Subject: [texhax] Any PPCHTeX users out there? Message-ID: Rodolfo wrote: > I subscribed to both PPCHTeX and Tetex mailing lists to ask for help, > but they seem to be not active. > > I freshly installed tetex-src-3.0.tar.gz in my Mandrakelinux 10.1 > Community box, > in order to run PPCHTeX > to type chemical structure formulas. > Now, if I run TeX (onto a file containing PPCHTeX pictures) > from within the directory /usr/local/teTeX/bin/i686-pc-linux-gnu, > where the executable file `tex' is present, everything goes fine; > instead, if I run TeX from my home directory, I get the message: > > ! TeX capacity exceeded, sorry [text input levels=15]. > > Can anyone explain these two different behaviours and suggest how to work the problem out? Karl Berry wrote: > Obvious question, but are you running the same tex binary in both cases? > Did you set PATH to include the directory with that `tex' before others? Yes, I think so. In fact, I created a symbolic link from the `/home/rodolfo/bin' directory to the file `/usr/local/teTeX/bin/i686-pc-linux-gnu/tex', this way: ------------------------------------------------------------------------------------------ [rodolfo@localhost rodolfo]$ echo $PATH /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/rodolfo/bin $ export PATH="/home/rodolfo/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games" $ mkdir /home/rodolfo/bin $ cd /home/rodolfo/bin $ ln -s /usr/local/teTeX/bin/i686-pc-linux-gnu/tex tex ------------------------------------------------------------------------------------------ . Then I did: `$ tex', and this was the output: [rodolfo@localhost rodolfo]$ tex This is TeX, Version 3.141592 (Web2C 7.5.4) , which is the same output I get if I do: `# ./tex' from within the directory `/usr/local/teTeX/bin/i686-pc-linux-gnu': [root@localhost i686-pc-linux-gnu]# ./tex This is TeX, Version 3.141592 (Web2C 7.5.4) . No other version of TeX is present on my machine. Karl Berry: > Any indication as to what files it is reading? > The log file might be helpful, for a start. The file is a very simple trial one, I called ppchtex.tex, with some PPCHTeX commands in it, which is perfectly processed by TeX if I do: `# ./tex /home/rodolfo/ppchtex' from `/usr/local/teTeX/bin/i686-pc-linux-gnu'. The log file can't help me, I'm attaching it. Thanks indeed for your help!, Rodolfo ____________________________________________________________ 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it -------------- next part -------------- A non-text attachment was scrubbed... Name: =?iso-8859-1?Q?ppchtex.log?= Type: text/x-log Size: 6938 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20050416/ddac6fd9/iso-8859-1Qppchtex.bin From karl at freefriends.org Sat Apr 16 14:52:32 2005 From: karl at freefriends.org (Karl Berry) Date: Sat Apr 16 14:55:10 2005 Subject: [texhax] Any PPCHTeX users out there? In-Reply-To: Message-ID: <200504161252.j3GCqWf16231@f7.net> Yes, I think so. In fact, I created a symbolic link from the `/home/rodolfo/bin' directory to the file `/usr/local/teTeX/bin/i686-pc-linux-gnu/tex', You should set PATH to include /usr/local/teTeX/bin/i686-pc-linux-gnu/tex instead. I'm not sure if it's relevant to this particular problem, but it's necessary for the various mktex* programs to work. The log file can't help me, I'm attaching it. It clearly indicates a mutually recursive input loop. If you do grep '(' ppchtex.log you will see the pattern. I think the problem is simple: don't name your file ppchtex.tex. There is already a file by that name in the system, and ppchtex.noc (I think) is finding yours instead of the system one. It works when you invoke tex from the bin dir because then it doesn't find your ppchtex.tex. (I think you could invoke tex from anywhere besides your home and it would work.) k From romeomedina at libero.it Sat Apr 16 19:20:59 2005 From: romeomedina at libero.it (romeomedina@libero.it) Date: Sat Apr 16 19:36:21 2005 Subject: [texhax] Any PPCHTeX users out there? [solved] Message-ID: Rodolfo wrote: > I freshly installed tetex-src-3.0.tar.gz in my Mandrakelinux 10.1 Community box, > in order to run PPCHTeX to type chemical structure formulas. > Now, if I run TeX (onto a file containing PPCHTeX pictures) > from within the directory /usr/local/teTeX/bin/i686-pc-linux-gnu, > where the executable file `tex' is present, everything goes fine; > instead, if I run TeX from my home directory, I get the message: > > ! TeX capacity exceeded, sorry [text input levels=15]. > > Can anyone explain these two different behaviours > and suggest how to work the problem out? > The file is a very simple trial one, I called it ppchtex.tex. Karl Berry wrote: > I think the problem is simple: don't name your file ppchtex.tex. There > is already a file by that name in the system, and ppchtex.noc (I think) > is finding yours instead of the system one. It works when you invoke > tex from the bin dir because then it doesn't find your ppchtex.tex. (I > think you could invoke tex from anywhere besides your home and it would > work.) Thanks!! I renamed the file and now it seems o.k. I'm reporting all the steps I did in case they be of help to others interested in PPCHTeX. Regards, Rodolfo %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% System: Mandrakelinux 10.1 Community When I installed Mandrake 10.1 Community, I chose the following package installation: - Office Workstation; - Multimedia station; - Internet Station; - Configuration; - KDE Workstation, 1) In www.google.com I typed `tetex', then went on the tetex official website: http://www.tug.org/teTeX/, and from there downloaded the files: tetex-src-3.0.tar.gz and tetex-texmf-3.0.tar.gz and copied them in my ~/tmp dir. 2) # urpmi flex , and Mandrake installed the package flex-2.5.4a-22mdk.i586.rpm; # urpmi bison , and Mandrake installed the packages bison-1.875d-1mdk.i586 and m4-1.4.1-1mdk.i586; # urpmi ed , and Mandrake installed the package ed-0.2-31mdk.i586.rpm; # urpmi gcc , and Mandrake installed the packages gcc-3.4.1-3mdk.i586 and glibc-devel-2.3.3-20mdk.i586; # urpmi gcc-c++ , and Mandrake installed the package ed-0.2-31mdk.i586.rpm; gcc-c++-3.4.1-3mdk.i586 and libstdc++6-devel-3.4.1-3mdk.i586; # urpmi libncurses5-devel , and Mandrake installed the packages libgpm1-devel-1.20.1-11mdk.i586 and libncurses5-devel-5.4-1.20040529.1mdk.i586 3) From my ~/tmp dir I did: # mkdir -p /usr/local/teTeX/share/texmf /usr/local/teTeX/share/texmf-dist # gzip -dc tetex-texmf-3.0.tar.gz \ | (umask 0; cd /usr/local/teTeX/share/texmf-dist; tar xvf -) , then removed the file tetex-texmf-3.0.tar.gz from my ~/tmp dir. 4) From my ~/tmp dir, $ tar xzvf tetex-src-3.0.tar.gz $ cd tetex-src-3.0 $ ./configure $ make # make install , then removed from ~/tmp the file tetex-src-3.0.tar.gz and the whole directory tetex-src-3.0. 5) $ mkdir /home/rodolfo/bin $ echo $PATH , and I got the following output: /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/rodolfo/bin , so I did: $ export PATH="/home/rodolfo/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games" , and then $ cd /home/rodolfo/bin $ ln -s /usr/local/teTeX/bin/i686-pc-linux-gnu/tex tex 6) In my home dir I created the file `myfile.tex' (ATTENTION: don't call it ppchtex.tex!), and typed in it the following: \input m-pictex.tex \input m-ch-en.tex \startchemical [size=big,width=6000,height=6000,frame=off,axis=off] \chemical[SIX,SB2356,DB14,Z2346,SR36,RZ36] [C,N,C,C,H,H_2] \chemical[PB:Z1,ONE,Z0,DIR8,Z0,SB24,DB7,Z27,PE] [C,C,CH_3,O] \chemical[PB:Z5,ONE,Z0,DIR6,Z0,SB24,DB7,Z47,PE] [C,C,H_3C,O] \chemical[SR24,RZ24] [CH_3,H_3C] \stopchemical \vfill\eject , then did: `$ tex myfile'. ____________________________________________________________ 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it From eklein at usb.ve Tue Apr 19 15:46:29 2005 From: eklein at usb.ve (Eduardo Klein) Date: Tue Apr 19 16:19:58 2005 Subject: [texhax] longtables and landscape Message-ID: <42650BB5.9080300@usb.ve> Hi all, I'm trying to insert in the middle of document a long table (4 pages, using supertabular) in a landscape format. I can handle it with the pdflscape package but as lscape issues a \clearpage, a new landscape page starts exactly in the place where I put my \begin{landscape} and drops the float \begin{table}...\end{table}. The result is that the previous page is incomplete, i.e. the text finish before filling up the total page length. Any idea how to handle it? I'm thinking about doing it manually, manipulating the final pdf file, but it should be a way to do it in LaTeX. EKS -- ---------------------------- Eduardo Klein Instituto de Tecnolog?a y Ciencias Marinas Universidad Sim?n Bol?var Caracas, Venezuela ph/fax (58) (212) 906-3416 From roseray at 263.sina.com Tue Apr 19 18:30:06 2005 From: roseray at 263.sina.com (Roseray) Date: Tue Apr 19 18:32:45 2005 Subject: [texhax] question about handing sentences Message-ID: <4265320E.6090100@263.sina.com> Dear everyone, I am preparing my thesis using latex. I have have multiple "orphans" ("hanging words or sentences") at the tops of several pages. My thesis coordinator doesn't like that. He suggests me to fix them by either moving a sentence fragment to the bottom of the previous page, or add an extra line of text to the top of the next page to have at least two lines of text. But I don't know how to do that. Who could help about that? Thanks, Roseray From speter at dandy.net Tue Apr 19 18:58:38 2005 From: speter at dandy.net (Steve Peter) Date: Tue Apr 19 19:01:18 2005 Subject: [texhax] question about handing sentences In-Reply-To: <4265320E.6090100@263.sina.com> References: <4265320E.6090100@263.sina.com> Message-ID: <4612ee005ef455f7d9927fc7bd46214d@dandy.net> On Apr 19, 2005, at 12:30 PM, Roseray wrote: > I am preparing my thesis using latex. I have have multiple "orphans" > ("hanging words or sentences") at the tops of several pages. My thesis > coordinator doesn't like that. He suggests me to fix them by either > moving a sentence fragment to > the bottom of the previous page, or add an extra > line of text to the top of the next page to have at least two > lines of text. But I don't know how to do that. Who could help about > that? Try putting in your preamble: \widowpenalty=10000 \clubpenalty=250 % increase this if you need to Or you can manually handle things with \enlargethispage{\baselineskip} or \enlargethispage{-\baselineskip} on individual pages to make the page one line longer or shorter. Steve From romeomedina at libero.it Tue Apr 19 22:31:53 2005 From: romeomedina at libero.it (romeomedina@libero.it) Date: Tue Apr 19 22:34:30 2005 Subject: [texhax] PPCHTeX mailing list Message-ID: I've just begun using PPCHTeX to type chemical structure formulas. I tried to subscribe to the PPCHTeX mailing list at the address ntg-ppchtex@ntg.nl, but apparently the subscription was not successful and the mailing list itself seems to be inactive. Can maybe anyone suggest a place (if there is one) where to ask other users for help about PPCHTeX matters? Maybe the texhax mailing list itself? Thanks, Rodolfo ____________________________________________________________ Navighi a 4 MEGA e i primi 3 mesi sono GRATIS. Scegli Libero Adsl Flat senza limiti su http://www.libero.it From kotya at photonica.ru Wed Apr 20 07:00:42 2005 From: kotya at photonica.ru (Konstantin Karapetyan) Date: Wed Apr 20 07:04:39 2005 Subject: [texhax] question about handing sentences In-Reply-To: <4265320E.6090100@263.sina.com> References: <4265320E.6090100@263.sina.com> Message-ID: <642757737.20050420090042@photonica.ru> > Dear everyone, > I am preparing my thesis using latex. I have have multiple > "orphans" ("hanging words or sentences") at the tops of several > pages. My thesis coordinator doesn't like that. He suggests me to > fix them by either moving a sentence fragment to > the bottom of the previous page, or add an extra > line of text to the top of the next page to have at least two > lines of text. But I don't know how to do that. > Who could help about that? Google usually can :) Googling for "LaTeX page break" returns the first link to www.personal.ceu.hu/tex/breaking.htm where you find the commands \pagebreak and \nopagebreak and the last link at the first results page www.ichimusai.org/latex/ provides you with a tip ?Getting rid of orphans and widowed words?. Try this, and if it doesn't help send a short example (tex and dvi or pdf attached). Happy TeXing! Konstantin. From Robin.Fairbairns at cl.cam.ac.uk Wed Apr 20 08:36:24 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Wed Apr 20 08:40:03 2005 Subject: [texhax] question about handing sentences In-Reply-To: Your message of Wed, 20 Apr 2005 09:00:42 +0400. <642757737.20050420090042@photonica.ru> Message-ID: > > Who could help about that? > Google usually can :) > > Googling for "LaTeX page break" returns the first link to > www.personal.ceu.hu/tex/breaking.htm which shows the danger of googling. the very first command definition in the page is *wrong*: \\ start a new paragraph. \\ does _not_ start a new paragraph, it produces a break in the existing paragraph. much of (what i've read of) the page is ok, but i would hesitate to recommend it ... the author hasn't _really_ understood what (s)he's writing about. > where you find the commands \pagebreak and \nopagebreak > and the last link at the first results page > www.ichimusai.org/latex/ > provides you with a tip =93Getting rid of orphans and widowed words=94. this looks rather better. nicely laid-out page, too. From kotya at photonica.ru Wed Apr 20 08:43:45 2005 From: kotya at photonica.ru (Konstantin Karapetyan) Date: Wed Apr 20 08:46:23 2005 Subject: [texhax] question about handing sentences In-Reply-To: References: Your message of Wed, 20 Apr 2005 09:00:42 +0400. <642757737.20050420090042@photonica.ru> Message-ID: <1783233640.20050420104345@photonica.ru> >> > Who could help about that? >> Google usually can :) >> >> Googling for "LaTeX page break" returns the first link to >> www.personal.ceu.hu/tex/breaking.htm > which shows the danger of googling. the very first command definition > in the page is *wrong*: > \\ start a new paragraph. > \\ does _not_ start a new paragraph, it produces a break in the > existing paragraph. > the author hasn't _really_ understood what (s)he's > writing about Agree, thank you. I saw the explanation below (The \\ command tells LaTeX to start a new line.) and didn't notice the mistake. Konstantin. From romeomedina at libero.it Wed Apr 20 10:49:38 2005 From: romeomedina at libero.it (romeomedina@libero.it) Date: Wed Apr 20 10:52:15 2005 Subject: [texhax] PPCHTeX mailing list Message-ID: I've just begun using PPCHTeX to type chemical structure formulas. I tried to subscribe to the PPCHTeX mailing list at the address ntg-ppchtex@ntg.nl, but apparently the subscription was not successful and the mailing list itself seems to be inactive. Can maybe anyone suggest a place (if there is one) where to ask other users for help about PPCHTeX matters? Maybe the texhax mailing list itself? Thanks, Rodolfo ____________________________________________________________ 6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero! Scaricalo su INTERNET GRATIS 6X http://www.libero.it From john.simmie at nuigalway.ie Wed Apr 20 12:59:16 2005 From: john.simmie at nuigalway.ie (John Simmie) Date: Wed Apr 20 13:00:13 2005 Subject: [texhax] Re: Issue 114, chemical structure list In-Reply-To: <200504201002.j3KA2wq22182@tug.org> References: <200504201002.j3KA2wq22182@tug.org> Message-ID: <6.2.1.2.0.20050420114302.02d868a8@bodkin.nuigalway.ie> Rodolfo: I am not surprised that a TeX/LaTeX chemical structure mailing list is inactive as it is a very clumsy system in general and is only worth using in extremis There is excellent, chemically-intelligent freeware available, IsisDraw, which both novices and experts use, which runs under Windows and can be easily inserted into your document or presentation. It is capable of producing very high-quality structures, and is the software of choice for professional chemists .... John At 11:02 20/04/2005, you wrote: >Date: Tue, 19 Apr 2005 22:31:53 +0200 >From: "romeomedina\@libero\.it" >Subject: [texhax] PPCHTeX mailing list >To: "texhax" >Message-ID: >Content-Type: text/plain; charset=iso-8859-1 > >I've just begun using PPCHTeX to type chemical structure formulas. >I tried to subscribe to the PPCHTeX mailing list >at the address ntg-ppchtex@ntg.nl, but apparently >the subscription was not successful and the mailing >list itself seems to be inactive. >Can maybe anyone suggest a place (if there is one) >where to ask other users for help about PPCHTeX matters? >Maybe the texhax mailing list itself? > >Thanks, >Rodolfo Professor John M. Simmie Chemistry Department & Environmental Change Institute National University of Ireland, Galway::Ireland -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050420/f96c07ec/attachment.htm From texnic at photonica.ru Wed Apr 20 13:33:28 2005 From: texnic at photonica.ru (Konstantin Karapetyan) Date: Wed Apr 20 13:36:22 2005 Subject: [texhax] Referencing a figure Message-ID: <1426911441.20050420153328@photonica.ru> Hi all, When a figure is inserted with a caption below it, the straightforward way to do it is: \documentclass{article} \usepackage{hyperref} \usepackage{graphicx} \begin{document} \begin{figure}[h] \includegraphics{fig.png} \caption{caption}\label{fig} \end{figure} \end{document} However, when referencing to fig, the text is scrolled so as to show the caption, while it is desired to see the figure. Is there a way to solve this problem? The caption should remain under the figure! TIA! Regards, Konstantin. From Kimi.Winters at dionex.com Wed Apr 20 00:41:02 2005 From: Kimi.Winters at dionex.com (Kimi.Winters@dionex.com) Date: Wed Apr 20 14:44:01 2005 Subject: [texhax] Searching for "European Modern" font Message-ID: Hello, Can you please suggest a source for the "European Modern" font? I am looking for a PostScript alternative to the "Computer Modern" font used in LaTEX in a Unix environment, but I have not been able to find a place to purchase/download it. Any assistance is greatly appreciated. If I can purchase a font package from TUG, please let me know which one to choose and its price. Thanks in advance, Kimi Kimi J. Winters Technical Writer Dionex Corporation (408) 481-4515 From P.Taylor at Rhul.Ac.Uk Wed Apr 20 22:53:15 2005 From: P.Taylor at Rhul.Ac.Uk (Philip TAYLOR) Date: Wed Apr 20 23:26:58 2005 Subject: [texhax] Searching for "European Modern" font In-Reply-To: References: Message-ID: <4266C13B.10904@Rhul.Ac.Uk> I wonder if this might be Staszek et al's "Latin Modern" ? I'm cc'ing Staszek to see ... ** Phil. -------- Kimi.Winters@dionex.com wrote: > Hello, > Can you please suggest a source for the "European Modern" font? I am > looking for a PostScript alternative to the "Computer Modern" font used in > LaTEX in a Unix environment, but I have not been able to find a place to > purchase/download it. Any assistance is greatly appreciated. If I can > purchase a font package from TUG, please let me know which one to choose and > its price. > > Thanks in advance, > Kimi > > Kimi J. Winters > Technical Writer > Dionex Corporation > (408) 481-4515 > > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org From Robin.Fairbairns at cl.cam.ac.uk Wed Apr 20 23:34:46 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Wed Apr 20 23:37:54 2005 Subject: [texhax] Searching for "European Modern" font In-Reply-To: Your message of Wed, 20 Apr 2005 22:53:15 +0200. <4266C13B.10904@Rhul.Ac.Uk> Message-ID: > I wonder if this might be Staszek et al's "Latin Modern" ? > I'm cc'ing Staszek to see ... no, of course not. it's european modern, as _sold_ by y&y. since it was sold by y&y (who've gone out of business), it's no longer available. i suppose they may try to sell the fonts to recover something of their equity; but the appearance of latin modern has reduced the chance of making money from the fonts, even more than did the appearance of cm-super. From kashif at ccse.kfupm.edu.sa Thu Apr 21 00:39:50 2005 From: kashif at ccse.kfupm.edu.sa (Kashif Khan) Date: Thu Apr 21 00:44:15 2005 Subject: [texhax] Change the style of theorem number Message-ID: <001e01c545f9$e5fccb50$12035a0a@BabULaL> Hi, I'm using the following command for theorem style \newtheoremstyle{note}% name {3pt}% Space above {3pt}% Space below {}% Body font {}% Indent amount (empty = no indent, \parindent = para indent) {\itshape}% Thm head font {:}% Punctuation after thm head {.5em}% Space after thm head: " " = normal interword space; % \newline = linebreak {}% Thm head spec (can be left empty, meaning `normal' the problem is that Theorem is written in italic but the number is non-italic. How can I change the style of the number as well? Theorem 1. Kashif Khan. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050421/1c2f2203/attachment.htm From karl at freefriends.org Thu Apr 21 01:39:19 2005 From: karl at freefriends.org (Karl Berry) Date: Thu Apr 21 01:42:18 2005 Subject: [texhax] Searching for "European Modern" font In-Reply-To: Message-ID: <200504202339.j3KNdJw10030@f7.net> Can you please suggest a source for the "European Modern" font? I do not know if they are 100% compatible, since I've never been entirely clear on what the "European Modern" fonts were comprised of, but as Phil suggested, the Latin Modern fonts are available in Y&Y's texnansi encoding, with names like texnansi-lmr10. You can browse the Latin Modern distribution at http://www.tex.ac.uk/tex-archive/fonts/lm/ And there is some more info in the FAQ entry: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=uselmfonts I don't know if cm-super or other distributions are also available in texnansi, but it wouldn't surprise me. There's nothing to purchase, these alternatives are freely available. Hope this helps, karl From ekmath at asianetindia.com Thu Apr 21 04:58:21 2005 From: ekmath at asianetindia.com (E. Krishnan) Date: Thu Apr 21 04:57:18 2005 Subject: [texhax] Change the style of theorem number In-Reply-To: <001e01c545f9$e5fccb50$12035a0a@BabULaL> Message-ID: On Thu, 21 Apr 2005, Kashif Khan wrote: > Hi, I'm using the following command for theorem style > > \newtheoremstyle{note}% name > {3pt}% Space above > {3pt}% Space below > {}% Body font > {}% Indent amount (empty = no indent, \parindent = para indent) > {\itshape}% Thm head font > {:}% Punctuation after thm head > {.5em}% Space after thm head: " " = normal interword space; > % \newline = linebreak > {}% Thm head spec (can be left empty, meaning `normal' > > > the problem is that Theorem is written in italic but the number is > non-italic. How can I change the style of the number as well? The last parameter "head-spec" actually has three parts which control the name of the theorem, its number and the optional note (in that order). Thus you can get theorem numbers in italic by setting \newtheoremstyle{note}{3pt}{3pt}{}{}% {\itshape}{:}{.5em}{#1 \itshape #2 #3}?????? Please see Chapter 9 of the TUGIndia tutorial on LaTeX at www.sarovar.org -- Krishnan From Robin.Fairbairns at cl.cam.ac.uk Thu Apr 21 08:53:32 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Thu Apr 21 08:56:13 2005 Subject: [texhax] Searching for "European Modern" font In-Reply-To: Your message of Wed, 20 Apr 2005 19:39:19 -0400. <200504202339.j3KNdJw10030@f7.net> Message-ID: > I do not know if they are 100% compatible, since I've never been > entirely clear on what the "European Modern" fonts were comprised of, > but as Phil suggested, the Latin Modern fonts are available in Y&Y's > texnansi encoding, with names like texnansi-lmr10. i have a copy somewhere. i think we did an issue of tugboat using them: i bet you didn't notice! (i've virtuously not pulled them out since ;-) iirc, they can be used in either t1 encoding or in y&y's ly1. i don't remember how that is done, given berthold's studious avoidance of virtual fonts. From romeomedina at libero.it Thu Apr 21 11:45:53 2005 From: romeomedina at libero.it (Rodolfo Medina) Date: Thu Apr 21 11:48:22 2005 Subject: [texhax] PPCHTeX mailing list In-Reply-To: Message-ID: Rodolfo Medina wrote: > I've just begun using PPCHTeX to type chemical structure formulas. > I tried to subscribe to the PPCHTeX mailing list > at the address ntg-ppchtex@ntg.nl, but apparently > the subscription was not successful and the mailing > list itself seems to be inactive. > Can maybe anyone suggest a place (if there is one) > where to ask other users for help about PPCHTeX matters? John Simmie wrote: > I am not surprised that a TeX/LaTeX chemical structure mailing list is inactive > as it is a very clumsy system in general and is only worth using in extremis > > There is excellent, chemically-intelligent freeware available, IsisDraw, > which both novices and experts use, which runs under Windows and can > be easily inserted into your document or presentation. > > It is capable of producing very high-quality structures, and is the software > of choice for professional chemists .... Thanks indeed for your reply. No doubt IsisDraw is a valid tool used by professional chemists; but I can't agree with you that a (La)TeX chemical structure typesetting system is clumsy: on the contrary, I think PPCHTeX is smart and beautiful. Just create a file 'myfile.tex', put in it the following stuff, type 'tex myfile' from command line and you will get as nice a picture as Isis or ChemDraw couldn't do better: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \input m-pictex.tex \input m-ch-en.tex \startchemical[size=big,scale=big] \chemical[ONE,SB146,Z046,PB:Z1,ONE,Z0,EP137,ZT8,PE] [\T{(+)}{C},H,H,O,\scriptscriptstyle(-)] \stopchemical \vfill\eject\end %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% I think it's a pity that, apparently, the PPCHTeX project seems to have been given up by the same people that created it, and, more in general, that (La)TeX, so widely used to type mathematics, didn't get the same "success" with chemistry papers. PPCHTeX would just need to be perfected and developed: I'd do it myself if I had the TeX knowledge to do it. I hope someone else will continue the excellent work done years ago and left aside. Rodolfo From v.demartino2 at virgilio.it Thu Apr 21 15:40:42 2005 From: v.demartino2 at virgilio.it (Vittorio) Date: Thu Apr 21 13:43:18 2005 Subject: [texhax] Hacking the file... Message-ID: <200504211340.42202.v.demartino2@virgilio.it> I use pdflatex in a production context with the ?textmerge package to write ? letters to some 1800-2000 firms twice a year; in between I write - always with textmerge - far less letters (200-300 to urge people not responding to the bulks sending to reply) four times a year. If something goes wrong while running pdflatex, I can find the error but it requires some tedious work and checks. What I would like to do with while running pdflatex to merge letters is to write into the log file an extra information like, for instance, the name of the firm which, of course happens to be one of variables of textmerge (\Firm). What should I do? Vittorio From staw at gust.org.pl Thu Apr 21 01:56:24 2005 From: staw at gust.org.pl (Staszek Wawrykiewicz) Date: Thu Apr 21 15:23:19 2005 Subject: [texhax] Searching for "European Modern" font In-Reply-To: <4266C13B.10904@Rhul.Ac.Uk> Message-ID: On Wed, 20 Apr 2005, Philip TAYLOR wrote: > Kimi.Winters@dionex.com wrote: > > Hello, > > Can you please suggest a source for the "European Modern" font? I am > > looking for a PostScript alternative to the "Computer Modern" font used in > > LaTEX in a Unix environment, but I have not been able to find a place to > > purchase/download it. For "PostScript alternative to the Computer Modern", please have a look at any CTAN node/mirror: fonts/lm/ -- Staszek Wawrykiewicz StaW@gust.org.pl From vdemart1 at tin.it Thu Apr 21 15:36:44 2005 From: vdemart1 at tin.it (Vittorio De Martino) Date: Thu Apr 21 15:23:21 2005 Subject: [texhax] Hacking the log file Message-ID: <200504211336.44401.vdemart1@tin.it> I use pdflatex in a production context with the textmerge package to write letters to some 1800-2000 firms twice a year; in between I write - always with textmerge - far less letters (200-300 to urge people not responding to the bulks sending to reply) four times a year. If something goes wrong while running pdflatex, I can find the error but it requires some tedious work and checks. What I would like to do with while running pdflatex to merge letters is to write into the log file an extra information like, for instance, the name of the firm which, of course happens to be one of variables of textmerge (\Firm). What should I do? Vittorio From kaja at daimi.au.dk Thu Apr 21 15:56:20 2005 From: kaja at daimi.au.dk (Kaja P. Christiansen) Date: Thu Apr 21 15:59:13 2005 Subject: [texhax] tug.org down tomorrow, Friday 22nd Message-ID: <16999.45316.708614.670943@gandalf.daimi.au.dk> Hello everyone, Tomorrow, Friday 22nd, tug.org site will be moved to our new, better, faster server. We anticipate about 1 hour downtime begining 6:15am PDT (3:15pm CET). Best Karl & Kaja From karl at freefriends.org Thu Apr 21 18:48:53 2005 From: karl at freefriends.org (Karl Berry) Date: Thu Apr 21 18:51:41 2005 Subject: [texhax] Hacking the log file In-Reply-To: <200504211336.44401.vdemart1@tin.it> Message-ID: <200504211648.j3LGmrC25211@f7.net> write into the log file an extra information \immediate\write-1{this will appear in the log file} (\wlog in plain.tex, dunno about other formats.) HTH, k From Kimi.Winters at dionex.com Thu Apr 21 18:41:25 2005 From: Kimi.Winters at dionex.com (Kimi.Winters@dionex.com) Date: Thu Apr 21 19:11:50 2005 Subject: [texhax] Searching for "European Modern" font Message-ID: Thanks so much for your quick and helpful feedback. I will try Latin Modern as an alternative to Computer Modern and see if it works. I did take a look at the TUG offerings, but your comments helped me make the connection from Computer Modern to European Modern and finally, Latin Modern. The Y&Y web site was sold to a lingerie company, so this problem came to me as, "Every time I try to download my favorite font, I end up at a porn site! Help!" Anyway, I greatly appreciate your help. Thank you very much, Kimi Kimi J. Winters Technical Writer Dionex Corporation (408) 481-4515 From mdoob at cc.umanitoba.ca Thu Apr 21 20:07:24 2005 From: mdoob at cc.umanitoba.ca (Michael Doob) Date: Thu Apr 21 20:23:28 2005 Subject: [texhax] Searching for "European Modern" font In-Reply-To: References: Message-ID: <20050421180724.GA16384@cc.umanitoba.ca> On Apr 21, Kimi.Winters@dionex.com wrote: > The Y&Y web > site was sold to a lingerie company, so this problem came to me as, "Every > time I try to download my favorite font, I end up at a porn site! Help!" It seems that this site has turned into the home page for a lingerie store in Arizona, but at least they sell latex underwear (no fooling!). Cheers, Michael -- ------------------------------------------------------------------ Michael Doob Telephone: (204) 474-9796 Department of Mathematics Fax: (204) 474-7606 University of Manitoba email: Michael_Doob@umanitoba.ca Winnipeg, MB, Canada R3T 2N2 ------------------------------------------------------------------ From philip.ratcliffe at uninsubria.it Fri Apr 22 11:26:09 2005 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Fri Apr 22 11:28:36 2005 Subject: [texhax] Hacking the log file In-Reply-To: <200504211336.44401.vdemart1@tin.it> Message-ID: > I use pdflatex in a production context with the textmerge > package to write > letters to some 1800-2000 firms twice a year; in between I write - always > with textmerge - far less letters (200-300 to urge people not > responding to > the bulks sending to reply) four times a year. > If something goes wrong while running pdflatex, I can find the > error but it > requires some tedious work and checks. > What I would like to do with while running pdflatex to merge > letters is to > write into the log file an extra information like, for instance, > the name of > the firm which, of course happens to be one of variables of textmerge > (\Firm). Somewhere after \Firm has been (re)defined issue something like the following: \typeout{Firm: \Firm} Cheers, Phil From k.dadkhah at neu.edu Thu Apr 21 20:32:31 2005 From: k.dadkhah at neu.edu (k.dadkhah@neu.edu) Date: Fri Apr 22 13:20:50 2005 Subject: [texhax] Bold Equation Numbers Message-ID: Is there a way to change the font of equation numbers to bold without affecting anything else? Thank you. Kamran From daleif at imf.au.dk Fri Apr 22 14:30:04 2005 From: daleif at imf.au.dk (Lars Madsen) Date: Fri Apr 22 14:32:42 2005 Subject: [texhax] Bold Equation Numbers In-Reply-To: References: Message-ID: k.dadkhah@neu.edu : > Is there a way to change the font of equation numbers to bold without > affecting anything else? > > Thank you. > > Kamran > see the mathtools pacakge (it's on ctan) the manual explains how to configure the equation number -- /daleif ``You cannot help men permanently by doing for them what they could and should do for themselves. '' -- Abraham Lincoln From philip.ratcliffe at uninsubria.it Fri Apr 22 15:11:20 2005 From: philip.ratcliffe at uninsubria.it (Philip G. Ratcliffe) Date: Fri Apr 22 15:14:54 2005 Subject: [texhax] Bold Equation Numbers In-Reply-To: Message-ID: > Is there a way to change the font of equation numbers to bold without > affecting anything else? Yes, the easiest is (this will make them bold everywhere though - also when \ref'ed) \renewcommand\theequation{\textbf{\arabic{equation}}} or probably safer (bold only inside the equations, normal in \ref) \makeatletter \def\@eqnnum{{\normalfont \normalcolor \textbf{(\theequation)}}} \makeatother Include the () inside the \textbf{} or not according as whether you want them bold too or not. If you use the amsmath package then you'll need \makeatletter \def\tagform@#1{\maketag@@@{\textbf{(\ignorespaces#1\unskip\@@italiccorr)}}} \makeatother Beware: these are somewhat dirty hacks. If you use another package that plays around with equation setting, they might not work. Cheers, Phil From mbarr at math.mcgill.ca Sun Apr 24 22:13:51 2005 From: mbarr at math.mcgill.ca (Michael Barr) Date: Sun Apr 24 22:15:22 2005 Subject: [texhax] Problem with \LaTeX macro Message-ID: The following minimal file \documentclass{article} \def\@{\char'100} \begin{document} \LaTeX 2e \end{document} leads to an error message. If you remove the 2 it doesn't. Any number from 1 to 7 will casue the error message, but 8 and 9 (nor any other character I tested) does. The message is "Bad character code" and then "e". This occurs in a paper submitted by an online journal and I can obviously do whatever he wants in a different, but I am curious what is going on. Michael Barr From Robin.Fairbairns at cl.cam.ac.uk Sun Apr 24 22:29:41 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Sun Apr 24 22:30:44 2005 Subject: [texhax] Problem with \LaTeX macro In-Reply-To: Your message of Sun, 24 Apr 2005 16:13:51 -0400. Message-ID: > The following minimal file > > \documentclass{article} > \def\@{\char'100} > \begin{document} > \LaTeX 2e > \end{document} > > leads to an error message. If you remove the 2 it doesn't. Any number > from 1 to 7 will casue the error message, but 8 and 9 (nor any other > character I tested) does. The message is > > "Bad character code" > > and then "e". This occurs in a paper submitted by an online journal and I > can obviously do whatever he wants in a different, but I am curious what > is going on. 1) it's bad news to redefine an internal latex command, such as \@; latex has a tendency to use \@ all over the place, so you're going to get your \char'100 similarly all over the place. \LaTeX is a command that does that. it's because of the potential for this sort of error that the \newcommand command was designed. 2) there's a latex macro \LaTeXe for latex2e 3) you've committed the bug of not terminating the number in your command: \def\atsign{\char'100 } works fine. knuth has a lot about that bug in the texbook somewhere. finally, why do you want a macro to produce an @ sign? what do you have against typing @ when you need an @ sign? From C.A.Rowley at open.ac.uk Sun Apr 24 22:50:53 2005 From: C.A.Rowley at open.ac.uk (Chris Rowley) Date: Sun Apr 24 22:59:17 2005 Subject: [texhax] Problem with \LaTeX macro In-Reply-To: References: Message-ID: <17004.1709.269208.288896@fell.open.ac.uk> Michael Nothing wrong with \LaTeX, or the macro:-) (except that it probably ends, quite reasonably, with the LaTeX command \@ (q.v.)). Try \newcommand\at{\char'100 } and think about things like \char'1002 etc. And, as you know, don't use \def in LaTeX or They will get you ... somehow!! chris > The following minimal file > > \documentclass{article} > \def\@{\char'100} > \begin{document} > \LaTeX 2e > \end{document} > > leads to an error message. If you remove the 2 it doesn't. Any number > from 1 to 7 will casue the error message, but 8 and 9 (nor any other > character I tested) does. The message is > > "Bad character code" > > and then "e". This occurs in a paper submitted by an online journal and I > can obviously do whatever he wants in a different, but I am curious what > is going on. > > Michael Barr > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org > From mbarr at math.mcgill.ca Mon Apr 25 01:23:40 2005 From: mbarr at math.mcgill.ca (Michael Barr) Date: Mon Apr 25 01:25:03 2005 Subject: [texhax] Problem with \LaTeX macro In-Reply-To: Message-ID: As I thought I had explained, I was dealing with someone else's paper, readying it for publication. As it turned out, that was the only instance of \@ in the paper and I just deleted it and things were fine. But I did want an explanation and this is it. Thanks. On Sun, 24 Apr 2005, Robin Fairbairns wrote: > > The following minimal file > > > > \documentclass{article} > > \def\@{\char'100} > > \begin{document} > > \LaTeX 2e > > \end{document} > > > > leads to an error message. If you remove the 2 it doesn't. Any number > > from 1 to 7 will casue the error message, but 8 and 9 (nor any other > > character I tested) does. The message is > > > > "Bad character code" > > > > and then "e". This occurs in a paper submitted by an online journal and I > > can obviously do whatever he wants in a different, but I am curious what > > is going on. > > 1) it's bad news to redefine an internal latex command, such as \@; > latex has a tendency to use \@ all over the place, so you're going > to get your \char'100 similarly all over the place. \LaTeX is a > command that does that. it's because of the potential for this > sort of error that the \newcommand command was designed. > 2) there's a latex macro \LaTeXe for latex2e > 3) you've committed the bug of not terminating the number in your > command: \def\atsign{\char'100 } works fine. knuth has a lot about > that bug in the texbook somewhere. > > finally, why do you want a macro to produce an @ sign? what do you > have against typing @ when you need an @ sign? > From moheb1333 at comcast.net Mon Apr 25 03:55:39 2005 From: moheb1333 at comcast.net (moheb missaghi) Date: Mon Apr 25 03:57:35 2005 Subject: [texhax] Various questions References: <000901c53868$c08d3100$6501a8c0@y8h26> Message-ID: <000601c54939$e872d350$6501a8c0@y8h26> Hi, I appreciate any answers to the following: 1. I am using twocolumn to place a bunch of figs, 4 per page starting from top-left followed by bottom-left, top-right and bottom right. My last page contains 3 figs and the last one is centered in the second column. How can I place it at the top-right with bottom-right empty? 2. How can I make a document to start page numbering from given number? 3. What should I do to make dvitopdfm understand the pict2e elements? Thanks, Moheb From juergen.goebel at eads.com Mon Apr 25 07:39:07 2005 From: juergen.goebel at eads.com (Goebel, Juergen, OPE26) Date: Mon Apr 25 07:40:07 2005 Subject: [texhax] Various questions Message-ID: <156038A5123A7F43B4357AAEB498AF57A5ABD3@ulm002.vs.dasa.de> > moheb missaghi wrote: > 2. How can I make a document to start page numbering from > given number? Try this one: \documentclass{article} \setcounter{page}{100} \begin{document} test \end{document} Regards, Juergen From Robin.Fairbairns at cl.cam.ac.uk Mon Apr 25 08:18:53 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Mon Apr 25 08:20:15 2005 Subject: [texhax] Various questions In-Reply-To: Your message of Sun, 24 Apr 2005 19:55:39 -0600. <000601c54939$e872d350$6501a8c0@y8h26> Message-ID: > 1. I am using twocolumn to place a bunch of figs, 4 per page starting from > top-left followed by bottom-left, top-right and bottom right. My last page > contains 3 figs and the last one is centered in the second column. How can I > place it at the top-right with bottom-right empty? faq: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=vertposfp > 2. How can I make a document to start page numbering from given number? common sense: \setcounter{page}{31415} > 3. What should I do to make dvitopdfm understand the pict2e elements? don't know dvitopdfm. if you mean dvipdfm, reading the pict2e manual would have helped: \usepackage[dvipdfm]{pict2e} From moheb1333 at comcast.net Tue Apr 26 16:01:13 2005 From: moheb1333 at comcast.net (moheb1333@comcast.net) Date: Tue Apr 26 16:01:59 2005 Subject: [texhax] re:Various questions Message-ID: <042620051401.5081.426E49A90001A8A6000013D92205886360CCCCCCCE0D0A080103@comcast.net> Thanks for the answers. It does help to read the manual! ----- Original Message ----- From: "Robin Fairbairns" To: "moheb missaghi" Cc: Sent: Monday, April 25, 2005 12:18 AM Subject: Re: [texhax] Various questions >> 1. I am using twocolumn to place a bunch of figs, 4 per page starting from >> top-left followed by bottom-left, top-right and bottom right. My last page >> contains 3 figs and the last one is centered in the second column. How can I >> place it at the top-right with bottom-right empty? > > faq: http://www.tex.ac.uk/cgi-bin/texfaq2html?label=vertposfp > >> 2. How can I make a document to start page numbering from given number? > > common sense: \setcounter{page}{31415} > >> 3. What should I do to make dvitopdfm understand the pict2e elements? > > don't know dvitopdfm. if you mean dvipdfm, reading the pict2e manual > would have helped: > > \usepackage[dvipdfm]{pict2e} > > _______________________________________________ > TeX FAQ: http://www.tex.ac.uk/faq > TeX newsgroup: http://groups.google.com/groups?group=comp.text.tex > 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@tug.org -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050426/59122b00/attachment.htm From tomfool at as220.org Tue Apr 26 16:55:14 2005 From: tomfool at as220.org (tomfool@as220.org) Date: Tue Apr 26 16:56:00 2005 Subject: [texhax] font question Message-ID: Hello all: I have a document that prints wonderfully on my friendly neighborhood printer's printer, except that the \copyright symbol turns out a plain vanilla 'c' instead of a c-in-a-circle when they print the PDF files I send them. I assume that this is some kind of mismatch between the fonts installed on my computer and the fonts on their printer. Unfortunately, font handling is one of those topics I've put off learning about in any depth. I suppose until now. Here are my questions: 1. Since my printer (the business) is friendly, but doesn't seem 100% up-to-date on the capabilities of their own equipment, is there easy advice I can offer them? Does this sound like a common mismatch between font A and font B? I'm using the default PS Times, by redefining the default font to 'ptm'. 2. They have asked whether the fonts are embedded in the PDF. In the documentation for dvips and ps2pdf, I can find no mention of how to do this. Can these programs do that? Can I embed just that glyph? Many thanks, -tom ------------------------ tomfool at as220 dot org http://sgouros.com http://whatcheer.net From wadams at atlis.com Tue Apr 26 17:18:03 2005 From: wadams at atlis.com (William F. Adams) Date: Tue Apr 26 17:21:33 2005 Subject: [texhax] font question In-Reply-To: References: Message-ID: <41f9ea8c6598b5c4371d413a07cc1e01@atlis.com> On Apr 26, 2005, at 10:55 AM, tomfool@as220.org wrote: > I have a document that prints wonderfully on my friendly neighborhood > printer's printer, except that the \copyright symbol turns out a plain > vanilla 'c' instead of a c-in-a-circle when they print the PDF files I > send them. I assume that this is some kind of mismatch between the > fonts installed on my computer and the fonts on their printer. Weird. Usually the complaint here is that the circle is drawn as a graphic and the lowercase ``c'' placed in it doesn't quite match everything else. > Unfortunately, font handling is one of those topics I've put off > learning about in any depth. I suppose until now. Here are my > questions: > > 1. Since my printer (the business) is friendly, but doesn't seem 100% > up-to-date on the capabilities of their own equipment, is there > easy advice I can offer them? Does this sound like a common > mismatch between font A and font B? I'm using the default PS > Times, by redefining the default font to 'ptm'. Instead do: \documentclass{minimal} \usepackage{mathptmx} \usepackage{textcomp} \begin{document} \textcopyright 2005 \end{document} which'll get you the characters ?2005 in the .pdf > 2. They have asked whether the fonts are embedded in the PDF. In the > documentation for dvips and ps2pdf, I can find no mention of how > to do this. Can these programs do that? Can I embed just that > glyph? You can open up the .ps file and search it for the font inclusion. Probably better to use pdftex though --- that way you can check such in Adobe Acrobat Reader. You'll need to configure your distribution in any case to download the core fonts --- this is pretty easy in the newer, nicer ones (usually done at install time) William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com From tug-news at tug.org Tue Apr 26 23:37:09 2005 From: tug-news at tug.org (TeX Users Group) Date: Tue Apr 26 23:37:54 2005 Subject: [texhax] April 2005 TUG newsletter: election, journals, conferences Message-ID: <200504262137.j3QLb9915337@f7.net> Dear TeX user, - Paper ballots for the TUG 2005 election for president were mailed to TUG members for 2005 around April 6. If you have joined or renewed for 2005, and haven't yet received the ballot, please email office@tug.org. If you aren't a current member, and want to participate in the election, please join/renew as soon as possible (http://tug.org/join.html). - Another reason to join/renew soon: the early bird discount rate for membership expires May 31. Thanks for your support :). - The second issue of The PracTeX Journal, TUG's new online publication, is now available at: http://tug.org/pracjourn/ It contains articles on getting started with LaTeX and MacOSX, ConTeXt editors and fonts, XML, and much more. Thanks to Lance Carnes, editor-in-chief, and all the authors, reviewers, and editors for their work in pulling this together. - TUGboat 25(1), the proceedings of the Practical TeX 2004 conference in San Francisco, has shipped to TUG members for 2004. If you were not a member then, you can order printed copies through the TUG store (http://tug.org/store/). It will also be available online. - Practical TeX 2005 will take place in Chapel Hill, North Carolina, from June 14-17, 2005. The keynote speaker will be Nelson Beebe. A schedule of classes and talks is available on the web site, along with registration information. http://tug.org/practicaltex2005/ - TUG 2005 will take place in Wuhan, China, from August 23-25, 2005, sponsored by TUG and CTUG (the Chinese TeX User Group). The keynote speaker will be Wai Wong. A list of other speakers is now available on the web site, and registration forms will be available shortly. http://tug.org/tug2005/ - For those of you who like to make last-minute plans :), BachoTeX 2005 will take place in Bachotek, Poland, from April 30-May 3, 2005. Always a special conference in a special location. http://www.gust.org.pl/BachoTeX/2005/en/ As always, please don't hesitate to contact us with questions, suggestions, or information. Sincerely, Karl Berry (President) on behalf of the TUG Board http://www.tug.org/ From JOSEPHGKAWAMURA at aol.com Tue Apr 26 18:48:05 2005 From: JOSEPHGKAWAMURA at aol.com (JOSEPHGKAWAMURA@aol.com) Date: Wed Apr 27 10:06:19 2005 Subject: [texhax] Error in argument of \section. Message-ID: <201.5b1d4c.2f9fcac5@aol.com> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/x-tex Size: 128 bytes Desc: not available Url : http://tug.org/pipermail/texhax/attachments/20050426/1d85aa4f/attachment.tex From morten.hoegholm at latex-project.org Wed Apr 27 10:20:47 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Wed Apr 27 10:22:07 2005 Subject: [texhax] Error in argument of \section. In-Reply-To: <201.5b1d4c.2f9fcac5@aol.com> References: <201.5b1d4c.2f9fcac5@aol.com> Message-ID: On Tue, 26 Apr 2005 12:48:05 -0400 (EDT), wrote: > 4/26/05 > TEX Users Group > Dear Sirs: > There may be an error in the \section command of Latex2e. I get an > "Illegal parameter in the definition of..." error message when I > include the > \overrightarrow command in the math mode in the argument of the \section > command. > Enclosing a stripped down version of an example. Could you please > comment? Two whings going on here: You can't use \overrightarrow when you use the "noamsfonts" option. Once you fix this you will also have to insert a \protect command before \overrightarrow since this command is fragile. -- Morten From Robin.Fairbairns at cl.cam.ac.uk Wed Apr 27 10:25:38 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Wed Apr 27 10:26:15 2005 Subject: [texhax] Error in argument of \section. In-Reply-To: Your message of Tue, 26 Apr 2005 12:48:05 -0400. <201.5b1d4c.2f9fcac5@aol.com> Message-ID: > There may be an error in the \section command of Latex2e. I get an > "Illegal parameter in the definition of..." error message when I include the > \overrightarrow command in the math mode in the argument of the \section command. > Enclosing a stripped down version of an example. Could you please comment? a simple consideration of probabilities would have led you to realise that such an error was improbable. as documented, when \section has no optional argument, the argument is a moving one. \overrightarrow is a fragile command. fragile commands regularly produce odd error messages in moving arguments. convert your file to \documentclass[12pt,noamsfonts]{amsbook} \begin{document} \section{$\protect\overrightarrow{A}$} \end{document} and it works. From R.Gejaraj at spitech.com Wed Apr 27 13:27:37 2005 From: R.Gejaraj at spitech.com (Raja Gejaraj) Date: Wed Apr 27 13:28:10 2005 Subject: [texhax] Urgent Help Message-ID: <4A61088D41FC1B4AA2C3A7C3E95AE9E32A9189@spsind001s.india.spitech.com> Hello Everybody, I'm doing a work in MikTeX 2.4 with Helvetica Compressed font. I tried in several ways to get this font in MikTeX, but it is not working. Pl. tell me any way to do this font conversion in MikTeX? And also for this conversion I used the name phvr8ap [Karl Berry name], is it ok? Pl. reply immediately. Thanks in advance, G. Raja -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050427/9900738a/attachment.htm From Robin.Fairbairns at cl.cam.ac.uk Thu Apr 28 12:57:36 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Thu Apr 28 12:58:16 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: Your message of Thu, 28 Apr 2005 12:22:51 +0200. <20050428102251.GA26079@fz-rossendorf.de> Message-ID: > I'd like to write a literal `#1' (not expanded, just as a string) > and unequilibrated `{' or `}' into an auxiliary file using the > \protected@write command. > > I want LaTeX to write a macro definition with arguments into this > auxiliary file on the first run, which is used in subsequent runs. > > Commenting out `#' and the `{' with `\' doesn't help, because `\' will > appear in the aux.-file too. \string# (etc) will probably do what you want > Sorry if this question seems to be off topic, it's on-topic for texhax -- reply-to set > but I want to add some > kind of (reliable) physical page counter to my package for usage with > pdflatex, as incrementing some counter on every shipout doesn't yield > the expected result. look at the count1to package From v.demartino2 at virgilio.it Thu Apr 28 15:22:35 2005 From: v.demartino2 at virgilio.it (Vittorio) Date: Thu Apr 28 13:23:04 2005 Subject: [texhax] Formulas from latex to word Message-ID: <200504281322.35208.v.demartino2@virgilio.it> A friend of mine need to translate formulas written in latex documents into readable formulas for de equation editor of M$ Word. I know that the richness and quality of formulas written with latex are matchless, but I wonder all the same if that operation is possible nowadays even though in a rough, basic form? Regards Vittorio From karl at freefriends.org Thu Apr 28 14:41:54 2005 From: karl at freefriends.org (Karl Berry) Date: Thu Apr 28 14:42:21 2005 Subject: [texhax] volunteer for http://tug.org/interest.html overhaul? Message-ID: <200504281241.j3SCfsJ24908@f7.net> http://tug.org/interest.html is TUG's main web page listing just about every TeX related link we come across. It was initially started by Sebastian Rahtz some years ago, and unmercifully hacked on and added to since by others, mostly me. It is long past time for a complete overhaul of the page -- more useful sections, checking that the links still work, adding other links, better formatting, and whatever else. (One thing I don't really want to do is split it up, since it's been very useful, at least to me, to be able to search for "anything" in one page/file.) I've done a little bit of the reformatting and sectioning at odd moments, but it seems unlikely I will ever have time to systematically go through and fix it up. If anyone would like to volunteer to do this, please write me. I and everyone who uses that page would be most appreciative. Happy TeXing, Karl From wadams at atlis.com Thu Apr 28 16:00:00 2005 From: wadams at atlis.com (William F. Adams) Date: Thu Apr 28 16:03:34 2005 Subject: [texhax] Formulas from latex to word In-Reply-To: <200504281322.35208.v.demartino2@virgilio.it> References: <200504281322.35208.v.demartino2@virgilio.it> Message-ID: <8948d6e6d2dc1d2b1a646d5ab35b7944@atlis.com> On Apr 28, 2005, at 9:22 AM, Vittorio wrote: > A friend of mine need to translate formulas written in latex documents > into > readable formulas for de equation editor of M$ Word. > > I know that the richness and quality of formulas written with latex are > matchless, but I wonder all the same if that operation is possible > nowadays > even though in a rough, basic form? the converter program latex2rtf will handle most basic equations. If it's insufficient you could try the commercial program tex2word William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com From Robin.Fairbairns at cl.cam.ac.uk Fri Apr 29 10:10:14 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Fri Apr 29 10:10:29 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: Your message of Fri, 29 Apr 2005 09:20:52 +0200. <20050429072052.GA27058@fz-rossendorf.de> Message-ID: you've already been told (by three different people) that pdftex is not the right mailing list. i've set reply to texhax *again* just pay attention, please > \documentclass{book} > \usepackage{count1to} > > \def\p{% > This is physical page: \the\count1.\\ > }% > > \parindent=3D0pt > > \begin{document} > \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p > \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p > \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p since you never give the page maker a chance to run, it's no wonder the page counters never change. you'd have the same effect if you looked at \thepage change \\ to \par in your \p, and observe why you need a \label-like mechanism for looking at \count1 From A.Grahn at fz-rossendorf.de Fri Apr 29 10:30:28 2005 From: A.Grahn at fz-rossendorf.de (Alexander Grahn) Date: Fri Apr 29 10:57:58 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: References: <20050429072052.GA27058@fz-rossendorf.de> Message-ID: <20050429083028.GA10770@fz-rossendorf.de> >just pay attention, please Well, I did, this time. But nevertheless, the result of using count1to is rather disappointing: \documentclass{book} \usepackage{count1to} \def\p{% This is physical page: \the\count1.\par } \parindent=0pt \begin{document} \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \end{document} From morten.hoegholm at latex-project.org Fri Apr 29 11:17:33 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Fri Apr 29 11:36:23 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: <20050429083028.GA10770@fz-rossendorf.de> References: <20050429072052.GA27058@fz-rossendorf.de> <20050429083028.GA10770@fz-rossendorf.de> Message-ID: On Fri, 29 Apr 2005 10:30:28 +0200, Alexander Grahn wrote: >> just pay attention, please > > Well, I did, this time. But nevertheless, the result of using count1to is > rather disappointing: Yes, but you snipped an important part of Robin's latest posting: > change \\ to \par in your \p, and observe why you need a \label-like > mechanism for looking at \count1 TeX's page breaking is asynchronous: it collects material until it think it has enough and then cuts the scroll. Hence you need a label/ref combination in order to get the right page number. -- Morten From A.Grahn at fz-rossendorf.de Fri Apr 29 11:50:09 2005 From: A.Grahn at fz-rossendorf.de (Alexander Grahn) Date: Fri Apr 29 11:50:20 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: References: <20050429072052.GA27058@fz-rossendorf.de> <20050429083028.GA10770@fz-rossendorf.de> Message-ID: <20050429095009.GA11798@fz-rossendorf.de> Thank you, >>change \\ to \par in your \p I did this prior to my previous post, but for this label/ref thing I need some more explanation. To my knowledge `\label' always writes '\newlabel' commands referring to `\thepage' but not to `\the\count1' into the aux file. Maybe you think of this version of my `\p': \newcounter{lineno} \def\p{% This is physical page: \pageref{line\thelineno}.\label{line\thelineno}\par \stepcounter{lineno} }% This works well and all page numbers are correct in the final DVI, but only as long as \thepage is not beeing redefined underway. Try the following example: \documentclass{book} \usepackage{count1to} \newcounter{lineno} \def\p{% This is physical page: \pageref{line\thelineno}.\label{line\thelineno}\par \stepcounter{lineno} }% \parindent=0pt \begin{document} \pagenumbering{Roman} \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \pagenumbering{Alph} \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \pagenumbering{arabic} \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p\p \end{document} One certainly has to persuade LaTeX to make use of \the\count1 instead of \thepage on writing the \newlabel's. Alexander From morten.hoegholm at latex-project.org Fri Apr 29 12:13:44 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Fri Apr 29 12:14:38 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: <20050429095009.GA11798@fz-rossendorf.de> References: <20050429072052.GA27058@fz-rossendorf.de> <20050429083028.GA10770@fz-rossendorf.de> <20050429095009.GA11798@fz-rossendorf.de> Message-ID: On Fri, 29 Apr 2005 11:50:09 +0200, Alexander Grahn wrote: > One certainly has to persuade LaTeX to make use of \the\count1 instead > of \thepage on writing the \newlabel's. Try with this preamble: \documentclass{book} \usepackage{count1to} \newcounter{lineno} \makeatletter \def\thecountone{\the\count1 } \def\speciallabel#1{\@bsphack \protected@write\@auxout{\let\thecountone\relax}% {\string\newlabel{#1}{{}{\thecountone}}}% \@esphack} \def\p{% This is physical page: \pageref{line\thelineno}.% \speciallabel{line\thelineno}% \stepcounter{lineno}% \par }% \makeatother \parindent=0pt -- Morten From A.Grahn at fz-rossendorf.de Fri Apr 29 12:44:04 2005 From: A.Grahn at fz-rossendorf.de (Alexander Grahn) Date: Fri Apr 29 12:44:14 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: References: <20050429072052.GA27058@fz-rossendorf.de> <20050429083028.GA10770@fz-rossendorf.de> <20050429095009.GA11798@fz-rossendorf.de> Message-ID: <20050429104404.GA12805@fz-rossendorf.de> Thank you, Morton!!! This is exactly what I've been looking for. Actually, I have tried to use the definition of \newlabel to write my own \speciallabel too. But I didn't put this \let\thecountone\relax into the second argument of \protected@write, yielding the wrong page number in the first line. So what does \let\thecountone\relax actually do and what else can the second parameter of \protected@write be used for? Alexander From morten.hoegholm at latex-project.org Fri Apr 29 13:26:06 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Fri Apr 29 13:27:03 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: <20050429104404.GA12805@fz-rossendorf.de> References: <20050429072052.GA27058@fz-rossendorf.de> <20050429083028.GA10770@fz-rossendorf.de> <20050429095009.GA11798@fz-rossendorf.de> <20050429104404.GA12805@fz-rossendorf.de> Message-ID: On Fri, 29 Apr 2005 12:44:04 +0200, Alexander Grahn wrote: > Thank you, Morton!!! This is exactly what I've been looking for. > Actually, I > have tried to use the definition of \newlabel to write my own > \speciallabel too. But I didn't put this \let\thecountone\relax into the > second argument of \protected@write, yielding the wrong page number in > the first line. So what does \let\thecountone\relax actually do and what > else can the second parameter of \protected@write be used for? In short the second argument can be used for anything. Not that I see it being used very often - if at all - but it's a hook for special uses. Everything that goes into \write undergoes full expansion but since we don't want the value of \count1 until the output routine is happy, we must make sure that \the\count1 is left untouched until then. The way \protected@write works everything goes through an edef so you could infact just use \def\speciallabel#1{\@bsphack \protected@write\@auxout{}% {\string\newlabel{#1}{{}{\noexpand\thecountone}}}% \@esphack} instead which is nicer anyway. You could also do \noexpand\the\count1 of course. -- Morten From A.Grahn at fz-rossendorf.de Fri Apr 29 13:53:50 2005 From: A.Grahn at fz-rossendorf.de (Alexander Grahn) Date: Fri Apr 29 13:53:59 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: References: <20050429072052.GA27058@fz-rossendorf.de> <20050429083028.GA10770@fz-rossendorf.de> <20050429095009.GA11798@fz-rossendorf.de> <20050429104404.GA12805@fz-rossendorf.de> Message-ID: <20050429115350.GA14072@fz-rossendorf.de> Thanks again! It would be nice however, if it worked with \\ instead of \par too. But maybe this is impossible. Alexander From morten.hoegholm at latex-project.org Fri Apr 29 14:05:30 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Fri Apr 29 14:06:14 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: <20050429115350.GA14072@fz-rossendorf.de> References: <20050429072052.GA27058@fz-rossendorf.de> <20050429083028.GA10770@fz-rossendorf.de> <20050429095009.GA11798@fz-rossendorf.de> <20050429104404.GA12805@fz-rossendorf.de> <20050429115350.GA14072@fz-rossendorf.de> Message-ID: On Fri, 29 Apr 2005 13:53:50 +0200, Alexander Grahn wrote: > Thanks again! > It would be nice however, if it worked with \\ instead of \par too. But > maybe this is impossible. It works just fine. Just beware that the \pagenumbering command doesn't take effect until the paragraph has ended. -- Morten From Robin.Fairbairns at cl.cam.ac.uk Fri Apr 29 14:07:40 2005 From: Robin.Fairbairns at cl.cam.ac.uk (Robin Fairbairns) Date: Fri Apr 29 14:07:51 2005 Subject: [texhax] Re: [pdftex] writing `#', `{', `}' into auxiliary file In-Reply-To: Your message of Fri, 29 Apr 2005 13:53:50 +0200. <20050429115350.GA14072@fz-rossendorf.de> Message-ID: > Thanks again! > It would be nice however, if it worked with \\ instead of \par too. But > maybe this is impossible. it would be possible; labels work wherever they appear. a series of lines separated by \\ is indistinguishable, to tex, from a single large paragraph, which was why i suggested \par instead to show what was going on in your example text. in fact, a command defined as \par\noindent is far preferable to \\ in this sort of situation. (it's no good if you have non-zero \parskip, but that's not you ... yet ;-) From annej at email.arizona.edu Thu Apr 28 20:18:35 2005 From: annej at email.arizona.edu (Anne Johnson) Date: Fri Apr 29 14:45:32 2005 Subject: [texhax] printindex - page number position, blank page problems Message-ID: <20050428181836.ZXAC12158.fed1rmmtao11.cox.net@DELLLAPTOP> Hi, I've tried searching all over the place and can't find an answer for this. I'm using \printindex to include the index in my dissertation. For some reason, the grad college here wants it before the abstract (??) Anyway, when I put the \printindex command in the middle of the document, I get a blank page with only "INDEX" on the top, and then the index starts on the next page. Also, the first page of the index (the first one with text, not the blank one) puts the page number bottom-center, but I want it upper-right like the rest of the document. I can't find the code for the macro to change this. I'm using MikTeX on a PC. Any ideas how to fix it? Thanks Anne Johnson -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050428/623ede0a/attachment.htm From west at geneseo.edu Fri Apr 29 13:50:37 2005 From: west at geneseo.edu (Steve West) Date: Fri Apr 29 14:45:33 2005 Subject: [texhax] Problems Compiling Message-ID: <5.2.1.1.0.20050429074754.02113110@pop.geneseo.edu> >Dear Friends: I own a three year old copy of Y&Y TeX and yesterday I sent >an e-mail to WinEdt Team Support, they suggested that I contact >you. Below is the brief description of the proble that I sent. Can you >help? SW >I am having difficulty opening and older TeX file. The software worked on >my older computer, but when we upgraded to a new Dell with Windows NT, the >problems began. I get a error indicating that LaTex 209 is missing. Our >Tech person was able to open the file in Latex209 compatibility mode, but >nothing works. >We have tried to reinstall the software, which seems to work accept we >have an error message indicating that the installation was unable to open >a zip file. Any ideas. SW _/_/_/ _/_/_/ _/_/ _/_/ Dr. Stephen F. West _/ _/ _/ _/ Distinguished Teaching Professor and Chair _/_/_/ _/_/ _/ _/ _/ Mathematics Department _/ _/ _/ _/ _/ State University College _/_/_/ _/ _/ _/ Geneseo, New York 14454 (585-245-5386(5384) From wadams at atlis.com Fri Apr 29 14:58:33 2005 From: wadams at atlis.com (William F. Adams) Date: Fri Apr 29 15:02:30 2005 Subject: [texhax] printindex - page number position, blank page problems In-Reply-To: <20050428181836.ZXAC12158.fed1rmmtao11.cox.net@DELLLAPTOP> References: <20050428181836.ZXAC12158.fed1rmmtao11.cox.net@DELLLAPTOP> Message-ID: <3f69f9f2a08ea066ad854b8891f4d58f@atlis.com> (sent to list and directly mailed) On Apr 28, 2005, at 2:18 PM, Anne Johnson wrote: > I?ve tried searching all over the place and can?t find an answer for > this? > I?m using \printindex to include the index in my dissertation. For > some reason, the grad college here wants it before the abstract (??) > Anyway, when I put the \printindex command in the middle of the > document, I get a blank page with only ?INDEX? on the top, and then > the index starts on the next page.? I believe \printindex gets redefined after \backmatter or \appendix. See http://www.iam.ubc.ca/~newbury/tex/thesis.html for a brief discussion of this sort of thing. See below for a comment on documentclass. > Also, the first page of the index (the first one with text, not the > blank one) puts the page number bottom-center, but I want it > upper-right like the rest of the document. I can?t find the code for > the macro to change this. I?m using MikTeX on a PC. Any ideas how to > fix it? This sort of thing is controlled by the current pagestyle. The default for chapter openings is plain, so you need to switch it to be the same as the other pages, using something like \thispagestyle{headings}, but hard to be sure w/o knowing what documentclass you're using. Have you considered memoir? It's flexible, easily changed, and well documented. William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com From wadams at atlis.com Fri Apr 29 15:03:25 2005 From: wadams at atlis.com (William F. Adams) Date: Fri Apr 29 15:06:45 2005 Subject: [texhax] Problems Compiling In-Reply-To: <5.2.1.1.0.20050429074754.02113110@pop.geneseo.edu> References: <5.2.1.1.0.20050429074754.02113110@pop.geneseo.edu> Message-ID: <2b58d6c3af2eece8002ba278fa965e13@atlis.com> (posted and mailed) On Apr 29, 2005, at 7:50 AM, Steve West wrote: >> I am having difficulty opening and older TeX file. The software >> worked on my older computer, but when we upgraded to a new Dell with >> Windows NT, the problems began. I get a error indicating that LaTex >> 209 is missing. Our Tech person was able to open the file in >> Latex209 compatibility mode, but nothing works. >> We have tried to reinstall the software, which seems to work accept >> we have an error message indicating that the installation was unable >> to open a zip file. Any ideas. SW Well, a quick search for ``convert latex 2.09 latex 2e'' brings one to: http://www.agnld.uni-potsdam.de/~shw/LaTeX-html/latex2elatex209.htm. Have you tried anything like that? Not familiar w/ Y&Y --- have you tried installing MikTeX or fptex from TeXLive? Sounds like you've got a corrupted installation disk.... have you tried the Y&Y support list? listed at http://www.tug.org/yandy/ William -- William Adams, publishing specialist voice - 717-731-6707 | Fax - 717-731-6708 www.atlis.com From psychonaut at nothingisreal.com Fri Apr 29 19:47:57 2005 From: psychonaut at nothingisreal.com (Tristan Miller) Date: Fri Apr 29 23:17:36 2005 Subject: [texhax] [ANN] PracTeX Journal 2005 No. 2 Message-ID: <1854008.asrEWOXAdR@ID-187157.News.Individual.NET> Greetings. The second issue of _The PracTeX Journal_, a new online journal from TUG, is now available to all at . A table of contents for this issue follows this message. This journal is dedicated to the exchange of practical experience and instruction of the use of TeX and related systems. It is produced entirely by volunteers, and we welcome more participants; if you'd like to get involved, there are various possibilities suggested on the journal web pages. Regards, Tristan The PracTeX Journal -- 2005, Number 2 Notices From the Editor Lance Carnes Feedback From Readers News from Around Christina Thiele Invitation to PracTeX'05 Steve Grathwohl Articles A LaTeX Fledgling Struggles to Take Flight Peter L. Flom So, you are running MAC OS X and want to try LaTeX A. Schremmer Square cells: an array cooking lesson Will Robertson Integrating TrueType Fonts into ConTeXt Thomas A. Schmitz OpenType installation basics for ConTeXt Adam T. Lindsay Creating Online Tests with eqExam D.P. Story Producing beautiful slides with LaTeX: An introduction to the HA-prosper package Tristan Miller What does XML give the LaTeX user? Peter Flynn Producing a TeX/LaTeX Online Survey with the eqExam Package D.P. Story Columns \begin{here} % getting started: A LaTeX Survivor's Guide Tim Null \starttext % Practical ConTeXt: ConTeXt Text Editors Steve Peter Travels in TeX Land: Choosing a TeX Environment for Windows David Walden Ask Nelly: What do I do with the 2 CDs and 1 DVD from TUG?; How can I condense math matrices?; Can you explain the different TeX font formats?; How can I make PowerPoint slides with LaTeX? The Editors In my opinion: TeX's Interface Challenges Arthur Ogawa -- _ _V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited / |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard (7_\\ http://www.nothingisreal.com/ >< To finish what you From kashif at kfupm.edu.sa Fri Apr 29 05:16:19 2005 From: kashif at kfupm.edu.sa (Kashif Khan) Date: Sat Apr 30 06:10:30 2005 Subject: [texhax] minipage conflict Message-ID: <000801c54d3a$679f6b30$12035a0a@BabULaL> Hi, I'm using following two packages in my tex file for filling color in tables. \usepackage{colortbl} \usepackage{xcolor} I'm also using "minipage" to print two images side by side but it seems that minipage is conflicting with these two packages i.e. when I'm compiling my program with these two packages I'm getting 3 errors but if remove them, zero error. Any solution for this problem? One more question while using \chapters in different files can we include different packages for different files/chapters in our main file? Kashif Khan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://tug.org/pipermail/texhax/attachments/20050429/187048ad/attachment.htm From morten.hoegholm at latex-project.org Sat Apr 30 11:38:01 2005 From: morten.hoegholm at latex-project.org (=?windows-1252?Q?Morten_H=F8gholm?=) Date: Sat Apr 30 11:38:37 2005 Subject: [texhax] minipage conflict In-Reply-To: <000801c54d3a$679f6b30$12035a0a@BabULaL> References: <000801c54d3a$679f6b30$12035a0a@BabULaL> Message-ID: On Fri, 29 Apr 2005 05:16:19 +0200, Kashif Khan wrote: > Hi, > > I'm using following two packages in my tex file for filling color in > tables. > > \usepackage{colortbl} > \usepackage{xcolor} > > I'm also using "minipage" to print two images side by side but it seems > that minipage is conflicting with these two packages i.e. when I'm > compiling my program with these two packages I'm getting 3 errors but if > remove them, zero error. > > Any solution for this problem? See the xcolor manual. It describes how to use it with the colortbl package. > One more question while using \chapters in different files can we > include different packages for different files/chapters in our main file? I think you mean . -- Morten From texhax at aue.org Sat Apr 30 21:39:04 2005 From: texhax at aue.org (David Aue) Date: Sat Apr 30 22:00:00 2005 Subject: [texhax] stacking letters Message-ID: <002701c54dbc$448bf320$1100a8c0@Tukra> Hi, I'm creating a notation system for Indian classical percussion (tabla) and I am trying find a way to position small sized characters above a normal sized short word, essential making something like a diacritical mark for a short word. For instance I would like to position a small '1' over a normal 'te'. Eventually I would like a macro that centers a small #2 about 1ex+1pt above the baseline of a normal #1. I am new to TeX so I started experimenting with boxes but got stuck understanding the behaviour of: \hbox{\vbox{\hbox{1}\hbox{te}} \vbox{\hbox{1}\hrule\hbox{te}}} The first vbox has substantial space between the '1' and the 'te' (the amount of space actually seems to depend on context), whereas in the second vbox with the hrule there is no space between the two. Can someone explain this behavior to me and help me with how to control the spacing when there is no hrule? Thanks, David Aue From texhax at aue.org Sat Apr 30 22:43:41 2005 From: texhax at aue.org (David Aue) Date: Sat Apr 30 22:43:49 2005 Subject: [texhax] stacking letters In-Reply-To: <002701c54dbc$448bf320$1100a8c0@Tukra> Message-ID: <002801c54dc5$4b411660$1100a8c0@Tukra> I think I've got it with.... \def\sk#1#2{% \setbox0\hbox{\strut #1}% \vbox{\offinterlineskip% \hbox to \the\wd0{\hfil\hbox{\fiverm #2}\hfil}% \kern-1pt \box0}% } Any suggestions?? Ideally I'd like to make it typeface/size independent.