-
traditionalBuilder.py
DEFAULT_COMMAND_LATEXMK = ["latexmk", "-cd", - "-e", "$pdflatex = '%E -interaction=nonstopmode -synctex=1 %S %O'", + "-e", "$pdflatex='%E -interaction=nonstopmode -shell-escape -synctex=1 %S %O'", "-f", "-pdf"]
-
latexmk-with-shell-escape.bat
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
import java.math.BigInteger | |
import java.security.MessageDigest | |
fun String.md5(): String { | |
val md = MessageDigest.getInstance("MD5") | |
return BigInteger(1, md.digest(toByteArray())).toString(16).padStart(32, '0') | |
} |
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
<pre><code class="c">Block 1</code></pre> | |
<pre><code class="nohighlight">Block 2: The style of this block is different from Block 1.</code></pre> | |
<pre><code class="language-plain">Block 3: The style is the same with Block 1! :)</code></pre> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script> | |
<!-- ... load another languages ... --> | |
<script> | |
hljs.registerLanguage('plain', function(hljs) { | |
return { case_insensitive: true, keywords: '', contains: [] }; | |
}); |
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
# usage: | |
# | |
# ``` | |
# md = new Remarkable() | |
# md.use remarkableMath() | |
# parsedText = md.render text | |
# ``` | |
remarkableMath = -> | |
parser = (state, silent) -> |
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
; variables | |
; TODO: | |
; Variables should be at the very top of the script, before any hotkeys. | |
; Use `gosub` or something else and wrap in the windows size block | |
narrowWidth := 2 / 5 | |
normalWidth := 1 / 2 | |
wideWidth := 1 - narrowWidth | |
; Volume |
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
% close pool of parallel computation | |
if matlabpool('size') > 0 | |
matlabpool close; | |
end |
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
uadArray RockingChair = new QuadArray( | |
myCoords.length, GeometryArray.COORDINATES | | |
GeometryArray.TEXTURE_COORDINATE_2 ); | |
myQuads.setCoordinates( 0, 180 ); | |
myQuads.setTurn( 0, myNormals ); | |
myQuads.setTurnaround( 180, 0 ); | |
myTrans.set( new Vector3f( 0, 180, 0.5f ) ); | |
myTA.setBringback( RockingChair ); | |
Alpha RandC = new RandC( ); |
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
\documentclass[a4paper]{article} | |
% XeTeX 관련 ================================================================= | |
% xltxtra Package가 fontspec을 부를 때 no-math 옵션을 주어 수식엔 영향을 주지 않게 함. | |
\PassOptionsToPackage{no-math}{fontspec} | |
\usepackage{xltxtra} | |
% Western과 CJK에 다른 글꼴을 사용하기 위한 패키지 | |
\usepackage{xeCJK} |
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
%!TEX program = pdflatex | |
% -*- coding: utf-8 -*- | |
\documentclass[a4paper]{article} | |
% ko.TeX | |
\PassOptionsToPackage{no-math}{fontspec} | |
\usepackage{kotex} | |
\usepackage{iftex} |
NewerOlder