Tailoring the self-assembly of linear alkyl chains for the design of advanced materials with technological applications.