CTAN Comprehensive TeX Archive Network

CTAN has a new pack­age: en­v­i­ron

Date: Septem­ber 23, 2007 10:23:56 AM CEST
A new pack­age has been in­stalled at tug.ctan.org and should soon be at your fa­vorite mir­ror. Thank you, Jim Hef­feron Saint Michael's Col­lege ...................................................................... The fol­low­ing in­for­ma­tion was pro­vided by our fel­low con­trib­u­tor: Name of con­tri­bu­tion: en­v­i­ron Author's name: Will Robert­son Lo­ca­tion on CTAN: /macros/la­tex/con­trib/en­v­i­ron Sum­mary de­scrip­tion: A new en­vi­ron­ment in­ter­face Li­cense type: lppl An­nounce­ment text:
This pack­age de­fines ams­math's \col­lect at body, as well as a \long ver­sion \Col­lect at Body, for col­lect­ing the body text in­side an en­vi­ron­ment. Th­ese are used to de­fine a new au­thor in­ter­face for cre­at­ing new en­vi­ron­ments that might be use­ful on oc­cas­sion. For ex­am­ple, \NewEn­vi­ron­ment{test}{[#1]} wraps the en­tire en­vi­ron­ment body in square brack­ets, do­ing the right thing in ig­nor­ing lead­ing and trail­ing spaces.
This pack­age is lo­cated at http://tug.ctan.org/tex-archive/macros/la­tex/con­trib/en­v­i­ron . More in­for­ma­tion is at http://tug.ctan.org/pkg/en­v­i­ron (if the pack­age is new it may take a day for that in­for­ma­tion to ap­pear). We are sup­ported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/user­groups.html .

en­v­i­ron – A new in­ter­face for en­vi­ron­ments in

The pack­age pro­vides the \col­lect@body com­mand (as in ams­math), as well as a \long ver­sion \Col­lect@Body, for col­lect­ing the body text of an en­vi­ron­ment.

Th­ese com­mands are used to de­fine a new au­thor in­ter­face to cre­at­ing new en­vi­ron­ments. For ex­am­ple:
  \NewEn­v­i­ron{test}
wraps the en­tire en­vi­ron­ment body in square brack­ets, do­ing the right thing in ig­nor­ing lead­ing and trail­ing spaces.

Pack­ageen­v­i­ron
Ver­sion0.3
Copy­right2007, 2013 Will Robert­son
Main­tainerWill Robert­son

An­nounce­ments

more

Guest Book Sitemap Contact Contact Author