The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Re: Silly question on how to insert sections, subsections and etc.
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Alexei Boulbitch

Posts: 483
Registered: 2/28/08
Re: Silly question on how to insert sections, subsections and etc.
Posted: May 24, 2013 5:27 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply


I wonder whether it would be possible to write a notebook with the following structure:

Section 1

Text and Mathematica commands

subsection 1.1

Text and Mathematica commands

subsection 1.2

Text and Mathematica commands

Text and Mathematica commands (note that part is not inside subsection 1.2 but it is inside Section 1)

Section 2


I could not figure out how to have "Text and Mathematica commands" after subsection 1.2 but still inside Section 1.

Many thanks


Hi, Ed,

There are several ways to do that. The shortest to explain is as follows.

Go to Menu/Format/StyleSheet/StyleSheetChooser

This brings up a dialog with various predefined templates. Choose the very first, if you need just the basic template, or choose any other of your liking. Remove unnecessary cells. Copy-paste those you need to multiply. Make numeration of the Sections and Subsections by hand. Indentation and unification of subsections belonging to their Sections will be arranged automatically.

Text and Mathematica commands may be done in different cells: text goes into the TextCell, while a command requires the InputCell or Mathematica Code Cell. Alternatively you may change types of cells yourself: after having marked the cell parenthesis (at the right notebook margin) this is controlled by Menu/Format/Style and choose the Text or Input item.

Alternatively you may enter both text and code into the input cell, but wrap the text by the comment signs, that is (* *). Done.

Have fun, Alexei

Alexei BOULBITCH, Dr., habil.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone : +352-2454-2566
Office fax: +352-2454-3566
mobile phone: +49 151 52 40 66 44


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.