what size brackets for shelf
A bookshelf should be at least 9 inches wide. Allow 11 inches for magazines. The length will be determined by the wall's size and the number of shelf supports that you can install. Generally 3/4-inch thick shelves should be supported every 32 inches with a bracket (the shelves can overhang the supports by 6 inches). You can buy ready-made shelves at home centers.