Relative quoi follows a preposition. Its antecedent is usually a neuter pronoun such as ce, rien or quelque chose, or an entire preceding clause. Larousse specifies that the relative quoi does not refer to a person.
antecedent (ce, rien, quelque chose, clause) + preposition + quoi + relative clause
- Ce + preposition + quoi. C'est ce à quoi je pense means “That's what I'm thinking about” and C'est ce sur quoi je compte means “That's what I'm counting on”. The relative clauses with ce use ce qui, ce que or ce dont elsewhere. With prepositions such as à, sur, contre and par, use ce followed by the preposition and quoi.
- Rien or quelque chose + preposition + quoi. Larousse gives Voilà quelque chose sur quoi on peut compter “That's something you can count on”.
- A whole clause followed by a comma and preposition + quoi. In Lisez d'abord le livre, après quoi vous pourrez le critiquer, “after which” refers to reading the book first. In Il prétend le contraire, en quoi il a tort, it is the claim that is wrong.
After a preposition, a noun naming a thing normally takes lequel, as in le projet auquel je pense. With people, qui is usual. Literary quoi after a noun and de quoi without an antecedent are described below.
What it expresses
- Something left unspecified. The French verb determines the preposition: penser à gives ce à quoi je pense and compter sur gives ce sur quoi je compte.
- A link with the preceding idea. Après quoi means “after which” or “and then”, and sans quoi means “otherwise”, as in Partez tout de suite, sans quoi vous serez en retard “Leave right away, otherwise you'll be late”. Faute de quoi means “failing which” or “otherwise”, as in Inscrivez-vous avant le 30 juin, faute de quoi votre demande ne sera pas examinée “Register before 30 June, otherwise your application will not be considered”. The Trésor de la langue française also gives moyennant quoi “in return for which” with a whole clause as antecedent. Other examples are en quoi “in which respect” and grâce à quoi “thanks to which”.
- What is needed for an action. De quoi + infinitive can stand without an antecedent. Il a de quoi vivre means “He has enough to live on” and Avez-vous de quoi écrire ? means “Have you got something to write with?” In Il n'y a pas de quoi s'inquiéter, there is no reason to worry.