-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
translate thermo-ensemble-trafos.(tex->typ) using cetz:0.2.2
bump site deps and pre-commit hooks, migrate eslint to v9 flat config
- Loading branch information
Showing
9 changed files
with
82 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#import "@preview/cetz:0.2.2" | ||
#import cetz.draw: line, content, set-style | ||
|
||
#let hd = 4 | ||
#let vd = 2 | ||
|
||
#cetz.canvas(length: 1cm, { | ||
set-style(content: (padding: .3)) | ||
content((0, 0), [$Z_m (E)$], name: "Zm") | ||
content((hd, 0), [$Z_c(beta)$], name: "Zc") | ||
content((2*hd, 0), [$Z_g(mu)$], name: "Zg") | ||
|
||
content((0, -vd), [$sigma = frac(S_m, N)$], name: "Sm") | ||
content((hd, -vd), [$f = frac(F, N)$], name: "F") | ||
content((2*hd, -vd), [$frac(Omega, V)$], name: "O") | ||
|
||
line("Zm", "Sm", mark: (end: ">"), name: "ZmSm") | ||
line("Zc", "F", mark: (end: ">"), name: "ZcF") | ||
line("Zg", "O", mark: (end: ">"), name: "ZgO") | ||
|
||
line("Zm", "Zc", mark: (end: ">"), name: "ZmZc") | ||
content(("Zm", 0.5, "Zc"), [Laplace in $E$], anchor: "north-west") | ||
|
||
line("Zc", "Zg", mark: (end: ">")) | ||
content(("Zc", 2, "Zg"), [Laplace in $N$], anchor: "north") | ||
|
||
line("Sm", "F", mark: (end: ">")) | ||
content(("Sm", 2, "F"), [Legendre in $epsilon = frac(E, N)$], anchor: "south") | ||
|
||
line("F", "O", mark: (end: ">")) | ||
content(("F", 2, "O"), [Legendre in $rho = frac(N, V)$], anchor: "south") | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import svelte from 'eslint-plugin-svelte' | ||
import tslint from 'typescript-eslint' | ||
|
||
/** @type { import("eslint").Linter.FlatConfig[] } */ | ||
export default [ | ||
...tslint.configs.recommended, | ||
...svelte.configs[`flat/recommended`], | ||
{ | ||
rules: { | ||
'@typescript-eslint/no-unused-vars': [ | ||
`error`, | ||
{ argsIgnorePattern: `^_`, varsIgnorePattern: `^_` }, | ||
], | ||
'@typescript-eslint/quotes': [`error`, `backtick`, { avoidEscape: true }], | ||
'svelte/no-at-html-tags': `off`, | ||
}, | ||
}, | ||
{ | ||
languageOptions: { ecmaVersion: 2020 }, | ||
}, | ||
{ | ||
files: [`**/*.svelte`], | ||
languageOptions: { | ||
parserOptions: { | ||
parser: tslint.parser, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ignores: [`build/`], | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters