I would like to have latin accents using the dvorak layout in windows 10. I have looked to pages like this and this, and I have some layouts. You can see this in the figure below.
Nevertheless, I still can't use latin accents (~, ^). How can I use accents in dvorak layout in Windows 10?

You can use AutoHotKey to create a series of dead keys that will allow you to include whatever accents you require. For example, the following script will allow you to use the ~ and n keys to make ñ or Ñ.
The
~::line grabs the~keystroke, then theinputcommand grabs the next 1 character (L1) and assigns it to the variablekey. The Delete, Esc,and Backspace keys are all listed as escape keys, which will return just the original~that was typed. Otherwise, if you type a lowercasenthe script will send the ASCII code for ñ (Send {Asc 130}), and typing an uppercaseNsends the ASCII code for Ñ. Typing anything else returns the~and the next letter you had typed (the finalelsecommand sends the ASCII for~followed by the contents of thekeyvariable).For accents that aren't in the base ASCII, you need to use Unicode, like so:
Note the difference in command when writing the capital Û.
You can chain as many of these together you need, using
if ... else ifcommands for everything that uses the same dead key stroke. Just make sure to include the finalelsestatement and thereturncommand at the end before going on to the next dead key and set of accents. The downside to this is that you need to explicitly spell out all the dead keys and accented characters you want to use. Fortunately, they all follow the same pattern, making setting it up simple, if possibly tedious.More on the AutoHotKey
Sendcommand: https://www.autohotkey.com/docs/commands/Send.htmMore on the AutoHotKey
Inputcommand: https://www.autohotkey.com/docs/commands/Input.htmASCII table: http://www.asciitable.com/
Unicode table: https://unicode-table.com/en/