Tutorial: Creating and Using Style Sheets

Style sheets allow you to perform sophisticated styling easily

  1. If it is not already open, choose the notebook created in Tutorial 9: Taking Notes Using Background Text.
  2. Select a word of background text in the notebook and change it to 14 point Helvetica, bold, condensed and magenta (use choices in the Format menu to make these changes). Add this style to the Style Sheet menu for future use by selecting the text whose style you just changed and then choosing Format Style Sheets Add Style Sheet…. In the dialog box that appears give the style sheet the name “Magenta Text”. Press the OK button to add the style sheet to the Format Style Sheets menu.
  3. Click once on the first analysis output object in the notebook to select it. Now choose Format Style Sheets Magenta Text. Note that all the text in the output object changes to match the style you just defined. The style sheet defined the style of text and when applied to the output object, it caused all of the text in the object to take the new style.
  4. Double-click on the second output object to make it the target. Let’s change the styles of some of the other parts of the graph. Click once on the part of the targeted object you want to alter (e.g. the title or an axis label) and then use the Format menu to try font, style and color combinations. You can select multiple items in the targeted object by shift-clicking (click on one object and then hold down the shift key while clicking on additional objects – all objects clicked will be selected). Once you have the graph looking the way you like, choose Format Style Sheets Add Style Sheet… and, if presented with a choice1, use the entire object button to define a style sheet named “Graph Format”. This style sheet represents all the formatting information of all the items in the output object.
  5. Select a different graph object (click-once) and then apply the new style sheet you just created by choosing it from the Style Sheets submenu, as before. Notice that the styles of all the parts in the selected object change because they were all defined in the style sheet.

Defined style sheets are also available when you start an analyses as part of the Styles popup menu.

This concludes this tutorial. You may quit or continue on to the next tutorial. If you choose to continue, close all open windows now.

This entry was posted in gene inspector tutorials and tagged , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>