You can use DDE commands from TeX and LaTeX editors to use Sumatra as a previewer.
Launch SumatraPDF from notepad++ enabling forward and backward search:
"C:\\Program files\\SumatraPDF\\SumatraPDF.exe" -forward-search "$(FULL_CURRENT_PATH)" $(CURRENT_LINE) -inverse-search "\\"C:/Program Files/Notepad++/notepad++.exe\\" \\"%f\\" -n%l" "$(CURRENT_DIRECTORY)"/"$(NAME_PART)".pdf
Launch SumatraPDF from TeXStudio enabling forward and backward search:
"C:/Program Files/SumatraPDF/SumatraPDF.exe" -forward-search "?c:am.tex" @ -inverse-search "\\"C:/Program Files (x86)/TeXstudio/texstudio.exe\\" \\"%%f\\" -line %%l" "?am.pdf"
Detailed instructions: https://tex.stackexchange.com/questions/116981/how-to-configure-texniccenter-2-0-with-sumatra-2013-2016-version
Short instructions:
Configure viewer in output profiles.
C:\\Program Files\\SumatraPDF\\SumatraPDF.exe
on (or wherever you've installed SumatraPDF)[Open("%bm.pdf",0,1,1)]
SUMATRA
control
[ForwardSearch("%bm.pdf","%Wc",%l,0,0,1)]
SUMATRA
control
Some people reported better results when using %sbm
instead of %bm
in the above command.
-synctex=1
See instructions at http://william.famille-blum.org/blog/static.php?page=static081010-000413