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
% -*- coding: euc-jp -*- | |
\documentclass[10pt,draft]{jsarticle} | |
%\usepackage{amsmath,amssymb} | |
%\usepackage{kmathmacro} | |
%\usepackage{etex} | |
%\usepackage{etoolbox} | |
\makeatletter |
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
% -*- coding: utf-8 -*- | |
\documentclass[10pt,draft]{jsarticle} | |
%\usepackage{amsmath,amssymb} | |
%\usepackage{kmathmacro} | |
%\usepackage{etex} | |
%\usepackage{etoolbox} | |
\makeatletter |
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
% -*- coding: utf-8 -*- | |
\documentclass[10pt,draft]{jsarticle} | |
%\usepackage{amsmath,amssymb} | |
%\usepackage{kmathmacro} | |
%\usepackage{etex} | |
%\usepackage{etoolbox} | |
\makeatletter |
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
; -*- coding: euc-jp -*- | |
; こういうコードを TeX で書きたい. (TeX に移植するので Lisp としては少し不自然.) | |
(use srfi-1) | |
(use srfi-11) | |
(use srfi-13) | |
(define (diagmatrix ufill lfill diagonals) | |
(define (dots? str) |
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
% -*- coding: euc-jp -*- | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% math abbreviation | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
\generatemacros@abbrevdef{ideal}{\@tmpa}{\noexpand\frk{\@tmpa}} | |
\addabbrev@ideal{p,q,a,b,c,d,m} | |
\generatemacros@abbrevdef{sh}{\@tmpa}{\noexpand\mathfont@sheaf{\@tmpa}} |
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
(defsubst my:advice-enabled-p (func class name) | |
"[internal] Return t (resp. nil) if advice NAME of FUNC is enabled (resp. disabled)." | |
(not (not (ad-advice-enabled (ad-find-advice func class name))))) | |
(defmacro my:with-advice (enable-or-disable func class name &rest body) | |
"[internal] Evaluate BODY with NAME enabled/disabled." | |
(declare (indent 4)) | |
(let ((enabled | |
(pcase enable-or-disable | |
(`'enable t) |
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
typeset -A myabbrev | |
myabbrev=( | |
"DN" "&> /dev/null" | |
"L" "| $PAGER " | |
"G" "| grep " | |
"S" "| sed '_|_'" | |
"R" " rm " | |
"M" " mkdir " | |
"C" " cat " | |
"TX" " tar -xvzf " |
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
;;; erfi-srfi-1.el --- SRFI-1 -*- lexical-binding: t -*- | |
;; Copyright (C) 2014 Ken Okada | |
;; Author: Ken Okada <[email protected]> | |
;; Keywords: extensions, lisp | |
;; URL: https://github.com/kenoss/erfi | |
;; Package-Requires: ((emacs "24")) | |
;; Apache License, Version 2.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
;;; init-powerline.el --- conifg of powerline.el -*- coding: utf-8; lexical-binding: t -*- | |
;; Copyright (C) 2014 Ken Okada | |
;; Author: Ken Okada <[email protected]> | |
;; Apache License, Version 2.0 | |
;;; Commentary: |
OlderNewer