math 291: lecture 4 - minnesota state university...

58
Math 291: Lecture 4 Dr. Fagerstrom Minnesota State University Moorhead web.mnstate.edu/fagerstrom [email protected] February 8, 2018 Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 1 / 23

Upload: others

Post on 12-Jul-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Math 291: Lecture 4

Dr. Fagerstrom

Minnesota State University Moorheadweb.mnstate.edu/[email protected]

February 8, 2018

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 1 / 23

Page 2: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

1 List EnvironmentsThe Enumerate CommandChanging CountersThe Itemize CommandChanging BulletsThe Enumerate Package

2 The Multicols Package

3 Embedded HTML Links

4 Spacing Commands

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 2 / 23

Page 3: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments

Outline

1 List EnvironmentsThe Enumerate CommandChanging CountersThe Itemize CommandChanging BulletsThe Enumerate Package

2 The Multicols Package

3 Embedded HTML Links

4 Spacing Commands

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 3 / 23

Page 4: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments

List Environments

List Environments are useful when writing outlines, sets of numberedproblems, and in documents with footnotes and/or reference points.For example:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 4 / 23

Page 5: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments

List Environments

List Environments are useful when writing outlines, sets of numberedproblems, and in documents with footnotes and/or reference points.For example:

1 An engineer thinks that his equations are an approximation toreality.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 4 / 23

Page 6: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments

List Environments

List Environments are useful when writing outlines, sets of numberedproblems, and in documents with footnotes and/or reference points.For example:

1 An engineer thinks that his equations are an approximation toreality.

2 A physicist thinks reality is an approximation to his equations.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 4 / 23

Page 7: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments

List Environments

List Environments are useful when writing outlines, sets of numberedproblems, and in documents with footnotes and/or reference points.For example:

1 An engineer thinks that his equations are an approximation toreality.

2 A physicist thinks reality is an approximation to his equations.

3 A mathematician doesn’t care.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 4 / 23

Page 8: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments

List Environments

List Environments are useful when writing outlines, sets of numberedproblems, and in documents with footnotes and/or reference points.For example:

1 An engineer thinks that his equations are an approximation toreality.

2 A physicist thinks reality is an approximation to his equations.

3 A mathematician doesn’t care.

Or:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 4 / 23

Page 9: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments

List Environments

List Environments are useful when writing outlines, sets of numberedproblems, and in documents with footnotes and/or reference points.For example:

1 An engineer thinks that his equations are an approximation toreality.

2 A physicist thinks reality is an approximation to his equations.

3 A mathematician doesn’t care.

Or:

Q: Why did the chicken cross the Moebius strip?

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 4 / 23

Page 10: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments

List Environments

List Environments are useful when writing outlines, sets of numberedproblems, and in documents with footnotes and/or reference points.For example:

1 An engineer thinks that his equations are an approximation toreality.

2 A physicist thinks reality is an approximation to his equations.

3 A mathematician doesn’t care.

Or:

Q: Why did the chicken cross the Moebius strip?

A: To get to the same side!

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 4 / 23

Page 11: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Command

Enumerate

The previous slide had examples that incorporated two types of listenvironments.

The “enumerate” environmentThe “itemize” environment

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 5 / 23

Page 12: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Command

Enumerate

The previous slide had examples that incorporated two types of listenvironments.

The “enumerate” environmentThe “itemize” environment

We will begin by looking at the “enumerate” environment.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 5 / 23

Page 13: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Command

Enumerate

The previous slide had examples that incorporated two types of listenvironments.

The “enumerate” environmentThe “itemize” environment

We will begin by looking at the “enumerate” environment.The basic outline for a list in the enumerate environment is as follows:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 5 / 23

Page 14: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Command

Enumerate

The previous slide had examples that incorporated two types of listenvironments.

The “enumerate” environmentThe “itemize” environment

We will begin by looking at the “enumerate” environment.The basic outline for a list in the enumerate environment is as follows:

\begin{enumerate}

\item

\end{enumerate}

Note that this is what you have been using on your last two labs.Remember that these may be nested (one inside another).To make it easier to read source code, I suggest that you indent innerenvironments compared to the outer environments in your sourcecode.Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 5 / 23

Page 15: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Command

An Example:

Practice typesetting the following list using the enumerate command:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 6 / 23

Page 16: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Command

An Example:

Practice typesetting the following list using the enumerate command:

1 Cartoon Characters1 Adventure Time

1 Finn

2 Jake

3 Ice King

2 Bob’s Burgers

1 Bob

2 Linda

3 Tina4 Gene

5 Louise

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 6 / 23

Page 17: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Command

An Example:

Notes:You should have needed 3 levels of “nested” enumerate commandsfor this example.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 7 / 23

Page 18: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Command

An Example:

Notes:You should have needed 3 levels of “nested” enumerate commandsfor this example.The package used for these slides changes the standard enumeratepackage, so your results will look a little different when you use themore typical documentclass of article or something similar.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 7 / 23

Page 19: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

Suppose you want to create an outline for some course notes.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 8 / 23

Page 20: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

Suppose you want to create an outline for some course notes.Typically, such notes are enumerated using Roman numerals, followedby capital letters, then small Roman numerals, and then lowercaseletters.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 8 / 23

Page 21: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

Suppose you want to create an outline for some course notes.Typically, such notes are enumerated using Roman numerals, followedby capital letters, then small Roman numerals, and then lowercaseletters.The following commands will change the first counter to Romannumerals:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 8 / 23

Page 22: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

Suppose you want to create an outline for some course notes.Typically, such notes are enumerated using Roman numerals, followedby capital letters, then small Roman numerals, and then lowercaseletters.The following commands will change the first counter to Romannumerals:

\begin{enumerate}

\renewcommand{\labelenumi}{\Roman{enumi}}

\item

\end{enumerate}

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 8 / 23

Page 23: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

Suppose you want to create an outline for some course notes.Typically, such notes are enumerated using Roman numerals, followedby capital letters, then small Roman numerals, and then lowercaseletters.The following commands will change the first counter to Romannumerals:

\begin{enumerate}

\renewcommand{\labelenumi}{\Roman{enumi}}

\item

\end{enumerate}

Try adding this command to your previous enumerated list.Recompile and see what changes occur.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 8 / 23

Page 24: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

To change the counters at depths 2, 3 and 4, use the commands

\labelenumii, \labelenumiii, and \labelenumiv

respectively.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 9 / 23

Page 25: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

To change the counters at depths 2, 3 and 4, use the commands

\labelenumii, \labelenumiii, and \labelenumiv

respectively.The possible counters in the enumerate environment you may use:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 9 / 23

Page 26: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

To change the counters at depths 2, 3 and 4, use the commands

\labelenumii, \labelenumiii, and \labelenumiv

respectively.The possible counters in the enumerate environment you may use:

\Roman

gives capital Roman numerals.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 9 / 23

Page 27: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

To change the counters at depths 2, 3 and 4, use the commands

\labelenumii, \labelenumiii, and \labelenumiv

respectively.The possible counters in the enumerate environment you may use:

\Roman

gives capital Roman numerals.\roman

gives lowercase Roman numerals.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 9 / 23

Page 28: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

To change the counters at depths 2, 3 and 4, use the commands

\labelenumii, \labelenumiii, and \labelenumiv

respectively.The possible counters in the enumerate environment you may use:

\Roman

gives capital Roman numerals.\roman

gives lowercase Roman numerals.\Alph

gives capital letters.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 9 / 23

Page 29: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

To change the counters at depths 2, 3 and 4, use the commands

\labelenumii, \labelenumiii, and \labelenumiv

respectively.The possible counters in the enumerate environment you may use:

\Roman

gives capital Roman numerals.\roman

gives lowercase Roman numerals.\Alph

gives capital letters.\alph

gives lowercase letters

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 9 / 23

Page 30: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Counters

Changing Counters

To change the counters at depths 2, 3 and 4, use the commands

\labelenumii, \labelenumiii, and \labelenumiv

respectively.The possible counters in the enumerate environment you may use:

\Roman

gives capital Roman numerals.\roman

gives lowercase Roman numerals.\Alph

gives capital letters.\alph

gives lowercase letters\arabic

gives Arabic numerals (that is, normal numbers)Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 9 / 23

Page 31: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Itemize Command

Itemized Lists

Itemized lists are just enumerated lists without “numerical”enumeration. In other programs, they are often called bulleted lists.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 10 / 23

Page 32: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Itemize Command

Itemized Lists

Itemized lists are just enumerated lists without “numerical”enumeration. In other programs, they are often called bulleted lists.For example:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 10 / 23

Page 33: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Itemize Command

Itemized Lists

Itemized lists are just enumerated lists without “numerical”enumeration. In other programs, they are often called bulleted lists.For example:

What’s a polar bear?

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 10 / 23

Page 34: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Itemize Command

Itemized Lists

Itemized lists are just enumerated lists without “numerical”enumeration. In other programs, they are often called bulleted lists.For example:

What’s a polar bear?

A rectangular bear, whose coordinates have been changed!

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 10 / 23

Page 35: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Itemize Command

Itemized Lists

Itemized lists are just enumerated lists without “numerical”enumeration. In other programs, they are often called bulleted lists.For example:

What’s a polar bear?

A rectangular bear, whose coordinates have been changed!

The basic outline for an itemized list is:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 10 / 23

Page 36: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Itemize Command

Itemized Lists

Itemized lists are just enumerated lists without “numerical”enumeration. In other programs, they are often called bulleted lists.For example:

What’s a polar bear?

A rectangular bear, whose coordinates have been changed!

The basic outline for an itemized list is:

\begin{itemize}

\item

\end{itemize}

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 10 / 23

Page 37: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Bullets

Changing Bullets

To change the “bullets” in your list use the following command

\renewcommand{\labelitemi}{whatever}

The “whatever” is whatever you want your bullets to be.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 11 / 23

Page 38: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments Changing Bullets

Changing Bullets

To change the “bullets” in your list use the following command

\renewcommand{\labelitemi}{whatever}

The “whatever” is whatever you want your bullets to be.Try experimenting with a two level nested itemization after using thefollowing:

\renewcommand{\labelitemi}{$\nabla$}

\renewcommand{\labelitemii}{$\heartsuit$}

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 11 / 23

Page 39: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Package

The Enumerate Package

The enumerate package will change the labels in the enumerateenvironment for you.Load the enumerate package in your practice file and then type thefollowing.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 12 / 23

Page 40: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

List Environments The Enumerate Package

\begin{enumerate}[({Student} A):]

\item This

\item That

\begin{enumerate}[{$\otimes$} Line 1:]

\item The other

\item Yet another

\end{enumerate}

\item

\begin{enumerate}[]

\item Note that there is no counter

\end{enumerate}

\end{enumerate}

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 13 / 23

Page 41: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

The Multicols Package

Outline

1 List EnvironmentsThe Enumerate CommandChanging CountersThe Itemize CommandChanging BulletsThe Enumerate Package

2 The Multicols Package

3 Embedded HTML Links

4 Spacing Commands

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 14 / 23

Page 42: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

The Multicols Package

The Multicols Package

The multicols package is a package that allows you to create columnson your page without declaring your document to have two columnsat the beginning.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 15 / 23

Page 43: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

The Multicols Package

The Multicols Package

The multicols package is a package that allows you to create columnson your page without declaring your document to have two columnsat the beginning.In your preamble type

\usepackage{multicol}

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 15 / 23

Page 44: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

The Multicols Package

Using Multicols

Type the following in your practice file:

\begin{enumerate}

\begin{multicols}{2}

\item $f(x)=e^x$

\item $g(x)=\sin(x)$

\end{multicols}

\end{enumerate}

(Alternatively, modify your previous practice list in a similar fashionas above.)

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 16 / 23

Page 45: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Embedded HTML Links

Outline

1 List EnvironmentsThe Enumerate CommandChanging CountersThe Itemize CommandChanging BulletsThe Enumerate Package

2 The Multicols Package

3 Embedded HTML Links

4 Spacing Commands

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 17 / 23

Page 46: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Embedded HTML Links

Embedded HTML Links

Add the package “hyperref” to the list of packages after the“usepackage” command.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 18 / 23

Page 47: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Embedded HTML Links

Embedded HTML Links

Add the package “hyperref” to the list of packages after the“usepackage” command.

Now try adding the following commands to the body of yourexample document:

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 18 / 23

Page 48: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Embedded HTML Links

Embedded HTML Links

Add the package “hyperref” to the list of packages after the“usepackage” command.

Now try adding the following commands to the body of yourexample document:\htmladdnormallink{MyWebpage:}{http://web.mnstate.edu/fagerstrom}[This should all be together on one line]Compile and see what happens.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 18 / 23

Page 49: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Outline

1 List EnvironmentsThe Enumerate CommandChanging CountersThe Itemize CommandChanging BulletsThe Enumerate Package

2 The Multicols Package

3 Embedded HTML Links

4 Spacing Commands

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 19 / 23

Page 50: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Blank Spaces (I’ll Write Your Name)

In your document after the last thing you typed before the enddocument command, type the following

\newpage

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 20 / 23

Page 51: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Blank Spaces (I’ll Write Your Name)

In your document after the last thing you typed before the enddocument command, type the following

\newpage

We will play with spacing on a new page. Type the following intoyour page.ThisThatandThe other

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 20 / 23

Page 52: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Vertical Space

The following commands allow you to create vertical space betweenobjects on your page.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 21 / 23

Page 53: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Vertical Space

The following commands allow you to create vertical space betweenobjects on your page.

\vspace{xunits} \bigskip

\vspace{\stretch{n}} \medskip

\vfill \smallskip

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 21 / 23

Page 54: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Vertical Space

The following commands allow you to create vertical space betweenobjects on your page.

\vspace{xunits} \bigskip

\vspace{\stretch{n}} \medskip

\vfill \smallskip

Between the first two lines of your document, put a 1 inch space.Put a 2 inch space between the next two lines.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 21 / 23

Page 55: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Vertical Space

The following commands allow you to create vertical space betweenobjects on your page.

\vspace{xunits} \bigskip

\vspace{\stretch{n}} \medskip

\vfill \smallskip

Between the first two lines of your document, put a 1 inch space.Put a 2 inch space between the next two lines.Now try the stretching command. Put in three of the commands, onebetween each of the four lines. Choose whatever values you want forn, but make sure you make some of them different. Then compileand see what happens.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 21 / 23

Page 56: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Horizontal Space

The commands for horizontal space are similar to those for verticalspace.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 22 / 23

Page 57: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Horizontal Space

The commands for horizontal space are similar to those for verticalspace.

\hspace{xunits}

\hspace{\stretch{1}}

\phantom{}

\hfill

\. thin

\; medium

\: thick

\! negative thin

\m width of an m

\n width of an n

~ space but no break

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 22 / 23

Page 58: Math 291: Lecture 4 - Minnesota State University …web.mnstate.edu/Fagerstrom/s2018/s2018-291-Week4Lecture...List Environments are useful when writing outlines, sets of numbered problems,

Spacing Commands

Space the Final Frontier

Note that you can also use negative spaces, for example:

\hspace{-1in}

Play with the horizontal and vertical spacing commands and see whathappens with each.

Dr. Fagerstrom (MSUM) Math 291: Lecture 4 February 8, 2018 23 / 23