How to take notes from sources without patchwriting

What patchwriting is, why it starts in your notes, and note formats that keep quotation, paraphrase and your own thinking apart, with a worked example.