As thousands of people gathered here to demand an arrest in the Trayvon Martin case, a more complicated portrait began to emerge of a teenager whose problems at school ranged from getting spotted defacing lockers to getting caught with a marijuana baggie and women’s jewelry.

The Miami Gardens teen who has become a national symbol of racial injustice was suspended three times, and had a spotty school record that his family’s attorneys say is irrelevant to the facts that led up to his being gunned down on Feb. 26.

In October, a school police investigator said he saw Trayvon on the school surveillance camera in an unauthorized area “hiding and being suspicious.” Then he said he saw Trayvon mark up a door with “W.T.F” — an acronym for “what the f---.” The officer said he found Trayvon the next day and went through his book bag in search of the graffiti marker.