[[TeXstudio]] > [[設定>TeXstudio/設定]] > Windows

&color(White,#5F2F2F){  ''◆目次◆''  };&br;

#contents

**コマンド [#zdc6ab74]
----
&color(#3F43EF,#3F43EF){%%%                              &color(Black){''TeXstudioの設定''};                        &color(#3F43EF,#3F43EF){%%%[ &color(Black){''?''}; ]%%%};&color(#DD4444,#DD4444){%%%[ &color(White){''×''}; ]%%%};%%%};&br;

#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_general.png,left,around,nolink,37x37,一般)
一般&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_commands.png,left,around,nolink,37x37,コマンド)
&color(Black,#DAEAFF){コマンド          };&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_quickbuild.png,left,around,nolink,37x37,ビルド)
ビルド&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_shortcut.png,left,around,nolink,37x37,キーボードショートカット)
キーボードショートカット&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,37x37,エディタ)
エディタ&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_highlighting.png,left,around,nolink,37x37,構文の強調表示)
構文の強調表示&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_completion.png,left,around,nolink,37x37,コマンドの補完)
コマンドの補完&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,37x37,文法)
文法&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_preview.png,left,around,nolink,37x37,プレビュー)
プレビュー&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_svn.png,left,around,nolink,37x37,SVN)
SVN&br;
&br;
&br;
&br;
&br;
&br;
 ☐ 高度なオプションの表示
&br;
----
----
&color(#3F43EF,#3F43EF){%%%                              &color(Black){''TeXstudioの設定''};                        &color(#3F43EF,#3F43EF){%%%[ &color(Black){''?''}; ]%%%};&color(#DD4444,#DD4444){%%%[ &color(White){''×''}; ]%%%};%%%};&br;

#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_general.png,left,around,nolink,37x37,一般)
一般&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_commands.png,left,around,nolink,37x37,コマンド)
&color(Black,#DAEAFF){コマンド          };&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_quickbuild.png,left,around,nolink,37x37,ビルド)
ビルド&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_shortcut.png,left,around,nolink,37x37,キーボードショートカット)
キーボードショートカット&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_latexmenus.png,left,around,nolink,37x37,メニュー)
メニュー&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_toolbars.png,left,around,nolink,37x37,ツールバー)
ツールバー&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,37x37,エディタ)
エディタ&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_advancededitor.png,left,around,nolink,37x37,詳細なエディタ設定)
詳細なエディタ設定&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_highlighting.png,left,around,nolink,37x37,構文の強調表示)
構文の強調表示&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_highlighting.png,left,around,nolink,37x37,カスタム強調表示)
カスタム強調表示&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_completion.png,left,around,nolink,37x37,コマンドの補完)
コマンドの補完&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,37x37,文法)
文法&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_preview.png,left,around,nolink,37x37,プレビュー)
プレビュー&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_svn.png,left,around,nolink,37x37,SVN)
SVN&br;
&br;
&br;
&br;
&br;
&br;
 ☑ 高度なオプションの表示
&br;
----

:LaTeX|
:|uplatex.exe -no-guess-input-enc -kanji=utf8 -synctex=1 -interaction=nonstopmode %.tex
:PdfLaTeX|
:|pdflatex.exe -synctex=1 -interaction=nonstopmode %.tex
:XeLaTeX|
:|xelatex.exe -synctex=1 -interaction=nonstopmode %.tex
:LuaLaTeX|
:|lualatex.exe -synctex=1 -interaction=nonstopmode %.tex
:|luajitlatex.exe -synctex=1 -interaction=nonstopmode %.tex
:外部PDFビューア|
:|"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.pdf" -forward-search "?c:am.tex" @
:|"C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.pdf" -forward-search "?c:am.tex" @
:|dde:///"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,1)]
:|dde:///"C:\Program Files\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,1)]
:|dde:///"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,0)]
:|dde:///"C:\Program Files\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,0)]
:|texworks.exe "?am.pdf"
:|"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" "?am.pdf"
:|"C:\Program Files\Adobe\Reader 11.0\Reader\AcroRd32.exe" "?am.pdf"
:DviPs|
:|dvips.exe -Ppdf -o %.ps %.dvi
:DviPng|
:|dvipng.exe -T tight -D 120 %.dvi
:Ps2Pdf|
:|ps2pdf.bat %.ps
:DviPdf|
:|dvipdfmx.exe %.dvi
:BibTeX|
:|upbibtex.exe %
:|bibtexu.exe %
:|bibtex.exe %
:BibTex 8ビット|
:|bibtex8.exe %
:Biber|
:|biber.exe %
:Makeindex|
:|mendex.exe -U %.idx
:|makeindex.exe %.idx
:Texindy|texindy.exe %.idx
:Makeglossary|
:|makeglossaries.exe
:Metapost|
:|upmpost.exe -interaction=nonstopmode ?me)
:|mpost.exe -interaction=nonstopmode ?me)
:Asymptote|
:|asy.exe %m*.asy
:Ghostscript|
:|rungs.exe
:|"C:\gs\gs9.10\bin\gswin64c.exe"
:|"C:\gs\gs9.10\bin\gswin32c.exe"
:Latexmk|
:|latexmk -e "$latex=q/uplatex %%O -kanji=utf8 -no-guess-input-enc -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/upbibtex %%O %%B/" -e "$makeindex=q/mendex %%O -U -o %%D %%S/" -e "$dvipdf=q/dvipdfmx %%O -o %%D %%S/" -norc -gg -pdfdvi -silent %
:|latexmk -e "$pdflatex=q/pdflatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtex %%O %%B/" -e "$makeindex=q/makeindex %%O -U -o %%D %%S/" -norc -gg -pdf -silent %
:|latexmk -e "$pdflatex=q/lualatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtexu %%O %%B/" -e "$makeindex=q/texindy %%O -U -o %%D %%S/" -norc -gg -pdf -silent %
:|latexmk -e "$pdflatex=q/luajitlatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtexu %%O %%B/" -e "$makeindex=q/texindy %%O -U -o %%D %%S/" -norc -gg -pdf -silent %
:|latexmk -e "$pdflatex=q/xelatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/bibtexu %%O %%B/" -e "$makeindex=q/texindy %%O -U -o %%D %%S/" -norc -gg -pdf -silent %
:SVN|
:|svn.exe
:SVNADMIN|
:|svnadmin.exe
----

*[[SumatraPDF]] との連携 [#h75a4e4d]

LaTeX コマンド, PdfLaTeX コマンド, XeLaTeX コマンド, LuaLaTeX コマンドのオプションに -synctex=1 を追加します.

**forward search [#xd4d4cea]

***SumatraPDF を前面に表示したい場合 [#fb37c098]

forward search は 外部PDFビューア に以下のように設定します.~

■ 64-bit Windows の場合 (コマンドラインオプションを使用する場合)
 "C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.pdf" -forward-search "?c:am.tex" @
■ 32-bit Windows の場合 (コマンドラインオプションを使用する場合)
 "C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance "?am.pdf" -forward-search "?c:am.tex" @
■ 64-bit Windows の場合 (DDE を使用する場合)
 dde:///"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,1)]
■ 32-bit Windows の場合 (DDE を使用する場合)
 dde:///"C:\Program Files\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,1)]

***SumatraPDF を前面に表示したくない場合 [#pa03cf5d]

forward search は 外部PDFビューア に以下のように設定します.~

■ 64-bit Windows の場合 (DDE を使用する場合)
 dde:///"C:\Program Files (x86)\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,0)]
■ 32-bit Windows の場合 (DDE を使用する場合)
 dde:///"C:\Program Files\SumatraPDF\SumatraPDF.exe":SUMATRA/control/[ForwardSearch("?am.pdf","?c:am.tex",@,0,0,0)]

**inverse search [#bbb88480]
inverse search は SumatraPDF の [設定(S)]-[オプション(O)...]-[逆順検索コマンドラインの設定] に以下のように設定します.~

■ 64-bit Windows の場合
 "C:\Program Files (x86)\TeXstudio\texstudio.exe" "%f" -line %l
■ 32-bit Windows の場合
 "C:\Program Files\TeXstudio\texstudio.exe" "%f" -line %l

ダブルクリックで対応する TeX 文書の該当箇所にジャンプします.