The best way to fit ceramic tile around a door casing and jamb is to undercut the wood and then slip the tile underneath.
Place some cardboard on the floor to represent the thickness of the mortar that will eventually be on the backside of the tile. Put a piece of tile on top of the cardboard shape and cut away the bottom of the casing using a flush-cutting jamb saw. Next, repeat the same procedure for the door jamb.
It may be necessary to cut a notch in the tile which you can do by using a tile saw, a grinder equipped with a diamond blade or a pair of tile nippers. The notched tile will then slip easily through the jamb.
For the door casing, set a tile on top of the last full one, closest to the casing. Put a shim against the wall to compensate for the grout joint, then stack a third tile on top with one edge against the wall shim. Then trace the rear edge of that tile onto the one below. Now, put the second marked tile up to the wall and mark the edge of the casing. Cut away the waste material by using a tile saw grinder. You’ll be left with a tab that will slide up, underneath the casing.