# [Mac OS X TeX] Macro Question

8 messages
Open this post in threaded view
|

## [Mac OS X TeX] Macro Question

 Can anyone explain to me what is wrong with the following macro?  I keep getting an error in the TeX log saying that it will assume that I meant ##: \def\linespacint#1{\baselineskip=#1\normalbaselineskip} Thanks, ======================================================== Zachary S. Davis Department of Aerospace Engineering University of Texas at Arlington P.O. Box 19032 Arlington, TX 76019 Home: (817) 272-6418 [hidden email] Office: (817) 272-5269          ?Throughout the centuries there were men who took           first steps down new roads armed with nothing           but their own vision.?                                  -Ayn Rand ======================================================== ----------------------------------------------------------------- To UNSUBSCRIBE, send email to <[hidden email]> with "unsubscribe macosx-tex" (no quotes) in the body. For additional HELP, send email to <[hidden email]> with "help" (no quotes) in the body. This list is not moderated, and I am not responsible for messages posted by third parties. -----------------------------------------------------------------
Open this post in threaded view
|

## [Mac OS X TeX] Macro Question

Open this post in threaded view
|

## [Mac OS X TeX] Macro Question

Open this post in threaded view
|

## [Mac OS X TeX] Macro Question

 The macro that I've defined here does not reside within an environment, but is rather a stand-alone macro: \def\linespacing\#1{\baselineskip=#1\normalbaselineskip}                 ^ what is this \ for ? # by itself is a macro-parameter, \# is not. Hope this helps ?         Ross Moore ----------------------------------------------------------------- To UNSUBSCRIBE, send email to <[hidden email]> with "unsubscribe macosx-tex" (no quotes) in the body. For additional HELP, send email to <[hidden email]> with "help" (no quotes) in the body. This list is not moderated, and I am not responsible for messages posted by third parties. -----------------------------------------------------------------
Open this post in threaded view
|

## [Mac OS X TeX] Macro Question

 In reply to this post by Zachary S. Davis >Can anyone explain to me what is wrong with the following macro?  I >keep getting an error in the TeX log saying that it will assume that >I meant ##: > >\def\linespacint#1{\baselineskip=#1\normalbaselineskip} > >Thanks, > Hi Zachary This works for me: --------------------- \def\linespacing#1{\baselineskip=#1\normalbaselineskip} \linespacing{5} this is a test this is a test this is ates this is ates this is theiaotieh this is a test this is a test this is ates this is ates this is theiaotieh this is a test this is a test this is ates this is ates this is theiaotieh this is a test this is a test this is ates this is ates this is theiaotieh this is a test this is a test this is ates this is ates this is theiaotieh \end ----------------- in TeXShop running TeX. Michael -- _________________________________________________________ Assoc/Prof Michael Murray                                                   Department of Pure Mathematics       Fax: 61+ 8 8303 3696                                       University of Adelaide             Phone: 61+ 8 8303 4174       Australia  5005      Email: [hidden email]             Home Page: http://www.maths.adelaide.edu.au/pure/mmurrayPGP public key: http://www.maths.adelaide.edu.au/pure/mmurray/pgp.txt_________________________________________________________     ----------------------------------------------------------------- To UNSUBSCRIBE, send email to <[hidden email]> with "unsubscribe macosx-tex" (no quotes) in the body. For additional HELP, send email to <[hidden email]> with "help" (no quotes) in the body. This list is not moderated, and I am not responsible for messages posted by third parties. -----------------------------------------------------------------
Open this post in threaded view
|

## [Mac OS X TeX] Macro Question

 In reply to this post by Ross Moore Thanks, You're right, the macro should read: \def\linespacing#1{\baselineskip=#1\normalbaselineskip} On Sunday, June 17, 2001, at 02:18  AM, Ross Moore wrote: > > The macro that I've defined here does not reside within an environment, > but is rather a stand-alone macro: > > \def\linespacing\#1{\baselineskip=#1\normalbaselineskip} >                 ^ > what is this \ for ? > # by itself is a macro-parameter, \# is not. > > > Hope this helps ? > > Ross Moore > > > > ----------------------------------------------------------------- > To UNSUBSCRIBE, send email to <[hidden email]> with > "unsubscribe macosx-tex" (no quotes) in the body. > For additional HELP, send email to <[hidden email]> with > "help" (no quotes) in the body. > This list is not moderated, and I am not responsible for > messages posted by third parties. > ----------------------------------------------------------------- > ======================================================== Zachary S. Davis Department of Aerospace Engineering University of Texas at Arlington P.O. Box 19032 Arlington, TX 76019 Home: (817) 272-6418 [hidden email] Office: (817) 272-5269          ?Throughout the centuries there were men who took           first steps down new roads armed with nothing           but their own vision.?                                  -Ayn Rand ======================================================== ----------------------------------------------------------------- To UNSUBSCRIBE, send email to <[hidden email]> with "unsubscribe macosx-tex" (no quotes) in the body. For additional HELP, send email to <[hidden email]> with "help" (no quotes) in the body. This list is not moderated, and I am not responsible for messages posted by third parties. -----------------------------------------------------------------
 Dr. Paul Fons said: > I (and many others I assume) would > love to be able to just download the binaries instead of having to > recompile teTeX (in my case for the first time). Although I agree here, I'd like to note in passing that Fink'' when it installs LyX, seems to compile TeX.... so, if one could unify its tetex distribution with that of TeXShop then all one'd need to do is d/l the patch, apply it to the source and re-fink (is that a word?!?) FWIW, I'd really like to see a Mac OS X-native port of LyX (or would there be some way to make Mac OS X features like Services available to X-Window apps?) William -- William Adams, publishing specialist ATLIS Graphics & Design / 717-731-6707 voice / 717-731-6708 fax Sphinx of black quartz, judge my vow. http://www.atlis.com----------------------------------------------------------------- To UNSUBSCRIBE, send email to <[hidden email]> with "unsubscribe macosx-tex" (no quotes) in the body. For additional HELP, send email to <[hidden email]> with "help" (no quotes) in the body. This list is not moderated, and I am not responsible for messages posted by third parties. -----------------------------------------------------------------