Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8242 > unrolled thread
| Started by | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| First post | 2012-01-30 10:09 +0000 |
| Last post | 2012-01-31 10:41 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Get rid of left margin reserved for In/Out labels Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2012-01-30 10:09 +0000
Re: Get rid of left margin reserved for In/Out labels Simon <simonjtyler@gmail.com> - 2012-01-31 10:41 +0000
| From | Alexei Boulbitch <Alexei.Boulbitch@iee.lu> |
|---|---|
| Date | 2012-01-30 10:09 +0000 |
| Subject | Re: Get rid of left margin reserved for In/Out labels |
| Message-ID | <jg5q9f$h5d$1@smc.vnet.net> |
Dear MathGroup members,
By default notebooks have an empty margin on the left, reserved for the In/Out labels.
How can I turn this margin off (and turn off the In/Out labels as well) for one particular notebook? Are there any notebook options or cell options that control this?
Szabolcs
Dear Szabolcs,
There is a method to fix the margins in the StyleSheet. You can add the definition of the cell margin size to those elements of the StyleSheet you need. As an example I write below one of my definitions (which is Text in the PrintOut environment):
Local definition for the style "Text"
Cell[StyleData["Text", "Printout"],
CellMargins->{{10, 10}, {10, 10}},
LineSpacing->{1.5, 3},
FontFamily->"Times New Roman",
FontSize->12,
FontWeight->"Plain",
FontSlant->"Plain",
FontVariations->{"StrikeThrough"->False,
"Underline"->False},
Magnification->1.1]
So, you can create/modify a special StyleSheet with small (or no at all) margins and use it for the particular notebook.
Concerning the In/Out tags, I am only aware of the method to switch it off (or on) forever (that is in the Preferences), but not for a single notebook. This one you probably know as well.
Have fun, Alexei
Alexei BOULBITCH, Dr., habil.
IEE S.A.
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@iee.lu<mailto:alexei.boulbitch@iee.lu>
[toc] | [next] | [standalone]
| From | Simon <simonjtyler@gmail.com> |
|---|---|
| Date | 2012-01-31 10:41 +0000 |
| Message-ID | <jg8gh4$13d$1@smc.vnet.net> |
| In reply to | #8242 |
To get rid of the CellLabels, you can use the ShowCellLabel option. Either in the notebooks stylesheet:
Cell[StyleData["Input"],
CellMargins->{{10, 10}, {5, 10}},
ShowCellLabel->False]
Cell[StyleData["Output"],
CellMargins->{{10, 10}, {10, 5}},
ShowCellLabel->False]
or in the notebook itself:
SetOptions[EvaluationNotebook[], ShowCellLabel -> False]
The preference switch Alexei mentioned is just setting the same option for $FrontEnd (you can also set it for the session using $FrontEndSession).
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web