tag:blogger.com,1999:blog-20067416.post1694317740180893681..comments2023-12-21T06:35:36.624-05:00Comments on Recursivity: TeXgefühlUnknownnoreply@blogger.comBlogger22125tag:blogger.com,1999:blog-20067416.post-91990394887743073182009-03-16T13:53:00.000-04:002009-03-16T13:53:00.000-04:00Interesting post, interesting reactions. One meme ...Interesting post, interesting reactions. One meme is missing though, to my mind: for some of these issues, AMSTeX and AMSLaTeX have an arguably better approach.<BR/><BR/>One is the dots: I like the approach where \dotsb is for dots between <I>b</I>inary operators, \dotsc is for dots between <I>c</I>ommas, \dotsi is for dots between <I>i</I>ntegral signs etc.<BR/><BR/>I believe that \DeclareMathOperator, suggested by Dan, is another excellent AMS(La?)TeXism.<BR/><BR/>And finally, as I think Ionica refers to in their first comment, AMSLaTeX has environments that are far superior to eqnarray, such as align.<BR/><BR/>Thanks for an interesting post.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-49741648697208284672009-03-09T10:04:00.000-04:002009-03-09T10:04:00.000-04:00And I must admit the spacing looks nicer with alig...<I>And I must admit the spacing looks nicer with aligned, but I can't put my finger on the difference.</I><BR/><BR/>Eqnarray uses unconventional spacing that's inconsistent with the way all other equations are spaced in TeX. It was originally an ad hoc way to arrange multiple equations using the array features in TeX, by treating the = sign and the left/right sides of the equation as antries in an array. If you typeset a single equation using eqnarray and also the standard way, you'll see that the eqnarray spacing is dramatically different around the = sign (and definitely worse). The newer aligned command fixes that problem.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-85737322801110485062009-03-09T08:52:00.000-04:002009-03-09T08:52:00.000-04:00Yes, the aligned environment is fine. Just don't u...Yes, the aligned environment is fine. Just don't use a matrix for aligned equations.<BR/><BR/>~~ PaulPaul C. Anagnostopouloshttps://www.blogger.com/profile/07146336984557843642noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-44777500848957205842009-03-09T06:01:00.000-04:002009-03-09T06:01:00.000-04:00Dear Paul, thanks for your kind offer! I saved you...Dear Paul, thanks for your kind offer! I saved your email adres and will surely ask you some questions in the near future.<BR/><BR/>About the eqnarray, I noticed that my co-authors all switched to the aligned-environment for aligning multiple lines of equations or conditions. When I asked them if I should do this too, they answered with a firm `Yes'. And I must admit the spacing looks nicer with aligned, but I can't put my finger on the difference.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-41562131056470475132009-03-07T11:05:00.000-05:002009-03-07T11:05:00.000-05:00Let me offer my services: If you have any TeX ques...Let me offer my services: If you have any TeX questions, I would be happy to answer them if I can. No charge, of course.<BR/><BR/>Note that I'm coming from the viewpoint of technical publishing, so I will tend to give you advice that matches what publishers and typesetters want when they produce books or articles from your files.<BR/><BR/>~~ Paul<BR/>pcanagnostopoulos@gmail.comPaul C. Anagnostopouloshttps://www.blogger.com/profile/07146336984557843642noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-24309622463529280232009-03-07T10:57:00.000-05:002009-03-07T10:57:00.000-05:00Ionica, why shouldn't you use eqnarray? One quite ...Ionica, why shouldn't you use eqnarray? One quite common mistake authors make is to use a matrix when they really want a sequence of aligned (sub)equations.<BR/><BR/>~~ PaulAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-44699775891518923392009-03-07T10:53:00.000-05:002009-03-07T10:53:00.000-05:00In 18 years of typesetting over 300 technical book...In 18 years of typesetting over 300 technical books for publishers in TeX, I have never once wanted wide spaces after sentence-ending punctuation. It is an anachronism. Include<BR/><BR/>\frenchspacing<BR/><BR/>in your preamble and never again worry about the space after "Dr."<BR/><BR/>~~ PaulAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-27315154581468982802009-03-06T02:17:00.000-05:002009-03-06T02:17:00.000-05:00Do your universities teach students how to use TeX...Do your universities teach students how to use TeX? That would be great. Most people I know learned (La)TeX from someone who was already using it. They got some basic instructions, the not so short guide and an example. <BR/><BR/>I very slowly discovered all the examples of TeXgefühl you described over the years. Only a month ago I found out that I should never use eqnarray again.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-46921482562466518412009-03-05T23:02:00.000-05:002009-03-05T23:02:00.000-05:00NAL:What I wrote is correct; please look at it aga...NAL:<BR/><BR/>What I wrote is correct; please look at it again. In the first example, we have items separated by commas, and for that you must use \ldots. In the second we have a product, and for that you must use \cdots.Jeffrey Shallithttps://www.blogger.com/profile/12763971505497961430noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-48700038745868267512009-03-05T21:05:00.000-05:002009-03-05T21:05:00.000-05:00This comment has been removed by the author.NALhttps://www.blogger.com/profile/12244370945682162312noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-19961644639807233542009-03-05T18:20:00.000-05:002009-03-05T18:20:00.000-05:00Similarly, I would write "let $func:\N\to\N$" and ...<I>Similarly, I would write "let $func:\N\to\N$" and let func be italicized to represent that it is a variable not referring to one particular function.<BR/><BR/>Shouldn't that be "let $\mbox{\em func}:\N\to\N$" instead?</I><BR/><BR/>I believe complete LaTeXgefuel-ness (how's that for a new word?) requires using \DeclareMathOperator{\func}{func}, and then writing \func, just like \sin and friends.<BR/><BR/>Sometimes I download the source to an arXiv paper, or paper from an online journal, and am usually appalled at what I see. I'm glad that I now have a word to use to express what they've done wrong!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-70381516039176578602009-03-05T16:06:00.000-05:002009-03-05T16:06:00.000-05:00This is sort of off topic, but I was listening to ...This is sort of off topic, but I was listening to some Dennett earlier and it occurred to me that if we adopt the word Schadenfreude into the English language that would be horizontal meme transfer, haha.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-5356533897161112402009-03-05T13:43:00.000-05:002009-03-05T13:43:00.000-05:00How about Htmlgefühl? I get really confused going...How about Htmlgefühl? I get really confused going back and forth between LaTeX and HTML tables.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-83540764914993621812009-03-05T12:40:00.000-05:002009-03-05T12:40:00.000-05:00Similarly, I would write "let $func:\N\to\N$" and ...<I>Similarly, I would write "let $func:\N\to\N$" and let func be italicized to represent that it is a variable not referring to one particular function.</I><BR/><BR/>Shouldn't that be "let $\mbox{\em func}:\N\to\N$" instead?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-16209873420909001972009-03-05T11:00:00.000-05:002009-03-05T11:00:00.000-05:00One good LaTeX trick that some folks don't use is ...One good LaTeX trick that some folks don't use is using \left and \right to automatically make the "big" parentheses, brackets, braces, etc.<BR/><BR/>Re. English subtleties: a very common expression I find in papers written by French speakers is "We now precise the following..." (This is legit in French, since "preciser" is a verb in French.) Another example is the use of "unicity" instead of "uniqueness".Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-68244749663878391192009-03-05T10:59:00.000-05:002009-03-05T10:59:00.000-05:00Do you remember the old VW commercials that used t...Do you remember the old VW commercials that used the word Fahrvergnügen. Like a lot of german words, I think this one is just plain fun to say.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-20067416.post-86087939321426879202009-03-05T09:49:00.000-05:002009-03-05T09:49:00.000-05:00About Franco-English mismatches: A couple of years...About Franco-English mismatches: A couple of years ago I joined a project for which most of the base code had been written in France. The comments, at least, were in (frequently stilted) English, but what threw me for a while were the frequent references to "valorisation" of data. I eventually figured out that it meant nothing more esoteric than an <I>en masse</I> initialization, ie. the assigning of values to a whole whack of stuff. Nothing to do with making the data brave and strong....Eamon Knighthttps://www.blogger.com/profile/04262012749524758120noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-50181249982828885162009-03-05T09:37:00.000-05:002009-03-05T09:37:00.000-05:00My least favorite violation of TeXgefuhl is when s...My least favorite violation of TeXgefuhl is when someone makes angle brackets by doing $<x,y>$ instead of $\langle x,y \rangle$. Man, that is ugly.Mikehttps://www.blogger.com/profile/10639000059433742235noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-60968842542176304352009-03-05T08:39:00.000-05:002009-03-05T08:39:00.000-05:00Those with TeXgefühl know that single-letter funct...<I>Those with TeXgefühl know that single-letter functions are always in the italic font, using something like $f(x)$, but that multi-letter functions, such as sin and cos, are nearly always in the roman font, and should be specified using the built-in expressions \sin and \cos.</I><BR/><BR/>Actually, I follow the convention that specific functions such as sin, cos, gcd, are not italicized, but variables that refer to functions (e.g., let $f:\N\to\N$) are italicized, not just for functions but in general. So even if I make up my own single-letter function, such as b_2(n) that outputs the base-2 expansion of a natural number n, I would leave it unitalicized. Similarly, I would write "let $func:\N\to\N$" and let func be italicized to represent that it is a variable not referring to one particular function.Davehttps://www.blogger.com/profile/00243750470577898974noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-21390816334973837902009-03-05T07:45:00.000-05:002009-03-05T07:45:00.000-05:00Sure, you can do that, too. It doesn't bother me ...Sure, you can do that, too. It doesn't bother me if Dr. and Smith are split over 2 lines, but perhaps I should have given a different example.Jeffrey Shallithttps://www.blogger.com/profile/12763971505497961430noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-89081261755422481472009-03-05T07:34:00.000-05:002009-03-05T07:34:00.000-05:00> knowing to put "\ " (...)> as in...> knowing to put "\ " (...)<BR/>> as in "Dr.\ Smith"<BR/><BR/>I actually thought that you were supposed to put Dr.~Smith, so that the Dr. would not risk ending at the end of the line?<BR/><BR/>Among other TeXgefuhl, I would add<BR/>$\begin{array}{|c|*{8}{c|}} (...) \end{array}$ when you want an array with one title column and 8 data columns.dothttps://www.blogger.com/profile/14825435867493579983noreply@blogger.comtag:blogger.com,1999:blog-20067416.post-9158482224586178322009-03-05T06:23:00.000-05:002009-03-05T06:23:00.000-05:00Fingerspitzengefühl is a personal favourite of min...Fingerspitzengefühl is a personal favourite of mine, a sort of generalization of sprachgefühl applicable to any activity that requires some form of skill.Anonymousnoreply@blogger.com