in such a way that~
Describes the manner or way in which something is done, equivalent to 'in such a way that' or 'in this manner'.
This pattern is used to quote or describe a specific manner, method, or way of doing something. It often appears after a clause that explains what kind of action or situation is being referred to. It can also be used to give an example or define how something is perceived or done. It is somewhat formal and is more common in written language or careful speech, but it is acceptable in conversation when you want to be explicit about the manner. Unlike ように, which can mean 'like' or 'in order to', というふうに specifically points to a way that has been mentioned or is about to be described. It often follows a statement that is a quote or a paraphrase of what someone said or thought. For example, you might say '彼は「後で行く」というふうに言った' to report the exact manner of what he said. It can also be used to list examples: 'こういうふうに、ああいうふうに'.