The National Library of Scotland has recently digitised a selection of almost 400 printed items relating to the histories of Scottish families, and you can read them all in the Library’s Digital Gallery at http://goo.gl/jzKD4M.
You can search the text of the books for particular words or phrases. All areas of Scotland are included, from Dumfries to Shetland, and many different families and places are represented – in fact many more than the titles might suggest, as a keyword search by place or name will reveal. Many of the books cover multiple families, so even if your family name is not listed in a book’s title, it’s worth performing an electronic search for that name anyway.
Click on the image to the right to view a larger version.