# LaTeX representation for Brian objects / ipython notebook integration #28

Merged
merged 18 commits into from May 28, 2013

## Conversation

Projects
None yet
2 participants
Owner

### mstimberg commented Mar 29, 2013

 Add a LaTeX representation to core brian objects (in particular units and equations) that works nicely with the ipython notebook. LaTeX for equations LaTeX for units (e.g. $\omega$ for ohm) LaTeX for scales (e.g. $\mu$ for u) LaTeX for explicit state updater descriptions LaTeX for NeuronGroup/Synapses anything else?

### mstimberg added some commits Apr 2, 2013

Treat static equations and parameters correctly for latex output, also
rename SingleEquation.eq_type to SingleEquation.type
Merge branch 'master' into notebook_integration
Conflicts:
brian2/groups/neurongroup.py
Merge remote-tracking branch 'origin/master' into notebook_integration
Conflicts:
brian2/equations/equations.py
brian2/groups/neurongroup.py
Owner

### mstimberg commented May 28, 2013

 I think this is ready to merge for now, it's certainly not perfect but it has support for units, equations and NeuronGroup in the ipython notebook (it also adds simple repr methods to most objects). Since these changes are also useful for testing, I'd say it's better to merge it now and not keep it in a parallel branch for a long time.
Owner

### thesamovar commented May 28, 2013

 It seems now to be failing on Python 3.2 and 3.3 (whereas before it was just 3.3 I think). Is it the same magic issue? If so, I'll go ahead and merge and we can deal with it later.
Owner

### mstimberg commented May 28, 2013

 It seems now to be failing on Python 3.2 and 3.3 (whereas before it was just 3.3 I think). Is it the same magic issue? Ah, sorry. No it's not the same issue, but it's the same issue I had in the sphinx_improvements branch where I therefore removed the 3.2 testing: The problem is that sphinx 1.2 no longer supports Python 3.2 whereas the previous version not yet supports Python 3.3 -- for testing we would therefore have to change the sphinx version depending on the Python version or just stop testing for 3.2 (for now at least).
Owner

### thesamovar commented May 28, 2013

 OK, but it's unrelated to the code so I'll go ahead and merge.

### thesamovar added a commit that referenced this pull request May 28, 2013

Merge pull request #28 from brian-team/notebook_integration
LaTeX representation for Brian objects / ipython notebook integration

### thesamovar merged commit 8478045 into master May 28, 2013 1 check failed

#### 1 check failed

default The Travis CI build failed
Details

Owner

### mstimberg commented May 28, 2013

 Ok. I disabled Python 3.2 testing in master for now -- I don't want to regularly adapt version information for special cases like this, so let's only track the most recent sphinx/Python3 version for now.