MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

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

  • To: mathgroup at
  • Subject: [mg130904] Re: Silly question on how to insert sections, subsections and etc.
  • From: Alexei Boulbitch <Alexei.Boulbitch at>
  • Date: Fri, 24 May 2013 06:25:57 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:


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

e-mail: alexei.boulbitch at<mailto:alexei.boulbitch at>

  • Prev by Date: Re: Work on Basic Mathematica Stephen!
  • Next by Date: Re: Silly question on how to insert sections, subsections and etc. on a notebook
  • Previous by thread: Re: Map
  • Next by thread: Reduce an expression into a given form.