Compare commits

...
187 Commits
Author SHA1 Message Date
janishutz b4f49af00e feat: improve spacing in summaries
Update helpers / build_helpers (push) Successful in 32s
2026-09-24 18:32:07 +02:00
Helpers compiler [bot] c1cec5894c ci: Build helpers on push [skip ci] 2026-08-01 09:14:09 +00:00
janishutz c3389e271a feat: adjustable spacing in cheat sheets
Update helpers / build_helpers (push) Successful in 41s
2026-08-01 11:13:17 +02:00
Helpers compiler [bot] 9541948aad ci: Build helpers on push [skip ci] 2026-07-31 10:25:11 +00:00
janishutz e843861a0f feat: by default include bm package
Update helpers / build_helpers (push) Successful in 27s
2026-07-31 12:24:38 +02:00
Helpers compiler [bot] 2e7c6cfc65 ci: Build helpers on push [skip ci] 2026-07-28 06:35:14 +00:00
janishutz 0d3f2a9f2e feat: todolist environment
Update helpers / build_helpers (push) Successful in 36s
2026-07-28 08:34:34 +02:00
Helpers compiler [bot] 2c0095646c ci: Build helpers on push [skip ci] 2026-07-24 08:44:48 +00:00
janishutz 0ef8aca745 feat: howto boxes, ci updates
Update helpers / build_helpers (push) Successful in 27s
2026-07-24 10:44:15 +02:00
janishutz 276348a957 feat: better spacing of paragraphs, etc
Update helpers / build_helpers (push) Successful in 21s
2026-07-12 15:53:55 +02:00
Helpers compiler [bot] 38d21cf529 [skip ci] Build helpers on push 2026-07-12 09:53:13 +00:00
janishutz 42b9e8b696 feat: translation of naming of at exam box
Update helpers / build_helpers (push) Successful in 20s
2026-07-12 11:52:51 +02:00
Helpers compiler [bot] 151b54834e [skip ci] Build helpers on push 2026-07-12 09:47:03 +00:00
janishutz 31b01c3d7a feat: add examdetails box
Update helpers / build_helpers (push) Successful in 23s
2026-07-12 11:30:24 +02:00
janishutz 76cde545cc feat: todonotes and simple colored boxes
Update helpers / build_helpers (push) Failing after 5s
2026-07-11 17:30:11 +02:00
janishutz c9cd005e89 feat: deeper numbering
Update helpers / build_helpers (push) Has been cancelled
2026-07-03 15:09:10 +02:00
Helpers compiler [bot] c557946382 [skip ci] Build helpers on push 2026-06-24 09:32:49 +00:00
janishutz 2e33d2e0da fix: improved spacing
Update helpers / build_helpers (push) Successful in 23s
2026-06-24 11:32:19 +02:00
Helpers compiler [bot] 49cd5f1360 [skip ci] Build helpers on push 2026-06-22 09:15:42 +00:00
janishutz f97cb6b1d1 feat: more gls commands updated
Update helpers / build_helpers (push) Successful in 22s
2026-06-22 11:15:18 +02:00
Helpers compiler [bot] d27917da47 [skip ci] Build helpers on push 2026-06-22 07:58:13 +00:00
janishutz 418988c860 fix: command redefine now working
Update helpers / build_helpers (push) Successful in 22s
2026-06-22 09:57:49 +02:00
Helpers compiler [bot] a81cad587c [skip ci] Build helpers on push 2026-06-22 07:49:19 +00:00
janishutz b2efcaed3d fix: command redefine
Update helpers / build_helpers (push) Successful in 22s
2026-06-22 09:48:58 +02:00
Helpers compiler [bot] 62ba0500c1 [skip ci] Build helpers on push 2026-06-22 07:46:20 +00:00
janishutz 0c951d0d1d fix: add capitalized Gls as well
Update helpers / build_helpers (push) Successful in 20s
2026-06-22 09:45:58 +02:00
Helpers compiler [bot] fd6673f027 [skip ci] Build helpers on push 2026-06-22 07:45:08 +00:00
janishutz 07e5fd3b2a feat: improve glossary markup
Update helpers / build_helpers (push) Successful in 22s
2026-06-22 09:44:43 +02:00
Helpers compiler [bot] fd649395b4 [skip ci] Build helpers on push 2026-06-22 06:00:39 +00:00
janishutz 36fd421b93 feat: stylized glossary and acronym commands
Update helpers / build_helpers (push) Successful in 22s
2026-06-22 08:00:13 +02:00
Helpers compiler [bot] b7f0d2910a [skip ci] Build helpers on push 2026-06-22 05:52:05 +00:00
janishutz 2428bc486e feat: ensuremath on some commonly used in-text operators
Update helpers / build_helpers (push) Successful in 44s
2026-06-22 07:51:17 +02:00
janishutz c03766446c feat: add acronym snippet 2026-06-22 07:37:46 +02:00
janishutz f1bf4716c2 feat: add glossary entry to snippets 2026-06-22 07:33:50 +02:00
Helpers compiler [bot] 0fee16d9c1 [skip ci] Build helpers on push 2026-04-24 19:30:05 +00:00
janishutz 31885ce1cd fix(tcb): Titles not translating and spacing issues
Update helpers / build_helpers (push) Successful in 41s
2026-04-24 14:03:03 +02:00
janishutz 11225458c6 feat(snippets): Add for double brackets 2026-04-24 11:51:42 +02:00
janishutz 0774a96f2b [Math] Add other kind of cross out package
Update helpers / build_helpers (push) Successful in 23s
2026-04-02 09:28:36 +02:00
Helpers compiler [bot] 2e55ef0b4e [skip ci] Build helpers on push 2026-03-19 07:34:11 +00:00
janishutz b6c16ef9d0 [Labels] Improve flexibility
Update helpers / build_helpers (push) Successful in 25s
2026-03-19 08:33:43 +01:00
Helpers compiler [bot] 81c1562d13 [skip ci] Build helpers on push 2026-03-17 15:38:26 +00:00
janishutz 45d08a770d [Labels] Fix spacing with deactivated numbering
Update helpers / build_helpers (push) Successful in 49s
2026-03-17 16:37:36 +01:00
janishutz 8d1638eeef [Spacing] Title spacing
Update helpers / build_helpers (push) Successful in 24s
2026-03-02 11:49:09 +01:00
Helpers compiler [bot] 2ca478cf27 [skip ci] Build helpers on push 2026-03-01 14:53:47 +00:00
janishutz 03ee657e1f [Core] Add better translation command
Update docs / build_docs (push) Successful in 29s
Update helpers / build_helpers (push) Successful in 21s
2026-03-01 15:52:53 +01:00
Helpers compiler [bot] 96a8806ba1 [skip ci] Build helpers on push 2026-02-28 13:23:48 +00:00
janishutz 591ee520fa [Style] Make paragraph insert newline
Update helpers / build_helpers (push) Successful in 21s
2026-02-28 14:23:23 +01:00
janishutz 39dac1bdc3 [CI] Update 2026-02-28 12:02:17 +01:00
janishutz 5870830fb4 [Config] Fix issue 2026-02-28 12:00:51 +01:00
Helpers compiler [bot] c1fc735c52 [skip ci] Build helpers on push 2026-02-28 10:32:18 +00:00
janishutz 52b4b2916a [Spacing] Fixes
Update helpers / build_helpers (push) Successful in 40s
2026-02-28 11:31:11 +01:00
Helpers compiler [bot] 7a7c744344 [skip ci] Build helpers on push 2026-02-25 18:46:02 +00:00
janishutz 4edab93a9f [General] Add more aliases
Update helpers / build_helpers (push) Successful in 23s
2026-02-25 18:23:03 +01:00
janishutz 449ad7d31f [Snippets] Improve 2026-02-24 12:20:26 +01:00
janishutz add7e1d934 [Snippets] Fix bad snippet 2026-02-24 12:19:06 +01:00
LaTeX compiler [bot] 7790593c78 [skip ci] Build docs on push 2026-02-24 10:32:23 +00:00
janishutz 1e516d78cc [Beamer] Add notes about it plus snippets
Update docs / build_docs (push) Successful in 22s
2026-02-24 11:31:56 +01:00
janishutz 375e944772 [README] Update 2026-02-23 11:43:15 +01:00
janishutz c2784afb08 [Snippets] Fix error 2026-02-23 10:09:28 +01:00
LaTeX compiler [bot] fa7a858350 [skip ci] Build docs on push 2026-02-23 09:03:25 +00:00
janishutz 28ffcbd117 [Docs] Use docs from current repo
Update docs / build_docs (push) Successful in 28s
2026-02-23 10:02:54 +01:00
janishutz 8a6c139589 [Docs] Make them compile 2026-02-23 10:02:18 +01:00
janishutz 69a7fd2971 [Snippets] Update 2026-02-23 10:00:03 +01:00
janishutz a0c104e092 [Docs] Update usage
Update docs / build_docs (push) Failing after 3m2s
2026-02-23 09:55:13 +01:00
janishutz f84df4eb3a [Build] Run locally 2026-02-23 09:51:15 +01:00
LaTeX compiler [bot] 3a766d5158 [skip ci] Build docs on push 2026-02-23 08:46:30 +00:00
janishutz 7d9581735d [Docs] Fix inclusion
Update docs / build_docs (push) Successful in 3m23s
2026-02-23 09:43:04 +01:00
janishutz e873355550 [CI] Fix trigger path incorrect 2026-02-23 09:07:27 +01:00
janishutz 94c4cd8537 [Merge] fix another error
Update docs / build_docs (push) Failing after 3m0s
2026-02-23 09:06:40 +01:00
janishutz b26699a887 [Merge] Fix a small merge error 2026-02-23 09:05:14 +01:00
Helpers compiler [bot] 9856f13f76 [skip ci] Build helpers on push 2026-02-23 08:04:17 +00:00
janishutz 6c8f20336c Merge branch 'dev'
Update docs / build_docs (push) Failing after 15s
Update helpers / build_helpers (push) Successful in 26s
2026-02-23 09:03:20 +01:00
janishutz 6f2c05b6eb [Core] add preliminary support for multicols
Update helpers / build_helpers (push) Successful in 15s
Update docs / build_docs (push) Failing after 3m20s
2026-01-22 14:34:57 +01:00
janishutz 4577950acc [tables] Fix errors
Update helpers / build_helpers (push) Successful in 29s
2026-01-10 08:35:09 +01:00
Helpers compiler [bot] fd7ce878e5 [skip ci] Build helpers on push 2026-01-09 14:11:33 +00:00
janishutz 457d7ce024 [CI] Trigger
Update helpers / build_helpers (push) Successful in 29s
2026-01-09 15:11:01 +01:00
Helpers compiler [bot] 8c8cc53a8c [skip ci] Build helpers on push 2026-01-09 14:09:54 +00:00
janishutz 73b6098463 Remove duplicated indent config
Update helpers / build_helpers (push) Successful in 13s
2026-01-09 15:09:39 +01:00
Helpers compiler [bot] 635d32d260 [skip ci] Build helpers on push 2026-01-09 14:06:18 +00:00
janishutz bda3b92795 [CI] Trigger
Update helpers / build_helpers (push) Successful in 12s
2026-01-09 15:06:06 +01:00
janishutz f2c337eaa9 Revert "[skip ci] Build helpers on push"
This reverts commit e16e4b3e7b.
2026-01-09 15:05:29 +01:00
janishutz 141cf5d091 Latexfmt corrected 2026-01-09 15:05:08 +01:00
Helpers compiler [bot] e16e4b3e7b [skip ci] Build helpers on push 2026-01-09 14:03:04 +00:00
janishutz 566649ecc3 Trigger CI
Update helpers / build_helpers (push) Successful in 26s
2026-01-09 15:02:36 +01:00
janishutz 7f8c112556 Revert "[skip ci] Build helpers on push"
This reverts commit aaa6a709fc.
2026-01-09 15:02:04 +01:00
Helpers compiler [bot] aaa6a709fc [skip ci] Build helpers on push 2026-01-09 13:59:11 +00:00
janishutz 66aee3d780 Trigger CI
Update helpers / build_helpers (push) Successful in 27s
2026-01-09 14:58:44 +01:00
janishutz da4eeebc6d Add indentconfig 2026-01-09 14:54:59 +01:00
janishutz ab3abb113c Revert "[skip ci] Build helpers on push"
This reverts commit 951458a867.
2026-01-09 14:53:39 +01:00
Helpers compiler [bot] 951458a867 [skip ci] Build helpers on push 2026-01-09 13:52:14 +00:00
janishutz 4f03b8eebc [CI] Trigger
Update helpers / build_helpers (push) Successful in 29s
2026-01-09 14:50:19 +01:00
janishutz 3a67a42535 [CI] Trigger
Update helpers / build_helpers (push) Failing after 27s
2026-01-09 14:25:56 +01:00
janishutz bcd7ed17d0 [Core] Improve layout
Update helpers / build_helpers (push) Failing after 13s
2026-01-09 14:17:27 +01:00
janishutz 2c0db60c7d [CI] Update to also format 2026-01-09 14:15:34 +01:00
Helpers compiler [bot] 90ce264992 [skip ci] Build helpers on push 2026-01-05 15:08:49 +00:00
janishutz 579cbd96ca [Tables] Remove labeledTable again
Build docs / build_docs (push) Successful in 19s
Build helpers / build_helpers (push) Successful in 6s
2026-01-05 16:08:22 +01:00
Helpers compiler [bot] 88e2dc1a70 [skip ci] Build helpers on push 2026-01-05 15:05:43 +00:00
janishutz b9d9f6772c [Tables] Add env for labeled table
Build docs / build_docs (push) Successful in 21s
Build helpers / build_helpers (push) Successful in 5s
2026-01-05 16:05:14 +01:00
Helpers compiler [bot] b0e161e133 [skip ci] Build helpers on push 2026-01-05 10:29:09 +00:00
janishutz 676bbd9306 Update vector command
Build docs / build_docs (push) Successful in 23s
Build helpers / build_helpers (push) Successful in 5s
2026-01-05 11:28:39 +01:00
Helpers compiler [bot] 5f691d9372 [skip ci] Build helpers on push 2026-01-05 09:17:39 +00:00
janishutz fd66333f7a Fix spacing compact theorems
Build helpers / build_helpers (push) Successful in 5s
2026-01-05 10:17:31 +01:00
Helpers compiler [bot] db2fbc4c70 [skip ci] Build helpers on push 2026-01-05 08:05:12 +00:00
janishutz dcb077e116 Remove unnecessary commands
Build helpers / build_helpers (push) Successful in 5s
2026-01-05 09:05:03 +01:00
LaTeX compiler [bot] be655d2387 [skip ci] Build docs on push 2026-01-04 11:01:13 +00:00
janishutz cb173908b4 Add better code support
Build docs / build_docs (push) Successful in 47s
Build helpers / build_helpers (push) Successful in 5s
2026-01-04 11:58:10 +01:00
Helpers compiler [bot] 6803d1f62d [skip ci] Build helpers on push 2026-01-02 06:28:59 +00:00
janishutz 4eff956d53 New changes
Build docs / build_docs (push) Successful in 21s
Build helpers / build_helpers (push) Successful in 5s
2026-01-02 07:28:26 +01:00
janishutz f622e2be55 [CI] Update 2026-01-02 07:21:59 +01:00
LaTeX compiler [bot] 9a19639d10 [skip ci] Build docs on push 2026-01-02 06:20:18 +00:00
janishutz bfc62a37eb Add new commands for vspace removal
Build docs / build_docs (push) Successful in 21s
Build helpers / build_helpers (push) Failing after 5s
2026-01-02 07:19:58 +01:00
janishutz 01e20cef5d [CI] Try to fix breaking on both workflow run 2026-01-02 07:16:56 +01:00
Helpers compiler [bot] eda396d617 [skip ci] Build helpers on push 2026-01-02 06:11:50 +00:00
janishutz 4522e88c92 Fix CI
Build helpers / build_helpers (push) Successful in 5s
2026-01-02 07:11:43 +01:00
LaTeX compiler [bot] 04b388c382 [skip ci] Build docs on push 2026-01-02 06:10:00 +00:00
janishutz 3d6d6234de Add new space remove commands
Build docs / build_docs (push) Successful in 31s
Build helpers / build_helpers (push) Failing after 4s
2026-01-02 07:09:25 +01:00
Helpers compiler [bot] 4344f8f09d [skip ci] Build helpers on push 2025-12-24 06:22:30 +00:00
janishutz b1d81bdd06 Improve limit command
Build helpers / build_helpers (push) Successful in 7s
2025-12-24 07:22:18 +01:00
LaTeX compiler [bot] 1e766b8133 [skip ci] Build docs on push 2025-12-23 15:26:44 +00:00
janishutz c5fccabba9 CI working?
Build docs / build_docs (push) Successful in 1m6s
2025-12-23 16:25:37 +01:00
LaTeX compiler [bot] e2a725bc51 [skip ci] Build docs on push 2025-12-23 13:57:37 +00:00
janishutz cc3144b170 Trigger build
Build docs / build_docs (push) Failing after 3m32s
2025-12-23 14:55:05 +01:00
janishutz b908ae3b29 Better link docs 2025-12-23 14:32:31 +01:00
janishutz 0ea3d9245c [CI] update author 2025-12-23 14:29:36 +01:00
janishutz 27c96d26a0 [skip ci] Build helpers on push 2025-12-23 13:23:28 +00:00
janishutz c6aa4c8d80 [CI] Update
Build helpers / build_helpers (push) Successful in 4s
2025-12-23 14:23:21 +01:00
janishutz f1b64e8ddb [CI] More debugging
Build helpers / build_helpers (push) Successful in 5s
2025-12-23 14:21:47 +01:00
janishutz a5cb9bb54d [CI] More debugging
Build helpers / build_helpers (push) Successful in 5s
2025-12-23 14:21:04 +01:00
janishutz 432fcb4153 Trigger build
Build helpers / build_helpers (push) Successful in 4s
2025-12-23 14:19:03 +01:00
janishutz 159b37a3d3 [CI] Debug helpers build
Build helpers / build_helpers (push) Successful in 7s
2025-12-23 14:17:30 +01:00
janishutz baf964792a Better logging
Build helpers / build_helpers (push) Successful in 5s
2025-12-23 14:11:01 +01:00
janishutz 01047ba385 Add badge 2025-12-23 14:09:13 +01:00
janishutz c321acd063 [CI] Only update on push to docs 2025-12-23 14:06:04 +01:00
janishutz 1462cc0198 [skip ci] Build docs on push 2025-12-23 13:02:52 +00:00
janishutz 6dbcd64ed4 [CI] Fix upload action
Build docs / build_docs (push) Successful in 21s
2025-12-23 14:02:30 +01:00
janishutz 8346a558c7 [CI] Debugging
Build docs / build_docs (push) Successful in 20s
2025-12-23 14:01:41 +01:00
janishutz 91cfc52ec8 [CI] Download helpers
Build docs / build_docs (push) Successful in 26s
2025-12-23 13:59:34 +01:00
janishutz dba7f93d0d Trigger CI
Build docs / build_docs (push) Failing after 2m20s
2025-12-23 13:56:06 +01:00
janishutz 098ffcc618 [CI] Use full container
Build docs / build_docs (push) Failing after 2m33s
2025-12-23 09:11:21 +01:00
janishutz 4102cafa6e Revert "[CI] Remove docs build"
This reverts commit bdb72b2e2a.
2025-12-23 09:00:15 +01:00
janishutz bdb72b2e2a [CI] Remove docs build 2025-12-23 08:40:37 +01:00
janishutz 5169d20bed [CI] Update workflow
Build docs / build_docs (push) Failing after 15s
2025-12-23 07:20:58 +01:00
janishutz 86f080a705 [CI] Try fix
Build docs / build_docs (push) Failing after 7s
2025-12-23 07:09:40 +01:00
janishutz 23037f11f6 [CI] Use upstream action
Build docs / build_docs (push) Failing after 10s
2025-12-23 07:01:47 +01:00
janishutz 8b4d775d1a [CI] Add back login
Build docs / build_docs (push) Failing after 2s
2025-12-22 21:49:37 +01:00
janishutz 3406ad8951 [CI] Remove login
Build docs / build_docs (push) Failing after 5s
2025-12-22 21:48:18 +01:00
janishutz 495f3a8503 [CI] Try to fix
Build docs / build_docs (push) Failing after 6s
2025-12-22 21:41:00 +01:00
janishutz 7101d5f017 [CI] Update
Build docs / build_docs (push) Failing after 8s
2025-12-22 21:08:07 +01:00
janishutz d3ebc929a0 [CI] Move to newer latex action
Build docs / build_docs (push) Failing after 8s
2025-12-22 21:04:53 +01:00
janishutz 284d957a92 [CI] Debugging
Build docs / build_docs (push) Failing after 7s
2025-12-22 20:57:53 +01:00
janishutz dc62654e42 [CI] Try another fix
Build docs / build_docs (push) Failing after 7s
2025-12-22 20:54:45 +01:00
janishutz 6b052b8152 [CI] Use updated latex workflow
Build docs / build_docs (push) Failing after 8s
2025-12-22 20:52:19 +01:00
janishutz 100f16afda [CI] Fix syntax error
Build docs / build_docs (push) Failing after 8s
2025-12-22 18:31:19 +01:00
janishutz 491cdd9441 [CI] Fix syntax
Build docs / build_docs (push) Failing after 3s
2025-12-22 18:30:30 +01:00
janishutz ca9fd7a66f [CI] Sign into registry 2025-12-22 18:29:49 +01:00
janishutz 7bf361ccd4 [CI] Fix more syntax errors
Build docs / build_docs (push) Failing after 6s
2025-12-22 18:23:12 +01:00
janishutz c0134e47c2 [CI] Fix syntax error
Build docs / build_docs (push) Failing after 3s
2025-12-22 18:22:02 +01:00
janishutz e2974cea74 [CI] Trigger
Build docs / build_docs (push) Failing after 0s
2025-12-22 18:21:24 +01:00
janishutz 6394ce2591 [CI] Try fix 2025-12-22 18:21:08 +01:00
janishutz 4db6733865 Trigger
Build docs / build_docs (push) Failing after 0s
2025-12-22 18:19:56 +01:00
janishutz 7a73c73687 [CI] Add docs auto-build 2025-12-22 18:19:27 +01:00
janishutz 24b4fe0959 [CI] Trigger
Build helpers / build_docs (push) Successful in 4s
2025-12-22 17:49:56 +01:00
janishutz 43819d942c [CI] Remove latex compile action 2025-12-22 15:49:27 +01:00
janishutz 7ee9152f41 [CI] Debug docs
Build Docs / build_docs (push) Failing after 7s
2025-12-22 15:34:37 +01:00
janishutz 1518007fe2 [CI] Debug docs
Build Docs / build_docs (push) Failing after 6s
2025-12-22 15:14:22 +01:00
janishutz 3864d838d6 [CI] Debug docs
Build Docs / build_docs (push) Failing after 8s
2025-12-22 15:13:00 +01:00
janishutz 98b3e7ee66 [CI] Do not build helpers if no corresponding files changed
Build Docs / build_docs (push) Failing after 6s
2025-12-22 15:12:16 +01:00
janishutz dca911c00b [CI] Debug docs build
Build Docs / build_docs (push) Failing after 6s
Build helpers / build_docs (push) Successful in 5s
2025-12-22 15:10:18 +01:00
janishutz bb42a2e803 [CI] Fix helpers auto-build
Build helpers / build_docs (push) Successful in 5s
2025-12-22 15:04:35 +01:00
janishutz 8a238d1a8c [CI] Debugging
Build helpers / build_docs (push) Failing after 5s
2025-12-22 15:03:47 +01:00
janishutz e64a76745a [CI] Build fixes
Build helpers / build_docs (push) Failing after 8s
2025-12-22 15:01:19 +01:00
janishutz 978039b0d0 [CI] Add
Build helpers / build_docs (push) Failing after 1m9s
Build Docs / build_docs (push) Failing after 2m44s
2025-12-22 14:54:57 +01:00
janishutz cc78cee14f [Math] Add conditioning shortcut 2025-12-22 08:20:10 +01:00
janishutz 962989468b [Math] Improve argmin command 2025-12-22 07:46:03 +01:00
janishutz b05be21b92 [Math] Add argmin command 2025-12-22 07:38:10 +01:00
janishutz 2be8109e90 [Build] Run build 2025-12-04 11:28:06 +01:00
janishutz a0893a9887 [Core] Add smaller loader 2025-12-04 11:27:57 +01:00
janishutz 73b33777e3 [Math] Fix conflicts 2025-11-11 13:05:38 +01:00
janishutz 54f58f0b3a [Math] Add more shortcuts for mathbb 2025-11-11 12:16:25 +01:00
janishutz 5a696f57c4 [Style] Remove shortcut, conflicted 2025-11-11 09:12:59 +01:00
janishutz cf5879b9a4 [Style] Actually add shortcut & build 2025-11-11 09:11:29 +01:00
janishutz d600d6d8f3 [Style] Add shortcut for italic and bold 2025-11-11 09:10:20 +01:00
janishutz 6e6bdba382 [Core] Remove unneeded packages 2025-11-11 09:05:26 +01:00
janishutz 66725558bb [Include] Add deprecation warning and fix loading through old method 2025-11-10 11:49:57 +01:00
janishutz 491adc1744 [Style] Add url and href highlighting 2025-11-10 09:15:13 +01:00
janishutz 47ed047c7e [Docs] Update for new import scheme 2025-11-03 16:16:32 +01:00
janishutz b8473c5f68 [Build] Improve helper import 2025-11-03 16:07:03 +01:00
27 changed files with 603 additions and 197 deletions

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
name: Update docs
on:
push:
paths:
- 'docs/**'
jobs:
build_docs:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v6
- name: Sign into gitea registry
uses: https://github.com/docker/login-action@v3
with:
username: ${{ vars.REGISTRY_USER_USERNAME }}
password: ${{ secrets.REGISTRY_USER_PASSWORD }}
registry: ${{ vars.REGISTRY_BASE_URL }}
- name: Run format of docs
uses: actions/latex-format@main
with:
workdir: docs
- name: Run build
uses: actions/latex-full@main
with:
workdir: docs
# include_helpers: true
- name: Upload compiled docs
uses: actions/git-auto-commit-action@v7
with:
commit_message: "ci: Build docs on push [skip ci]"
file_pattern: '*.pdf'
commit_user_name: LaTeX compiler [bot]
commit_user_email: actions@janishutz.com
commit_author: LaTeX compiler [bot] <actions@janishutz.com>
push_options: "--force"
+36
View File
@@ -0,0 +1,36 @@
name: Update helpers
on:
push:
paths:
- 'src/**'
- 'config/**'
jobs:
build_helpers:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v6
- name: Sign into gitea registry
uses: https://github.com/docker/login-action@v3
with:
username: ${{ vars.REGISTRY_USER_USERNAME }}
password: ${{ secrets.REGISTRY_USER_PASSWORD }}
registry: ${{ vars.REGISTRY_BASE_URL }}
- name: Run format of main
uses: actions/latex-format@main
with:
workdir: main
- name: Run format of extra
uses: actions/latex-format@main
with:
workdir: extra
- name: Run build
run: ./build.sh
- name: Upload compiled helpers
uses: actions/git-auto-commit-action@v7
with:
commit_message: "ci: Build helpers on push [skip ci]"
commit_user_name: Helpers compiler [bot]
commit_user_email: actions@janishutz.com
commit_author: Helpers compiler [bot] <actions@janishutz.com>
push_options: "--force"
+5 -6
View File
@@ -3,15 +3,14 @@
<h1>LaTeX Helper files</h1> <h1>LaTeX Helper files</h1>
</div> </div>
![Docs build](https://git.janishutz.com/janishutz/latex/actions/workflows/build-docs.yml/badge.svg?branch=main&event=push)
![Dist build](https://git.janishutz.com/janishutz/latex/actions/workflows/build-helpers.yml/badge.svg?branch=main&event=push)
This repository contains a collection of LaTeX files, helping you get started with LaTeX quickly. This repository contains a collection of LaTeX files, helping you get started with LaTeX quickly.
# New import scheme
I have done some tweaks to support a new import scheme, making imports much more flexible
# Getting started # Getting started
See the docs [here](https://git.janishutz.com/janishutz/latex/src/branch/main/docs/docs.pdf) to get started. See the docs [here](https://git.janishutz.com/janishutz/latex/raw/branch/main/docs/docs.pdf) to get started.
# Recommended LaTeX editors # Recommended LaTeX editors
@@ -26,4 +25,4 @@ The editors are ordered in terms of ease of use and my personal preference list
<a href="https://store.janishutz.com/donate" target="_blank"><img src="https://store-cdn.janishutz.com/static/support-me.jpg" width="150px"></a> <a href="https://store.janishutz.com/donate" target="_blank"><img src="https://store-cdn.janishutz.com/static/support-me.jpg" width="150px"></a>
</div> </div>
[LaTeX helper files](https://git.janishutz.com/janishutz/latex) © 2025 by [Janis Hutz](https://janishutz.com) is licensed under [Creative Commons Attribution-NonCommercial 4.0 International](https://creativecommons.org/licenses/by-nc/4.0/) [LaTeX helper files](https://git.janishutz.com/janishutz/latex) © 2026 by [Janis Hutz](https://janishutz.com) is licensed under [Creative Commons Attribution-NonCommercial 4.0 International](https://creativecommons.org/licenses/by-nc/4.0/)
+1 -2
View File
@@ -1,5 +1,4 @@
import os import os
from typing import List
import labels import labels
import datetime import datetime
import sys import sys
@@ -25,7 +24,7 @@ except:
pass pass
def load_all_files_of_array(dirname: str, files: List[str]): def load_all_files_of_array(dirname: str, files: list[str]):
data = "" data = ""
for filename in files: for filename in files:
with open(dirname + "/" + filename, "r") as file: with open(dirname + "/" + filename, "r") as file:
+1 -1
View File
@@ -49,7 +49,7 @@ def generate_labels():
fill={label}color!75!black fill={label}color!75!black
] at (frame.north east) ] at (frame.north east)
{{ {{
\\large \\tr{{\\{label}NamingEN}}{{\\{label}NamingDE}}\\printLabel{{{label}}} \\large \\tcbDescriptorTemplate{{{label}}}{{\\printLabel{{{label}}}}}
}}; }};
}}, #1 }}, #1
}}\n\n""" }}\n\n"""
+8 -2
View File
@@ -9,16 +9,22 @@
% ┌ ┐ % ┌ ┐
% │ Rendering │ % │ Rendering │
% └ ┘ % └ ┘
% This is used to render the optional name argument in the descriptors
% Updating this function only has an effect if you are using the
% unmodified templates below or have updated them, but still use this function
\newcommand{\descriptorNameDisplay}[1]{\textit{(#1)}}
% Specify how the inline and short descriptors (e.g. Lemma, etc) are rendered. % Specify how the inline and short descriptors (e.g. Lemma, etc) are rendered.
% - #1 is the name of the descriptor % - #1 is the name of the descriptor
% - #2 is the number (correctly rendered according to settings and preceded with space if not disabled) % - #2 is the number (correctly rendered according to settings and preceded with space if not disabled)
% - #3 is the name passed (non-empty asserted) % - #3 is the name passed (non-empty asserted)
\newcommand{\shortDescriptorTemplate}[3]{\bg{#1color}{\shortNamingTranslate{#1} #2} \textit{(#3)}} \newcommand{\shortDescriptorTemplate}[3]{\bg{#1color}{\shortNamingTranslate{#1} #2} \descriptorNameDisplay{#3}}
\newcommand{\inlineDescriptorTemplate}[3]{\bg{#1color}{\namingTranslate{#1} #2}: \textit{(#3)}} \newcommand{\inlineDescriptorTemplate}[3]{\bg{#1color}{\namingTranslate{#1} #2} \descriptorNameDisplay{#3}}
% These are used if no name is provided and argument #4 from above is the missing argument % These are used if no name is provided and argument #4 from above is the missing argument
\newcommand{\anonymousShortDescriptorTemplate}[2]{\bg{#1color}{\shortNamingTranslate{#1} #2}\ } \newcommand{\anonymousShortDescriptorTemplate}[2]{\bg{#1color}{\shortNamingTranslate{#1} #2}\ }
\newcommand{\anonymousInlineDescriptorTemplate}[2]{\bg{#1color}{\namingTranslate{#1} #2}\ } \newcommand{\anonymousInlineDescriptorTemplate}[2]{\bg{#1color}{\namingTranslate{#1} #2}\ }
\newcommand{\tcbDescriptorTemplate}[2]{\namingTranslate{#1} #2}
% background command config (draws a small box around the content) % background command config (draws a small box around the content)
\newcommand{\backgroundPadding}{2pt} \newcommand{\backgroundPadding}{2pt}
+5
View File
@@ -1,6 +1,11 @@
% ┌ ┐ % ┌ ┐
% │ Naming │ % │ Naming │
% └ ┘ % └ ┘
\newcommand{\atExamNamingEN}{At exam}
\newcommand{\atExamNamingDE}{An Prüfung}
\newcommand{\howtotextEN}{How To:}
\newcommand{\howtotextDE}{How To:}
% Here you may specify how each descriptor is named % Here you may specify how each descriptor is named
\newcommand{\definitionNamingEN}{Definition} \newcommand{\definitionNamingEN}{Definition}
\newcommand{\theoremNamingEN}{Theorem} \newcommand{\theoremNamingEN}{Theorem}
BIN
View File
Binary file not shown.
+2
View File
@@ -7,6 +7,7 @@
\begin{document} \begin{document}
\startDocument \startDocument
% ── Title page ────────────────────────────────────────────────────── % ── Title page ──────────────────────────────────────────────────────
\vspace{2cm} \vspace{2cm}
@@ -36,6 +37,7 @@
% └ ┘ % └ ┘
\input{./parts/intro.tex} \input{./parts/intro.tex}
\input{./parts/usage.tex} \input{./parts/usage.tex}
\input{./parts/beamer.tex}
\input{./parts/migration.tex} \input{./parts/migration.tex}
+7
View File
@@ -0,0 +1,7 @@
\section{Beamer}
\LaTeX Beamer can be used to create presentations. The official user guide can be found \hlhref{https://mirrors.ctan.org/macros/latex/contrib/beamer/doc/beameruserguide.pdf}{here}
and a simple introduction by overleaf can be found \hlhref{https://www.overleaf.com/learn/latex/Beamer}{here}.
These helpers should mostly work in conjunction with beamer, you should however \bi{absolutely not} use the setup commands, as they are specifically meant for the \textit{article} class.
If you use the snippets, a basic setup for beamer is provided that also includes the helpers.
-1
View File
@@ -20,4 +20,3 @@ The docs contain a section (section \ref{sec:migration}) on migrating from V1.X
You can install these helper files by downloading this repo and storing it to any location on your PC, remembering where that location is. You can install these helper files by downloading this repo and storing it to any location on your PC, remembering where that location is.
You may also install the VSCode snippets found in the vscode-snippets folder. These snippets provide autocompletion for many of the commands that this helper file provides. You may also install the VSCode snippets found in the vscode-snippets folder. These snippets provide autocompletion for many of the commands that this helper file provides.
+1
View File
@@ -51,6 +51,7 @@
\item \verb|\startDocument| Initialize the document. Has to be called after \verb|\begin{document}| \item \verb|\startDocument| Initialize the document. Has to be called after \verb|\begin{document}|
\item \verb|\translate|\{\textit{string}\}\{\textit{string}\} First \textit{string} is English, second \textit{string} is German. Switches automatically based on language selected \item \verb|\translate|\{\textit{string}\}\{\textit{string}\} First \textit{string} is English, second \textit{string} is German. Switches automatically based on language selected
\item \verb|\tr|\{\textit{string}\}\{\textit{string}\} Shorthand for \verb|\translate| \item \verb|\tr|\{\textit{string}\}\{\textit{string}\} Shorthand for \verb|\translate|
\item \verb|\safetr|\{\textit{string}\}\{\textit{string}\} Shorthand for \verb|\translate|, safe to use in section titles
\item \verb|\numberingOn| Turn on the numbering (if previously turned off using \verb|\numberingOff| or set in the config) \item \verb|\numberingOn| Turn on the numbering (if previously turned off using \verb|\numberingOff| or set in the config)
\item \verb|\numberingOff| Turn off the numbering (useful to temporarily turn off numbering) \item \verb|\numberingOff| Turn off the numbering (useful to temporarily turn off numbering)
\end{itemize} \end{itemize}
+6
View File
@@ -20,5 +20,11 @@ You have set the \textit{scope} to \texttt{full}, which loads the \texttt{minted
\subsubsection{You must have pygmentize installed} \subsubsection{You must have pygmentize installed}
Your host system is lacking the \texttt{pygmentize} package or you have not added the \texttt{pip} path to your \$PATH. This is also the reason as to why the \texttt{-shell-escape} flag has to be set, as minted needs to access external libraries (namely \texttt{pygmentize}) to do the syntax highlighting. Your host system is lacking the \texttt{pygmentize} package or you have not added the \texttt{pip} path to your \$PATH. This is also the reason as to why the \texttt{-shell-escape} flag has to be set, as minted needs to access external libraries (namely \texttt{pygmentize}) to do the syntax highlighting.
\subsection{Undefined command equal}
If you see an error like this, you likely are using either \verb|\translate| or \verb|\tr| in a \verb|\section| or similar command.
Due to the way \LaTeX\ code is evaluated, you should prefer using \verb|\safetr| instead,
which uses \texttt{etoolbox}'s \verb|\protecting| command to stop this issue from occurring
\subsection{Any other error} \subsection{Any other error}
Ensure that you are not missing any closing brackets or a math environment is still open. If nothing helps, contact support at \url{https://support.janishutz.com} Ensure that you are not missing any closing brackets or a math environment is still open. If nothing helps, contact support at \url{https://support.janishutz.com}
+2 -1
View File
@@ -31,7 +31,8 @@ Each of the options can also be overridden directly on a per-document
\subsection{Letters} \subsection{Letters}
Letters require a different setup compared to a normal \LaTeX document: Letters require a different setup compared to a normal \LaTeX document.
Be also aware that the usual commands featured by the helpers are \textit{not} available when using the letter helpers.
\begin{minted}{latex} \begin{minted}{latex}
\documentclass[12pt,a4paper]{scrlttr2} \documentclass[12pt,a4paper]{scrlttr2}
+209 -92
View File
@@ -41,12 +41,16 @@
\usepackage{etoolbox} \usepackage{etoolbox}
\usepackage{makecell} \usepackage{makecell}
\usepackage{parskip} \usepackage{parskip}
\usepackage{titlesec}
\usepackage{centernot}
\usepackage{todonotes}
\usepackage{bm}
\newcounter{descriptorShadeStrength} \newcounter{descriptorShadeStrength}
\newcounter{shadeStrength} \newcounter{shadeStrength}
\newcommand{\currentLanguage}{en} \newcommand{\currentLanguage}{en}
\setcounter{secnumdepth}{4} \setcounter{secnumdepth}{5}
\newcommand{\printTranslationOptionEN}[1]{\csname #1NamingEN\endcsname} \newcommand{\printTranslationOptionEN}[1]{\csname #1NamingEN\endcsname}
\newcommand{\printTranslationOptionDE}[1]{\csname #1NamingDE\endcsname} \newcommand{\printTranslationOptionDE}[1]{\csname #1NamingDE\endcsname}
@@ -61,6 +65,9 @@
\renewcommand{\currentLanguage}{de} \renewcommand{\currentLanguage}{de}
} }
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}
% ┌ ┐ % ┌ ┐
% │ Colours │ % │ Colours │
@@ -104,16 +111,22 @@
% ┌ ┐ % ┌ ┐
% │ Rendering │ % │ Rendering │
% └ ┘ % └ ┘
% This is used to render the optional name argument in the descriptors
% Updating this function only has an effect if you are using the
% unmodified templates below or have updated them, but still use this function
\newcommand{\descriptorNameDisplay}[1]{\textit{(#1)}}
% Specify how the inline and short descriptors (e.g. Lemma, etc) are rendered. % Specify how the inline and short descriptors (e.g. Lemma, etc) are rendered.
% - #1 is the name of the descriptor % - #1 is the name of the descriptor
% - #2 is the number (correctly rendered according to settings and preceded with space if not disabled) % - #2 is the number (correctly rendered according to settings and preceded with space if not disabled)
% - #3 is the name passed (non-empty asserted) % - #3 is the name passed (non-empty asserted)
\newcommand{\shortDescriptorTemplate}[3]{\bg{#1color}{\shortNamingTranslate{#1} #2} \textit{(#3)}} \newcommand{\shortDescriptorTemplate}[3]{\bg{#1color}{\shortNamingTranslate{#1} #2} \descriptorNameDisplay{#3}}
\newcommand{\inlineDescriptorTemplate}[3]{\bg{#1color}{\namingTranslate{#1} #2}: \textit{(#3)}} \newcommand{\inlineDescriptorTemplate}[3]{\bg{#1color}{\namingTranslate{#1} #2} \descriptorNameDisplay{#3}}
% These are used if no name is provided and argument #4 from above is the missing argument % These are used if no name is provided and argument #4 from above is the missing argument
\newcommand{\anonymousShortDescriptorTemplate}[2]{\bg{#1color}{\shortNamingTranslate{#1} #2}\ } \newcommand{\anonymousShortDescriptorTemplate}[2]{\bg{#1color}{\shortNamingTranslate{#1} #2}\ }
\newcommand{\anonymousInlineDescriptorTemplate}[2]{\bg{#1color}{\namingTranslate{#1} #2}\ } \newcommand{\anonymousInlineDescriptorTemplate}[2]{\bg{#1color}{\namingTranslate{#1} #2}\ }
\newcommand{\tcbDescriptorTemplate}[2]{\namingTranslate{#1} #2}
% background command config (draws a small box around the content) % background command config (draws a small box around the content)
\newcommand{\backgroundPadding}{2pt} \newcommand{\backgroundPadding}{2pt}
@@ -162,6 +175,11 @@
% ┌ ┐ % ┌ ┐
% │ Naming │ % │ Naming │
% └ ┘ % └ ┘
\newcommand{\atExamNamingEN}{At exam}
\newcommand{\atExamNamingDE}{An Prüfung}
\newcommand{\howtotextEN}{How To:}
\newcommand{\howtotextDE}{How To:}
% Here you may specify how each descriptor is named % Here you may specify how each descriptor is named
\newcommand{\definitionNamingEN}{Definition} \newcommand{\definitionNamingEN}{Definition}
\newcommand{\theoremNamingEN}{Theorem} \newcommand{\theoremNamingEN}{Theorem}
@@ -263,7 +281,7 @@
fill=definitioncolor!75!black fill=definitioncolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\definitionNamingEN}{\definitionNamingDE}\printLabel{definition} \large \tcbDescriptorTemplate{definition}{\printLabel{definition}}
}; };
}, #1 }, #1
} }
@@ -289,7 +307,7 @@
fill=examplecolor!75!black fill=examplecolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\exampleNamingEN}{\exampleNamingDE}\printLabel{example} \large \tcbDescriptorTemplate{example}{\printLabel{example}}
}; };
}, #1 }, #1
} }
@@ -315,7 +333,7 @@
fill=theoremcolor!75!black fill=theoremcolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\theoremNamingEN}{\theoremNamingDE}\printLabel{theorem} \large \tcbDescriptorTemplate{theorem}{\printLabel{theorem}}
}; };
}, #1 }, #1
} }
@@ -341,7 +359,7 @@
fill=lemmacolor!75!black fill=lemmacolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\lemmaNamingEN}{\lemmaNamingDE}\printLabel{lemma} \large \tcbDescriptorTemplate{lemma}{\printLabel{lemma}}
}; };
}, #1 }, #1
} }
@@ -367,7 +385,7 @@
fill=corollarycolor!75!black fill=corollarycolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\corollaryNamingEN}{\corollaryNamingDE}\printLabel{corollary} \large \tcbDescriptorTemplate{corollary}{\printLabel{corollary}}
}; };
}, #1 }, #1
} }
@@ -393,7 +411,7 @@
fill=propositioncolor!75!black fill=propositioncolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\propositionNamingEN}{\propositionNamingDE}\printLabel{proposition} \large \tcbDescriptorTemplate{proposition}{\printLabel{proposition}}
}; };
}, #1 }, #1
} }
@@ -419,7 +437,7 @@
fill=axiomcolor!75!black fill=axiomcolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\axiomNamingEN}{\axiomNamingDE}\printLabel{axiom} \large \tcbDescriptorTemplate{axiom}{\printLabel{axiom}}
}; };
}, #1 }, #1
} }
@@ -445,7 +463,7 @@
fill=factcolor!75!black fill=factcolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\factNamingEN}{\factNamingDE}\printLabel{fact} \large \tcbDescriptorTemplate{fact}{\printLabel{fact}}
}; };
}, #1 }, #1
} }
@@ -471,7 +489,7 @@
fill=formulacolor!75!black fill=formulacolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\formulaNamingEN}{\formulaNamingDE}\printLabel{formula} \large \tcbDescriptorTemplate{formula}{\printLabel{formula}}
}; };
}, #1 }, #1
} }
@@ -497,7 +515,7 @@
fill=remarkcolor!75!black fill=remarkcolor!75!black
] at (frame.north east) ] at (frame.north east)
{ {
\large \tr{\remarkNamingEN}{\remarkNamingDE}\printLabel{remark} \large \tcbDescriptorTemplate{remark}{\printLabel{remark}}
}; };
}, #1 }, #1
} }
@@ -666,6 +684,37 @@
% Same for urls (just one arg tho) % Same for urls (just one arg tho)
\newcommand{\hlurl}[1]{\color{MidnightBlue}\fbox{\url{#1}}\color{black}} \newcommand{\hlurl}[1]{\color{MidnightBlue}\fbox{\url{#1}}\color{black}}
\makeatletter
\renewcommand\paragraph{%
\@startsection{paragraph}{4}{0mm}%
{-0.5\parskip}%
{0.25\parskip}%
{\normalfont\normalsize\bfseries}}
\makeatother
\makeatletter
\renewcommand\subparagraph{%
\@startsection{subparagraph}{5}{0mm}%
{-0.2\parskip}%
{0.1\parskip}%
{\normalfont\small\bfseries}}
\makeatother
% Small color boxes
\newcommand\coloredbox[3]{%
\par\smallskip\noindent
\colorbox{#1!20}{%
\begin{minipage}{\dimexpr\linewidth-3\fboxsep-1pt\relax}%
\textbf{#2}\par\smallskip #3%
\end{minipage}
}%
\par\smallskip
}
\newcommand\howto[2]{%
\coloredbox{gray}{\tr{\howtotextEN}{\howtotextDE}\ #1}{#2}%
}
% ___ _ _____ _ _ % ___ _ _____ _ _
% ( _ \ _( ) (_ _) ( ) ( ) % ( _ \ _( ) (_ _) ( ) ( )
@@ -693,60 +742,60 @@
% └ ┘ % └ ┘
% BB shortcuts (for number spaces, etc) % BB shortcuts (for number spaces, etc)
\newcommand{\A}{\mathbb{A}} \newcommand{\A}{\ensuremath{\mathbb{A}}}
\newcommand{\B}{\mathbb{B}} \newcommand{\B}{\ensuremath{\mathbb{B}}}
\newcommand{\C}{\mathbb{C}} \newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\D}{\mathbb{D}} \newcommand{\D}{\ensuremath{\mathbb{D}}}
\newcommand{\E}{\mathbb{E}} \newcommand{\E}{\ensuremath{\mathbb{E}}}
\newcommand{\F}{\mathbb{F}} \newcommand{\F}{\ensuremath{\mathbb{F}}}
\newcommand{\G}{\mathbb{G}} \newcommand{\G}{\ensuremath{\mathbb{G}}}
\renewcommand{\H}{\mathbb{H}} \renewcommand{\H}{\ensuremath{\mathbb{H}}}
\newcommand{\I}{\mathbb{I}} \newcommand{\I}{\ensuremath{\mathbb{I}}}
\newcommand{\J}{\mathbb{J}} \newcommand{\J}{\ensuremath{\mathbb{J}}}
\newcommand{\K}{\mathbb{K}} \newcommand{\K}{\ensuremath{\mathbb{K}}}
\renewcommand{\L}{\mathbb{L}} \renewcommand{\L}{\ensuremath{\mathbb{L}}}
\newcommand{\M}{\mathbb{M}} \newcommand{\M}{\ensuremath{\mathbb{M}}}
\newcommand{\N}{\mathbb{N}} \newcommand{\N}{\ensuremath{\mathbb{N}}}
\renewcommand{\O}{\mathbb{O}} \renewcommand{\O}{\ensuremath{\mathbb{O}}}
\renewcommand{\P}{\mathbb{P}} \renewcommand{\P}{\ensuremath{\mathbb{P}}}
\newcommand{\Q}{\mathbb{Q}} \newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand{\R}{\mathbb{R}} \newcommand{\R}{\ensuremath{\mathbb{R}}}
\renewcommand{\S}{\mathbb{S}} \renewcommand{\S}{\ensuremath{\mathbb{S}}}
\newcommand{\T}{\mathbb{T}} \newcommand{\T}{\ensuremath{\mathbb{T}}}
\newcommand{\U}{\mathbb{U}} \newcommand{\U}{\ensuremath{\mathbb{U}}}
\newcommand{\V}{\mathbb{V}} \newcommand{\V}{\ensuremath{\mathbb{V}}}
\newcommand{\W}{\mathbb{W}} \newcommand{\W}{\ensuremath{\mathbb{W}}}
\newcommand{\X}{\mathbb{X}} \newcommand{\X}{\ensuremath{\mathbb{X}}}
\newcommand{\Y}{\mathbb{Y}} \newcommand{\Y}{\ensuremath{\mathbb{Y}}}
\newcommand{\Z}{\mathbb{Z}} \newcommand{\Z}{\ensuremath{\mathbb{Z}}}
% Caligraphic % Caligraphic
\newcommand{\cA}{\mathcal{A}} \newcommand{\cA}{\ensuremath{\mathcal{A}}}
\newcommand{\cB}{\mathcal{B}} \newcommand{\cB}{\ensuremath{\mathcal{B}}}
\newcommand{\cC}{\mathcal{C}} \newcommand{\cC}{\ensuremath{\mathcal{C}}}
\newcommand{\cD}{\mathcal{D}} \newcommand{\cD}{\ensuremath{\mathcal{D}}}
\newcommand{\cE}{\mathcal{E}} \newcommand{\cE}{\ensuremath{\mathcal{E}}}
\newcommand{\cF}{\mathcal{F}} \newcommand{\cF}{\ensuremath{\mathcal{F}}}
\newcommand{\cG}{\mathcal{G}} \newcommand{\cG}{\ensuremath{\mathcal{G}}}
\newcommand{\cH}{\mathcal{H}} \newcommand{\cH}{\ensuremath{\mathcal{H}}}
\newcommand{\cI}{\mathcal{I}} \newcommand{\cI}{\ensuremath{\mathcal{I}}}
\newcommand{\cJ}{\mathcal{J}} \newcommand{\cJ}{\ensuremath{\mathcal{J}}}
\newcommand{\cK}{\mathcal{K}} \newcommand{\cK}{\ensuremath{\mathcal{K}}}
\newcommand{\cL}{\mathcal{L}} \newcommand{\cL}{\ensuremath{\mathcal{L}}}
\newcommand{\cM}{\mathcal{M}} \newcommand{\cM}{\ensuremath{\mathcal{M}}}
\newcommand{\cN}{\mathcal{N}} \newcommand{\cN}{\ensuremath{\mathcal{N}}}
\newcommand{\cO}{\mathcal{O}} \newcommand{\cO}{\ensuremath{\mathcal{O}}}
\newcommand{\cP}{\mathcal{P}} \newcommand{\cP}{\ensuremath{\mathcal{P}}}
\newcommand{\cQ}{\mathcal{Q}} \newcommand{\cQ}{\ensuremath{\mathcal{Q}}}
\newcommand{\cR}{\mathcal{R}} \newcommand{\cR}{\ensuremath{\mathcal{R}}}
\newcommand{\cS}{\mathcal{S}} \newcommand{\cS}{\ensuremath{\mathcal{S}}}
\newcommand{\cT}{\mathcal{T}} \newcommand{\cT}{\ensuremath{\mathcal{T}}}
\newcommand{\cU}{\mathcal{U}} \newcommand{\cU}{\ensuremath{\mathcal{U}}}
\newcommand{\cV}{\mathcal{V}} \newcommand{\cV}{\ensuremath{\mathcal{V}}}
\newcommand{\cW}{\mathcal{W}} \newcommand{\cW}{\ensuremath{\mathcal{W}}}
\newcommand{\cX}{\mathcal{X}} \newcommand{\cX}{\ensuremath{\mathcal{X}}}
\newcommand{\cY}{\mathcal{Y}} \newcommand{\cY}{\ensuremath{\mathcal{Y}}}
\newcommand{\cZ}{\mathcal{Z}} \newcommand{\cZ}{\ensuremath{\mathcal{Z}}}
% other useful shortcuts % other useful shortcuts
\newcommand{\elementstack}[2]{\genfrac{}{}{0pt}{}{#1}{#2}} \newcommand{\elementstack}[2]{\genfrac{}{}{0pt}{}{#1}{#2}}
@@ -776,8 +825,8 @@
\newcommand{\limhz}{\limit{h}{0}} \newcommand{\limhz}{\limit{h}{0}}
\newcommand{\liminfni}{\liminf_{n \rightarrow \infty}} \newcommand{\liminfni}{\liminf_{n \rightarrow \infty}}
\newcommand{\limsupni}{\limsup_{n \rightarrow \infty}} \newcommand{\limsupni}{\limsup_{n \rightarrow \infty}}
\newcommand{\sequence}[1]{(#1_n)_{n \geq 1}} \newcommand{\sequence}[1]{\ensuremath{(#1_n)_{n \geq 1}}}
\newcommand{\series}[2]{\sum_{k = 1}^{#2} #1_k} \newcommand{\series}[2]{\ensuremath{\sum_{k = 1}^{#2} #1_k}}
\DeclareMathOperator\arctanh{arctanh} \DeclareMathOperator\arctanh{arctanh}
\DeclareMathOperator\arccosh{arccosh} \DeclareMathOperator\arccosh{arccosh}
@@ -887,6 +936,20 @@
\makenoidxglossaries \makenoidxglossaries
} }
\newcommand{\highlightglossaryref}[1]{\textbf{#1}}
\newcommand{\setGlossaryMarkup}{
\let\glsraw\gls
\let\glsplraw\glspl
\let\Glsraw\Gls
\let\Glsplraw\Glspl
\let\acrshortraw\acrshort
\expandafter\renewcommand{\gls}[1]{\highlightglossaryref{\glsraw{##1}}}
\expandafter\renewcommand{\glspl}[1]{\highlightglossaryref{\glsplraw{##1}}}
\expandafter\renewcommand{\Gls}[1]{\highlightglossaryref{\Glsraw{##1}}}
\expandafter\renewcommand{\Glspl}[1]{\highlightglossaryref{\Glsplraw{##1}}}
\expandafter\renewcommand{\acrshort}[1]{\highlightglossaryref{\acrshortraw{##1}}}
}
\newcommand{\printGlossary}{ \newcommand{\printGlossary}{
\glsaddall \glsaddall
\printnoidxglossaries \printnoidxglossaries
@@ -900,6 +963,7 @@
\ifthenelse{\equal{\currentLanguage}{en}}{#1}{#2}% \ifthenelse{\equal{\currentLanguage}{en}}{#1}{#2}%
} }
\newcommand{\tr}[2]{\translate{#1}{#2}} \newcommand{\tr}[2]{\translate{#1}{#2}}
\newcommand{\safetr}[2]{\protecting{\translate{#1}{#2}}}
\newcommand{\namingTranslate}[1]{\translate{\printTranslationOptionEN{#1}}{\printTranslationOptionDE{#1}}} \newcommand{\namingTranslate}[1]{\translate{\printTranslationOptionEN{#1}}{\printTranslationOptionDE{#1}}}
\newcommand{\shortNamingTranslate}[1]{\translate{\printShortTranslationOptionEN{#1}}{\printShortTranslationOptionDE{#1}}} \newcommand{\shortNamingTranslate}[1]{\translate{\printShortTranslationOptionEN{#1}}{\printShortTranslationOptionDE{#1}}}
@@ -953,15 +1017,15 @@
% Set up the latex document for exam summaries (Extra wide body, small margins, no header) % Set up the latex document for exam summaries (Extra wide body, small margins, no header)
\newcommand{\setupCheatSheet}[2][true]{ \newcommand{\setupCheatSheet}[2][1cm]{
\ifthenelse{\equal{#1}{true}}{ \ifthenelse{\equal{#1}{false}}{
\usepackage[a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
}{
\usepackage[a4paper,textwidth=28.5cm,textheight=20cm,landscape]{geometry} \usepackage[a4paper,textwidth=28.5cm,textheight=20cm,landscape]{geometry}
\usepackage{flowfram} \usepackage{flowfram}
\ffvadjustfalse \ffvadjustfalse
\setlength{\columnsep}{1cm} \setlength{\columnsep}{#1}
\Ncolumn{3} \Ncolumn{3}
}{
\usepackage[a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
} }
\title{\Huge \textbf{#2}} \title{\Huge \textbf{#2}}
\author{\authorTitle} \author{\authorTitle}
@@ -1026,9 +1090,9 @@
\newcommand{\Indent}{\hspace{\algorithmicindent}} \newcommand{\Indent}{\hspace{\algorithmicindent}}
\newcommand{\tct}[1]{\Theta\left(#1\right)} \newcommand{\tct}[1]{\ensuremath{\Theta\left(#1\right)}}
\newcommand{\tco}[1]{\mathcal{O}\left(#1\right)} \newcommand{\tco}[1]{\ensuremath{\mathcal{O}\left(#1\right)}}
\newcommand{\tcl}[1]{\Omega\left(#1\right)} \newcommand{\tcl}[1]{\ensuremath{\Omega\left(#1\right)}}
\newcommand{\wordbool}{(\Sigma_{\text{bool}})^*} \newcommand{\wordbool}{(\Sigma_{\text{bool}})^*}
\newcommand{\words}[1]{(\Sigma_{\text{#1}})^*} \newcommand{\words}[1]{(\Sigma_{\text{#1}})^*}
\newcommand{\word}{\Sigma^*} \newcommand{\word}{\Sigma^*}
@@ -1119,7 +1183,9 @@
\newcommand{\printCounter}[1]{\refstepcounter{#1}\csname the#1\endcsname} \newcommand{\printCounter}[1]{\refstepcounter{#1}\csname the#1\endcsname}
\newcommand{\printLabel}[1]{% \newcommand{\printLabel}[1]{%
\ifthenelse{\boolean{numberingDisabled}}{}{% \ifthenelse{\boolean{numberingDisabled}}{%
%
}{%
\ifcsdef{#1numbering}{% Extra config present \ifcsdef{#1numbering}{% Extra config present
\ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{default}}{% \ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{default}}{%
\labelPrintBackendRoutine{#1}% \labelPrintBackendRoutine{#1}%
@@ -1129,7 +1195,9 @@
}{% }{%
\ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{combined}}{% \ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{combined}}{%
\printCounter{combined\subsectionnumbering}% \printCounter{combined\subsectionnumbering}%
}{}% }{%
%
}%
}% }%
}% }%
}{% }{%
@@ -1141,10 +1209,12 @@
\newcommand{\labelPrintBackendRoutine}[1]{% \newcommand{\labelPrintBackendRoutine}[1]{%
\ifthenelse{\equal{\numberingpreset}{combined}}{% \ifthenelse{\equal{\numberingpreset}{combined}}{%
\printCounter{combined\subsectionnumbering}% \printCounter{combined\subsectionnumbering}%
}{ }{%
\ifthenelse{\equal{\numberingpreset}{separate}}{% \ifthenelse{\equal{\numberingpreset}{separate}}{%
\printCounter{#1\subsectionnumbering}% \printCounter{#1\subsectionnumbering}%
}{}% }{%
%
}%
}% }%
} }
@@ -1232,6 +1302,10 @@
\newcommand{\noverticalspacing}{ \newcommand{\noverticalspacing}{
\titlespacing*{\section}{0pt}{2pt plus 2pt minus 1pt}{2pt plus 2pt minus 2pt}
\titlespacing*{\subsection}{0pt}{1pt plus 2pt minus 1pt}{1pt plus 2pt minus 1pt}
\titlespacing*{\subsubsection}{0pt}{1pt plus 1pt minus 1pt}{1pt plus 1pt minus 1pt}
\titlespacing*{\paragraph}{0pt}{0pt plus 1pt minus 0pt}{1pt plus 0pt minus 1pt}
\abovedisplayskip 1pt plus 2pt minus 1pt \abovedisplayskip 1pt plus 2pt minus 1pt
\belowdisplayskip 1pt plus 2pt minus 1pt \belowdisplayskip 1pt plus 2pt minus 1pt
\abovedisplayshortskip -10pt \abovedisplayshortskip -10pt
@@ -1239,10 +1313,15 @@
\floatsep 1pt plus 2pt minus 1pt \floatsep 1pt plus 2pt minus 1pt
\intextsep 1pt plus 2pt minus 1pt \intextsep 1pt plus 2pt minus 1pt
\textfloatsep 1pt plus 2pt minus 1pt \textfloatsep 1pt plus 2pt minus 1pt
\multicolsep 1pt plus 2pt minus 1pt
\abovecaptionskip 2pt \abovecaptionskip 2pt
\setlist{noitemsep,topsep=1pt,partopsep=0pt} \setlist{noitemsep,topsep=1pt,partopsep=0pt}
} }
\newcommand{\smallverticalspacing}{ \newcommand{\smallverticalspacing}{
\titlespacing*{\section}{0pt}{4pt plus 3pt minus 2pt}{3pt plus 2pt minus 1pt}
\titlespacing*{\subsection}{0pt}{3pt plus 2pt minus 1pt}{2pt plus 2pt minus 0pt}
\titlespacing*{\subsubsection}{0pt}{2pt plus 2pt minus 1pt}{2pt plus 1pt minus 0pt}
\titlespacing*{\paragraph}{0pt}{1pt plus 1pt minus 1pt}{1pt plus 0pt minus 0pt}
\abovedisplayskip 4pt plus 3pt minus 2pt \abovedisplayskip 4pt plus 3pt minus 2pt
\belowdisplayskip 5pt plus 5pt minus 2pt \belowdisplayskip 5pt plus 5pt minus 2pt
\abovedisplayshortskip -5pt \abovedisplayshortskip -5pt
@@ -1250,10 +1329,15 @@
\floatsep 4pt plus 3pt minus 2pt \floatsep 4pt plus 3pt minus 2pt
\intextsep 4pt plus 3pt minus 2pt \intextsep 4pt plus 3pt minus 2pt
\textfloatsep 4pt plus 3pt minus 2pt \textfloatsep 4pt plus 3pt minus 2pt
\multicolsep 4pt plus 3pt minus 2pt
\abovecaptionskip 4pt \abovecaptionskip 4pt
\setlist{itemsep=2pt,topsep=2pt,partopsep=1pt} \setlist{itemsep=-5pt,topsep=2pt,partopsep=1pt}
} }
\newcommand{\mediumverticalspacing}{ \newcommand{\mediumverticalspacing}{
\titlespacing*{\section}{0pt}{6pt plus 2pt minus 2pt}{4pt plus 2pt minus 2pt}
\titlespacing*{\subsection}{0pt}{4pt plus 2pt minus 2pt}{3pt plus 2pt minus 1pt}
\titlespacing*{\subsubsection}{0pt}{3pt plus 1pt minus 1pt}{2pt plus 1pt minus 0pt}
\titlespacing*{\paragraph}{0pt}{2pt plus 1pt minus 1pt}{1pt plus 0pt minus 0pt}
\abovedisplayskip 7pt plus 4pt minus 3pt \abovedisplayskip 7pt plus 4pt minus 3pt
\belowdisplayskip 9pt plus 6pt minus 3pt \belowdisplayskip 9pt plus 6pt minus 3pt
\abovedisplayshortskip 0pt \abovedisplayshortskip 0pt
@@ -1261,10 +1345,15 @@
\floatsep 7pt plus 4pt minus 3pt \floatsep 7pt plus 4pt minus 3pt
\intextsep 7pt plus 4pt minus 3pt \intextsep 7pt plus 4pt minus 3pt
\textfloatsep 7pt plus 4pt minus 3pt \textfloatsep 7pt plus 4pt minus 3pt
\multicolsep 7pt plus 4pt minus 3pt
\abovecaptionskip 7pt \abovecaptionskip 7pt
\setlist{itemsep=4pt,topsep=4pt,partopsep=2pt} \setlist{itemsep=-2pt,topsep=3pt,partopsep=2pt}
} }
\newcommand{\largeverticalspacing}{ \newcommand{\largeverticalspacing}{
\titlespacing*{\section}{0pt}{8pt plus 2pt minus 4pt}{5pt plus 2pt minus 3pt}
\titlespacing*{\subsection}{0pt}{6pt plus 2pt minus 3pt}{4pt plus 2pt minus 2pt}
\titlespacing*{\subsubsection}{0pt}{4pt plus 1pt minus 2pt}{3pt plus 1pt minus 1pt}
\titlespacing*{\paragraph}{0pt}{3pt plus 1pt minus 1pt}{2pt plus 1pt minus 1pt}
\abovedisplayskip 13pt plus 5pt minus 4pt \abovedisplayskip 13pt plus 5pt minus 4pt
\belowdisplayskip 15pt plus 9pt minus 6pt \belowdisplayskip 15pt plus 9pt minus 6pt
\abovedisplayshortskip 5pt plus 2pt minus 3pt \abovedisplayshortskip 5pt plus 2pt minus 3pt
@@ -1272,8 +1361,21 @@
\floatsep 12pt plus 5pt minus 4pt \floatsep 12pt plus 5pt minus 4pt
\intextsep 12pt plus 5pt minus 4pt \intextsep 12pt plus 5pt minus 4pt
\textfloatsep 12pt plus 5pt minus 4pt \textfloatsep 12pt plus 5pt minus 4pt
\multicolsep 12pt plus 5pt minus 4pt
\abovecaptionskip 10pt \abovecaptionskip 10pt
\setlist{itemsep=6pt,topsep=6pt,partopsep=2pt} \setlist{itemsep=0pt,topsep=4pt,partopsep=2pt}
}
\newcommand{\summaryspacing}{
\abovedisplayskip 3pt plus 2pt minus 1pt
\belowdisplayskip 2pt plus 2pt minus 1pt
\abovedisplayshortskip -5pt
\belowdisplayshortskip 3pt plus 2pt minus 1pt
\floatsep 3pt plus 2pt minus 1pt
\intextsep 2pt plus 2pt minus 1pt
\textfloatsep 2pt plus 2pt minus 1pt
\multicolsep 2pt plus 2pt minus 1pt
\abovecaptionskip 4pt
\setlist{noitemsep,topsep=2pt,partopsep=0pt}
} }
@@ -1325,9 +1427,11 @@
\newcommand{\inlineproof}[1][NONAME]{\unnumberedInline[#1]{proof}} \newcommand{\inlineproof}[1][NONAME]{\unnumberedInline[#1]{proof}}
\newcommand{\inlineterm}[1][NONAME]{\unnumberedInline[#1]{term}} \newcommand{\inlineterm}[1][NONAME]{\unnumberedInline[#1]{term}}
\newcommand{\inlinenotation}[1][NONAME]{\unnumberedInline[#1]{notation}}
\newcommand{\shortproof}[1][NONAME]{\unnumberedShort[#1]{proof}} \newcommand{\shortproof}[1][NONAME]{\unnumberedShort[#1]{proof}}
\newcommand{\shortterm}[1][NONAME]{\unnumberedShort[#1]{term}} \newcommand{\shortterm}[1][NONAME]{\unnumberedShort[#1]{term}}
\newcommand{\shortnotation}[1][NONAME]{\unnumberedShort[#1]{notation}}
% ┌ ┐ % ┌ ┐
@@ -1335,41 +1439,43 @@
% └ ┘ % └ ┘
\newtcolorbox{recall}[2][]{mainboxstyle,colback=recallcolor!5!white,colframe=recallcolor!75!black,colbacktitle=recallcolor!75!black,title={\large #2}, \newtcolorbox{recall}[2][]{mainboxstyle,colback=recallcolor!5!white,colframe=recallcolor!75!black,colbacktitle=recallcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=recallcolor!75!black,fill=recallcolor!75!black] at (frame.north east) {\large \translate{Recall }{Repetition }};},#1} overlay={\node[overlaystyle,draw=recallcolor!75!black,fill=recallcolor!75!black] at (frame.north east) {\large \namingTranslate{recall}};},#1}
\newtcolorbox{properties}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2}, \newtcolorbox{properties}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \translate{Properties }{Eigenschaften }};},#1} overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \namingTranslate{properties}};},#1}
\newtcolorbox{restrictions}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2}, \newtcolorbox{restrictions}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \translate{Restrictions }{Einschränkungen }};},#1} overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \namingTranslate{restrictions}};},#1}
\newtcolorbox{limitations}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2}, \newtcolorbox{limitations}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \translate{Limitations }{Limitierungen }};},#1} overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \namingTranslate{limitations}};},#1}
\newtcolorbox{intuition}[2][]{mainboxstyle,colback=intuitioncolor!5!white,colframe=intuitioncolor!75!black,colbacktitle=intuitioncolor!75!black,title={\large #2}, \newtcolorbox{intuition}[2][]{mainboxstyle,colback=intuitioncolor!5!white,colframe=intuitioncolor!75!black,colbacktitle=intuitioncolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=intuitioncolor!75!black,fill=intuitioncolor!75!black] at (frame.north east) {\large Intuition};},#1} overlay={\node[overlaystyle,draw=intuitioncolor!75!black,fill=intuitioncolor!75!black] at (frame.north east) {\large \namingTranslate{intuition}};},#1}
\newcommand{\inlineintuition}{\bg{intuitioncolor}{Intuition:}} \newcommand{\inlineintuition}{\bg{intuitioncolor}{Intuition:}}
% Terms and notation % Terms and notation
\newtcolorbox{terms}[2][]{mainboxstyle,colback=termcolor!5!white,colframe=termcolor!75!black,colbacktitle=termcolor!75!black,title={\large #2}, \newtcolorbox{terms}[2][]{mainboxstyle,colback=termcolor!5!white,colframe=termcolor!75!black,colbacktitle=termcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=termcolor!75!black,fill=termcolor!75!black] at (frame.north east) {\large \translate{Terms }{Begriffe }};},#1} overlay={\node[overlaystyle,draw=termcolor!75!black,fill=termcolor!75!black] at (frame.north east) {\large \namingTranslate{terms}};},#1}
\newtcolorbox{notation}[2][]{mainboxstyle,colback=notationcolor!5!white,colframe=notationcolor!75!black,colbacktitle=notationcolor!75!black,title={\large #2}, \newtcolorbox{notation}[2][]{mainboxstyle,colback=notationcolor!5!white,colframe=notationcolor!75!black,colbacktitle=notationcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=notationcolor!75!black,fill=notationcolor!75!black] at (frame.north east) {\large Notation};},#1} overlay={\node[overlaystyle,draw=notationcolor!75!black,fill=notationcolor!75!black] at (frame.north east) {\large \namingTranslate{notation}};},#1}
\newtcolorbox{usage}[2][]{mainboxstyle,colback=usagecolor!5!white,colframe=usagecolor!75!black,colbacktitle=usagecolor!75!black,title={\large #2}, \newtcolorbox{usage}[2][]{mainboxstyle,colback=usagecolor!5!white,colframe=usagecolor!75!black,colbacktitle=usagecolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=usagecolor!75!black,fill=usagecolor!75!black] at (frame.north east) {\large \translate{Usage }{Nutzung }};},#1} overlay={\node[overlaystyle,draw=usagecolor!75!black,fill=usagecolor!75!black] at (frame.north east) {\large \namingTranslate{usage}};},#1}
% Task % Task
\newtcolorbox{task}[2][]{mainboxstyle,colback=taskcolor!5!white,colframe=taskcolor!75!black,colbacktitle=taskcolor!75!black,title={\large #2},overlay={\node[overlaystyle,draw=taskcolor!75!black,fill=taskcolor!75!black] at (frame.north east) {\large \translate{Task}{Aufgabe}};},#1} \newtcolorbox{task}[2][]{mainboxstyle,colback=taskcolor!5!white,colframe=taskcolor!75!black,colbacktitle=taskcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=taskcolor!75!black,fill=taskcolor!75!black] at (frame.north east) {\large \namingTranslate{task}};},#1}
% Proof % Proof
\newtcolorbox{proof}[2][]{mainboxstyle,colback=proofcolor!5!white,colframe=proofcolor!75!black,colbacktitle=proofcolor!75!black,title={\large #2},overlay={\node[overlaystyle,draw=proofcolor!75!black,fill=proofcolor!75!black] at (frame.north east) {\large \translate{Proof}{Beweis}};},#1} \newtcolorbox{proof}[2][]{mainboxstyle,colback=proofcolor!5!white,colframe=proofcolor!75!black,colbacktitle=proofcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=proofcolor!75!black,fill=proofcolor!75!black] at (frame.north east) {\large \namingTranslate{proof}};},#1}
% General % General
@@ -1379,6 +1485,17 @@
% Simple % Simple
\newtcolorbox{simplebox}[2][]{colback=#2!5!white,colframe=#2!75!black,#1} \newtcolorbox{simplebox}[2][]{colback=#2!5!white,colframe=#2!75!black,#1}
% Exam details
\newtcolorbox{examdetailsbox}[1][]{colback=BurntOrange!20!white,
width=0.5\linewidth,boxrule=0.1mm,arc=0.5mm,boxsep=1mm,left=0mm,right=0mm,top=0mm,bottom=0mm,#1}
\newenvironment{examdetails}{%
\begin{examdetailsbox}[]
\textbf{\translate{\atExamNamingEN}{\atExamNamingDE}:}%
}{%
\end{examdetailsbox}%
}
% ┌ ┐ % ┌ ┐
% │ STYLE: Computer Science │ % │ STYLE: Computer Science │
+8 -1
View File
@@ -27,12 +27,16 @@
\RequirePackage{etoolbox} \RequirePackage{etoolbox}
\RequirePackage{makecell} \RequirePackage{makecell}
\RequirePackage{parskip} \RequirePackage{parskip}
\RequirePackage{titlesec}
\RequirePackage{centernot}
\RequirePackage{todonotes}
\RequirePackage{bm}
\newcounter{descriptorShadeStrength} \newcounter{descriptorShadeStrength}
\newcounter{shadeStrength} \newcounter{shadeStrength}
\newcommand{\currentLanguage}{en} \newcommand{\currentLanguage}{en}
\setcounter{secnumdepth}{4} \setcounter{secnumdepth}{5}
\newcommand{\printTranslationOptionEN}[1]{\csname #1NamingEN\endcsname} \newcommand{\printTranslationOptionEN}[1]{\csname #1NamingEN\endcsname}
\newcommand{\printTranslationOptionDE}[1]{\csname #1NamingDE\endcsname} \newcommand{\printTranslationOptionDE}[1]{\csname #1NamingDE\endcsname}
@@ -46,3 +50,6 @@
\usepackage[ngerman]{babel} \usepackage[ngerman]{babel}
\renewcommand{\currentLanguage}{de} \renewcommand{\currentLanguage}{de}
} }
\newlist{todolist}{itemize}{2}
\setlist[todolist]{label=$\square$}
+3 -3
View File
@@ -14,9 +14,9 @@
\newcommand{\Indent}{\hspace{\algorithmicindent}} \newcommand{\Indent}{\hspace{\algorithmicindent}}
\newcommand{\tct}[1]{\Theta\left(#1\right)} \newcommand{\tct}[1]{\ensuremath{\Theta\left(#1\right)}}
\newcommand{\tco}[1]{\mathcal{O}\left(#1\right)} \newcommand{\tco}[1]{\ensuremath{\mathcal{O}\left(#1\right)}}
\newcommand{\tcl}[1]{\Omega\left(#1\right)} \newcommand{\tcl}[1]{\ensuremath{\Omega\left(#1\right)}}
\newcommand{\wordbool}{(\Sigma_{\text{bool}})^*} \newcommand{\wordbool}{(\Sigma_{\text{bool}})^*}
\newcommand{\words}[1]{(\Sigma_{\text{#1}})^*} \newcommand{\words}[1]{(\Sigma_{\text{#1}})^*}
\newcommand{\word}{\Sigma^*} \newcommand{\word}{\Sigma^*}
+14
View File
@@ -6,6 +6,20 @@
\makenoidxglossaries \makenoidxglossaries
} }
\newcommand{\highlightglossaryref}[1]{\textbf{#1}}
\newcommand{\setGlossaryMarkup}{
\let\glsraw\gls
\let\glsplraw\glspl
\let\Glsraw\Gls
\let\Glsplraw\Glspl
\let\acrshortraw\acrshort
\expandafter\renewcommand{\gls}[1]{\highlightglossaryref{\glsraw{##1}}}
\expandafter\renewcommand{\glspl}[1]{\highlightglossaryref{\glsplraw{##1}}}
\expandafter\renewcommand{\Gls}[1]{\highlightglossaryref{\Glsraw{##1}}}
\expandafter\renewcommand{\Glspl}[1]{\highlightglossaryref{\Glsplraw{##1}}}
\expandafter\renewcommand{\acrshort}[1]{\highlightglossaryref{\acrshortraw{##1}}}
}
\newcommand{\printGlossary}{ \newcommand{\printGlossary}{
\glsaddall \glsaddall
\printnoidxglossaries \printnoidxglossaries
+54 -54
View File
@@ -3,60 +3,60 @@
% └ ┘ % └ ┘
% BB shortcuts (for number spaces, etc) % BB shortcuts (for number spaces, etc)
\newcommand{\A}{\mathbb{A}} \newcommand{\A}{\ensuremath{\mathbb{A}}}
\newcommand{\B}{\mathbb{B}} \newcommand{\B}{\ensuremath{\mathbb{B}}}
\newcommand{\C}{\mathbb{C}} \newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\D}{\mathbb{D}} \newcommand{\D}{\ensuremath{\mathbb{D}}}
\newcommand{\E}{\mathbb{E}} \newcommand{\E}{\ensuremath{\mathbb{E}}}
\newcommand{\F}{\mathbb{F}} \newcommand{\F}{\ensuremath{\mathbb{F}}}
\newcommand{\G}{\mathbb{G}} \newcommand{\G}{\ensuremath{\mathbb{G}}}
\renewcommand{\H}{\mathbb{H}} \renewcommand{\H}{\ensuremath{\mathbb{H}}}
\newcommand{\I}{\mathbb{I}} \newcommand{\I}{\ensuremath{\mathbb{I}}}
\newcommand{\J}{\mathbb{J}} \newcommand{\J}{\ensuremath{\mathbb{J}}}
\newcommand{\K}{\mathbb{K}} \newcommand{\K}{\ensuremath{\mathbb{K}}}
\renewcommand{\L}{\mathbb{L}} \renewcommand{\L}{\ensuremath{\mathbb{L}}}
\newcommand{\M}{\mathbb{M}} \newcommand{\M}{\ensuremath{\mathbb{M}}}
\newcommand{\N}{\mathbb{N}} \newcommand{\N}{\ensuremath{\mathbb{N}}}
\renewcommand{\O}{\mathbb{O}} \renewcommand{\O}{\ensuremath{\mathbb{O}}}
\renewcommand{\P}{\mathbb{P}} \renewcommand{\P}{\ensuremath{\mathbb{P}}}
\newcommand{\Q}{\mathbb{Q}} \newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand{\R}{\mathbb{R}} \newcommand{\R}{\ensuremath{\mathbb{R}}}
\renewcommand{\S}{\mathbb{S}} \renewcommand{\S}{\ensuremath{\mathbb{S}}}
\newcommand{\T}{\mathbb{T}} \newcommand{\T}{\ensuremath{\mathbb{T}}}
\newcommand{\U}{\mathbb{U}} \newcommand{\U}{\ensuremath{\mathbb{U}}}
\newcommand{\V}{\mathbb{V}} \newcommand{\V}{\ensuremath{\mathbb{V}}}
\newcommand{\W}{\mathbb{W}} \newcommand{\W}{\ensuremath{\mathbb{W}}}
\newcommand{\X}{\mathbb{X}} \newcommand{\X}{\ensuremath{\mathbb{X}}}
\newcommand{\Y}{\mathbb{Y}} \newcommand{\Y}{\ensuremath{\mathbb{Y}}}
\newcommand{\Z}{\mathbb{Z}} \newcommand{\Z}{\ensuremath{\mathbb{Z}}}
% Caligraphic % Caligraphic
\newcommand{\cA}{\mathcal{A}} \newcommand{\cA}{\ensuremath{\mathcal{A}}}
\newcommand{\cB}{\mathcal{B}} \newcommand{\cB}{\ensuremath{\mathcal{B}}}
\newcommand{\cC}{\mathcal{C}} \newcommand{\cC}{\ensuremath{\mathcal{C}}}
\newcommand{\cD}{\mathcal{D}} \newcommand{\cD}{\ensuremath{\mathcal{D}}}
\newcommand{\cE}{\mathcal{E}} \newcommand{\cE}{\ensuremath{\mathcal{E}}}
\newcommand{\cF}{\mathcal{F}} \newcommand{\cF}{\ensuremath{\mathcal{F}}}
\newcommand{\cG}{\mathcal{G}} \newcommand{\cG}{\ensuremath{\mathcal{G}}}
\newcommand{\cH}{\mathcal{H}} \newcommand{\cH}{\ensuremath{\mathcal{H}}}
\newcommand{\cI}{\mathcal{I}} \newcommand{\cI}{\ensuremath{\mathcal{I}}}
\newcommand{\cJ}{\mathcal{J}} \newcommand{\cJ}{\ensuremath{\mathcal{J}}}
\newcommand{\cK}{\mathcal{K}} \newcommand{\cK}{\ensuremath{\mathcal{K}}}
\newcommand{\cL}{\mathcal{L}} \newcommand{\cL}{\ensuremath{\mathcal{L}}}
\newcommand{\cM}{\mathcal{M}} \newcommand{\cM}{\ensuremath{\mathcal{M}}}
\newcommand{\cN}{\mathcal{N}} \newcommand{\cN}{\ensuremath{\mathcal{N}}}
\newcommand{\cO}{\mathcal{O}} \newcommand{\cO}{\ensuremath{\mathcal{O}}}
\newcommand{\cP}{\mathcal{P}} \newcommand{\cP}{\ensuremath{\mathcal{P}}}
\newcommand{\cQ}{\mathcal{Q}} \newcommand{\cQ}{\ensuremath{\mathcal{Q}}}
\newcommand{\cR}{\mathcal{R}} \newcommand{\cR}{\ensuremath{\mathcal{R}}}
\newcommand{\cS}{\mathcal{S}} \newcommand{\cS}{\ensuremath{\mathcal{S}}}
\newcommand{\cT}{\mathcal{T}} \newcommand{\cT}{\ensuremath{\mathcal{T}}}
\newcommand{\cU}{\mathcal{U}} \newcommand{\cU}{\ensuremath{\mathcal{U}}}
\newcommand{\cV}{\mathcal{V}} \newcommand{\cV}{\ensuremath{\mathcal{V}}}
\newcommand{\cW}{\mathcal{W}} \newcommand{\cW}{\ensuremath{\mathcal{W}}}
\newcommand{\cX}{\mathcal{X}} \newcommand{\cX}{\ensuremath{\mathcal{X}}}
\newcommand{\cY}{\mathcal{Y}} \newcommand{\cY}{\ensuremath{\mathcal{Y}}}
\newcommand{\cZ}{\mathcal{Z}} \newcommand{\cZ}{\ensuremath{\mathcal{Z}}}
% other useful shortcuts % other useful shortcuts
\newcommand{\elementstack}[2]{\genfrac{}{}{0pt}{}{#1}{#2}} \newcommand{\elementstack}[2]{\genfrac{}{}{0pt}{}{#1}{#2}}
@@ -86,8 +86,8 @@
\newcommand{\limhz}{\limit{h}{0}} \newcommand{\limhz}{\limit{h}{0}}
\newcommand{\liminfni}{\liminf_{n \rightarrow \infty}} \newcommand{\liminfni}{\liminf_{n \rightarrow \infty}}
\newcommand{\limsupni}{\limsup_{n \rightarrow \infty}} \newcommand{\limsupni}{\limsup_{n \rightarrow \infty}}
\newcommand{\sequence}[1]{(#1_n)_{n \geq 1}} \newcommand{\sequence}[1]{\ensuremath{(#1_n)_{n \geq 1}}}
\newcommand{\series}[2]{\sum_{k = 1}^{#2} #1_k} \newcommand{\series}[2]{\ensuremath{\sum_{k = 1}^{#2} #1_k}}
\DeclareMathOperator\arctanh{arctanh} \DeclareMathOperator\arctanh{arctanh}
\DeclareMathOperator\arccosh{arccosh} \DeclareMathOperator\arccosh{arccosh}
+5 -5
View File
@@ -34,15 +34,15 @@
% Set up the latex document for exam summaries (Extra wide body, small margins, no header) % Set up the latex document for exam summaries (Extra wide body, small margins, no header)
\newcommand{\setupCheatSheet}[2][true]{ \newcommand{\setupCheatSheet}[2][1cm]{
\ifthenelse{\equal{#1}{true}}{ \ifthenelse{\equal{#1}{false}}{
\RequirePackage[a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
}{
\RequirePackage[a4paper,textwidth=28.5cm,textheight=20cm,landscape]{geometry} \RequirePackage[a4paper,textwidth=28.5cm,textheight=20cm,landscape]{geometry}
\RequirePackage{flowfram} \RequirePackage{flowfram}
\ffvadjustfalse \ffvadjustfalse
\setlength{\columnsep}{1cm} \setlength{\columnsep}{#1}
\Ncolumn{3} \Ncolumn{3}
}{
\RequirePackage[a4paper,textwidth=28.5cm,textheight=20cm]{geometry}
} }
\title{\Huge \textbf{#2}} \title{\Huge \textbf{#2}}
\author{\authorTitle} \author{\authorTitle}
+1
View File
@@ -5,6 +5,7 @@
\ifthenelse{\equal{\currentLanguage}{en}}{#1}{#2}% \ifthenelse{\equal{\currentLanguage}{en}}{#1}{#2}%
} }
\newcommand{\tr}[2]{\translate{#1}{#2}} \newcommand{\tr}[2]{\translate{#1}{#2}}
\newcommand{\safetr}[2]{\protecting{\translate{#1}{#2}}}
\newcommand{\namingTranslate}[1]{\translate{\printTranslationOptionEN{#1}}{\printTranslationOptionDE{#1}}} \newcommand{\namingTranslate}[1]{\translate{\printTranslationOptionEN{#1}}{\printTranslationOptionDE{#1}}}
\newcommand{\shortNamingTranslate}[1]{\translate{\printShortTranslationOptionEN{#1}}{\printShortTranslationOptionDE{#1}}} \newcommand{\shortNamingTranslate}[1]{\translate{\printShortTranslationOptionEN{#1}}{\printShortTranslationOptionDE{#1}}}
+10 -4
View File
@@ -3,7 +3,9 @@
\newcommand{\printCounter}[1]{\refstepcounter{#1}\csname the#1\endcsname} \newcommand{\printCounter}[1]{\refstepcounter{#1}\csname the#1\endcsname}
\newcommand{\printLabel}[1]{% \newcommand{\printLabel}[1]{%
\ifthenelse{\boolean{numberingDisabled}}{}{% \ifthenelse{\boolean{numberingDisabled}}{%
%
}{%
\ifcsdef{#1numbering}{% Extra config present \ifcsdef{#1numbering}{% Extra config present
\ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{default}}{% \ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{default}}{%
\labelPrintBackendRoutine{#1}% \labelPrintBackendRoutine{#1}%
@@ -13,7 +15,9 @@
}{% }{%
\ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{combined}}{% \ifthenelse{\equal{\printNumberingConfigForDescriptor{#1}}{combined}}{%
\printCounter{combined\subsectionnumbering}% \printCounter{combined\subsectionnumbering}%
}{}% }{%
%
}%
}% }%
}% }%
}{% }{%
@@ -25,9 +29,11 @@
\newcommand{\labelPrintBackendRoutine}[1]{% \newcommand{\labelPrintBackendRoutine}[1]{%
\ifthenelse{\equal{\numberingpreset}{combined}}{% \ifthenelse{\equal{\numberingpreset}{combined}}{%
\printCounter{combined\subsectionnumbering}% \printCounter{combined\subsectionnumbering}%
}{ }{%
\ifthenelse{\equal{\numberingpreset}{separate}}{% \ifthenelse{\equal{\numberingpreset}{separate}}{%
\printCounter{#1\subsectionnumbering}% \printCounter{#1\subsectionnumbering}%
}{}% }{%
%
}%
}% }%
} }
+31
View File
@@ -80,3 +80,34 @@
% Same for urls (just one arg tho) % Same for urls (just one arg tho)
\newcommand{\hlurl}[1]{\color{MidnightBlue}\fbox{\url{#1}}\color{black}} \newcommand{\hlurl}[1]{\color{MidnightBlue}\fbox{\url{#1}}\color{black}}
\makeatletter
\renewcommand\paragraph{%
\@startsection{paragraph}{4}{0mm}%
{-0.5\parskip}%
{0.25\parskip}%
{\normalfont\normalsize\bfseries}}
\makeatother
\makeatletter
\renewcommand\subparagraph{%
\@startsection{subparagraph}{5}{0mm}%
{-0.2\parskip}%
{0.1\parskip}%
{\normalfont\small\bfseries}}
\makeatother
% Small color boxes
\newcommand\coloredbox[3]{%
\par\smallskip\noindent
\colorbox{#1!20}{%
\begin{minipage}{\dimexpr\linewidth-3\fboxsep-1pt\relax}%
\textbf{#2}\par\smallskip #3%
\end{minipage}
}%
\par\smallskip
}
\newcommand\howto[2]{%
\coloredbox{gray}{\tr{\howtotextEN}{\howtotextDE}\ #1}{#2}%
}
+2
View File
@@ -46,6 +46,8 @@
\newcommand{\inlineproof}[1][NONAME]{\unnumberedInline[#1]{proof}} \newcommand{\inlineproof}[1][NONAME]{\unnumberedInline[#1]{proof}}
\newcommand{\inlineterm}[1][NONAME]{\unnumberedInline[#1]{term}} \newcommand{\inlineterm}[1][NONAME]{\unnumberedInline[#1]{term}}
\newcommand{\inlinenotation}[1][NONAME]{\unnumberedInline[#1]{notation}}
\newcommand{\shortproof}[1][NONAME]{\unnumberedShort[#1]{proof}} \newcommand{\shortproof}[1][NONAME]{\unnumberedShort[#1]{proof}}
\newcommand{\shortterm}[1][NONAME]{\unnumberedShort[#1]{term}} \newcommand{\shortterm}[1][NONAME]{\unnumberedShort[#1]{term}}
\newcommand{\shortnotation}[1][NONAME]{\unnumberedShort[#1]{notation}}
+35 -3
View File
@@ -1,4 +1,8 @@
\newcommand{\noverticalspacing}{ \newcommand{\noverticalspacing}{
\titlespacing*{\section}{0pt}{2pt plus 2pt minus 1pt}{2pt plus 2pt minus 2pt}
\titlespacing*{\subsection}{0pt}{1pt plus 2pt minus 1pt}{1pt plus 2pt minus 1pt}
\titlespacing*{\subsubsection}{0pt}{1pt plus 1pt minus 1pt}{1pt plus 1pt minus 1pt}
\titlespacing*{\paragraph}{0pt}{0pt plus 1pt minus 0pt}{1pt plus 0pt minus 1pt}
\abovedisplayskip 1pt plus 2pt minus 1pt \abovedisplayskip 1pt plus 2pt minus 1pt
\belowdisplayskip 1pt plus 2pt minus 1pt \belowdisplayskip 1pt plus 2pt minus 1pt
\abovedisplayshortskip -10pt \abovedisplayshortskip -10pt
@@ -6,10 +10,15 @@
\floatsep 1pt plus 2pt minus 1pt \floatsep 1pt plus 2pt minus 1pt
\intextsep 1pt plus 2pt minus 1pt \intextsep 1pt plus 2pt minus 1pt
\textfloatsep 1pt plus 2pt minus 1pt \textfloatsep 1pt plus 2pt minus 1pt
\multicolsep 1pt plus 2pt minus 1pt
\abovecaptionskip 2pt \abovecaptionskip 2pt
\setlist{noitemsep,topsep=1pt,partopsep=0pt} \setlist{noitemsep,topsep=1pt,partopsep=0pt}
} }
\newcommand{\smallverticalspacing}{ \newcommand{\smallverticalspacing}{
\titlespacing*{\section}{0pt}{4pt plus 3pt minus 2pt}{3pt plus 2pt minus 1pt}
\titlespacing*{\subsection}{0pt}{3pt plus 2pt minus 1pt}{2pt plus 2pt minus 0pt}
\titlespacing*{\subsubsection}{0pt}{2pt plus 2pt minus 1pt}{2pt plus 1pt minus 0pt}
\titlespacing*{\paragraph}{0pt}{1pt plus 1pt minus 1pt}{1pt plus 0pt minus 0pt}
\abovedisplayskip 4pt plus 3pt minus 2pt \abovedisplayskip 4pt plus 3pt minus 2pt
\belowdisplayskip 5pt plus 5pt minus 2pt \belowdisplayskip 5pt plus 5pt minus 2pt
\abovedisplayshortskip -5pt \abovedisplayshortskip -5pt
@@ -17,10 +26,15 @@
\floatsep 4pt plus 3pt minus 2pt \floatsep 4pt plus 3pt minus 2pt
\intextsep 4pt plus 3pt minus 2pt \intextsep 4pt plus 3pt minus 2pt
\textfloatsep 4pt plus 3pt minus 2pt \textfloatsep 4pt plus 3pt minus 2pt
\multicolsep 4pt plus 3pt minus 2pt
\abovecaptionskip 4pt \abovecaptionskip 4pt
\setlist{itemsep=2pt,topsep=2pt,partopsep=1pt} \setlist{itemsep=-5pt,topsep=2pt,partopsep=1pt}
} }
\newcommand{\mediumverticalspacing}{ \newcommand{\mediumverticalspacing}{
\titlespacing*{\section}{0pt}{6pt plus 2pt minus 2pt}{4pt plus 2pt minus 2pt}
\titlespacing*{\subsection}{0pt}{4pt plus 2pt minus 2pt}{3pt plus 2pt minus 1pt}
\titlespacing*{\subsubsection}{0pt}{3pt plus 1pt minus 1pt}{2pt plus 1pt minus 0pt}
\titlespacing*{\paragraph}{0pt}{2pt plus 1pt minus 1pt}{1pt plus 0pt minus 0pt}
\abovedisplayskip 7pt plus 4pt minus 3pt \abovedisplayskip 7pt plus 4pt minus 3pt
\belowdisplayskip 9pt plus 6pt minus 3pt \belowdisplayskip 9pt plus 6pt minus 3pt
\abovedisplayshortskip 0pt \abovedisplayshortskip 0pt
@@ -28,10 +42,15 @@
\floatsep 7pt plus 4pt minus 3pt \floatsep 7pt plus 4pt minus 3pt
\intextsep 7pt plus 4pt minus 3pt \intextsep 7pt plus 4pt minus 3pt
\textfloatsep 7pt plus 4pt minus 3pt \textfloatsep 7pt plus 4pt minus 3pt
\multicolsep 7pt plus 4pt minus 3pt
\abovecaptionskip 7pt \abovecaptionskip 7pt
\setlist{itemsep=4pt,topsep=4pt,partopsep=2pt} \setlist{itemsep=-2pt,topsep=3pt,partopsep=2pt}
} }
\newcommand{\largeverticalspacing}{ \newcommand{\largeverticalspacing}{
\titlespacing*{\section}{0pt}{8pt plus 2pt minus 4pt}{5pt plus 2pt minus 3pt}
\titlespacing*{\subsection}{0pt}{6pt plus 2pt minus 3pt}{4pt plus 2pt minus 2pt}
\titlespacing*{\subsubsection}{0pt}{4pt plus 1pt minus 2pt}{3pt plus 1pt minus 1pt}
\titlespacing*{\paragraph}{0pt}{3pt plus 1pt minus 1pt}{2pt plus 1pt minus 1pt}
\abovedisplayskip 13pt plus 5pt minus 4pt \abovedisplayskip 13pt plus 5pt minus 4pt
\belowdisplayskip 15pt plus 9pt minus 6pt \belowdisplayskip 15pt plus 9pt minus 6pt
\abovedisplayshortskip 5pt plus 2pt minus 3pt \abovedisplayshortskip 5pt plus 2pt minus 3pt
@@ -39,6 +58,19 @@
\floatsep 12pt plus 5pt minus 4pt \floatsep 12pt plus 5pt minus 4pt
\intextsep 12pt plus 5pt minus 4pt \intextsep 12pt plus 5pt minus 4pt
\textfloatsep 12pt plus 5pt minus 4pt \textfloatsep 12pt plus 5pt minus 4pt
\multicolsep 12pt plus 5pt minus 4pt
\abovecaptionskip 10pt \abovecaptionskip 10pt
\setlist{itemsep=6pt,topsep=6pt,partopsep=2pt} \setlist{itemsep=0pt,topsep=4pt,partopsep=2pt}
}
\newcommand{\summaryspacing}{
\abovedisplayskip 3pt plus 2pt minus 1pt
\belowdisplayskip 2pt plus 2pt minus 1pt
\abovedisplayshortskip -5pt
\belowdisplayshortskip 3pt plus 2pt minus 1pt
\floatsep 3pt plus 2pt minus 1pt
\intextsep 2pt plus 2pt minus 1pt
\textfloatsep 2pt plus 2pt minus 1pt
\multicolsep 2pt plus 2pt minus 1pt
\abovecaptionskip 4pt
\setlist{noitemsep,topsep=2pt,partopsep=0pt}
} }
+23 -10
View File
@@ -3,41 +3,43 @@
% └ ┘ % └ ┘
\newtcolorbox{recall}[2][]{mainboxstyle,colback=recallcolor!5!white,colframe=recallcolor!75!black,colbacktitle=recallcolor!75!black,title={\large #2}, \newtcolorbox{recall}[2][]{mainboxstyle,colback=recallcolor!5!white,colframe=recallcolor!75!black,colbacktitle=recallcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=recallcolor!75!black,fill=recallcolor!75!black] at (frame.north east) {\large \translate{Recall }{Repetition }};},#1} overlay={\node[overlaystyle,draw=recallcolor!75!black,fill=recallcolor!75!black] at (frame.north east) {\large \namingTranslate{recall}};},#1}
\newtcolorbox{properties}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2}, \newtcolorbox{properties}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \translate{Properties }{Eigenschaften }};},#1} overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \namingTranslate{properties}};},#1}
\newtcolorbox{restrictions}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2}, \newtcolorbox{restrictions}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \translate{Restrictions }{Einschränkungen }};},#1} overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \namingTranslate{restrictions}};},#1}
\newtcolorbox{limitations}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2}, \newtcolorbox{limitations}[2][]{mainboxstyle,colback=propertiescolor!5!white,colframe=propertiescolor!75!black,colbacktitle=propertiescolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \translate{Limitations }{Limitierungen }};},#1} overlay={\node[overlaystyle,draw=propertiescolor!75!black,fill=propertiescolor!75!black] at (frame.north east) {\large \namingTranslate{limitations}};},#1}
\newtcolorbox{intuition}[2][]{mainboxstyle,colback=intuitioncolor!5!white,colframe=intuitioncolor!75!black,colbacktitle=intuitioncolor!75!black,title={\large #2}, \newtcolorbox{intuition}[2][]{mainboxstyle,colback=intuitioncolor!5!white,colframe=intuitioncolor!75!black,colbacktitle=intuitioncolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=intuitioncolor!75!black,fill=intuitioncolor!75!black] at (frame.north east) {\large Intuition};},#1} overlay={\node[overlaystyle,draw=intuitioncolor!75!black,fill=intuitioncolor!75!black] at (frame.north east) {\large \namingTranslate{intuition}};},#1}
\newcommand{\inlineintuition}{\bg{intuitioncolor}{Intuition:}} \newcommand{\inlineintuition}{\bg{intuitioncolor}{Intuition:}}
% Terms and notation % Terms and notation
\newtcolorbox{terms}[2][]{mainboxstyle,colback=termcolor!5!white,colframe=termcolor!75!black,colbacktitle=termcolor!75!black,title={\large #2}, \newtcolorbox{terms}[2][]{mainboxstyle,colback=termcolor!5!white,colframe=termcolor!75!black,colbacktitle=termcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=termcolor!75!black,fill=termcolor!75!black] at (frame.north east) {\large \translate{Terms }{Begriffe }};},#1} overlay={\node[overlaystyle,draw=termcolor!75!black,fill=termcolor!75!black] at (frame.north east) {\large \namingTranslate{terms}};},#1}
\newtcolorbox{notation}[2][]{mainboxstyle,colback=notationcolor!5!white,colframe=notationcolor!75!black,colbacktitle=notationcolor!75!black,title={\large #2}, \newtcolorbox{notation}[2][]{mainboxstyle,colback=notationcolor!5!white,colframe=notationcolor!75!black,colbacktitle=notationcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=notationcolor!75!black,fill=notationcolor!75!black] at (frame.north east) {\large Notation};},#1} overlay={\node[overlaystyle,draw=notationcolor!75!black,fill=notationcolor!75!black] at (frame.north east) {\large \namingTranslate{notation}};},#1}
\newtcolorbox{usage}[2][]{mainboxstyle,colback=usagecolor!5!white,colframe=usagecolor!75!black,colbacktitle=usagecolor!75!black,title={\large #2}, \newtcolorbox{usage}[2][]{mainboxstyle,colback=usagecolor!5!white,colframe=usagecolor!75!black,colbacktitle=usagecolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=usagecolor!75!black,fill=usagecolor!75!black] at (frame.north east) {\large \translate{Usage }{Nutzung }};},#1} overlay={\node[overlaystyle,draw=usagecolor!75!black,fill=usagecolor!75!black] at (frame.north east) {\large \namingTranslate{usage}};},#1}
% Task % Task
\newtcolorbox{task}[2][]{mainboxstyle,colback=taskcolor!5!white,colframe=taskcolor!75!black,colbacktitle=taskcolor!75!black,title={\large #2},overlay={\node[overlaystyle,draw=taskcolor!75!black,fill=taskcolor!75!black] at (frame.north east) {\large \translate{Task}{Aufgabe}};},#1} \newtcolorbox{task}[2][]{mainboxstyle,colback=taskcolor!5!white,colframe=taskcolor!75!black,colbacktitle=taskcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=taskcolor!75!black,fill=taskcolor!75!black] at (frame.north east) {\large \namingTranslate{task}};},#1}
% Proof % Proof
\newtcolorbox{proof}[2][]{mainboxstyle,colback=proofcolor!5!white,colframe=proofcolor!75!black,colbacktitle=proofcolor!75!black,title={\large #2},overlay={\node[overlaystyle,draw=proofcolor!75!black,fill=proofcolor!75!black] at (frame.north east) {\large \translate{Proof}{Beweis}};},#1} \newtcolorbox{proof}[2][]{mainboxstyle,colback=proofcolor!5!white,colframe=proofcolor!75!black,colbacktitle=proofcolor!75!black,title={\large #2},
overlay={\node[overlaystyle,draw=proofcolor!75!black,fill=proofcolor!75!black] at (frame.north east) {\large \namingTranslate{proof}};},#1}
% General % General
@@ -46,3 +48,14 @@
% Simple % Simple
\newtcolorbox{simplebox}[2][]{colback=#2!5!white,colframe=#2!75!black,#1} \newtcolorbox{simplebox}[2][]{colback=#2!5!white,colframe=#2!75!black,#1}
% Exam details
\newtcolorbox{examdetailsbox}[1][]{colback=BurntOrange!20!white,
width=0.5\linewidth,boxrule=0.1mm,arc=0.5mm,boxsep=1mm,left=0mm,right=0mm,top=0mm,bottom=0mm,#1}
\newenvironment{examdetails}{%
\begin{examdetailsbox}[]
\textbf{\translate{\atExamNamingEN}{\atExamNamingDE}:}%
}{%
\end{examdetailsbox}%
}
+99 -12
View File
@@ -3,33 +3,114 @@
"prefix": "latex-prepare", "prefix": "latex-prepare",
"body": [ "body": [
"\\documentclass{article}\n", "\\documentclass{article}\n",
"\\newcommand{\\input}{~/projects/latex/janishutz-helpers.tex}\n", "\\input{~/projects/latex/janishutz-helpers.tex}\n",
"\\usepackage{lmodern}", "\\usepackage{lmodern}",
"\\setFontType{sans}\n", "\\setFontType{sans}\n",
"\\setup{$1}\n", "\\setup{$1}\n",
"\\begin{document}", "\\begin{document}",
"\\startDocument\n\n", "\\startDocument\n\n",
"\\vspace{2cm}", "$2\n\n",
"\\begin{center}\n\n", "\\end{document}"
"\\includegraphics[width=0.6\\linewidth]{~/projects/latex/assets/logo.jpg}", ],
"description": "Prepares a simple LaTeX Document"
},
"LaTeX CheatSheet Setup": {
"prefix": "latex-cheatsheet",
"body": [
"\\documentclass{article}\n",
"\\input{~/projects/latex/janishutz-helpers.tex}\n",
"\\usepackage{lmodern}",
"\\setFontType{sans}\n",
"\\setupCheatSheet{$1}\n",
"\\begin{document}",
"\\startDocument\n",
"\\noverticalspacing\n\n",
"$2\n\n",
"\\end{document}"
],
"description": "Prepares to write a LaTeX CheatSheet"
},
"Full Summary LaTeX Setup": {
"prefix": "latex-summary",
"body": [
"\\documentclass{article}\n",
"\\PassOptionsToPackage{skip=2pt}{parskip}\n",
"\\input{~/projects/latex/janishutz-helpers.tex}\n",
"\\usepackage{lmodern}",
"\\setFontType{sans}\n",
"\\setup{$1}\n",
"\\begin{document}",
"\\startDocument\n",
"\\summaryspacing\n",
"\\vspace{1cm}",
"\\begin{center}",
"\t\\includegraphics[width=0.5\\linewidth]{~/projects/latex/assets/logo.jpg}",
"\\end{center}\n\n", "\\end{center}\n\n",
"\\vspace{3cm}", "\\vspace{2cm}",
"\\begin{center}", "\\begin{center}",
"\t\\begin{Large}", "\t\\begin{Large}",
"\t\t\\quote{A funny quote by a professor}", "\t\t\\quote{A funny quote by a professor}",
"\t\\end{Large}", "\t\\end{Large}\n",
"\\hspace{3cm} - Prof. Dr. Professor Name, YEAR", "\t\\hspace{3cm} - Prof. Dr. Professor Name, YEAR",
"\\end{center}\n", "\\end{center}\n",
"\\vspace{2cm}", "\\vspace{1.5cm}",
"\\begin{center}", "\\begin{center}",
"\tSEMESTER, ETHZ\\\\[0.2cm]", "\tSEMESTER, ETHZ\n",
"\t\\begin{Large}", "\t\\begin{Large}",
"\t\tSummary of the Script and Lectures", "\t\tSummary of the Script and Lectures",
"\t\\end{Large}\\\\[0.2cm]", "\t\\end{Large}",
"\\end{center}", "\\end{center}\n\n",
"\\newpage",
"\\printtoc{Aquamarine}\n\n",
"$2\n\n",
"\\end{document}" "\\end{document}"
], ],
"description": "Prepares a full LaTeX Document for use and compiling" "description": "Prepares a full LaTeX Summary"
},
"LaTeX Beamer Setup": {
"prefix": "latex-beamer",
"body": [
"\\documentclass{beamer}\n",
"\\input{~/projects/latex/janishutz-helpers.tex}\n",
"\\usepackage{lmodern}",
"\\setFontType{sans}\n",
"\\title{$1}",
"\\author{\\authorTitle}\n",
"\\usetheme{default}",
"\\usecolortheme{beaver}\n",
"\\AtBeginSection[]{",
"\t\\begin{frame}",
"\t\\frametitle{Table of Contents}",
"\t\\tableofcontents[currentsection]",
"\t\\end{frame}",
"}\n",
"\\begin{document}\n",
"\\frame{\\titlepage}\n\n",
"\\begin{frame}\n",
"\t\\frametitle{Table of Contents}",
"\t\\tableofcontents",
"\\end{frame}\n\n",
"\\begin{frame}\n",
"\t\\frametitle{$2}",
"\t$3",
"\\end{frame}\n\n",
"\\end{document}"
],
"description": "Prepares to write a LaTeX CheatSheet"
},
"glossary-entry": {
"prefix": "glossary-entry",
"body": [
"\\newglossaryentry{$1}{",
"\tname={$2},",
"\tdescription={$3}\n}"
]
},
"acronym": {
"prefix": "acronym",
"body": [
"\\newacronym{$1:id}{$2:abb}{$3:expanded}"
]
}, },
"Fancy table": { "Fancy table": {
"prefix": "table", "prefix": "table",
@@ -268,6 +349,12 @@
"\\langle $1 \\rangle" "\\langle $1 \\rangle"
] ]
}, },
"dblbrackets": {
"prefix": "dblbrackets",
"body": [
"\\llbracket $1 \\rrbracket"
]
},
"fill-width": { "fill-width": {
"prefix": "#fill", "prefix": "#fill",
"body": [ "body": [