Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Module Materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hexboard-games
Module Materials
Commits
6eb0697c
Commit
6eb0697c
authored
6 years ago
by
Bruce Cowan
Browse files
Options
Downloads
Patches
Plain Diff
Use minted for syntax highlighting
parent
c11e1773
No related branches found
No related tags found
1 merge request
!1
Use LuaLaTeX and syntax highlighting
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
slides/ce810-lab-hack.tex
+8
-8
8 additions, 8 deletions
slides/ce810-lab-hack.tex
slides/latexmkrc
+1
-1
1 addition, 1 deletion
slides/latexmkrc
with
9 additions
and
9 deletions
slides/ce810-lab-hack.tex
+
8
−
8
View file @
6eb0697c
...
...
@@ -14,7 +14,7 @@
\newcommand
{
\keyterm
}
[1]
{
\textbf
{
\alert
{
#1
}}}
\newcommand
{
\gametitle
}
[1]
{
\textit
{
#1
}}
\usepackage
{
fancyvrb
}
\usepackage
{
minted
}
%\usepackage{beamer}
...
...
@@ -89,19 +89,19 @@
\begin{frame}
[fragile]
{
Entity Definition
}
\begin{
Verbatim
}
\begin{
minted}
[breaklines]
{
javascript
}
{
"name": "piece",
-
it's called 'piece'
"name": "piece",
//
it's called 'piece'
"properties":
{
"ter-playzone": 1,
-
it can 'walk' on playzone tiles
"health": 1
-
it has 1 health (things with no health die)
"ter-playzone": 1,
//
it can 'walk' on playzone tiles
"health": 1
//
it has 1 health (things with no health die)
}
,
"
_
actions":[
"Jump[tick]",
-
Jump Action (defined in Java)
"Clone[tick]"
-
Clone action (defined in Java)
"Jump[tick]",
//
Jump Action (defined in Java)
"Clone[tick]"
//
Clone action (defined in Java)
]
}
,
\end{
Verbatim
}
\end{
minted
}
\end{frame}
...
...
This diff is collapsed.
Click to expand it.
slides/latexmkrc
+
1
−
1
View file @
6eb0697c
$pdf_mode = 1;
$pdflatex = 'lualatex %O %S';
$pdflatex = 'lualatex
--shell-escape
%O %S';
$silent = 1;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment