Received 4 January 2010
In the title salt, C6H9N2+·C7H4NO4-, the nitro group of the 4-nitrobenzoate anion is twisted by 7.66 (10)° from the attached ring. In the crystal structure, the 2-amino-4-methylpyridinium cations and 4-nitrobenzoate anions are linked via a pair of N-HO hydrogen bonds to form a ribbon-like structure along the c axis. The ribbons are crosslinked into a three-dimensional framework by C-HO hydrogen bonds.
For substituted pyridines, see: Pozharski et al. (1997); Katritzky et al. (1996). For bond-length data, see: Allen et al. (1987). For details of hydrogen bonding, see: Jeffrey & Saenger (1991); Jeffrey (1997); Scheiner (1997). For hydrogen-bond motifs, see: Bernstein et al. (1995). For the stability of the temperature controller used in the data collection, see: Cosier & Glazer (1986).
Data collection: APEX2 (Bruker, 2009); cell refinement: SAINT (Bruker, 2009); data reduction: SAINT; program(s) used to solve structure: SHELXS97 (Sheldrick, 2008); program(s) used to refine structure: SHELXL97 (Sheldrick, 2008); molecular graphics: SHELXTL (Sheldrick, 2008); software used to prepare material for publication: SHELXTL and PLATON (Spek, 2009).
Supplementary data and figures for this paper are available from the IUCr electronic archives (Reference: CI5013 ).
MH and H-KF thank the Malaysian Government and Universiti Sains Malaysia for the Research University Golden Goose grant No. 1001/PFIZIK/811012. MH thanks Universiti Sains Malaysia for a post-doctoral research fellowship.
Allen, F. H., Kennard, O., Watson, D. G., Brammer, L., Orpen, A. G. & Taylor, R. (1987). J. Chem. Soc. Perkin Trans. 2, pp. S1-19.
Bernstein, J., Davis, R. E., Shimoni, L. & Chang, N.-L. (1995). Angew. Chem. Int. Ed. Engl. 34, 1555-1573.
Bruker (2009). APEX2, SAINT and SADABS. Bruker AXS Inc., Madison, Wisconsin, USA.
Cosier, J. & Glazer, A. M. (1986). J. Appl. Cryst. 19, 105-107.
Jeffrey, G. A. (1997). An Introduction to Hydrogen Bonding. Oxford University Press.
Jeffrey, G. A. & Saenger, W. (1991). Hydrogen Bonding in Biological Structures. Berlin: Springer.
Katritzky, A. R., Rees, C. W. & Scriven, E. F. V. (1996). Comprehensive Heterocyclic Chemistry II. Oxford: Pergamon Press.
Pozharski, A. F., Soldatenkov, A. T. & Katritzky, A. R. (1997). Heterocycles in Life and Society. New York: Wiley.
Scheiner, S. (1997). Hydrogen Bonding, A Theoretical Perspective. Oxford University Press.
Sheldrick, G. M. (2008). Acta Cryst. A64, 112-122.
Spek, A. L. (2009). Acta Cryst. D65, 148-155.