Chapter One
Typesetting a Book in JSP Style Using
MS Word
Author Name
University Department, University Name, Address
City, State ZIP/Zone, Country
firstauthor_id@domain_name
This article is intended for authors using JSP's MS Word template for
typesetting books. MS Word is a word processing program that can be
used to create, edit, format, and save documents. Although this
document is not meant to be a complete reference for using MS Word—
since none can replace MS Word Help function which is always available
“down-to-earth”—it provides a tutorial-refresher aid for typesetting JSP
books using MS Word on technical grounds.
1.1 INTRODUCTION—AN EXPLANATION OF THE PROCESS AND
APPROACH
Authors who use this template correctly should find that the writing
their book is easier, since the output will not only be in a form directly
suitable for camera-ready copy but also the book should be produced
quicker, with flawless restriction of the chance of typographic errors,
besides automatically fitting the in-house style by default.
Book Title
First Author & Second Author
Copyright © 2019 by Jenny Stanford Publishing Pte Ltd
[Link]
2
Typesetting a Book in JSP Style Using MS Word
Detailed instructions for the preparation of the book using MS Word,
including notes on preparing text which comprises Parts, Chapters,
Section headings; Lists; Floats that include Tables and Figures;
Mathematics; Miscellaneous; and References are described elaborately in
this article.
1.2 LOADING THE TEMPLATE
Loading the content (chapters) into the desired template entirely
depends on three factors.
• If the chapter text is yet to be created, then open a new document
from the menu File | New or Ctr + N.
• For already created chapter text, open your existing document from
File | Open or Ctr + O.
• Now select the JSP template:
For Office 2003, Office 2007 and above users:
(i) Click Tools|Templates and Add-ins menu.
(ii) Click the Attach button in the Templates and Add-ins dialogue,
(iii) Switch to the folder that contains the JSP template you want,
double click the appropriate template/style file from the file
selector. Then ensure that the check box—Automatically
Update Document Styles—is attended before clicking OK in the
Templates and Add-ins dialogue.
For Office 2007 users:
(i) Click the Microsoft Office Button , and then click Word
Options.
(ii) Click Add-Ins.
(iii) In the Manage list, select Word Add-ins, and then click Go.
(iv) Click the Templates tab.
(v) Under Global templates and add-ins, select the check box next
to the template or add-in that you want to load. If the template
you want does not appear in the box, click Add, switch to the
folder that contains the JSP template you want, click it, and then
click OK.
For the already created content, you may switch off the section auto
numbering option to avoid double numbering. If you are not sure
1.3 RD Fields
3
with the above process, the template can be retained in the current
working folder and double clicking it should open a new chapter
whenever the need arises.
Regardless of the method employed (as explained above), the JSP
styles will be available in the Styles list box on the Formatting tool bar,
and in the Styles and Formatting on the Format menu. It is also
necessary to click 9"x6" from JSP toolbar to have a required page layout
when the template is attached to an existing document.
1.2.1 Applying JSP styles to the document
To implement a style, begin by selecting the text to which the style needs
to be applied, and then choose the style name from the styles list box on
the tool bar or by using JSP Toolbar. The JSP templates contain all the
styles that is required for formatting the documents. It is crucial and
recommended to exploit the usage of styles as much as possible to
format the text. However, apply direct formatting only as a last resort
when the style, for some reason, is incompatible with the requisite. As a
note of caution, do not use any style for a purpose other than that for
which it was intended or for the want of effort.
1.3 RD FIELDS
When its time to create the Table of Contents or Index that spans the
entire project, and perhaps ensuring that all the page numbers are
consecutive, RD fields are the most stable mechanism in Word for this
purpose. With predefined TOC and Index fields present at TOC and
Index templates, TOC and index entries are automatically generated
using these RD fields. RD fields identifies a file to be included when you
create a table of contents, or an index, e.g.,
{ RD "C:\\books\\Chapters\\[Link]"}
{ RD "C:\\books\\Chapters\\[Link]"}
{ RD "C:\\books\\Chapters\\[Link]"}
4
Typesetting a Book in JSP Style Using MS Word
If the files are not all in one directory, you must include the full path
to the files; always use double backslashes to specify the path. If all the
chapters, TOC and index files are in same folder, then just key in the
chapter filename alone with \f switch. e.g.,
{ RD "[Link]" \f}
{ RD "[Link]" \f}
{ RD "[Link]" \f}
RD fields that reference a series of files must be in the order in which
the files are to appear in the project, e.g., files Chap1 and Chap2 both
have an index entry for "apricot" on the first page. The first page number
in Chap1 is 1, and the first page number in Chap2 is 100.
Sequence Results in index entry
{ RD 01chap1 } apricot 1, 100
{ RD 02chap2 }
{ RD 02chap2 } apricot 100, 1
{ RD 01chap1 }
Sec 1.12 has more information on indexing.
1.4 BODY TEXT
1.4.1 Parts
A part heading always centered, odd-numbered page (recto) and should
be set in boldface. (Note: Avoid setting Drop folio in part title page
without text.) It is mandatory to leave the following page blank that is
even devoid of folio or running head. Each part is then further
subdivided into chapters and sections.
1.4.2 Chapters
Each chapter should normally be in a separate file. The chapter title
should be typed in with the first letter of important words capitalized.
Chapter and Section Numbers can be updated by selecting the current
1.5 Major Headings
5
chapter number and clicking the JSP toolbar, Chapter|Change Chapter
Number. Chapters usually starts on odd page, but for books with more
than 500 pages you may run on the page numbers.
1.5 MAJOR HEADINGS
Major headings should be typeset in boldface with all the characters
capitalized with section numbers. To change chapter number for section
headings, click .
1.5.1 Sub-headings
Sub-headings should be typeset in boldface italic and capitalize the first
letter of the first word only.
[Link] Sub-subheadings
Typeset sub-subheadings in medium face italic and capitalize the first
letter of the first word only.
1.6 MACROS
The JSP templates contain a number of macros, written to help make the
document to conform the JSP guidelines. These macros have been
intensively elucidated in this document for the benefit of authors using
MS Word JSP template. Although all macros were thoroughly tested in
different environments, the prevalence of possibility of the document
getting modified in such a way that a macro fails to work as expected,
persists. In this case, save and exit the document, and alternatively, open
a new document (based on the JSP template) and copy the saved content
into this document before running the macro again.
1.6.1 Changing Word’s Macro Security Level
By default, the Macro security level in Word is set to High. This means
that Word will disable all macros unless one of two criteria are met:
6
Typesetting a Book in JSP Style Using MS Word
• the macro was created by the copy of the program installed on your
computer or the macro has a digital signature from a trusted source.
To change the macro security level and enable the JSP macros:
For Office 2003, Office 2007 and above users:
(i) On the Tools menu, point to Macro, and then click Security.
(ii) Click the Security Level tab, and then select the security level you
want to use.
(iii) Click OK
A word of caution: Even with the best, most up-to-date virus protection
software installed on your computer, it is NEVER advisable to select the
Low security setting. At the Medium security level, you will still be able
to run unsigned macros, but Word will prompt you first.
High - Macros are disabled.
Medium - Users are prompted to enable or disable macros.
Low - No prompt. Macros are enabled.
For Office 2007 Users:
(i) Click the Microsoft Office Button, click Word Options, and then
click Trust Center.
(ii) Click Macro Settings.
(iii) Under Macro Settings, click Enable all macros.
1.7 EQUATION
Below is a sample equation created with Equation Editor. An equation
should be typed in <tab>Equation<tab>(Equation number) format and
Equation style should be applied on it.
d F1 d F
= SAm2 cos , 1 = SAm 3 cos . (1.1)
d2 d3
1.8 TABLES
Position tables and figures top or bottom of a page where their first
reference occur in the text. Do not put them at the end of the chapter.
1.9 Figures
7
Tables are numbered serially within each chapter following
corresponding chapter number and referred to in the text by number.
Each table should have an explanatory caption which should be as
concise as possible. If a table is divided into parts they should be labeled
as (a), (b), (c), etc., but there should be only one caption for the whole
table, and seldom separate ones for each part.
Table 1.1 demonstrates a classic example of typical JSP style table.
The JSP house style for tables is lucid enough for authors to follow the
instructions that are elucidated below, but, in books, authors may follow
their own format if they prefer, provided the result is both pleasing, in
aesthetic sense as well as the style applied is observed consistently
throughout the book. Tables can be created quickly by using the JSP
Table macros found at JSP toolbar or Insert Table command, or using the
Draw Table tool to create a more complex table—for example, one that
contains cells of different heights or a varying number of columns per
row.
Table 1.1. Number of tests for WFF triple NA = 5, or NA = 8.
NP
3 4 8 10
3 1200 2000 2500 3000
NC 5 2000 2200 2700 3400
8 2500 2700 16000 22000
10 3000 3400 22000 28000
As stated previously, the JSP table style is simple, comprising a bold
Top-rule; a bold bottom-rule; and a thin mid-rule but seldom a vertical rule.
The bold rules are at the top and bottom of the table.
1.9 FIGURES
Word allows the placement of what is termed as a “frame” around a
figure, a table, or any other element of the document so that its position
on the page is fixed. To comprehend the usage of this Word functionality
in order to achieve the desired result, look up the various entries under
Frames in the on-line Help.
Frame is a container that you can resize and position anywhere on
the page. To position graphics and their caption, you may use a frame.
8
Typesetting a Book in JSP Style Using MS Word
Select a figure along with its caption and click JSP toolbar Figure|Bind
Figure 1.1. This is the style for figure caption. Center this text if it doesn’t run for
more than one line.
Figure and Caption to create a frame box.
1.9.1 Math Environments
Math environments comprises Example, Description, Lemma, Proof,
Remark, Corollary, Theorem, and Proposition. Each math environment
holds individual numbers, following their own chronological order
within their domain. Among the list of environments mentioned above,
only Proof, Example and Definition are set in roman font while the rest
are set in italics font. However, similarity lies in headings, where all
heads are set in boldface and separated from run on text by 1 em space.
Theorem 1.1 Sample theorem text.
Theorem 1.2 Sample theorem text.
Proof. Proof environment ends with a square box, denoting the end of a
given proof. □
1.9.2 Miscellaneous
Quote
Here is the example for a quote.
1.10 Appendices
9
This is the example for the quote environment. Quote text is indented by
1pc on left and right side. The point size for the quote text is 9/11pt. The
above and below side for the quote is half-line.
Boxes
Here is the example for the Boxed text.
This is the example for the Box text environment. The text will be placed
inside a box with 6pt space on all sides. The box rule thickness is .5pt.
Acknowledgments
The heading Acknowledgments should always be unnumbered;
1.10 APPENDICES
Appendices should be used only when absolutely necessary. They
should come before the References. If there is more than one appendix,
number them alphabetically.
d F1 d F
= SAm2 cos , 1 = SAm 3 cos . (A.1)
d2 d3
Number displayed equations occurring in the Appendix in this way,
e.g.~(A.1), (A.2), etc.
1.11 REFERENCES AND CITATIONS
References cited in the text should be placed within square brackets and
state as [reference number], e.g., [1], [1,3] and, for contiguous entries
with a range, [1–4]. A complete list of references cited, arranged in
alphabetical order according to the surname of the first author, should be
provided. References by the same author will follow a chronological
sequence, i.e., Smith [1969] precedes Smith [1971]. Article titles should be
stated in full but standard abbreviations should be used for journal
names.
10
Typesetting a Book in JSP Style Using MS Word
Journal reference:
1. Burke, J. E. (1964). Scattering of surface waves on an infinitely deep
fluid, J. Math. Phys., 6, pp. 805–819.
Book reference:
2. Golub, G. H. and Van Loan, C. F. (1989) Matrix Computations, 2nd Ed.
(Johns Hopkins University Press, USA).
3. Lie, D. Y. C. and Wang, K. L. (2001) Semiconductors and Semimetals 73,
eds. Willardson, R. and Weber, E., Chapter 4 "Si/SiGe Processing,"
(Academic Press, San Diego) pp. 151–197.
Proceedings reference:
4. Hattori, M. and Matsumoto, H. (1977). Hydraulic performances of a
submerged plate as breakwater, Proc. 24th Japanese Conf. Coastal Eng.,
JSCE, pp. 266–270 (in Japanese).
5. Imai, T., Akiyama, Y., Ikeya, T., Kudo, K. and Tsuzuki, S. (1987).
Wave focusing by a submerged crescent plate, Proc. Coastal Eng.
JSCE: 487–491 (in Japanese).
1.12 INDEXINGa
Creating the index entries and combined index:
1. Mark index entries in subdocuments(chapters)
(i) Select the text you want to include as an index entry. To enter
your own text as an index entry, just click where you want to
insert the index entry.
(ii) Press ALT+SHIFT+X or from JSP toolbar Index|Mark, Mark
Index Entry dialogue appears.
(iii) To create a main index entry, type or edit the text in the Main
entry box. To create a subentry, type the text in the Subentry
box. To include a third-level entry, type the subentry text
followed by a colon and the text of the third-level entry.
a [Link]
636033
1.12 Indexing
11
(iv) To mark the index entry, click Mark. To mark all occurrences of
this text in the document, click Mark All.
2. Page Number all the chapters sequentially. Make sure that all the
chapters' pages are numbered continuously.
3. Attaching the subdocuments(chapters) to index file by creating RD
fields:
(i) Please make sure that all the individual chapters are already
marked with index entries. Also make sure that all the
chapter's page numbers are numbered continuously.
(ii) In JSP-rv_index.dot, Turn ON the Show/Hide button .
(iii) Press Ctr + F9, an empty Field brackets will appear.
(iv) Now keyin the text "RD" followed by a space and the 1st
chapter's filename with full path. e.g.,
{ RD "c:\\job\\books\\NM\\[Link]" }.
If all the chapters and the index file are in same folder, then
just key in the chapter filename alone with \f switch. e.g.,
{ RD "[Link]" \f}.
(v) In the next line repeat the steps 2 and 3 for chapter 2.
(vi) Similarly create the RD fields for all the other chapters.
4. Generating index list:
(i) In Index document position the cursor where you want to insert
the index.
(ii) On the Insert menu, click Index and Tables, and then click the
Index tab. or press Index Maker from JSP toolbar. Press OK to
create the index.
Similarly, combined Table of Contents can also be created using this RD
fields concept.
Appendix A. Appendices
A.1. Sample Appendix Section
Appendices should be used only when absolutely necessary. They
should come before the References. If there is more than one appendix,
number them alphabetically.
12
Typesetting a Book in JSP Style Using MS Word
A.1.1. Sample Appendix Sub-section
Number displayed equations occurring in the Appendix in this way,
e.g.~(A.1), (A.2), etc.
d F1 d F
= SAm2 cos , 1 = SAm 3 cos . (A.1)
d2 d3
References
1. Burke, J. E. (1964). Scattering of surface waves on an infinitely deep fluid, J.
Math. Phys., 6, pp. 805–819.
2. Golub, G. H. and Van Loan, C. F. (1989) Matrix Computations, 2nd Ed. (Johns
Hopkins University Press, USA).
3. Lie, D. Y. C. and Wang, K. L. (2001) Semiconductors and Semimetals 73, eds.
Willardson, R. and Weber, E., Chapter 4 "Si/SiGe Processing," (Academic
Press, San Diego) pp. 151–197.
4. Hattori, M. and Matsumoto, H. (1977). Hydraulic performances of a
submerged plate as breakwater, Proc. 24th Japanese Conf. Coastal Eng., JSCE,
pp. 266–270 (in Japanese).
5. Imai, T., Akiyama, Y., Ikeya, T., Kudo, K. and Tsuzuki, S. (1987). Wave
focusing by a submerged crescent plate, Proc. Coastal Eng. JSCE: 487–491 (in
Japanese).