I glued a piece of fine grit sandpaper to a small cutting mat and use that when I'm marking small pieces for applique ... it keeps the fabric from sliding around.
I use painters tape or masking tape to mark the lines on my ruler.
I also use masking tape or painters tape to mark straight lines when I'm machine quilting using a walking foot.
Susan