For example, we use pp. 4-7 for pages from 4 to 7 and ch. 2 for chapter 2, but how should we cite a subsection of a book when a chapter is divided into multiple subsections, e.g. 2.1, 2.2, ... in a way that's compatible with IEEE writing style?
how should we cite a subsection of a book when a chapter is divided into multiple subsections, e.g. 2.1, 2.2, ...
Rather than citing the entire book, e.g., , you can cite a particular subsection, e.g., [§2.1, 1], [§2.2, 1], ..., meaning section 2.1, 2.1, ... of . With Latex, you can use
Going by this description of the IEEE citation style, you would just cite the page range, like this:
Chapter in book
 L. Stein, “Random patterns,” in Computers and You, J. S. Brake, Ed. New York: Wiley, 1994, pp. 55-70.
It doesn't seem to be necessary to give the exact chapter/section number.