3
$\begingroup$

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!

$\endgroup$
  • $\begingroup$ Not specially. One label is enough, but it should consist of several lines. Is that possible? $\endgroup$ – Gabriel Sep 14 '13 at 11:49
  • $\begingroup$ Ok. Now, then, is it possible to add multiple labels to one cell? Thanks for all help! $\endgroup$ – Gabriel Sep 14 '13 at 11:54
  • $\begingroup$ 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! $\endgroup$ – Gabriel Sep 14 '13 at 11:58
  • $\begingroup$ @Kuba: sorry for this: I totally forgot to cast votes. My bad :)! $\endgroup$ – Gabriel Sep 14 '13 at 12:14
  • $\begingroup$ @Kuba: Hm, yes, I'll try to classify my cells differently then! Thanks! $\endgroup$ – Gabriel Sep 14 '13 at 14:37
4
$\begingroup$

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.

$\endgroup$
  • 1
    $\begingroup$ Good to know, thanks ;) $\endgroup$ – Kuba Sep 14 '13 at 18:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.