Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
adaptive-paper
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Quantum Tinkerer
adaptive-paper
Commits
db19a9d0
Commit
db19a9d0
authored
5 years ago
by
Bas Nijholt
Browse files
Options
Downloads
Patches
Plain Diff
use listings correctly
parent
f696a407
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+1
-1
1 addition, 1 deletion
Makefile
listings-setup.tex
+0
-25
0 additions, 25 deletions
listings-setup.tex
revtex.template
+26
-0
26 additions, 0 deletions
revtex.template
with
27 additions
and
26 deletions
Makefile
+
1
−
1
View file @
db19a9d0
...
...
@@ -7,4 +7,4 @@ bbl: paper.tex
bibtex paper.aux
paper.tex
:
pandoc
-s
--filter
pandoc-fignos
--filter
pandoc-citeproc
--filter
pandoc-crossref
--natbib
paper.md
-o
paper.tex
--bibliography
paper.bib
--listings
-H
listings-setup.tex
--template
revtex.template
pandoc
-s
--filter
pandoc-fignos
--filter
pandoc-citeproc
--filter
pandoc-crossref
--natbib
paper.md
-o
paper.tex
--bibliography
paper.bib
--listings
--template
revtex.template
This diff is collapsed.
Click to expand it.
listings-setup.tex
deleted
100644 → 0
+
0
−
25
View file @
f696a407
% Contents of listings-setup.tex
\usepackage
{
xcolor
}
\lstset
{
basicstyle=
\ttfamily
,
numbers=left,
keywordstyle=
\color
[rgb]
{
0.13,0.29,0.53
}
\bfseries
,
stringstyle=
\color
[rgb]
{
0.31,0.60,0.02
}
,
commentstyle=
\color
[rgb]
{
0.56,0.35,0.01
}
\itshape
,
numberstyle=
\footnotesize
,
stepnumber=1,
numbersep=5pt,
backgroundcolor=
\color
[RGB]
{
248,248,248
}
,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
captionpos=b,
breaklines=true,
breakatwhitespace=true,
breakautoindent=true,
escapeinside=
{
\%*
}{
*)
}
,
linewidth=
\textwidth
,
basewidth=0.5em,
}
This diff is collapsed.
Click to expand it.
revtex.template
+
26
−
0
View file @
db19a9d0
...
...
@@ -67,6 +67,32 @@
% workaround for https://github.com/jgm/pandoc/issues/4716
\newcommand
{
\passthrough
}
[1]
{
\lstset
{
mathescape=false
}
#1
\lstset
{
mathescape=true
}}
\usepackage
{
xcolor
}
\lstset
{
basicstyle=
\ttfamily
,
numbers=left,
keywordstyle=
\color
[rgb]
{
0.13,0.29,0.53
}
\bfseries
,
stringstyle=
\color
[rgb]
{
0.31,0.60,0.02
}
,
commentstyle=
\color
[rgb]
{
0.56,0.35,0.01
}
\itshape
,
numberstyle=
\footnotesize
,
stepnumber=1,
numbersep=5pt,
backgroundcolor=
\color
[RGB]
{
248,248,248
}
,
showspaces=false,
showstringspaces=false,
showtabs=false,
tabsize=2,
captionpos=b,
breaklines=true,
breakatwhitespace=true,
breakautoindent=true,
escapeinside=
{
\%*
}{
*)
}
,
linewidth=0.9
\textwidth
,
basewidth=0.5em,
}
\begin{document}
\title
{$
if
(
title
)
$$
title
$$
endif
$}
...
...
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