Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- an a4 paper
- _______________________________________________
- | _______________ |
- | | | |
- | desc | a figure | desc |
- | |_____________| |
- | _______________ |
- | | | |
- | desc | a figure | desc |
- | |_____________| |
- | _______________ |
- | | | |
- | desc | a figure | desc |
- | |_____________| |
- | _______________ |
- | | | |
- | desc | a figure | desc |
- | |_____________| |
- | 0 5 15 30 min |
- | |
- | Figure 1: A caption |
- | |
- | |
- | |
- |_____________________________________________|
- begin{tabularx}{textwidth}{XlMl}
- multicolumn{2}{p{.333textwidth}}{} \
- &Ip EphA2 Wb PTEN &includegraphics[width=4cm]{gfx/blots/test.png} & -- SI{100}{kilodalton} \
- end{tabularx}
- documentclass[11pt]{article}
- usepackage{blindtext}
- usepackage[]{auto-pst-pdf}
- usepackage{psfrag}
- begin{document}
- blindtext
- begin{figure}[bth]
- footnotesize
- psfragfig{gfx/test}
- caption{Some Blots.}
- label{fig:blot}
- end{figure}
- end{document}
- psfrag{1}[br]{IP EphA2 WB EphA2}
- psfrag{2}[br]{IP NHERF1 WB Cbl}
- psfrag{3}[br]{IP pPTEN WB pTyr}
- psfrag{4}[br]{IP EphA2 WB NHERF1}
- psfrag{a}[bl]{-- SI{110}{kilodalton}}
- psfrag{b}[bl]{-- SI{120}{kilodalton}}
- psfrag{c}[bl]{-- SI{130}{kilodalton}}
- psfrag{d}[bl]{-- SI{140}{kilodalton}}
- psfrag{w}[l]{0}
- psfrag{x}[l]{5}
- psfrag{y}[l]{15}
- psfrag{z}[l]{30}
- documentclass{scrartcl}
- usepackage{array}
- usepackage{showframe}
- usepackage{tabularx}
- usepackage{siunitx}
- usepackage{graphicx}
- newcolumntype{y}{>{centeringarraybackslash}X}
- newcolumntype{M}{>{centeringarraybackslash}m{4cm}}
- begin{document}
- begin{figure}
- centering
- begin{tabularx}{linewidth}{lMX}
- {begin{tabularx}{.333textwidth}{Xl}&Ip EphA2 Wb pPTEN\end{tabularx}}&includegraphics[width=4cm]{gfx/blots/test.png} &-- SI{110}{kilodalton} \
- &{begin{tabularx}{4cm}{yyyy}0 & 5 & 15 & 30end{tabularx}} & min \
- end{tabularx}
- caption{Some Blots}
- end{figure}
- end{document}
- documentclass[11pt]{scrartcl}
- usepackage{blindtext}
- usepackage{tabularx}
- usepackage{array}
- usepackage{multirow}
- usepackage{graphicx}
- usepackage{showframe}
- newcolumntype{y}{@{}>{centeringarraybackslash}X@{}}
- newcolumntype{M}{@{}>{centeringarraybackslash}m{4cm}@{}}
- begin{document}
- blindtext
- begin{figure}
- centering
- begin{tabular}{l@{ }M@{ }l}
- Ip EphA2 Wb PTEN &includegraphics[width=4cm]{gfx/blots/test.png} & -- SI{100}{kilodalton} \
- &{begin{tabularx}{4cm}{yyyy}
- 0 & 5 & 15 & 30
- end{tabularx}} & min \
- end{tabular}
- caption{Some Blots}
- label{fig:ppf}
- end{figure}
- end{document}
- documentclass{article}
- usepackage{graphicx}
- usepackage{array}
- usepackage{tabularx}
- newcolumntype{C}{%
- >{llapbgroup}c<{egrouphskip 1em}%
- @{}>{$vcenterbgrouphboxbgroup}c<{egroupegroup$}@{}
- >{hskip 1emhbox to 0ptbgroup}c<{egroup}%
- }%
- newcommand{myblotsize}{3cm} %devine blotsize
- newcommand{myblot}[1]{includegraphics[width=myblotsize]{#1}}
- newcolumntype{y}{%
- @{}>{$vcenterbgroupcenteringbgroup}X<{egroupegroup$}@{}
- }%
- newcommand{stimulation}[4]{%
- &begingroup
- begin{tabularx}{myblotsize}{yyyy}
- #1 & #2 & #3 & #4\
- end{tabularx}endgroup
- &min
- } %
- begin{document}
- begin{figure}
- small
- centering
- renewcommandarraystretch{2}
- begin{tabular}{C}
- IP EphA2 WB EphA2 &myblot{gfx/test} &-- 130 kDa \
- IP EphA2 WB pPTEN &myblot{gfx/test} &-- 54 kDa \
- IP EphA2 WB PTEN &myblot{gfx/test} &-- 54 kDA \
- IP EphA2 WB Cbl &myblot{gfx/test} &-- 118 kDa \
- stimulation{--}{5}{15}{30} end{tabular}
- caption{A caption}
- label{fig:figure1}
- end{figure}
- end{document}
- documentclass{article}
- newcommand{myblotsize}{4cm} %Change the width of all blots in the document here
- newcommand{myblottextsize}{scriptsize} %tiny, scriptsize, footnotesize, small, normalsize
- newlengthwidestLeftEntryLength %needed for left alignment of left describtion
- usepackage{graphicx}
- usepackage{array}
- usepackage{booktabs} %better management of spaze between rows
- usepackage{tabularx} %already loaded previously
- newcolumntype{C}{% blotcolumns centered on blot
- % >{llapbgroup}c<{hskip 1emegroup} %right alignment of left describtion ATTENTION to hskip 3.2 in last column
- @{}>{llapbgrouphbox to widestLeftEntryLengthbgroup}c<{hssegroupegroup}@{}%left alignment of left describtion
- @{}>{$vcenterbgrouphboxbgroup}c<{egroupegroup$}@{}
- @{}>{hskip 3.2pthbox to 0ptbgroup}c<{egroup}@{}%
- }%
- newcommand{myblot}[3]{#1&includegraphics[width=myblotsize,]{#2}&-- SI{#3}{kilodalton}\}
- newcolumntype{y}{%
- @{}>{$vcenterbgroupcenteringbgroup}X<{egroupegroup$}@{}
- }%
- newcommand{stimulation}[4]{%
- &begingroup
- begin{tabularx}{myblotsize}{yyyy}
- #1 & #2 & #3 & #4\
- end{tabularx}endgroup
- &min
- } %
- begin{document}
- centeringrule{myblotsize}{3pt} %test the horizontal alignment of the following table
- begin{figure}
- myblottextsize
- centering
- settowidthwidestLeftEntryLength{IP EphA2 WB pPTENhskip 3pt} %
- begin{tabular}{C}
- myblot{IP EphA2 WB EphA2}{gfx/test}{130}addlinespace
- myblot{IP EphA2 WB pPTEN}{gfx/test}{54}addlinespace
- myblot{IP EphA2 WB PTEN}{gfx/test}{54}addlinespace
- myblot{IP EphA2 WB Cbl}{gfx/test}{118}
- stimulation{--}{5}{15}{30}
- end{tabular}
- caption{A caption}
- label{fig:figure1}
- end{figure}
- end{document}
- documentclass{article}
- usepackage{graphics}
- newcommandmyincludegraphics[1]{%
- ensuremath{vcenter{hbox{includegraphics{#1}}}}%
- }
- begin{document}
- begin{figure}
- centering
- renewcommandarraystretch{3}
- begin{tabular}{rcl}
- description&myincludegraphics{gfx/test}&description\
- description&myincludegraphics{gfx/test}&description\
- description&myincludegraphics{gfx/test}&description\
- description&myincludegraphics{gfx/test}&description\
- &0hfill 5hfillhfill 15hfillhfillhfill 30&min
- end{tabular}
- caption{A caption}
- label{fig:figure}
- end{figure}
- end{document}
- documentclass{article}
- usepackage{graphicx}
- usepackage{array}
- newcolumntype{C}{%
- >{llapbgroup}c<{egroup}%
- >{$vcenterbgrouphboxbgroup}c<{egroupegroup$}
- >{hbox to 0ptbgroup}c<{egroup}%
- }%
- newcommandtimeline[1]{&multicolumn{1}{c}{#1}&min}
- begin{document}
- begin{figure}
- centering
- renewcommandarraystretch{3}
- begin{tabular}{C}
- description long&includegraphics{gfx/test}&desc\
- description&includegraphics{gfx/test}&description very very extremely long\
- description&includegraphics{gfx/test}&desc\
- description&includegraphics{gfx/test}&descript\
- timeline{0hfill 5hfillhfill 15hfillhfillhfill 30}
- end{tabular}
- caption{A caption}
- label{fig:figure1}
- end{figure}
- begin{figure}
- centering
- renewcommandarraystretch{3}
- begin{tabular}{C}
- description long&includegraphics{gfx/test}&desc\
- description very very extremely long&includegraphics{gfx/test}&desc\
- description&includegraphics{gfx/test}&desc\
- description&includegraphics{gfx/test}&descript\
- timeline{%
- makebox[0pt][c]{0}hfill
- makebox[0pt][c]{5}hfillhfill
- makebox[0pt][c]{15}hfillhfillhfill
- makebox[0pt][c]{30}}
- end{tabular}
- caption{A caption}
- label{fig:figure2}
- end{figure}
- end{document}
- documentclass{article}
- usepackage{graphicx}
- usepackage{array}
- newcolumntype{C}{%
- >{llapbgroup}c<{egrouphskip 1em}%
- @{}>{$vcenterbgrouphboxbgroup}c<{egroupegroup$}@{}
- >{hskip 1emhbox to 0ptbgroup}c<{egroup}%
- }%
- usepackage{etoolbox}
- newcommandtimeline[1]{%
- &multicolumn{1}{@{}c@{}}begingroup
- globalletdofirstT
- docsvlist{#1}%
- endgroup&min%
- }
- deffirstT#1{makebox[0pt][c]{#1}xdefpreviousT{#1}globalletdootherTs}
- defotherTs#1{%
- count0=#1relax advancecount0-previousTrelax
- loopifnumcount0>0 typeout{thecount0}advancecount0-1 hfillrepeat
- makebox[0pt][c]{#1}xdefpreviousT{#1}%
- }
- begin{document}
- begin{figure}
- centering
- renewcommandarraystretch{3}
- begin{tabular}{C}
- description long&includegraphics{gfx/test}&desc\
- description&includegraphics{gfx/test}&description very very extremely long\
- description&includegraphics{gfx/test}&desc\
- description&includegraphics{gfx/test}&descript\
- timeline{0,5,15,30}\
- timeline{0,10,20,30}\
- timeline{0,20,25,30}\
- end{tabular}
- caption{A caption}
- label{fig:figure1}
- end{figure}
- begin{figure}
- centering
- renewcommandarraystretch{3}
- begin{tabular}{C}
- description long&includegraphics{gfx/test}&desc\
- description very very extremely long&includegraphics{gfx/test}&description\
- description&includegraphics{gfx/test}&desc\
- description&includegraphics{gfx/test}&descript\
- timeline{0,2,4,6,8,10,20,30}
- end{tabular}
- caption{A caption}
- label{fig:figure1}
- end{figure}
- end{document}
- documentclass{article}
- usepackage{graphicx}
- usepackage{array}
- newlengthwidestLeftEntryLength
- newcolumntype{C}{%
- >{llapbgrouphbox to widestLeftEntryLengthbgroup}c<{hssegroupegrouphskip 1em}%
- @{}>{$vcenterbgrouphboxbgroup}c<{egroupegroup$}@{}
- >{hskip 1emhbox to 0ptbgroup}c<{egroup}%
- }%
- begin{document}
- begin{figure}
- centering
- renewcommandarraystretch{3}
- settowidthwidestLeftEntryLength{description very very extremely long}
- begin{tabular}{C}
- description long&includegraphics{gfx/test}&desc\
- description very very extremely long&includegraphics{gfx/test}&description\
- description&includegraphics{gfx/test}&desc\
- description&includegraphics{gfx/test}&descript\
- end{tabular}
- caption{A caption}
- label{fig:figure2}
- end{figure}
- end{document}
- useMPlibrary[dum] % For dummy figures
- startsetups table:align
- setupTABLE[frame=off]
- setupTABLE[column][1][align={flushright,lohi}]
- setupTABLE[column][2][align={middle,lohi}]
- setupTABLE[column][3][align={flushleft,lohi}]
- stopsetups
- starttext
- startTABLE[setups={table:align}]
- NC long desc NC externalfigure[dummy][width=3cm, height=3lineheight] NC desc NC NR
- NC desc NC externalfigure[dummy][width=3cm, height=3lineheight] NC desc NC NR
- NC desc NC externalfigure[dummy][width=3cm, height=3lineheight] NC desc NC NR
- NC desc NC externalfigure[dummy][width=3cm, height=3lineheight] NC long desc NC NR
- stopTABLE
- stoptext
- startsetups table:align
- setupTABLE[frame=off]
- setupTABLE[column][5][align={flushleft,lohi}]
- setupTABLE[column][6][align={middle,lohi}]
- setupTABLE[column][7][align={flushleft,lohi}]
- stopsetups
- startsetups table:align
- setupTABLE[frame=off]
- setupTABLE[column][9][align={flushright,lohi}, width=broad]
- setupTABLE[column][10][align={middle,lohi}, width=fit,]
- setupTABLE[column][11][align={flushleft,lohi}, width=broad]
- stopsetups
- startsetups table:align
- setupTABLE[frame=off]
- setupTABLE[column][13][align={flushright,broad,lohi}, width=broad]
- setupTABLE[column][14][align={middle,lohi}, width=fit,]
- setupTABLE[column][15][align={flushleft,lohi}, width=broad]
- stopsetups
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement