So, seizing a candle, he looked about for his gold-laced cap, and found it lying in its usual place, on a console-table, in the anteroom, placed before a mirror at which Jos used to coquet, always giving his side-locks a twirl, and his cap the proper cock over his eye, before he went forth to make appearance in public. Such is the force of habit, that even in the midst of his terror he began mechanically to twiddle with his hair, and arrange the cock of his hat. 
So, seizing a candle, he put on his gold-laced cap: such is the force of habit, that even in his terror he began mechanically to twiddle with his hair, and arrange his hat. 