Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • test the presentation of code tags (again)

    Enclosing commands or output snippets between code tags such as "[CODE]" (left tag) and "[ /CODE]" (right tag -- ignore/omit the space before the slash) has the advantages that
    • you need not include images into your post which should be avoided, see FAQ #12.4 and #12.5
    • content is better readable because characters (including space) are equally spaced
    • readers can copy the content (e.g. commands) more easily
    Example of pasted output without code delimiters:

    . sysuse auto
    (1978 automobile data)

    . sum mpg

    Variable | Obs Mean Std. dev. Min Max
    -------------+---------------------------------------------------------
    mpg | 74 21.2973 5.785503 12 41



    Example of of the same output enclosed within code delimiters
    Code:
    . sysuse auto
    (1978 automobile data)
    
    . sum mpg
    
        Variable |        Obs        Mean    Std. dev.       Min        Max
    -------------+---------------------------------------------------------
             mpg |         74     21.2973    5.785503         12         41
    Code tags are accessible via the #-symbol in the editor's (writing area) toolbar; if you do not see that button, then click on the “Toggle Advanced Editor” button (an underlined A) above the writing area to show the toolbar.
Working...
X