Connexions

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

Lenses

What is a lens?

Definition of a lens

Lenses

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

What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

What are tags?

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

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

This collection is included inLens: Connexions Documentation
By: Connexions

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

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

Click the 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.

Inside Collection (Course):

Example module for use of cnxml/mathml tags

Module by: Charlet Reedstrom. E-mail the author

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

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.

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

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
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. limit  n x n x=0 n x n x 0

optional equation name

Pf=pte(i2πft)d t =0Δe(i2πft)d t =1(i2πf)(e(i2π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.

Content actions

Give feedback:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

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

What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

What are tags?

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

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

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

What is in a lens?

Lens makers point to 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 member, a community, or a respected organization.

What are tags?

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