ZINC>CHEMPERFECT>COMOUNDS.WCM
[Chemistry Macros for Corel WordPerfect v. 2.2]
DESCRIPTION
Using a WordPerfect feature called "Counters" you can count or number anything in your document. This macro helps you to count your compounds and display its numbers anywhere in your document. NOTE: To use this macro correctly read the WordPerfect manual/help for more information on Counters.
Click here to see a screenshot:
Compounds macro in WordPerfect for Linux
Compounds macro in WordPerfect for Windows
Steps:
First place the insertion point at the top of your document, run the @compounds.wcm
macro and choose option 4 "Define Number..." to create a definition of new WP Counter, called "Compds"
To add a new compound number:
place the insertion point where you want to display a counter number; run the macro and choose option 1 "New Number..." and type a descriptive name of your compounds, such as "_cinnamaldehyde".
Click here to see an illustration
To add a number of previously mentioned compound:
place the insertion point where you want to display a counter number; run the macro and choose option 2 "Existing Number..." and type a descriptive name of your compound (Windows), or select it using menu (Linux, NOTE: be sure to change the Reference type to Counter > Compds; click here to see an illustration).
You will see the "?" mark, instead a number. To convert "?" symbols into the numbers choose option 3 "Generate..."
Using this macro you can add and/or delete compounds freely, in any order. WordPerfect will increase or decrease counters for you, so you will get a document with proper and logically numbered compounds.
NOTE: Read the WordPerfect manual/help for more information on Counters. Play with the WordPerfect Counter feature to learn how it works. Be sure that this macro is in "alpha stage" of functionality. At this moment @compounds.wcm
macro offers only one counter level (i.e. letters in counters such as 1a, 2a,b are not increased or decreased automatically.
Enjoy!
Charles (Karol) Grela.
e-mail: grela@technologist.com
WWW: http://zinc.ichf.edu.pl/~grela/
[Themes for X] | [Graphics by GIMP] | [Powered by Linux] | [ChemSite Statistics] |
Last updated Tuesday, 16-Sep-2008 23:27:33 CEST (c) 1997-2024 Karol Grela (grela@technologist.com) |