<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>stack -- join nets or string vertically</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_unstack.html">next</a> | <a href="_horizontal__Join.html">previous</a> | <a href="_unstack.html">forward</a> | <a href="_horizontal__Join.html">backward</a> | <a href="_strings_spand_spnets.html">up</a> | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <div><a href="index.html" title="">Macaulay2Doc</a> > <a href="___The_sp__Macaulay2_splanguage.html" title="">The Macaulay2 language</a> > <a href="_strings_spand_spnets.html" title="">strings and nets</a> > <a href="_stack.html" title="join nets or string vertically">stack</a></div> <hr/> <div><h1>stack -- join nets or string vertically</h1> <div class="single"><h2>Description</h2> <div><tt>stack(m,n,...)</tt> -- joins nets or strings by concatenating them vertically. The baseline of the result is the baseline of the first argument.<p/> Nested sequences among the arguments are first spliced together.<p/> If there are no arguments, then the net returned has zero height and zero depth. This might be unexpected.<p/> Tab characters in any of the strings are first expanded into spaces, assuming tab stops at every eighth column.<p/> Null arguments are allowed and ignored.</div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="___Net_sp_vb_vb_sp__Net.html" title="join nets or strings vertically">Net || Net</a> -- join nets or strings vertically</span></li> </ul> </div> <div class="waystouse"><h2>Ways to use <tt>stack</tt> :</h2> <ul><li>stack(BasicList)</li> </ul> </div> </div> </body> </html>