Skip to content Skip to navigation

Connexions

You are here: Home » Content » Example module for use of cnxml/mathml tags

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

      What are tags? tag icon

      Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

    • External bookmarks
  • E-mail the author
  • Rate this module (How does the rating system work?)

    Rating system

    Ratings

    Ratings allow you to judge the quality of modules. If other users have ranked the module then its average rating is displayed below. Ratings are calculated on a scale from one star (Poor) to five stars (Excellent).

    How to rate a module

    Hover over the star that corresponds to the rating you wish to assign. Click on the star to add your rating. Your rating should be based on the quality of the content. You must have an account and be logged in to rate content.

    (0 ratings)

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • CNX Documentation display tagshide tags

    This module is included inLens: Connexions Documentation
    By: ConnexionsAs a part of collection:"Connexions Tutorial and Reference"

    Comments:

    "The canonical how-to guide to using Connexions."

    Click the "CNX Documentation" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Example module for use of cnxml/mathml tags

Module by: Charlet Reedstrom

Note: Your browser may not currently support MathML. See our browser support page for additional details. You can always view the correct math in the PDF version.

A paragraph is the place for text. You can also include vocabulary terms.

note:

Do not use <emphasis> for vocabulary terms.
There are two ways to present definitions - using the glossary to define the term as above or using the definition tag within the text.
Definition 1: problem
1. a question raised for inquiry, consideration, or solution; a proposition in mathematics or physics stating something to be done
2. an intricate unsettled question; a source of perplexity, distress, or vexation; difficulty in understanding or accepting
See Also: enigma, puzzle

Section Name

A document can have sections, however they are not required.

Subsection Name

Sections can have subsections. You can include quotes in paragraphs.

The seasons alter: hoary-headed frosts Fall in the fresh lap of the crimson rose, And on old Hiems thin and icy crown An odorous chaplet of sweet summer buds Is, as in mockery, set. The spring, the summer, The childing autumn, angry winter, change Their wonted liveries, and the mazed world, By their increase, now knows not which is which. William Shakespeare; A Midsummer Night's Dream
You can also denote words from another language, such as biological genus and species, E.coli, or the southern German greeting, Grüß Gott.

Paragraphs can contain many other tags such as lists and figures. Figure 1 shows how a figure will display in our system.

Figure 1: The caption of the figure would be here.
Optional Figure Name
Optional Figure Name (distributed.png)
There are four different options for list. One type of list is a named-item list.

List name

  • first name: description of first item
  • second name: description of second item
  • third name: description of third item
  • fourth name: description of fourth item
See the CNXML-0.5 Spec for more information regarding list types.

Example 1: Optional Name of Example

Here is where you would put an example that relates to what the previous paragraphs were discussing. In an example, you can include any tags that are allowed in any other paragraph including tables (see Table 1).

Table 1: Temperatures in 5 cities on 11/16/2002
City Degrees Fahrenheit Degrees Centigrade
Houston 54 12.22
Chicago 37 2.78
Minneapolis 31 -0.56
Miami 78 25.56
Phoenix 70 21.11
Mean 54.000 12.22
Median 54.000 12.22
Variance 330.00 18.166
SD 101.852 10.092
In the connexions system, it is important to use frame="all" with the table tag and colsep="1" rowsep="1" with the tbody tag to properly display the table in the print system.

If you would like a block of material to display exactly as you type it, you can use <code type='block'>; as you would when discussing computer programming.


         >> syms t
         >> laplace(exp(t))
         ans = 1/(s-1)
         >> laplace(t*exp(-t))
         ans = 1/(s+1>^2
        

You can also include math in your document. Math can be displayed in three ways in our system: inline, block, or numbered equations. Here are examples of an inline variable, xx, and an inline equation, 0<x<π 0 x . Math that you want set apart from the text can be numbered when in an equation tag or simply set apart. limn x n x=0 n x n x 0

optional equation name

Pf=-pt-2πftdt=0Δ-2πftdt=1-2πf-2πfΔ1 P f t p t 2 f t t 0 Δ 2 f t 1 2 f 2 f Δ 1 (1)
See our discussion of Content MathML for a more basic discussion of math. See also our MathML Extensions page for more csymbol options.

Theorem 1: Pythagorean Theorem

For a right triangle with legs aa and bb and hypotenuse cc, a2+b2=c2 a 2 b 2 c 2

Proof

The proof would go here.

Exercise 1

What is a composite number?

Solution

A composite number nn is a positive integer, n>1 n 1 , which is not prime.

Glossary

vocabulary term:
A word or phrase being defined in the text. A more complete definition with an example could be placed here in the glossary.

References

  1. William Shakespeare. (1969). A Midsummer Night's Dream. In Alfred Harbage (Ed.), William Shakespeare: The Complete Works. (pp. lines 107-114). The Viking Press.

Comments, questions, feedback, criticisms?

Send feedback