Commit 9bd33f82 authored by Turnhout, M.C. van's avatar Turnhout, M.C. van
Browse files

moved to stexmf

parent e392b03e
\lstset{ %
language = Octave, % choose the language of the code
basicstyle = \footnotesize\ttfamily, % the size of the fonts that are used for the code
numbers = left, % where to put the line-numbers
numberstyle = \footnotesize, % the size of the fonts that are used for the line-numbers
stepnumber = 1, % the step between two line-numbers. If it's 1 each line will be numbered
numbersep = 15pt, % how far the line-numbers are from the code
backgroundcolor = \color[rgb]{0.95,0.95,0.95}, % choose the background color. You must add \usepackage{color}
showspaces = false, % show spaces adding particular underscores
showstringspaces = false, % underline spaces within strings
showtabs = false, % show tabs within strings adding particular underscores
frameround = fttt, % rounded frame corners
frame = trBL, % adds a frame around the code
tabsize = 2, % sets default tabsize to 2 spaces
captionpos = b, % sets the caption-position to bottom
breaklines = true, % sets automatic line breaking
breakatwhitespace = false, % sets if automatic breaks should only happen at whitespace
title = \lstname, % show the filename of files included with \lstinputlisting;
% also try caption instead of title
captionpos = t, % sets the caption-position to top
escapeinside = {\%*}{*)}, % if you want to add a comment within your code
%morekeywords = {*,...}, % if you want to add more keywords to the set
commentstyle = \color{green},
stringstyle = \color{red},
keywordstyle = \color{blue},
abovecaptionskip=0pt,
belowcaptionskip=0pt,
caption={}}
\lst@definelanguage{mlfem}
{alsolanguage = Octave,
classoffset=0,
morekeywords = {clearvars,function,end,unique,numel},
%keywordsprefix = {mat.},
classoffset=1,
morekeywords={coord, top, pos, dest, nodfrc, bndcnd,inode,ielem,maxnodelm,iimat,iitype, mat,types,idof,ibnd,bndcon,nodfrc,sol,points,curves,subarea,usercurves,userpoints,
usersurfaces,itime,norder,istat,ntime,dt,theta,ietype, nincr, newtoptions,solinc,itype,
qe, qem, qme, qke, rhse, qde, qed,soln},
keywordstyle=\color{orange},
classoffset=2,
morekeywords={startup_nac,
elembld, % elemfnct
elemdrv,
eleminfo,
elemshp,
defdi, % elmlib
elcd_a,
elcd_i,
elcd,
elcd_s,
elcdu_i,
elcdu,
elcdu_s,
elchypo_i,
elchypo,
elchypo_s,
elcneofib_D,
elcneofib_i,
elcneofib,
elcneofib_s,
elcneo_i,
elcneo,
elcneo_s,
elcneotot_i,
elcneotot,
elcneotot_s,
ele_d,
elefib_d,
elefib_i,
elefib,
elefib_s,
ele_i,
ele,
eler_d,
eler_i,
eler,
eler_s,
ele_s,
elineo_i,
elineo,
elineo_s,
elm1dcd_d,
elm1dcd_i,
elm1dcd,
elm1dcd_s,
elm1d_c,
elm1d_d,
elm1d_i,
elm1d,
elm1d_s,
elme_d,
elme_i,
elme,
elme_s,
elneo_i,
elneo,
elneo_s,
elsf_d,
elsf_i,
elsf,
elsf_s,
elucm_i,
elucm,
elucm_s,
elup_d,
elup_i,
elup,
elup_s,
elu_s,
int2elm_e,
int2elm,
int2elmq,
addmesh, % guilib
colegend,
crsshair,
defbndc,
defline,
getcurpt,
getline,
gtbox,
gtinpoly,
gtline,
gtnodcrv,
gtnodelm,
gtnods,
gtpnts,
gtrect,
inside,
isinpoly,
line2pnt,
polyhit,
pzoom,
rmlines,
rmlnpoly,
zoomsurf,
fem1dcd, % main
fem1d,
femlin_cd,
femlin_e,
femlin,
femnl,
femnlt,
areabndcon, % mesh
avnod,
bndconsp,
crmesh_arcfea,
crmesh_arcfe,
crmesh_arc,
crmesharc,
crmesh_area,
crmesh,
getarcs,
innmdxdy,
mcrmesh,
mk3dmesh,
mspbndcon,
plmesh3d,
pointonarc,
repos,
spbndcon,
spcoord,
spmesharc,
spmesh,
trimesh,
trimeshq,
blmesh2d, % meshlib
cleancrd,
meshgen,
meshmk,
addbndc, % meshpde
contraction2,
contraction_b,
contraction_coarse,
contraction,
crackg,
defbndcon,
defgeomd_coarse,
defgeomd_ext,
defgeomd,
defgeom,
defgeom_xyz,
defmesh,
elembld,
elemdrv,
eleminfo,
elemshp,
examples,
genmesh,
refinepoly,
segline,
segmentline,
transmesh_crv,
transmesh,
transmesh_nodpot,
transmesh_start,
user_def_crack,
user_def_curve,
user_def_polygon,
xonarc,
count, % misclib
findcomm,
in,
iscolumnold,
isintegerold,
lump,
reverse,
rowsum,
unblank,
arcl, % plib
arrow,
cnt,
cntr,
coelmdat,
coleg,
conoddat,
covalues,
gplot3,
gplotm,
mcc_conoddat,
mvnoddat,
mvvec,
plarrow3,
plarrow,
plbndc,
plbound,
pldisp,
pldofnum,
pldot,
plelem,
plelgrp,
plelmdat,
plelnum,
plmesh,
plnoddat,
plnodes,
plnodnum,
plnodvec,
plqarrow,
plqarrw3,
plstress,
plusrcrv,
plusrpts,
plvec,
top2grph,
co2pnt, % postlib
dispcrd,
elm2nod,
elm2pnt,
line2elm,
line2sol,
nod2pnt,
plelmco,
princstr,
sol2elm,
sol2nod,
sol2pnt,
gaussl, % shlib
gauss,
gausstri,
getderiv,
qbrick14,
qbrick6,
shape,
shbrck20,
shbrick8,
shbrickv,
shline2,
shline3,
shquad4,
shquad4p1,
shquad5,
shquad8,
shquad9,
shquadv,
shtri3g,
shtri3,
shtri4g,
shtri4,
shtri6g,
shtri6,
shtri7g,
shtri7,
addlag,
addlagn, % sollib
lanczos,
mlbicgstab,
powerit,
soldyn1i,
soldyn2i,
sollag,
sollagn,
solmodal,
solvestat_lu,
solvestat,
chkstream, % stream
crvstream,
elmstream,
elmstr,
femgetstream,
gtstream,
mcc_gtstream,
mvstream,
assemble, % syslib
equatdrv,
equatnr,
gen_elem,
indexbnd,
mkvec,
sysbuild,
sysdrv,
sysinfo,
syslstat,
sysnewt,
findelem, %utlib
inpoly,
nodpot,
plpoly,
polyedge,
solelm,
stminmax,
toppot,
view3d},
keywordstyle=\color{cyan}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment