Skip to content

Instantly share code, notes, and snippets.

View iwaokimura's full-sized avatar

Iwao Kimura iwaokimura

View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@iwaokimura
iwaokimura / cmd-sample.tex
Created May 26, 2017 09:34
control lualatex contents from command line
\documentclass[a4j,11pt]{ltjsarticle} %use lualatex.
\usepackage{luatexja}
\usepackage[ipa]{luatexja-preset}
\usepackage{ifthen}
\newboolean{withanswer}
\directlua{dofile("settorf.lua")} % lua function settorf()
\newcommand*{\settorf}{\directlua{settorf()}} % tex macro settorf
\settorf
@iwaokimura
iwaokimura / SMC-emacs-tramp.rst
Last active October 20, 2015 15:15
SageMathCloudにEmacsのtramp経由で接続し,ファイルの編集を行う

SageMathCloudにEmacsのtramp経由で接続し,ファイルの編集を行う

前提条件

SageMathCloud(以下SMCと略する)にアカウントを作ってある. 一つ以上のプロジェクトを作成している.SMCでは,プロジェクト毎に, そのプロジェクトをホストするLinux仮想マシンが割り当てられていることを理解している. また,手元にLinuxなどのUnix互換環境がある(少なくとも,SSH, emacsが使える環境がある).

@iwaokimura
iwaokimura / SMC-ssh.rst
Last active October 19, 2015 23:18
SageMathCloudにsshでログインする

SageMathCloudにSSHでログインする

前提条件

SageMathCloud(以下SMCと略する)にアカウントを作ってある.一つ以上のプロジェクトを作成している.SMCでは,プロジェクト毎に,そのプロジェクトをホストするLinux仮想マシンが割り当てられていることを理解している.また,手元にLinuxなどのUnix互換環境がある(少なくとも,SSHが使える環境がある).

ゴール