Skip to content

Instantly share code, notes, and snippets.

@joemilbourn
Created November 22, 2012 16:06
Show Gist options
  • Save joemilbourn/4131881 to your computer and use it in GitHub Desktop.
Save joemilbourn/4131881 to your computer and use it in GitHub Desktop.
IPython notebook showing incorrect rendering of tau character
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"name": "tau_test"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"from IPython.display import display, Math, Latex"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"display(Math('\\sigma'))"
],
"language": "python",
"metadata": {},
"outputs": [
{
"latex": [
"$$\\sigma$$"
],
"output_type": "display_data",
"text": [
"<IPython.core.display.Math at 0x23cdb90>"
]
}
],
"prompt_number": 2
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"display(Math('\\tau'))"
],
"language": "python",
"metadata": {},
"outputs": [
{
"latex": [
"$$\tau$$"
],
"output_type": "display_data",
"text": [
"<IPython.core.display.Math at 0x23cda10>"
]
}
],
"prompt_number": 3
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Cell two displays $\\sigma$ correctly, but cell 3 displays $\\tau$ as $au$."
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import IPython\n",
"IPython.__version__"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "pyout",
"prompt_number": 5,
"text": [
"'0.13.1'"
]
}
],
"prompt_number": 5
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment