cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Favorite (or any?) ways to publish cypher models in LaTeX?

I'm in the process of writing up a research project that uses Neo4j to collect and integrate several published data sets. I want to describe the graph models that constructed to integrate the data. I'm using LaTex to write my project.

I realize that I could just write some Tikz diagrams to describe these models or put the Cypher between {verbatim} tags, but I was wondering if anybody knew of a nifty way to write these.

1 REPLY 1

If your goal is syntax highlight for Cypher queries, the listings package can do a reasonable job.
I published a minimal working example on GitHub: https://github.com/szarnyasg/cypher-latex

You can also try minted which uses pygments in the background. It's missing some Cypher keywords that have been submitted in a PR but did not get merged yet. Update (Feb 13): it has been merged.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online