In languages in which third-person personal pronouns and demonstrative pronouns constitute separate word (sub)classes, the etymology of the two classes may or may not be related.
Types:
PP=Dem: There is no distinction between personal pronouns and demonstrative pronouns.[1]
DemNotPP: Personal pronouns and demonstrative pronouns are separate classes, and they are not etymologically related.
PP=DemDeriv: Third-person personal pronouns show derivation from demonstrative pronouns still in synchronic use.
Dem=PPDeriv: Demonstrative pronouns show derivation from third-person personal pronouns still in synchronic use.
PP=FromDem: Third-person personal pronouns show derivation from demonstrative pronouns no longer in synchronic use.
Dem=FromPP: Demonstrative pronouns show derivation from third-person personal pronouns no longer in synchronic use.
PP~Dem: Third-person personal pronouns and demonstrative pronouns are etymologically related, but neither synchronic nor diachronic analysis can establish either as the original. [2]
DemPPClass: Third-person personal pronouns and demonstrative pronouns have the same genus marking or class marking, despite having their own stems.
+Dem~PPDist: Third-person personal pronouns are etymologically related to only distant demonstrative pronouns. In some cases, this is limited to non-singular pronouns.[3])
+Dem~PPNotDist: Third-person personal pronouns are etymologically related to only non-distant demonstrative pronouns.
When a language displays more than one type of marking, two values can be listed. If one type is systematically dominant, a slash (/) can separate the two values, with the dominant value appearing first; if neither is dominant, the two are listed with an ampersand (&) separating the two. Values listed here with a plus sign (+) can only appear alongside another value.
[1] The same value must also be present for the parameters Demonstrative and personal pronouns in subject function and Demonstrative and personal pronouns in non-subject function.
[2] For example, both are (historically) derived words, but their common source is no longer a demonstrative pronoun or no longer exists. This should be explained in the commentary.
[3] This should be explained in the commentary.