For a pistachio variation, omit the anise, use vanilla extract, and substitute pistachios for the almonds.
Preheat the oven to 375°F. Grease or line a baking sheet or cookie sheet with parchment paper.
Whisk together in a large bowl:
Beat in a large bowl until blended:
Add the flour mixture to the sugar-egg mixture along with:
Stir until blended. Divide the dough in half. Shape each half into a smooth 11 × 1 ½-inch log by wrapping the log in plastic and rolling it back and forth until smooth, or by shaping it with lightly floured hands. Arrange the logs as far apart from each other as possible on the prepared baking sheet and press to flatten slightly. Bake for 25 minutes. Transfer the baking sheet to a wire rack (leave the oven on).
When the logs are cool enough to handle, carefully transfer to a cutting board and cut on a slight diagonal into ⅜-inch-thick slices. Lay the slices flat on the baking sheet, return to the oven, and bake for 10 minutes. Turn the slices over and bake until lightly browned, 5 to 10 minutes more. Transfer the biscotti to wire racks to cool.