demonstrative pronoun, locative singular + api (particle); contracted in sandhi to tasmimpi
Analysis. tasmiṃ (locative singular of ta, 'in that') + api ('even, also, moreover') — compounded and contracted by sandhi rules: the final ṃ of tasmiṃ and initial a of api blend into pi.
Etymology. ta descends from PIE *to- (demonstrative), cognate with English 'that', Latin 'iste', Greek 'to'. The locative case ending -min(i) parallels Sanskrit -min and reflects the ancient locative-dative merger. api ('also, even') is an enclitic particle of unclear origin, used to add emphasis or generality to the preceding word.
Meanings from the Digital Pāḷi Dictionary; morphology and etymology by Claude.
Lite mode — plain HTML for e-readers and old browsers. Full version