3

Consider this equation:

first $\lceil (cN-n) |S_{n+1}|\rceil$ points

which renders to:

enter image description here

Is there a way to improve this, from the perspective of readability? The only improvement I could suggest is:

first $\lceil\, (cN-n) |S_{n+1}|\,\rceil$ points

which renders to:

enter image description here

I believe it would even better to read, if the interior of the ceiling would be shrinked only a bit, so the ceiling delimiters are a bit higher.

\documentclass{article}  
\begin{document}
first $\lceil\, (cN-n) |S_{n+1}|\,\rceil$ points
\end{document}

Edit: replaced minimal class with article, as suggested by egreg.

math
  • 3,135
  • 2
    I suggest scaling up the \_ceils and introducing a little space before the \rceil and in between ) and |. I'd omit extra spacing before ( because this glyph is already curved away from the \lceil a bit. first $\bigl\lceil (cN-n)\, |S_{n+1}| \,\bigr\rceil$ points. Consider reading chapter 18 of the TeXbook "Fine Points of Mathematics Typing". – Henri Menke Apr 09 '14 at 08:06
  • @HenriMenke, thanks, why not make this as an answer? – math Apr 09 '14 at 08:10
  • Done. I added some more words and an image of the output. – Henri Menke Apr 09 '14 at 08:41

1 Answers1

5

I suggest scaling up the \_ceils and introducing a little space before the \rceil and in between ) and |. I'd omit extra spacing before ( because this glyph is already curved away from the \lceil a bit.

\documentclass{article}  
\begin{document}
first $\bigl\lceil (cN-n)\, |S_{n+1}| \,\bigr\rceil$ points
\end{document}

enter image description here

Consider reading chapter 18 of the TeXbook, "Fine Points of Mathematics Typing". It is very eyeopening regarding how to type mathematical formulas in TeX. Also the author Donald E. Knuth is not only the author of TeX, but also a professional mathematician.

Henri Menke
  • 109,596
  • 1
    +1, but I would use \, xor \bigr, that is, not both. Please, avoid the minimal class, even if it's used in the question. – egreg Apr 09 '14 at 08:46
  • @egreg Why not \, and \bigr? Knuth also does this, e.g. in exercise 18.21. Sorry for the minimal class, I know not to use it, but copy-pasta was easier ;-) – Henri Menke Apr 09 '14 at 12:34
  • Exercise 18.21 is about a different situation: Knuth always uses a thin space after \{ and before \} when the set is described with a condition, as opposed to listing its elements. So the presence of \, is independent from the fact that another delimiter is next to the closing brace. In the present case, I find the thin space not necessary if \bigr\rceil is used, but it's just my opinion. – egreg Apr 09 '14 at 14:05