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
|
# cpssp package
# Matthew Bertucci 2/10/2022 for v1.0
#include:ifthen
#include:calc
#include:kvoptions
#include:tikz
# loads positioning and decorations.pathmorphing tikzlibraries
\cpsspformat{options%keyvals}
\cpsspinput{file}#i
\cpsspinput[options%keyvals]{file}#i
\begin{cpsspimage}{file}#i
\begin{cpsspimage}[options%keyvals]{file}#i
\end{cpsspimage}
#keyvals:\usepackage/cpssp#c,\cpsspformat,\cpsspinput,\begin{cpsspimage}
style=#small,large,graylines,pdb
labels#true,false
numbers#true,false
labelformat=%<font commands%>
numberformat=%<font commands%>
threehelixname=%<name%>
pihelixname=%<name%>
#endkeyvals
\cpsspGap{y}{x1}{x2}
\cpsspBridge{y}{x1}{x2}
\cpsspCoil{y}{x1}{x2}
\cpsspSheet{y}{x1}{x2}
\cpsspSheetT{y}{x1}{x2}
\cpsspThreeTenHelix{y}{x1}{x2}
\cpsspAlphaHelix{y}{x1}{x2}
\cpsspPiHelix{y}{x1}{x2}
\cpsspBend{y}{x1}{x2}
\cpsspTurn{y}{x1}{x2}
\cpsspLabel{y}{text}
\cpsspStartRes{y}{x}{text}
\cpsspEndRes{y}{x}{text}
CpsspColorX#B
CpsspColorB#B
CpsspColorC#B
CpsspColorE#B
CpsspColorG#B
CpsspColorH#B
CpsspColorI#B
CpsspColorS#B
CpsspColorT#B
CpsspColorPdbX#B
CpsspColorPdbB#B
CpsspColorPdbC#B
CpsspColorPdbE#B
CpsspColorPdbG#B
CpsspColorPdbH#B
CpsspColorPdbI#B
CpsspColorPdbS#B
CpsspColorPdbT#B
|