Home page

1/11/11

Christopher MabbFrom: Dr Christopher Mabb, Scientific Word Ltd.
To: Our Scientific Word/WorkPlace/Notebook Technical Typesetting list

 

    Welcome to the 11111 issue of our tips mailing - though it might well be 2/11/11 by the time some of you are reading this. Here are the latest technical insights for getting the best from your Scientific Word/WorkPlace/Notebook system:

     

  1. Section numbering depth:    We received a message from Denmark saying:
    "I would like to know how to make a reference to a section eg section 3.1.4, so that if I put in another subsubsection it will automatically change to section 3.1.5 in the section reference? Thanks in advance"
    Specifying the depth to which Scientific Word/WorkPlace numbers the (sub)sections is handled using setcounter. We replied:
    Thanks for your message. The Typeset - Preamble command:
    \setcounter{secnumdepth}{X}
    where X is a number, will give that number of significant figures in the depth of the section numbering. See the file attached.
    We recommend you download the file, click on Typeset - Preamble to see the
    \setcounter{secnumdepth}{4}
    and then Typeset - Preview PDF to see the result. Try changing the 4 to 2...


  2. New machine:    An academic writes:
    "My work machines are just about to be upgraded and I wondered how I go about migrating my copy of Scientific Word. Any advice would be appreciated."
    Here's the 3 step process we recommended:
    Assuming you keep your documents in the docs folder, you should follow these steps:
    1. Save a copy of your folder c:\sw55\docs somewhere secure – preferably an external drive
    2. Install and Register Scientific Word on your new machine, in the same way as before. Installation instructions are available at https://www.sciword.co.uk/!v5.5%20Installation.pdf <snip>. You can do so from your v5.5 CD, or (better) you can download the latest Build 2960 of v5.5 from our web page at www.sciword.co.uk/demo.htm , selecting the program you require: Scientific Word is 73Mb .
    3. Copy everything from your saved docs folder to your new c:\sw55\docs
    which might come in useful for others in a similar situation.


  3. Equation numbering:    How can you place equation numbers on the left rather than, as they are by default, on the right? For many classes of documents, it is as simple as changing it in Class Options: Typeset - Options and Packages - Class Options - Modify - Equation numbering - Numbers on left/right - OK - OK.


  4. Creating units:    One of our commercial Scientific Word users Emailed asking:
    "I have a question regarding the very useful units feature in SW, which I use regularly. The question is whether it is possible to add additional units to the built-in list?"
    We gave an initially unhelpful answer:
    Thanks for your Email. I think what you're asking is to create your own unit names: click on Help - Search - units of measure - units of measure - user-defined units. The only down-side seems to be that they're in grey rather than green on the screen...
    overlooking that this online Help is only available in Scientific WorkPlace and Scientific Notebook. We later apologised for giving duff information, and attached the help file - go down to the "Compound Units and New Unit Names" section, and the "To define additional unit names" subsection (three quarters of the way through) for the relevant part. In any case, you'll find a simple worked example here.


  5. Recovering tables to SW format:    A user had the problem that tables in her Scientific WorkPlace documents were not exporting correctly to RTF. It turned out that the problem arose because she had not used Scientific WorkPlace's own Table format (Insert - Table), but had inserted her tables as Encapsulated TeX Fields (or from an external source) in the form
    \begin{table}[htb]
    \centering
    \caption{Sample Fruit}
    \footnotesize
    \begin{tabular}{l c c c l}
    \hline
    {\bf } & All & Apples & Oranges & Pears \\
    etc.
    We wrote:
    You can recover your tables as follows (for each table):
    1. Right-click on the Table in Scientific WorkPlace, select Properties, uncheck Encapsulated, and click on OK
    2. Exit the document and reload it
    3. Right-click on the Table grey box, select Properties and go to the Contents tab; click in the Edit Contents box, Ctrl-A to select all the Table and copy it to the Clipboard. Cancel out of the Table
    4. Bring in the "Table - (4x3, floating)" fragment from the Fragments pop-up, and paste your Table from the Clipboard over the dummy table
    5. Edit the grey boxes "B", "caption" and "marker" with the correct details for your table; you will need at first to use a different marker as the original is already in use
    6. Drag the caption box before the table if you want your caption above the table
    7. Delete the original table
    8. Exit the document and reload it
    9. Change your marker back to the original name
    This table will now appear when the document is Exported to RTF and opened in MS-Word.
    We trust this slightly laborious process will help others to recover external LaTeX tables to Scientific Word's format (from which they can be exported to RTF if required), saving unnecessary rekeying.


  6. Numbering within sections:    This last request came in via our page at http://www.scientific-workplace.com/ :
    "how to insert figure or photo into my paper and fit to paper ?
    how to number the definition like 1.1 1.2 ...?"
    The second part is related to the issue we covered in our December 2009 mailing, Item 1. Our answer:
    To insert a graphic, click on File - Import Picture. You can resize a graphic by right-clicking on it, and then selecting Properties - Picture Properties and changing the scaling percentage while Maintaining the Aspect Ratio.
        To number theorems, definitions etc. within the section, put
    [section]
    at the end of the theorem definition in the Typeset - Preamble:
    \newtheorem{theorem}{Theorem}[section]
    See the attached file, in which all the theorem-like objects take their numbering from the theorem family.
    Note the difference between this point - putting [section] in square brackets at the end of a definition to number by reference to the section - and Item 3 of our May 2010 mailing, in which putting [theorem] in square brackets within the definition of theorem-like objects includes them in the theorem family numbering.


  7. Previous mailings:    Don't forget that past mailings are available to our users at www.sciword.co.uk/mailings . Why not go there now and browse through the many topics covered...

 

    Thanks for reading. We Email the Scientific Word family every couple of months. Please just let us know if you no longer wish to remain on our mailing list. More next time.

Cheers,

Christopher
--
Christopher Mabb, Scientific Word Ltd., UK
Tel: +44 (0)845 766 0340; Fax: +44 (0)845 603 9443
Email: christopher@sciword.co.uk
Web: https://www.sciword.co.uk/