# LaTeX Math for e-Learning in D2L

I am teaching MCF3M online this semester, so I need to be able to include math notation in my online content, quizzes, etc. I know how to write math notation using LaTeX from my days at the University of Waterloo, and I find it a lot faster than using a graphical equation editor. I’ve tried Microsoft Word’s editor, which accepts LaTeX-like input as well as graphical input, but I still find it frustrating to use.
I’m teaching in the Desire2Learn/BrightSpace learning environment, so I need to ensure my content works well in there. Last semester I taught Computer Science/Programming and used PDF files that I created in Word Online, and I considered doing the same thing again.

But D2L has an equation editor as part of its HTML editor for webpages, discussion posts, etc. Could it be all I need?

I’ve taken it for a spin before. Here’s the workflow:

Create a new page and type into the HTML editor.

Expand the toolbar so that the Equation tools are available.

Choose \∑ LaTeX equation.

Type in the LaTeX expression, using $$and$$ as delimiters for inline mode (otherwise it defaults to block mode).

Looks good.

But look at the source HTML code:

Uh-oh… that’s MathML (Math Markup Language), not LaTeX. What if I want to change something in my original LaTeX?

Well, you can see at the bottom that my LaTeX code is still there, but it’s not being used. I could remove all the MathML, cut out my LaTeX, modify it, and re-insert it using the LaTeX equation editor.

Ugh.

I thought that MathJax, the rendering engine that D2L uses for math notation, could only handle MathML (since notation from both LaTeX and graphical editors are converted to MathML), but it turns out that’s not true. MathJax can do LaTeX.

So I tried putting LaTeX directly into the WYSIWYG editor:

No dice.

The trouble is that D2L has parameters on its JavaScript call to MathJax:

That config=MML_HTMLorMML bit is saying that only MathML is acceptable input (and HTML or MathML can be output).

So I added another call directly to MathJax in my own source code:

I set the parameter to be config=TeX-AMS_HTML, which will accept my LaTeX input and render in HTML/JavaScript.

Magic.

## But this is kind of a pain.

I can use D2L’s editor to insert math, but I get MathML (which I find hard to edit).

I can write in LaTeX and have it be preserved, but I need to add a script call to the start of the HTML source code (a hassle, but not too serious, I suppose).

Or I can write in some other (offline) development environment, include my script call all the time, and just upload my completed HTML files to my course. This has the advantages of being independent of D2L, available without internet access, and very shareable.

So that’s what I’ve decided to do, at least for now. So I’ve learned a little CSS to make my pages less vanilla/more functional, and I’ll try to improve the look and feel as the semester progresses.

Wish me luck.

# My Unresponsive Course

You have me thinking again, Mr. Peterson. Today it’s with your post, “You Need to Be Responsive“.

My own blogs are responsive and so they display well on multiple device types.

My blog on a computer browser.

My blog on a phone browser.

Students tell me they like the theme (The Suits Theme) on my class blog; they say it looks professional.

The class blog on a phone browser.

However my e-learning course is less responsive. There is a mobile interface which becomes active when you use mobile device, but there are a couple of components on my course homepage which only appear using the desktop interface (custom widgets with links to the Padlet and the YouTube playlist for the course). Some course tools aren’t available in this view (e.g. the Checklist Tool).

My course homepage on a computer browser.

Course homepage in the mobile view.

Tools in the mobile view.

What’s more, I have created quite a few PDF files for the programming concepts in the course. These files, because they are paginated, are not responsive.

PDF in a mobile browser – portrait

PDF in a mobile browser – landscape

Honestly, I don’t remember considering that issue when finally deciding to use PDFs. Since students are coding on computers anyway perhaps it doesn’t matter that much. And other stuff, like news and discussions, are mobile-friendly.

But I’ve unintentionally made it difficult for them to use small, mobile devices to keep up with the “text” part of the course (i.e. when they’re not actively programming). I do have a lot of video on there, which is (I think) fairly accessible.

I’ll have to think about whether it’s worth fixing the responsiveness of those PDFs.

# Why I’m happy with the design of my first e-Learning course

I’m teaching ICS3C/3U (Computer Programming/Computer Science) online this semester. I was the e-Learning Contact for my board for several years, but this is my first time teaching online in “real life” (i.e. not a professional learning session).

Overall I’m fairly happy with how I approached the design of my course, and I’ve also learned a few things that I’ll improve upon.

I work in Ontario using the Desire2Learn/Brightspace platform. The Ministry of Education here has provided a “starter course” for each of my classes. I’ve discussed the problems with the format of that course before (see here), and thoughts I had about improving on it. I mostly followed my own advice.

In the end, there were significant differences between the provided course materials and the approach I wanted to take with the course, so I ventured out on my own.

# News

I use the News area to share interesting links, reminders, and extra details. Notice I don’t post a news item every day; I’ve decided that’s too much without a real payoff.

I post a lot of “instructional videos” in the course. The videos show me coding applications live, so students can hear my thinking while I work, see the errors I make and how I correct them, and see how the development environment works visually.

Of course, playing videos successfully in the online learning environment is a bit device-dependent, so I also post every video to YouTube. I maintain them in a playlist (here) and I post a link in a widget on the course homepage. The YouTube videos also have the advantage of sometimes being faster to download, and users can change the resolution on the fly (not very helpful for code, I suppose).

And most importantly, those videos are available for anyone on the Internet to use. That makes me feel good in my heart.

# Other Resources

In an out-of-the-way place on the course homepage I maintain a Padlet. I use this to post related-but-not-necessary links.

# Calendar

I don’t use the Calendar directly, but I do use due dates for Content items so they show up in the Upcoming Events list. More on that later.

# Units, Activities, Modules

I divide up a Unit into Activities, and I number everything:

Within each Activity I also “letter” my items sequentially (3.1A, 3.1B, etc.):

# Due Dates

I used to only put due dates on the items that needed to be submitted/completed, like Dropboxes and Discussions. After helping an e-Learning student in the library here with her English class, I realized that students were using the Upcoming Events list in the Content area. I had never explored it before, but it was a sparse list in my course.

Now I add due dates to Content items which I want students to consume as well; for example, I put a due date on 3.2E, which is a video I want them to watch by the end of today. They don’t have to submit anything, but I’m hoping the due date helps to keep them on track.

(Note: This is not an “end date”, which would make the item unavailable after the date has passed.)

# Content in PDF

I have tried to use HTML, Word documents, and PDF files to post CS content, but I’m happiest posting a PDF that I generate in Word. I get excellent control over the look and feel of the text/images, but the links I put in there still work. It’s also universally-readable.

HTML takes too long to format correctly/beautifully, and Word documents are rendered as images by D2L (disabling any links).

In the end I think the videos are more valuable for the students, especially later in the course. I have several students now requesting videos explaining a certain aspect of the course, but not a lot of PDF requests.

# Still Thinking

I have a lot more to learn, but I’m pretty happy with the workflow I’ve developed now. Suggestions are very welcome!

# Some more awesomeness

I’m sure you’ve already read through Part 1 of this series, so here are a few more session highlights.

Note: If you have already registered and wish to change your session choices, just send me an email with the new session code(s).

# Tuesday

## Session Block 2

### D1S13: Blended Learning: The First 20 Days

New to Blended Learning? Don’t worry! This workshop will unveil a twenty day plan that will help you transform your classroom by improving communication, promoting greater collaboration, and differentiating student learning. By connecting powerful pedagogical practices with specific applications of the vLE, it will be demonstrated how blended learning is the ultimate teaching and learning experience for both teachers and students! Participants will receive the day-by-day plan, companion D2L manual, and access to various training videos.
Intended Audience: All New Learners
Experience Level: Beginner
Presenter(s): Sean McDade and Paul D’Hondt

## Session Block 4

### D1S36: Try Something. Don’t Try Everything.

The session will introduce tips and tricks for teachers new to blended learning to help avoid the common pitfalls of frustration and feeling overwhelmed. The session will incorporate blended learning best practices and introduce teachers to some helpful resources to get them started.
Intended Audience: All Teachers
Experience Level: Beginner
Presenter(s): Brock Baker

# Wednesday

## Session Block 2

### D2S14: Developing a Real Professional Learning Community in a Virtual World

Building a culture of collaboration among e-learning teachers who infrequently meet face-to-face takes creativity, coordination and plenty of good will. Successful strategies used by the TDSB e-Learning team for building professional learning communities using Desire2Learn, Adobe Connect and Google Apps for Education will be explored.  We’ll share tools and resources that we have co-constructed with our e-learning teachers to enhance student learning in the online classroom. The TDSB e-Learning team will share successful strategies for building professional learning communities using Desire2Learn, Adobe Connect and Google Apps for Education. We’ll share tools and resources that we have co-constructed with our teachers to enhance student learning in the online classroom.
Intended Audience: eLCs/DeLCs, eLearning Teachers, Administration
Experience Level: All Levels
Presenter(s): Andrea Brożyna

## Session Block 4

### D2S36: Replace the shovel with the snow blower and you get better results. Free and cheap software you can use to engage students.

Blended learning environments allow students to set their own pace and work to their potential. Project based exercises allow students to demonstrate, analyze, re-teach in ways traditional paper and pencil busy work cannot. The amount of incredible web based software that I will share with you keeps growing, allowing teachers to give students projects that challenge them in new and exciting ways. The projects we are seeing are the best we’ve ever seen and many are professional level. The ability to update, improve and collaborate makes for better and much less expensive content.
Intended Audience: All Teachers
Experience Level: Beginner-Intermediate
Presenter(s): Mitch Lapointe

# Upcoming #OTRK12 Session Highlights – Part 1

If you haven’t already heard, On The Rise K-12: Enhancing Digital Learning is a great meeting of educators from across Ontario on April 1 and 2, 2014. Representatives will be attending from every school board in the province: from Windsor to Moosonee, from Ottawa to Kenora. You can read all the details at http://otrk12.ca. If you want to attend, you can register there (the cost is \$100 per person per day).

# There is too much awesomeness

I’m going to point out some of the fantastic sessions we have scheduled (there are 80!). This is partly to encourage you to join us, partly to build your excitement, and partly to send kudos to the presenters/facilitators. I know many of the presenters, but not all of them, and I haven’t seen most of the presentations. I’m not being exclusive here; I’m just picking a few from each day of the conference. There are 9 other great choices for every session slot, so you’ll have to go the website for the full list. I’ve tried to steer away from “eLC/DeLC-only” sessions in the highlights below, since most eLCs and DeLCs are already registered (thanks everyone!).

Note: If you have already registered and wish to change your session choices, just send me an email with the new session code(s).

# Tuesday

## Session Block 1

### D1S03: Bitstrips for Schools – Online Comic Creation

In this session you will learn how to use Bitstrips to create full-colour, professional comics. You will be guided through how to sign up for an account, build your avatar, create a classroom, add students, and design and assess completed work. This session is suitable for all grades and subject areas and BYOD is a must! Bitstrips for Schools is provided free of charge to all Ontario teachers by the Ministry of Education.
Intended Audience: All Teachers
Experience Level: Beginner
Presenter(s): Jennifer Ayres

## Session Block 4

### D1S35: How to Start Out With Blended Learning in The Primary Grades

This session is designed to help support our K-3 Primary Teachers as they move to extend the walls of their classrooms.  Come find out how the provincial Virtual Learning Environment can provide a safe and engaging space for you and your students.  Use these online tools to easily connect and communicate with parents.  Give your students a chance to explore rich multimedia.  Create interactive lessons for your class and your colleagues.  In addition to a quick tour, this session will give you opportunities to learn how others are using the LMS to engage their primary students in the classroom through blending learning.
Intended Audience: Elementary Teachers
Experience Level: Beginner
Presenter(s): Shelley Lowry

# Wednesday

## Session Block 1

### D2S06: Customize the Look and Feel of Your Course

A great looking theme improves the vLE experience for everyone. Want to improve the look of your course but need some help? This hands-on workshop will demonstrate the basics of editing a course theme and provide time to work on your own theme with experts in the room to help you. Theme resources, ideas, and free images will be provided.
Intended Audience: All Teachers, eLCs/DeLCs
Experience Level: Intermediate
Presenter(s): Tim Robinson & Peter Anello

## Session Block 3

### D2S22: Say What? – “Oral Proficiency”

Oral communication is an overall expectation in many subject areas, but it is often the one area that is the most difficult to assess and evaluate. Why? From my own personal experience, it is difficult to speak with 28-30 students in an authentic assessment/evaluation situation. In this presentation, you will have the opportunity to try several useful tools/programs to see how Blended Learning can transform the way you assess and evaluate Oral Communication in your courses. Please be sure to bring headsets/microphones. This presentation will be interactive.
Intended Audience: All Teachers
Experience Level: Any Level
Presenter(s): Gillian Walker

# What’s the difference between e-Learning, online learning, Blended Learning,…?

Janet Broder (@peachyteachy) asked this morning,

A bunch of folks tweeted back at her, including me, but I thought it was worth a slightly longer explanation that Twitter permitted.

# There are a lot of terms

e-Learning (or eLearning, or elearning – we fight about this one), Blended Learning, virtual learning (I don’t like this one; makes it sound like it’s pretending to learn), online learning, hybrid learning, digital learning… gross, eh? They’re not all useful, and some of them make things fuzzy.

I’ll explain my take on each of them. You can have your own take; it won’t hurt my feelings.

# e-Learning

This is learning in which the interaction between student and teacher is online. For us this is generally a student taking a course from a teacher without going to a physical classroom with that teacher. They might be in the same building, but the learning and the communication is done online.

There may be an offline component (for example, a student might write a response on paper), but there is always an online connection (e.g. they take a picture of their response to send to the teacher).

# Blended Learning

In Ontario, Blended Learning is the use of the Provincial Learning Management System (more recently termed the virtual Learning Environment) with a face-to-face classroom. At the moment that’s using Desire2Learn with your students.

But that’s Blended Learning with capital letters. For “blended learning” I feel you only need to be using online tools. Connect your students to the Internet. That definition is more inclusive, but then it also includes some less meaningful implementations. Not all forms of blended learning are equal. Using the Internet to enhance instruction is complex, so we spend a lot of time figuring out how to do it well. [Plug: that’s a big part of On The Rise!]

Hybrid learning is the same thing, but I think is a term more commonly used in the United States.

# Online Learning

For me, online learning encompasses both e-Learning and blended learning. I think of it as “using online tools for learning”. It doesn’t matter where you are on the face-to-face to e-Learning spectrum; online learning is the spectrum itself. The key element is the use of the Internet. Just like blended learning, this can be done poorly or awesomely.

# Digital Learning

This one’s my favourite. This is everything. Digital learning includes online learning which includes blended learning (and Blended Learning) and e-Learning. It also includes “offline digital learning”, like using local software and digital cameras.

# We’re still figuring this out…

…and in the end, it’s all just learning. I’m optimistic that we’ll get to the point where the only distinction will be whether you’re face-to-face or not; digital will be the norm.