Skip to content

Instantly share code, notes, and snippets.

i override the label of the description environment
\renewcommand{\descriptionlabel}[1]{\hspace*{\labelsep}%
\bfseries\spacedsmallcaps{#1}}
\spacedsmallcaps is from me
\DeclareRobustCommand{\spacedsmallcaps}[1]{\lowsmallcapsspacing{#1}}
all works fine, except for this item:
\item[\textcolor{bl}{Contribution}]
map <F3> :call Reformat("xml")<CR>
function! Reformat(type)
let f=a:type
%! tidy -q -i -f %
endfunction
| B | C
A | D
| E
\newcommand{\bosie}[1]{\cmidrule[\heavyrulewidth]{#1}}
used:
1 & 2 & 3 & 4 \\ \bosie{1-2} \bosie{4-4}
results:
1 & 2 & 3 & 4
_____
___
\documentclass{article}
\usepackage{siunitx}
\usepackage{etoolbox}
\usepackage{color}
\robustify\bfseries
\begin{document}
\sisetup{
retain-explicit-plus,
detect-all = true
\documentclass{article}
\usepackage{siunitx}
\usepackage{etoolbox}
\robustify\bfseries
\begin{document}
\sisetup{
retain-explicit-plus,
detect-all = true
}
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010) (format=pdflatex 2011.2.13) 25 APR 2011 12:27
entering extended mode
restricted \write18 enabled.
%&-line parsing enabled.
**thesis.tex
(./thesis.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, ancientgreek, ibycus, arabic, armenian
, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danish, dutch, u
1 |
2 | 4
3 |
library(maptools)
gpclibPermit()
load("worldmap.rdata")
library(ggplot2)
Sys.setlocale("LC_ALL", locale = "C")
world.ggmap <- fortify(world.map, region = "NAME")
elect.gen.tot = read.csv("world_counted.txt",sep=",", dec=".")
names(elect.gen.tot) <- c("id", "y2007","foo")
elect.gen.tot$id <- tolower(elect.gen.tot$id)
world.ggmap$id <- tolower(world.ggmap$id)
Exception in thread "main" java.io.FileNotFoundException: Could not locate clojure/contrib/seq_utils__init.class or clojure/contrib/seq_utils.clj on classpath: (test.clj:0)