3

Is it possible to add a CellLabel over multiple lines? When trying the code

SetOptions[ NotebookSelect[mb], CellLabel-> Column@{"line 1", "line 2"} ]

with a Cell selected in the mb Notebook, nothing shows up. What's the solution for this?

Thanks all!

Gabriel
  • 1,877
  • 12
  • 22
  • Not specially. One label is enough, but it should consist of several lines. Is that possible? – Gabriel Sep 14 '13 at 11:49
  • Ok. Now, then, is it possible to add multiple labels to one cell? Thanks for all help! – Gabriel Sep 14 '13 at 11:54
  • I'd like a cell to have a name with a number, for example "Cell 1.", "Cell 2." etc. But also, each cell should have a maximal mark sign, for example " \ 4" or "\ 10", different with each cell. These two lines of text should appear with each cell. Do you think that's possible? Thanks! – Gabriel Sep 14 '13 at 11:58
  • @Kuba: sorry for this: I totally forgot to cast votes. My bad :)! – Gabriel Sep 14 '13 at 12:14
  • @Kuba: Hm, yes, I'll try to classify my cells differently then! Thanks! – Gabriel Sep 14 '13 at 14:37

1 Answers1

4

You can use any formatting in cell dingbats. Try

Cell["A cell with a dingbat", "Text",
 CellDingbat->StyleBox["Emulated\nLabel","CellLabel"]]

See if you can tell it from a real one.

panda-34
  • 1,268
  • 7
  • 8