| bio | website | nobelprize.org |
|---|---|---|
| location | here | |
| age | 23 | |
| visits | member for | 2 years, 5 months |
| seen | Jul 15 '11 at 22:30 | |
| stats | profile views | 40 |
\documentclass{article}
\usepackage{listings,xcolor}
\usepackage[a4paper,margin=2cm]{geometry}
\lstset
{
language={[LaTeX]TeX},
frame=single,
breaklines=true,
basicstyle=\small\tt,
keywordstyle=\color{blue}\sf,
identifierstyle=\color{magenta},
commentstyle=\color{cyan},
backgroundcolor=\color{yellow!5}
}
\def\ImportAllSourceCodes
{%
\immediate\write18{cmd /c dir /b *.tex > \jobname-temp.txt}%
\newread\myfile
\openin\myfile=\jobname-temp.txt
\newcount\counter
\counter=0
\loop
\unless\ifeof\myfile
\read\myfile to\mydata
\advance \counter by 1
\repeat
\closein\myfile
\openin\myfile=\jobname-temp.txt
\advance \counter by -1
\loop
\ifnum \counter > 0
\read\myfile to\mydata
\section\mydata
\lstinputlisting{"\mydata"}\newpage
\advance \counter by -1
\repeat
\closein\myfile
}
\usepackage{hyperref}
\begin{document}
\ImportAllSourceCodes
\end{document}
This user has no recent positive reputation changes
|
|
TeX - LaTeX | 9,605 rep | 242134 |
|
|
Stack Overflow | 1,326 rep | 1035 |
|
|
English Language & Usage | 723 rep | 1615 |
|
|
Physics | 352 rep | 314 |
|
|
Super User | 332 rep | 310 |
This user has no active bounties
20 Votes Cast
| all time | by type | ||||
|---|---|---|---|---|---|
| 17 | up | 0 | question | ||
| 3 | down | 20 | answer | ||