ItemSize
✖
ItemSize
Details


- Typical basic settings include:
-
Automatic separately size items to fit within the total formatting width All make all items the same width and height Full allow every item its full width and height w give all items width w Scaled[s] give all items a fraction s of the total formatting width {w,h} make all items the specified width and height - In Grid, w is measured in ems, and h in line heights.
- The settings for ItemSize can be given as follows to apply separately to different items:
-
spec apply spec to all items {specx} apply specx at successive horizontal positions {specx,specy} apply speck at successive horizontal and vertical positions {specx,specy,rules} also allow explicit rules for individual i,j elements - The speck can have the following forms:
-
{s1,s2,…,sn} use s1 through sn; then use defaults {{c}} use c in all cases {{c1,c2}} alternate between c1 and c2 {{c1,c2,…}} cycle through all ci {s,{c}} use s, then repeatedly use c {s1,{c},sn} use s1, then repeatedly use c, but use sn at the end {s1,s2,…,{c1,c2,…},sm,…,sn} use the first sequence of si at the beginning, then cyclically use the ci, then use the last sequence of si at the end {s1,s2,…,{},sm,…,sn} use the first sequence of si at the beginning and the last sequence at the end {i1->v1,i2->v2,…} specify what to use at positions ik {spec,rules} use rules to override specifications in spec
Examples
open allclose allBasic Examples (3)Summary of the most common use cases
Make each item a fixed number of character widths wide:

https://wolfram.com/xid/0j43oug6-wjgp5y

Make each column a fraction of the document width:

https://wolfram.com/xid/0j43oug6-svsmhb

ItemSize->Automatic line-wraps textual elements at the page width:

https://wolfram.com/xid/0j43oug6-jqh95g

Scope (4)Survey of the scope of standard use cases
Leave the same amount of space for all items:

https://wolfram.com/xid/0j43oug6-c0e4l

Draw items big enough to fit all contents without line breaks:

https://wolfram.com/xid/0j43oug6-g1afwu

Set a minimum height for all items:

https://wolfram.com/xid/0j43oug6-2htlm6

Set the third element of the second column to be 6 ems by 2 line heights:

https://wolfram.com/xid/0j43oug6-b8qp50

Properties & Relations (2)Properties of the function, and connections to other functions
Wolfram Research (2007), ItemSize, Wolfram Language function, https://reference.wolfram.com/language/ref/ItemSize.html.
Text
Wolfram Research (2007), ItemSize, Wolfram Language function, https://reference.wolfram.com/language/ref/ItemSize.html.
Wolfram Research (2007), ItemSize, Wolfram Language function, https://reference.wolfram.com/language/ref/ItemSize.html.
CMS
Wolfram Language. 2007. "ItemSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ItemSize.html.
Wolfram Language. 2007. "ItemSize." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/ItemSize.html.
APA
Wolfram Language. (2007). ItemSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ItemSize.html
Wolfram Language. (2007). ItemSize. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ItemSize.html
BibTeX
@misc{reference.wolfram_2025_itemsize, author="Wolfram Research", title="{ItemSize}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/ItemSize.html}", note=[Accessed: 08-March-2025
]}
BibLaTeX
@online{reference.wolfram_2025_itemsize, organization={Wolfram Research}, title={ItemSize}, year={2007}, url={https://reference.wolfram.com/language/ref/ItemSize.html}, note=[Accessed: 08-March-2025
]}