Skip to content

Commit

Permalink
目次で改段
Browse files Browse the repository at this point in the history
  • Loading branch information
tatyam-prime committed May 31, 2024
1 parent 45ccdb1 commit 67b3266
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .verify-helper/docs/static/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ html,
code {
font-family: 'Jetbrains Mono', ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
font-variant-ligatures: none;
font-size: 7.5pt;
}

pre {
Expand Down Expand Up @@ -141,7 +140,9 @@ td, th {
.token.selector .token.attribute {
color: #001575;
}

.content {
break-before: avoid;
}
.content-md {
font-family: sans-serif;
}
4 changes: 4 additions & 0 deletions .verify-helper/docs/static/notebook.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ code {
font-size: 7.4pt;
}

nav#toc {
break-after: column;
}

@media print {
body {
column-count: 2;
Expand Down
Binary file modified .verify-helper/docs/static/notebook.pdf
Binary file not shown.
5 changes: 3 additions & 2 deletions build/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ html,
code {
font-family: 'Jetbrains Mono', ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
font-variant-ligatures: none;
font-size: 7.5pt;
}

pre {
Expand Down Expand Up @@ -141,7 +140,9 @@ td, th {
.token.selector .token.attribute {
color: #001575;
}

.content {
break-before: avoid;
}
.content-md {
font-family: sans-serif;
}
5 changes: 5 additions & 0 deletions build/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const teamname = "tatyam/ICPC_notebook"; // チーム名 + 大学名 (各ペ
const fontsize = "7.4pt"; // フォントサイズ
const orientation = "portrait"; // portrait (縦長) / landscape (横長)
const num_columns = 2; // 何段組みか
const break_after_toc = "column"; // toc の後に : page (改ページする) / column (改段する) / auto (強制しない)
const section_order = ["template", "data-structure", "math", "modint", "FPS", "graph", "graph/tree", "flow", "string", "algorithm", "geometry", "memo"]; // src/* のフォルダを読み出す順序


Expand Down Expand Up @@ -129,6 +130,10 @@ code {
font-size: ${fontsize};
}
nav#toc {
break-after: ${break_after_toc};
}
@media print {
body {
column-count: ${num_columns};
Expand Down
4 changes: 4 additions & 0 deletions build/notebook.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ code {
font-size: 7.4pt;
}

nav#toc {
break-after: column;
}

@media print {
body {
column-count: 2;
Expand Down
Binary file modified notebook.pdf
Binary file not shown.

0 comments on commit 67b3266

Please sign in to comment.