Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
reporting
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
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Archives
reporting
Commits
f537a06f
Commit
f537a06f
authored
May 19, 2014
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
reporting: allow vspaces when section is not complete (implies that section is over)
parent
451d9d2d
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
@section/write.m
+5
-3
5 additions, 3 deletions
@section/write.m
with
5 additions
and
3 deletions
@section/write.m
+
5
−
3
View file @
f537a06f
...
@@ -54,11 +54,13 @@ row = 1;
...
@@ -54,11 +54,13 @@ row = 1;
col
=
1
;
col
=
1
;
for
i
=
1
:
ne
for
i
=
1
:
ne
if
isa
(
o
.
elements
{
i
},
'vspace'
)
if
isa
(
o
.
elements
{
i
},
'vspace'
)
assert
(
col
==
o
.
cols
,
[
'@section.write: must place '
...
'vspace command after a linebreak in the table '
...
'or series of charts'
]);
o
.
elements
{
i
}
.
write
(
fid
);
o
.
elements
{
i
}
.
write
(
fid
);
fprintf
(
fid
,
'\\\\\n'
);
fprintf
(
fid
,
'\\\\\n'
);
if
col
~=
o
.
cols
fprintf
(
fid
,
'\\end{tabular}}\\\\\n'
);
fprintf
(
fid
,
'%% End Section Object\n\n'
);
return
;
end
else
else
o
.
elements
{
i
}
.
write
(
fid
,
pg
,
sec
,
row
,
col
);
o
.
elements
{
i
}
.
write
(
fid
,
pg
,
sec
,
row
,
col
);
if
col
~=
o
.
cols
if
col
~=
o
.
cols
...
...
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