INVERSION

Change of word order

No sooner .... than... Hardly/scarcely ...when

No sooner had I reached the door, than I realised that it was locked.
Hardly/Scarcely had the train left the station, when there was an explosion.

At no time, in now way, on no account, on no condition, under no circumstances

On no condition are they to open fire without a warning.

so/such

So devastating were the floods that some areas may never recover.
Such was the force of the storm that trees were uprooted.

Never before, rarely, seldom

Seldom has the team given a worse performance.
Rarely have I had so much responsibility.

Change of word order + auxiliary verb

Not only....but also...

Not only does he play the guitar but he also has a charming voice.

Little...

Little *did the king realise* what the consequences of the war would be.

Not until....
Only when...
(Inversion in the second part)

Not until I got home did I notice that I had the wrong umbrella.

In conditional sentences

If they were to escape, there would be an outcry. ----> Were they to escape, there would be an outcry.

If the police had found out, I would have been in trouble. ----> Were the police to have found out, I would have been in trouble.

If you should hear anything, let me know. ----> Should you hear anything, let me know.

If I had known, I would have protested strongly. ----> Had I known, I would have protested strongly.