Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pandoc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
templates
pandoc
Commits
325c6122
Verified
Commit
325c6122
authored
6 years ago
by
ck85nori
Browse files
Options
Downloads
Patches
Plain Diff
adds csv to table example to results
parent
0020d535
No related branches found
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
Makefile
+2
-1
2 additions, 1 deletion
Makefile
chapter-1-introduction.md
+1
-4
1 addition, 4 deletions
chapter-1-introduction.md
chapter-3-results.md
+17
-0
17 additions, 0 deletions
chapter-3-results.md
metadata.yml
+1
-0
1 addition, 0 deletions
metadata.yml
results.csv
+3
-0
3 additions, 0 deletions
results.csv
with
24 additions
and
5 deletions
Makefile
+
2
−
1
View file @
325c6122
...
@@ -4,6 +4,7 @@ PANDOCFLAGS = \
...
@@ -4,6 +4,7 @@ PANDOCFLAGS = \
--standalone
\
--standalone
\
--pdf-engine
=
xelatex
\
--pdf-engine
=
xelatex
\
SOURCES_CSV
=
$(
wildcard
*
.csv
)
SOURCES_MD
=
$(
sort
$(
wildcard chapter-
*
.md
))
SOURCES_MD
=
$(
sort
$(
wildcard chapter-
*
.md
))
default
:
all
default
:
all
...
@@ -18,7 +19,7 @@ $(SUBDIRS):
...
@@ -18,7 +19,7 @@ $(SUBDIRS):
subdirs
:
$(SUBDIRS)
subdirs
:
$(SUBDIRS)
document.pdf
:
$(SUBDIRS) metadata.yml $(SOURCES_MD)
document.pdf
:
$(SUBDIRS) metadata.yml
$(SOURCES_CSV)
$(SOURCES_MD)
$(
PANDOC
)
$(
PANDOCFLAGS
)
-o
document.pdf metadata.yml
$(
SOURCES_MD
)
$(
PANDOC
)
$(
PANDOCFLAGS
)
-o
document.pdf metadata.yml
$(
SOURCES_MD
)
check
:
spellcheck
check
:
spellcheck
...
...
This diff is collapsed.
Click to expand it.
chapter-1-introduction.md
+
1
−
4
View file @
325c6122
...
@@ -116,10 +116,7 @@ table <- read.csv('example.csv')
...
@@ -116,10 +116,7 @@ table <- read.csv('example.csv')
Tables
Tables
------
------
| header 1 | header 2 | header 3 |
See the
**Results**
chapter below for some examples.
| -------- | :------: | -------: |
| left | centered | 424242 |
| aligned | content | 42 |
LaTeX if you need it
LaTeX if you need it
--------------------
--------------------
...
...
This diff is collapsed.
Click to expand it.
chapter-3-results.md
+
17
−
0
View file @
325c6122
Results
Results
=======
=======
You can manually lay out tables using Markdown.
| header 1 | header 2 | header 3 |
| -------- | :------: | -------: |
| left | centered | 424242 |
| aligned | content | 42 |
Table: These are my super significant results.
You can automatically insert tables from your results if you store them in CSV.
\b
egin{table}
\c
entering
\c
svautobooktabular{results.csv}
\c
aption{These are my super significant results.}
\e
nd{table}
This diff is collapsed.
Click to expand it.
metadata.yml
+
1
−
0
View file @
325c6122
...
@@ -21,6 +21,7 @@ abstract: |
...
@@ -21,6 +21,7 @@ abstract: |
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
header-includes
:
|
header-includes
:
|
\usepackage{csvsimple}
\usepackage{draftwatermark}
\usepackage{draftwatermark}
papersize
:
a4paper
papersize
:
a4paper
...
...
This diff is collapsed.
Click to expand it.
results.csv
0 → 100644
+
3
−
0
View file @
325c6122
a,b,c
1,2,3
4,5,6
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