Documente Academic
Documente Profesional
Documente Cultură
2008 Quark Inc. as to the content and arrangement of this material. All rights reserved.
19862008 Quark Inc. and its licensors as to the technology. All rights reserved.
Protected by one or more of U.S. Patent Nos. 5,541,991; 5,907,704; 6,005,560; 6,052,514;
6,081,262; 6,947,959B1; 6,940,518B2; 7,116,843 and other patents pending.
Information in this document is subject to change without notice and does not represent
a commitment on the part of Quark Technology Partnership or its licensee, Quark Inc.
Quark Products and materials are subject to the copyright and other intellectual property
protection of the United States and foreign countries. Unauthorized use or reproduction
without Quarks written consent is prohibited.
QUARK IS NOT THE MANUFACTURER OF THIRD PARTY SOFTWARE OR OTHER
THIRD PARTY HARDWARE (HEREINAFTER THIRD PARTY PRODUCTS) AND
SUCH THIRD PARTY PRODUCTS HAVE NOT BEEN CREATED, REVIEWED, OR
TESTED BY QUARK, THE QUARK AFFILIATED COMPANIES OR THEIR LICENSORS.
(QUARK AFFILIATED COMPANIES SHALL MEAN ANY PERSON, BRANCH, OR
ENTITY CONTROLLING, CONTROLLED BY OR UNDER COMMON CONTROL
WITH QUARK OR ITS PARENT OR A MAJORITY OF THE QUARK SHAREHOLDERS,
WHETHER NOW EXISTING OR FORMED IN THE FUTURE, TOGETHER WITH
ANY PERSON, BRANCH, OR ENTITY WHICH MAY ACQUIRE SUCH STATUS IN
THE FUTURE.)
QUARK, THE QUARK AFFILIATED COMPANIES AND/OR THEIR LICENSORS MAKE
NO WARRANTIES, EITHER EXPRESS OR IMPLIED, REGARDING THE QUARK
PRODUCTS/SERVICES AND/OR THIRD PARTY PRODUCTS/SERVICES, THEIR
MERCHANTABILITY, OR THEIR FITNESS FOR A PARTICULAR PURPOSE. QUARK,
THE QUARK AFFILIATED COMPANIES AND THEIR LICENSORS DISCLAIM ALL
WARRANTIES RELATING TO THE QUARK PRODUCTS/SERVICES AND ANY THIRD
PARTY PRODUCTS/SERVICES. ALL OTHER WARRANTIES AND CONDITIONS,
WHETHER EXPRESS, IMPLIED OR COLLATERAL, AND WHETHER OR NOT, MADE
BY DISTRIBUTORS, RETAILERS, XTENSIONS DEVELOPERS OR OTHER THIRD
PARTIES ARE DISCLAIMED BY QUARK, THE QUARK AFFILIATED COMPANIES
AND THEIR LICENSORS, INCLUDING WITHOUT LIMITATION, ANY WARRANTY
OF NON-INFRINGEMENT, COMPATIBILITY, OR THAT THE SOFTWARE IS ERROR-
FREE OR THAT ERRORS CAN OR WILL BE CORRECTED. THIRD PARTIES MAY
PROVIDE LIMITED WARRANTIES AS TO THEIR OWN PRODUCTS AND/OR
SERVICES, AND USERS MUST LOOK TO SAID THIRD PARTIES FOR SUCH
WARRANTIES, IF ANY. SOME JURISDICTIONS, STATES OR PROVINCES DO
NOT ALLOW LIMITATIONS ON IMPLIED WARRANTIES, SO THE ABOVE
LIMITATION MAY NOT APPLY TO PARTICULAR USERS.
IN NO EVENT SHALL QUARK, THE QUARK AFFILIATED COMPANIES, AND/OR
THEIR LICENSORS BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL,
CONSEQUENTIAL OR PUNITIVE DAMAGES, INCLUDING, BUT NOT LIMITED
TO, ANY LOST PROFITS, LOST TIME, LOST SAVINGS, LOST DATA, LOST FEES,
OR EXPENSES OF ANY KIND ARISING FROM INSTALLATION OR USE OF THE
QUARK PRODUCTS/SERVICES, IN ANY MANNER, HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY. IF, NOTWITHSTANDING THE FOREGOING,
QUARK, THE QUARK AFFILIATED COMPANIES AND/OR THEIR LICENSORS
ARE FOUND TO HAVE LIABILITY RELATING TO THE QUARK PRODUCTS/
SERVICES OR THIRD PARTY PRODUCTS/SERVICES, SUCH LIABILITY SHALL
BE LIMITED TO THE AMOUNT PAID BY THE USER TO QUARK FOR THE
LEGAL NOTICES
II
|
SOFTWARE/SERVICES AT ISSUE (EXCLUDING THIRD PARTY PRODUCTS/
SERVICES), IF ANY, OR THE LOWEST AMOUNT UNDER APPLICABLE LAW,
WHICHEVER IS LESS. THESE LIMITATIONS WILL APPLY EVEN IF QUARK, THE
QUARK AFFILIATED COMPANIES, THEIR LICENSORS AND/OR THEIR AGENTS
HAVE BEEN ADVISED OF SUCH POSSIBLE DAMAGES. SOME JURISDICTIONS,
STATES OR PROVINCES DO NOT ALLOW THE EXCLUSION OR LIMITATION
OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION OR
EXCLUSION MAY NOT APPLY. ALL OTHER LIMITATIONS PROVIDED UNDER
APPLICABLE LAW, INCLUDING STATUTES OF LIMITATION, SHALL CON-
TINUE TO APPLY.
IN THE EVENT ANY OF THESE PROVISIONS ARE OR BECOME UNENFORCE-
ABLE UNDER APPLICABLE LAW, SUCH PROVISION SHALL BE MODIFIED OR
LIMITED IN ITS EFFECT TO THE EXTENT NECESSARY TO CAUSE IT TO
BE ENFORCEABLE.
USE OF THE QUARK PRODUCTS IS SUBJECT TO THE TERMS OF THE END
USER LICENSE AGREEMENT OR OTHER APPLICABLE AGREEMENTS FOR
SUCH PRODUCT/SERVICE. IN THE EVENT OF A CONFLICT BETWEEN SUCH
AGREEMENTS AND THESE PROVISIONS THE RELEVANT AGREEMENTS
SHALL CONTROL.
Quark, QuarkXPress, XTensions and the Quark logo are trademarks or registered
trademarks of Quark, Inc. and its affiliates in the U.S. and/or other countries.
Mac OS is a trademark of Apple, Inc. registered in the U.S. and other countries.
PostScript is a registered trademark of Adobe Systems Incorporated in the United States
and/or other countries. Microsoft and Windows are registered trademarks of Microsoft
Corporation in the United States and/or other countries. AutoPage is a registered trade-
mark of Kytek, Inc. MathMonarch is a trademark of Westwords, Inc. PowerMath is a
trademark of PowerHouse Software.
All other marks are the property of their respective owners.
LEGAL NOTICES
|
III
Introduction
About XPressMath v
About this guide vi
1 Interface Overview
Mathematical equations 1
The Equation Builder window 4
Menus 8
Edit procedures options 28
2 Understanding and Working with
XPressMath Components
Understanding related concepts 40
Getting Started with XPressMath 40
Working with equation box 43
Accessing supersets 44
Accessing main data setups from supersets 44
Accessing pi characters 46
Working with character styles 51
Working with macros 54
3 Mathematics Composition Procedures
Working with Division procedures 58
Working with Summation procedures 62
Working with Integral procedures 65
Working with Radical procedures 68
Working with Case Fraction procedures 70
Working with Matrix procedures 73
Working with Math Rule procedures 76
Working with Force Level procedures 78
Working with Stacking procedures 79
Working with Superior and Inferior procedures 82
Appendix: WWdoc
Glossary
TABLE OF CONTENTS
IV
|
Introduction
XPressMath 7 XTensions software is a powerful and sophisticated equation
typesetting and production program that adds the capability of producing the highest
quality engineering, science, and mathematical structures to QuarkXPress
.
While creating the mathematical structures, it also automates the tasks of creating
mathematical structures using ASCII language. XPressMath enables conversion of
mathematical structures and equations into other formats namely, ASCII, BMP,
and PICT.
ABOUT XPRESSMATH
XPressMath provides you comprehensive and powerful data setups. It provides you with
a complete set of procedures for automating the creation of mathematical structures.
Not only can you create mathematical structures, but you can apply colors, apply shades,
and create optically padded backgrounds. The primary emphasis of XPressMath is on
the creation of the equations, their formatting and their alignment with
surrounding text.
FEATURES
The XPressMath composition and production feature set includes:
Intuitive interface to handle the procedures, procedures options, and editing
of procedures options.
Extensive, automated access to pi characters and alternate fonts.
Global editing capabilities and batch transformations of documents.
Conversion of equations to JPEG.
ASCII import and export of mathematical structures.
Capability of creating macros with merge codes for variable input, accessible
interactively or with ASCII codes.
* * * XPressMath User Guide references numerous fonts, some of which may be
customized. It is recommended that before you start working with XPressMath,
prepare fonts and pi-character mappings as per your requirement.
ABOUT XPRESSMATH
INTRODUCTION | V
ABOUT THIS GUIDE
This guide describes the features of XPressMath, and offers step-by-step procedures
for specific tasks. The guide assumes that you are familiar with using QuarkXPress.
You can quickly find the information you need to know and get on with your work
using the detailed Table of Contents at the beginning of the guide. This guide
presents instructions in steps, and includes tips and notes about the software.
HOW TO USE THIS GUIDE
If you are unfamiliar with a command, or want more information about how
to use a tool, the information is here. The guide is divided into three chapters.
The first chapter outlines the interface of the XPressMath. It gives you an idea
about the XPressMath and its components.
The second chapter details the basic components and the settings you need
to know before you actually start creating mathematical structures.
The third chapter details the creation of mathematical structures using
procedures and ASCII language.
The Appendix lists all the codes you need for creating mathematical structures
in ASCII language as well as the reserved characters for procedures and delimiters.
BASIC SKILLS
In writing this guide, we assume that you are familiar with your computer and
know how to:
Launch an application
Open, save, and close files
Use menus, dialog boxes, and palettes
Work within a networked computing environment
Use the mouse, keyboard commands, and modifier keys
If you need help in any of these areas, please consult the documentation
provided with your computer or other resources.
WHAT YOULL SEE
This guide uses various conventions (styles) to help you find information quickly:
BOLD TYPE STYLE
The names of the menu commands, dialog boxes, and other controls are set
in bold type. For example: Choose Edit Pi Characters from the Supersets
menu to display the Pi Character Selector dialog box.
ABOUT THIS GUIDE
VI | INTRODUCTION
REFERENCES AND ARROWS
A reference shows how to access a mentioned feature. For example: Choose
Edit Pi Characters from the Supersets menu to display the Pi Character
Selector dialog box. In some cases, arrows represent the menu path to a
feature. For example: Choose Supersets > Edit Pi Characters to display the
Pi Character Selector dialog box.
NOTES AND TIPS
* * * Notes provide helpful information about particular features.
* * * Tips provide extra information about particular features and general techniques.
FORMATTING OF EXAMPLES IN THIS MANUAL
Throughout this guide, examples are shown illustrating how various items
are entered in XPressMath.
FORMATTING OF ASCII LANGUAGE EXAMPLES
The ASCII coding language involves frequent use of curly braces, brack-
ets, and other symbols. These are always literal, and never represent key-
board commands.
x=*frac*{a+b}{c+d}
CROSS PLATFORM USE OF ASCII LANGUAGE
The ASCII language can be entered from any source. When entering it on a
Windows
and MathMonarch
.
THE XPRESSMATH INTERFACE TO AUTOPAGE
Autopage is a utility for batch pagination developed by Kytek. Autopage works
closely with XPressMath to generate quality output. For more information about
Autopage, see its documentation.
MATHMONARCH
MathMonarch, a software developed by Westwords Inc., converts Microsoft
Word or text equations into XPressMath ASCII format and vice versa. For
more information, see its documentation.
GETTING STARTED WITH XPRESSMATH
This section describes the concepts that help you work efficiently with XPressMath.
It details, how you can edit or delete structures and what you need to take care of
while performing these actions. It also highlights the importance of the base point
size and global editability.
EDITING/DELETING STRUCTURES
Editing mathematical structures created by XPressMath procedures is a little
different than editing text. This is because the program inserts markers into
the text stream, which delineate parts of structures such as the numerator, rule,
and denominator of a buildup fraction. These markers need to be protected
from normal deletion, so that the equation is never left in a meaningless state
of having some, but not a complete set of these markers present for any such
UNDERSTANDING RELATED CONCEPTS
40 | CHAPTER 2: UNDERSTANDING AND WORKING WITH XPRESSMATH COMPONENTS
structure. For this reason, XPressMath only allows procedures to be selected
for cut, copy, or paste in their entirety.
To select the entire mathematical structure:
Click anywhere within a procedure and press Shift+Up arrow to select the
entire procedure (markers and text contents) for editing.
Click anywhere within the equation on the baseline and press Shift+Up arrow.
The entire text on the baseline towards the left of the cursor position is selected
until the next procedure (including the procedure) on the baseline.
When structures are nested (as with a division over a division), click inside
a substructure, press Shift+Up arrow to select just that part or press Shift+Up
arrow again to select the entire nested structure.
RESCALING BASE POINT SIZE
All elements of XPressMath equations are scaled relative to one constant
value the base point size. Character sizes and leading; pi character parame-
ters such as size, spacing, baseline deflection and overbar weights; and vertical
movement for procedural elements such as those for buildups and limits are all
done relative to the base point size. In this way, all or any part of an equation
in XPressMath can be rescaled for any reason (such as a change in the overall
specifications or for copying and pasting to footnotes) simply by adjusting this
one constant value.
GLOBAL EDITABILITY
No matter how many hundreds or thousands of times these characters and
parameters are accessed in a mathematical publication, the entire project
(or variously selectable parts of it) can be transformed in a single batch
global edit.
LEVEL OFFSET LEADING
Levels are the basic units for vertical placement of the elements of buildup
equations in XPressMath. In an equation containing a three-line buildup, for
example, the numerator of the buildup is placed on level +1, the denominator
is on level 1, and the main baseline of the equation is said to be on the zero
level. Similarly, for a three-line summation, the upper limit is automatically
set as a superior to level +1 while the lower limit is automatically set as an
inferior to level 1. This vertical placement value is specified as a percentage
of the base point size and the default is 70 percent (or 7points for 10 point
math) per level.
GETTING STARTED WITH XPRESSMATH
CHAPTER 2: UNDERSTANDING AND WORKING WITH XPRESSMATH COMPONENTS | 41
GLOBAL UPDATES
All, or any of variously definable subsets, of the XPressMath equations in a
project can be updated automatically to reflect the latest revisions to elements
of the supersets. This is a key feature of the program, and it provides an
important production efficiency.
EDITING THE BASELINE FONT
XPressMath enables you to set up customized horizontal positioning of
superior and inferior characters next to any baseline character in any font.
Once specified, this space remains in effect (until changed). Furthermore,
data entered through this interface can be changed and then a global edit to
the project will register the changes everywhere.
In the Superior/Inferior Horizontal Placement dialog box (File > Place
Sup/Inf), click Edit Baseline Font to turn on and off the controls related to
baseline font editing. To edit the baseline font:
1 Choose the font you want to edit.
2 Click Edit Baseline Font to enable the Adjustment field. Your baseline font
character displays in the preview window.
3 Choose an appropriate S/I sample font. The trial superior or inferior character
displays from this font.
4 As values are entered in the Adjustment field, the changes are reflected in the
preview window. For each currently selected baseline character, you can change
the adjustment percentage to a positive or negative value. The percentage is of
the base point size.
A negative number draws the sup/inf closer to the character being edited. The
values for a capital A in the TimesTen Italic family will obviously be different
from values for a lowercase d in the same family. For many baseline charac-
ters, the spacing for the superior function will be entirely different from that
for the inferior function.
5 Once a font has been edited, click OK. The values are saved to the file in the
XPressMath Font Metrics folder in the QuarkXPress application folder.
* * * The files in the XPressMath Font Metrics folder in the QuarkXPress
application folder must reside on the computer on which edits or updates to
the equations are to be done.
If you choose not to use a fonts values for a project, remove the file from the
XPressMath Font Metrics folder. Moving the XPressMath Font Metrics
folder out of the QuarkXPress application folder disables this feature
completely for edits, updates, or new equations.
GETTING STARTED WITH XPRESSMATH
42 | CHAPTER 2: UNDERSTANDING AND WORKING WITH XPRESSMATH COMPONENTS
WORKING WITH EQUATION BOX
An equation box is an anchored box that is automatically inserted into the
QuarkXPress text box wherever the cursor was at the time the XPressMath
Equation Builder window was opened, with the main equation baseline matching
the current text baseline.
SIZING THE EQUATION BOX
The basic strategy employed by XPressMath is to size equation boxes to
precisely contain the equations. This means that the box is drawn to pre-
cisely contain the highest ascender on the highest baseline level, the lowest
descender, and the leftmost and rightmost characters (including removal of
any negative sidebearings so that nothing gets clipped).
POSITIONING THE EQUATION BOX VERTICALLY
The basic strategy for vertically positioning equation boxes is to increase the
current line leading by the number of levels up for built-up structures, multi-
plied by the level offset leading. Similarly, the current space after is increased
by the number of levels down, again multiplied by the level offset leading.
*** This happens only when the paragraph format for the equation line specifies
an actual leading amount, not auto leading.
In addition to these strategies, you are offered a number of important options
in the Equation Box dialog box, which is accessed from the Style menu of
the Equation Builder window.
WHEN EQUATION BOX CLIPPING MATTERS
When using the other sizing options to reduce the box size, it is important to
realize when it matters that the equation displays clipped on-screen. When
the layout is printed, XPressMath generates PostScript