Kotlin LaTeX Listing language definition

Currently, I am writing my bachelor thesis with Kotlin and need to document some code in LaTeX. The lstpackage does not support kotlin syntax highlighting by default, so I decided to create a language template for it.

Check it out on github if you are interested!


Cool! Let’s add it to kotlin.link: `kotlin-latex-listing` - hilighting for Kotlin code in LaTeX · Issue #114 · KotlinBy/awesome-kotlin · GitHub

1 Like

I’ve created a pull request to remove some invalid keywords and add some missing ones, please take a look.
Add more keywords and important symbols by ice1000 · Pull Request #1 · cansik/kotlin-latex-listing · GitHub :wink: