-
Exporting Org files as DocTeX
org-latex-export-as-doctex2e
org-latex-export-as-doctex3
Probably would be much easier to work with for large codebases.
-
ctan-upload.el
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
\DeclareObjectType { name } | |
{ | |
first : tokenlist , | |
middle : tokenlist , | |
last : tokenlist , | |
first : .required , | |
last : .required , | |
} |
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{mla} | |
\title{My Title} | |
\author{Lily Wolford} | |
\date{2 September 2014} | |
\class{Speech 103-03} | |
\professor{Dr. Melinda May} | |
% hyphenate right margin | |
\RaggedRight |
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
#!/usr/bin/env bash | |
# Usage: | |
# | |
# git-unite "User Name" "new@email.com" \ | |
# "old1@email.com" \ | |
# "old2@email.com" \ | |
# ... | |
name="$1" |
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
test | |
test | |
test |
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
// -*- compile-command: "g++ -std=c++0x main.cpp;./a.out" -*- | |
#include <iostream> | |
#include <thread> | |
#include <map> | |
#include <unistd.h> | |
typedef char status_t; | |
/** | |
* I know I'm not supposed to be using system, but I don't know what |
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{article} | |
\usepackage{xcolor,ifthen} | |
\newcounter{tmpcounter} | |
\newlength\cumlength | |
\newlength\critlength | |
\newlength\tmplength | |
\newcount\mynum | |
\newcount\myden | |
\makeatletter | |
\newcommand\FadeAfter[2]{\critlength=#1\relax\cumlength=0pt\relax% |
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
; (defface font-lock-warning-face | |
; '((t :inherit error)) | |
; "Font Lock mode face used to highlight warnings." | |
; :group 'font-lock-faces) | |
(defface my-code-section-face | |
'((t :inherit error)) | |
"Face used for comment guards") | |
(defun add-c-syntax-highlighting () | |
(font-lock-add-keywords nil '( |
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
(custom-set-variables | |
;; custom-set-variables was added by Custom. | |
;; If you edit it by hand, you could mess it up, so be careful. | |
;; Your init file should contain only one such instance. | |
;; If there is more than one, they won't work right. | |
'(ag-arguments (quote ("--skip-vcs-ignores" "--path-to-agignore=\"~/tcs/.agignore\"" "--line-number" "--smart-case" "--nogroup" "--column" "--"))) | |
'(ag-highlight-search t) | |
'(c-basic-offset (quote set-from-style)) | |
'(c-default-style (quote ((c-mode . "gd-ais") (c++-mode . "gd-ais") (java-mode . "java") (awk-mode . "awk") (other . "gnu")))) | |
'(c-mode-common-hook (quote (doxymacs-mode add-c-syntax-highlighting))) |