1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99:
| \documentclass[titlepage,a4paper,12pt]{scrartcl} \usepackage[latin1]{inputenc} \usepackage{ngerman} \usepackage{graphicx} \usepackage{tabularx} \usepackage[T1]{fontenc} \usepackage[scaled=0.9]{luximono}
\usepackage{listings}
\lstdefinelanguage[BenBE]{Delphi}% { otherkeywords={:,=,:=,+,-,*,\(,\),[,],.,\,,;}, morekeywords=[1]{},% morekeywords=[2]{and,as,asm,array,begin,case,class,const,constructor,% destructor,div,do,downto,else,end,except,exports,file,finally,% for,function,goto,if,implementation,in,inherited,inline,% initialization,interface,is,label,library,mod,nil,not,object,of,% or,packed,procedure,program,property,raise,record,repeat,set,% shl,shr,string,then,to,try,type,unit,until,uses,var,while,with,% xor,% absolute,abstract,assembler,at,cdecl,default,dynamic,export,% external,far,forward,index,name,near,nodefault,on,override,% private,protected,public,published,read,resident,storedDir,% virtual,write},% morekeywords=[3]{Abs,AddExitProc,Addr,AllocMem,AnsiCompareStr,% AnsiCompareText,AnsiLowerCase,AnsiUpperCase,Append,AppendStr,% ArcTan,AssignCrt,Assigned,AssignFile,BlockRead,BlockWrite,Break,% ChangeFileExt,ChDir,Chr,CloseFile,ClrEol,ClrScr,Concat,Continue,% Copy,Cos,CSeg,CursorTo,Date,DateTimeToFileDate,DateTimeToStr,% DateTimeToString,DateToStr,DayOfWeek,Dec,DecodeDate,DecodeTime,% Delete,DeleteFile,DiskFree,DiskSize,Dispose,DisposeStr,% DoneWinCrt,DSeg,EncodeDate,EncodeTime,Eof,Eoln,Erase,Exclude,% Exit,Exp,ExpandFileName,ExtractFileExt,ExtractFileName,% ExtractFilePath,FileAge,FileClose,FileDateToDateTime,FileExists,% FileGetAttr,FileGetDate,FileOpen,FilePos,FileRead,FileSearch,% FileSeek,FileSetAttr,FileSetDate,FileSize,FillChar,FindClose,% FindFirst,FindNext,FloatToDecimal,FloatToStrF,FloatToStr,% FloatToText,FloatToTextFmt,Flush,FmtLoadStr,FmtStr,Format,% FormatBuf,FormatDateTime,FormatFloat,Frac,Free,FreeMem,GetDir,% GetMem,GotoXY,Halt,Hi,High,Inc,Include,InitWinCrt,Insert,Int,% IntToHex,IntToStr,IOResult,IsValidIdent,KeyPressed,Length,Ln,Lo,% LoadStr,Low,LowerCase,MaxAvail,MemAvail,MkDir,Move,New,NewStr,% Now,Odd,Ofs,Ord,ParamCount,ParamStr,Pi,Pos,Pred,Ptr,Random,% Randomize,Read,ReadBuf,ReadKey,Readln,ReAllocMem,Rename,% RenameFile,Reset,Rewrite,RmDir,Round,RunError,ScrollTo,Seek,% SeekEof,SeekEoln,Seg,SetTextBuf,Sin,SizeOf,SPtr,Sqr,Sqrt,SSeg,% Str,StrCat,StrComp,StrCopy,StrDispose,StrECopy,StrEnd,StrFmt,% StrLCat,StrIComp,StrLComp,StrLCopy,StrLen,StrLFmt,StrLIComp,% StrLower,StrMove,StrNew,StrPas,StrPCopy,StrPos,StrScan,StrRScan,% StrToDate,StrToDateTime,StrToFloat,StrToInt,StrToIntDef,% StrToTime,StrUpper,Succ,Swap,TextToFloat,Time,TimeToStr,% TrackCursor,Trunc,Truncate,TypeInfo,TypeOf,UpCase,UpperCase,Val,WhereX,% WhereY,Write,WriteBuf,WriteChar,Writeln},% morekeywords=[4]{Byte,Word,LongWord,DWORD,smallInt,ShortInt,Integer,LongInt,% TDate,TDateTime,TTime,Textfile,ShortString,AnsiString,WideString,Pointer,% TObject,TClass,TTypeInfo},% sensitive=false,% alsoletter={+,-,*,/,.,:,=,<,>}, %,(,),[,],.,\,,:,;,^,@ morecomment=[s]{(*}{*)},% morecomment=[s]{\{}{\}},% morecomment=[l]{//},% 2001 Christian Gudrian morestring=[d]'% }[keywords,comments,strings]%
\lstloadlanguages{[BenBE]Delphi} \lstset{% tabsize=4, language=[BenBE]Delphi, defaultdialect=[BenBE]Delphi, basicstyle=\ttfamily, keywordstyle=[1]{\color{blue}}, keywordstyle=[2]{\color{red}\bfseries}, keywordstyle=[3]{\color[rgb]{0.1,0.1,0.1}}, keywordstyle=[4]{\color[rgb]{0.2,0.2,0.2}}, stringstyle=\color{magenta}, commentstyle=\color[rgb]{0.0,0.0,0.25}\textit }
%Verlinkung im PDF \usepackage{color,hyperref} \hypersetup{% colorlinks=true, linkcolor=black, anchorcolor=black, citecolor=black, filecolor=black, menucolor=black, urlcolor=blue, linktocpage=true, pdfpagemode=UseThumbs, bookmarksopen=true, bookmarksnumbered=true, pdfstartpage={1}, pdfkeywords={}, pdfcreator={Benny Baumann}, pdfproducer={Benny Baumann} } |