In the library, there are some ways to make people you don't like not sit next to you. It's easier if you don't know the people you hate. Then you can just tell him that the seat next to you is occupied by someone else and let him sit next door.
Or, if you don't know someone, you can put your book or schoolbag next door and use it to occupy the space. A stranger, I think he will never ask you to take your schoolbag and give him this seat.
But if you know this annoying person, you are in trouble. Of course, you can use one of the methods mentioned above, but when someone you hate does it, you can tell him that you have an appointment and the position has been taken. ?
If this doesn't work, I can I think you can be flexible. When you see him and he doesn't see you, you can leave first, and you can find a seat on other floors. This can avoid embarrassment, so that he won't sit next to you, and you can achieve the effect you want. This is also a good idea.
If not, you can tell that person that you want to be alone and think alone. In doing so, you should pay attention to your behavior, speaking style and skills, and you should not be too incompetent.
I think that through the above methods, that person will naturally not sit next to you as long as he is a little conscious.