- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2017-04-11T01:06:00+09:00","default:hoge","hoge")
#author("2017-04-12T01:55:03+09:00","default:hoge","hoge")
[[LaTeX 用語集>LaTeX/Glossary]]
#ref(http://www.texstudio.org/images/texstudio128x128.png,right,around,nolink,TeXstudio)
//#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/splash.png,right,around,nolink,TeXstudio)
TeXstudio is an integrated writing environment for creating LaTeX documents.
TeXstudio は LaTeX の統合環境&br;
[[Texmaker]] をベースに機能追加・不具合修正したもの&br;
-http://www.texstudio.org/
-http://texstudio.sourceforge.net/
-[[texstudioの多国語化:https://www.transifex.com/texstudio/texstudio/]]
-[[TwitterSearch:TeXstudio]]
-[[TwitterSearch.ja:TeXstudio]]
-[[ChiebukuroSearch:TeXstudio]]
-[[TeXWiki:TeXstudio]]
-[[TeXstudio用日本語化ファイル & TeXstudio日本語マニュアル:http://anastashia.blog.shinobi.jp/created_products]]
-[[TexStudioの使い得 便利機能集:http://ossyaritoori.hatenablog.com/entry/2017/02/11/TexStudio%E3%81%AE%E4%BD%BF%E3%81%84%E5%BE%97_%E4%BE%BF%E5%88%A9%E6%A9%9F%E8%83%BD%E9%9B%86]]
-[[TeXstudioからTeXLive2016を使う(Mac版):http://njet.oops.jp/wordpress/2017/03/25/texstudio%e3%81%8b%e3%82%89texlive2016%e3%82%92%e4%bd%bf%e3%81%86mac%e7%89%88/]]
-[[ちかごろのlatex ローカルインストレーション:http://dogmusik.hatenablog.com/entry/2017/03/12/231929]]
-[[はじめてTeXを使う人が知っておくといいことまとめ:http://qiita.com/Tats_U_/items/01d48eb70a8b359b0d95]]
-[[TeXstudioの設定は簡単だ!:http://blog.livedoor.jp/contrarian65-wild/archives/51214055.html]]
-[[TexStudioとSumatraPDFで快適Texライフ!:http://ossyaritoori.hatenablog.com/entry/2016/02/11/145404]]
-[[すぐできるTeX Live + TeXstudioによる論文執筆環境:http://hajimesakurai.hatenablog.com/entry/2015/07/28/150459]]
-[[TexStudioをEl Capitanで使うまでにしたこと:http://qiita.com/kztka/items/80a244f4f90c1d48767d]]
-[[mac EL Capitanでの日本語tex環境の設定:http://memopic.hatenadiary.com/entry/2016/02/01/190007]]
-[[MacでTex Live 2015 + TexStudio:http://hajimesakurai.hatenablog.com/entry/2015/07/03/190621]]
-[[TeXstudio (in Mac OS X)でsh: makeindex: command not foundが起こるとき:http://yuo1989.hatenadiary.com/entry/2015/12/28/141035]]
-[[TeXstudioで toggle comment/uncomment したい→マクロを使う:http://dynamicsoar.hatenablog.com/entry/2016/01/01/061501]]
-[[TeXエディタの設定 – Millefeuille MEMO:http://millefeuillekun.net/tex%E3%82%A8%E3%83%87%E3%82%A3%E3%82%BF%E3%81%AE%E8%A8%AD%E5%AE%9A/]]
-[[Setting up TeXstudio on Mac OS X 10.11 El Capitan:http://weblogs.thinktecture.com/christian_liebel/2015/11/setting-up-texstudio-on-mac-os-x-1011-el-capitan.html]]
-http://tex.stackexchange.com/questions/333108/configuring-foxit-as-external-pdf-viewer-in-texstudio
-http://superuser.com/questions/337011/windows-pdf-viewer-that-auto-refreshes-pdf-when-compiling-with-pdflatex
----
#contents
----
**Download [#add9b95b]
-http://www.texstudio.org/#download
-http://texstudio.sourceforge.net/#download
-https://sourceforge.net/projects/texstudio/files/texstudio/
-http://jaist.dl.sourceforge.net/project/texstudio/texstudio/
-https://www.archlinux.org/packages/?name=texstudio
-https://packages.debian.org/ja/texstudio
-http://packages.ubuntu.com/ja/texstudio
-https://apps.fedoraproject.org/packages/texstudio
-http://software.opensuse.org/package/texstudio
-https://software.opensuse.org/package/texstudio
**Installing TeXstudio, Poppler, and poppler-data [#f80fbe87]
***Windows [#t4023d13]
インストーラーを実行してインストール&br;
インストール先のフォルダーを変更する場合はインストール先の指定画面で場所を指定する&br;
>
TeXstudio セットアップ&br;
&br;
インストール先の指定&br;
  TeXstudio のインストール先を指定してください。&br;
&br;
  📂  TeXstudio をインストールするフォルダを指定して、「次へ」をクリックしてください。&br;
&br;
  続けるには「次へ」をクリックしてください。別のフォルダーを選択するには「参照」をクリックして&br;
  ください。&br;
>>
C:\Program Files (x86)\TeXstudio <-- 64-bit Windows で 32-bit TeXstudio をインストールする場合の初期設定&br;
C:\Program Files\TeXstudio <-- 32-bit Windows で 32-bit TeXstudio をインストール場合の初期設定&br;
<<
<
組み込みPDFビューアで日本語を表示するために必要な poppler-data は Windows 版の TeXstudio に収録されている&br;
組み込みPDFビューアでゴシック体が表示されない場合はフォントを埋め込むと表示される&br;
***macOS [#o4e58257]
TeXstudio 公式サイトのバイナリ以外に Homebrew でもインストール可能&br;
Homebrew で TeXstudio をインストールする場合は&br;
brew cask install texstudio
Homebrew で最新版がインストールされない場合は TeXstudio 公式サイトのバイナリを使用する&br;
組み込みPDFビューアで日本語が表示されない場合は poppler-data もインストールする&br;
組み込みPDFビューアで日本語を表示するために必要な poppler-data を配置する場所は strings と grep で確認できる&br;
strings -a /Applications/texstudio.app/Contents/Frameworks/libpoppler.??.dylib | grep poppler
実行すると以下のように出力される&br;
>
/usr/local/share/poppler&br;
Unknown CID font collection, please report to poppler bugzilla.&br;
%Produced by poppler pdftops version: {0:s} (http://poppler.freedesktop.org)&br;
<
出力結果から poppler-data は /usr/local/share/poppler ディレクトリ配下に配置すればよいことが分かる&br;
Homebrew で poppler-data をインストールする場合は&br;
brew install poppler
// sudo ln -s /usr/local/Cellar/poppler/0.46.0/share/poppler /usr/local/share/poppler
brew install poppler でうまくいかない場合は Poppler 公式サイトの poppler-data をインストールする&br;
cd ~
curl -kO https://poppler.freedesktop.org/poppler-data-0.4.7.tar.gz
tar xvf poppler-data-0.4.7.tar.gz
sudo mkdir -p /usr/local/share/poppler
sudo cp -pR ~/poppler-data-0.4.7/* /usr/local/share/poppler
自動補完機能が動作しない場合は [[Karabiner]] をインストールして JIS Yen(¥) to Backslash(\) (except virtual machine, X11, RDC) をチェックする&br;
**Repository [#ud231acf]
-http://hg.code.sf.net/p/texstudio/hg
-https://sourceforge.net/p/texstudio/hg/
-https://github.com/caskroom/homebrew-cask/blob/master/Casks/texstudio.rb
-https://github.com/macports/macports-ports/blob/master/editors/texstudio/Portfile
-https://git.archlinux.org/svntogit/community.git/?h=packages/texstudio
-http://pkgs.fedoraproject.org/cgit/texstudio.git/
**Changelog [#uf186c06]
-http://hg.code.sf.net/p/texstudio/hg/shortlog
-https://sourceforge.net/p/texstudio/hg/ci/tip/log/
-http://texstudio.sourceforge.net/manual/current/CHANGELOG.txt
-http://hg.code.sf.net/p/texstudio/hg/file/tip/utilities/manual/CHANGELOG.txt
-https://sourceforge.net/p/texstudio/hg/ci/tip/tree/utilities/manual/CHANGELOG.txt
-https://github.com/caskroom/homebrew-cask/commits/master/Casks/texstudio.rb
-https://github.com/macports/macports-ports/commits/master/editors/texstudio/Portfile
-https://git.archlinux.org/svntogit/community.git/log/trunk?h=packages/texstudio
-https://git.archlinux.org/svntogit/community.git/log/?h=packages/texstudio
-http://pkgs.fedoraproject.org/cgit/rpms/texstudio.git/log/
**Issues [#f708d32d]
-https://sourceforge.net/p/texstudio/bugs/
-[[[TeXstudio] 方向キーでカーソルが動かない不具合:http://www.math.sci.hokudai.ac.jp/~yano/memo/texstudio.html]]
-[[texstudioでATOKを使っていると変換候補の文節が表示できない.:https://twitter.com/hamada30137146/status/826679043151900673]]
-[[TeXstudioで文字が1文字だけ入力されないことがある:http://oboenikui.hatenablog.com/entry/2017/01/02/191015]]
-[[TeXstudioの設定:http://completewalker.blogspot.jp/2016/12/texstudio.html]]
-[[Texstudioのエディタにおける無変換キーについて:http://oku.edu.mie-u.ac.jp/tex/mod/forum/discuss.php?d=1936]]
-[[TeXstudioで全角文字がうまく表示されない問題:http://blog.yomak.info/2015/03/texstudio.html]]
-[[Macで円記号の代わりにバックスラッシュをデフォルトにする:http://hajimesakurai.hatenablog.com/entry/2015/08/26/222753]]
-[[TeXStudio on Macでコマンド補完が使えない:http://qiita.com/o_nishy/items/e674b6e219e3d3bd7381]]
-[[LaTeX 統合環境からのTeX関連コマンドの実行がエラーになる場合:http://hayate.me/archives/3414]]
-[[LinuxでのTeXstudioの設定について:http://detail.chiebukuro.yahoo.co.jp/qa/question_detail/q13162444563]]
-[[TeXStudio で単純に←→ 押してもカーソルが動かない:https://twitter.com/515hikaru/status/634009816390725632]], [[Windows に LaTeX 環境を構築した一連の流れのメモ:http://hikaru515.hatenablog.com/entry/2015/08/20/205608]]
**Screenshots [#x1a7ec6c]
-[[GoogleImageSearch:TeXstudio]]
-[[GoogleImageSearch.ja:TeXstudio]]
>
|BGCOLOR(#CCF):マルチカーソル|BGCOLOR(#CCF):自動補完|
|&ref(http://www.texstudio.org/images/block-cursor.png,around,nolink,Multi-Cursors);|&ref(http://www.texstudio.org/images/autocompletion-help.png,around,nolink,Auto completion);|
|BGCOLOR(#CCF):1000 を超える数学記号|BGCOLOR(#CCF):ブックマーク|
|&ref(http://www.texstudio.org/images/symbols.png,around,nolink,More than 1000 mathematical symbols);|&ref(http://www.texstudio.org/images/bookmarks.png,around,nolink,Bookmarks);|
|BGCOLOR(#CCF):リンク先のオーバーレイ表示|BGCOLOR(#CCF):画像,表,数式アシスタント|
|&ref(http://www.texstudio.org/images/link-overlay.png,around,nolink,Link overlay);|&ref(http://www.texstudio.org/images/assistants.png,around,nolink,Assistants for images, tables, formulas, ...);|
|BGCOLOR(#CCF):画像ファイルのドラッグ & ドロップ|BGCOLOR(#CCF):表の整形|
|&ref(http://www.texstudio.org/images/dragdropimages.png,around,nolink,Drag & drop support for images);|&ref(http://www.texstudio.org/images/table-formating.png,around,nolink,Table-formatting);|
<
**Options > Configure TeXstudio... > Commands [#s620723c]
デフォルトの設定では和文を作成するための設定になっていないのでコマンドを変更する&br;
***Windows [#da98aa2f]
:LaTeX|
:|uplatex.exe -no-guess-input-enc -kanji=utf8 -synctex=1 -interaction=nonstopmode %.tex
:LuaLaTeX|
:|lualatex.exe -cmdx -synctex=1 -interaction=nonstopmode %.tex
:DviPs|
:|ruby.exe -e "cmd='dvips -Ppdf -z -f '+0x22.chr+'?am.dvi'+0x22.chr+' '+0x7c.chr+' '+'convbkmk -u'+' '+0x3e.chr+' '+0x22.chr+'?am.ps'+0x22.chr;system(cmd)"
:Ps2Pdf|
:|ps2pdf.exe %.ps
:DviPdf|
:|dvipdfmx.exe %.dvi
:BibTeX|
:|upbibtex.exe %
:Makeindex|
:|upmendex.exe %.idx
:Metapost|
:|upmpost.exe -interaction=nonstopmode ?me)
:Latexmk|
:|latexmk.exe -e "$lualatex=q/lualatex -cmdx %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/upbibtex %%O %%B/" -e "$biber=q/biber %%O --bblencoding=utf8 -u -U --output_safechars %%B/" -e "$makeindex=q/upmendex %%O -o %%D %%S/" -norc -gg -pdflua -silent %
***macOS [#g7e37bdc]
:LaTeX|
:|"/Library/TeX/texbin/uplatex" -synctex=1 -interaction=nonstopmode %.tex
:LuaLaTeX|
:|"/Library/TeX/texbin/lualatex" -synctex=1 -interaction=nonstopmode %.tex
:DviPs|
:|"/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby" -e "cmd='/Library/TeX/texbin/dvips -Ppdf -z -f '+0x22.chr+'?am.dvi'+0x22.chr+' '+0x7c.chr+' '+'/Library/TeX/texbin/convbkmk -u'+' '+0x3e.chr+' '+0x22.chr+'?am.ps'+0x22.chr;system(cmd)"
:Ps2Pdf|
:|"/usr/local/bin/ps2pdf" %.ps
:DviPdf|
:|"/Library/TeX/texbin/dvipdfmx" %.dvi
:BibTeX|
:|"/Library/TeX/texbin/upbibtex" %
:Makeindex|
:|"/Library/TeX/texbin/upmendex" %.idx
:Metapost|
:|"/Library/TeX/texbin/upmpost" -interaction=nonstopmode %
:Latexmk|
:|"/Library/TeX/texbin/latexmk" -e "$lualatex=q/lualatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/upbibtex %%O %%B/" -e "$biber=q/biber %%O --bblencoding=utf8 -u -U --output_safechars %%B/" -e "$makeindex=q/upmendex %%O -o %%D %%S/" -norc -gg -pdflua -silent %
***Linux [#le20c207]
:LaTeX|
:|uplatex -synctex=1 -interaction=nonstopmode %.tex
:LuaLaTeX|
:|lualatex -synctex=1 -interaction=nonstopmode %.tex
:DviPs|
:|ruby -e "cmd='dvips -Ppdf -z -f '+0x22.chr+'?am.dvi'+0x22.chr+' '+0x7c.chr+' '+'convbkmk -u'+' '+0x3e.chr+' '+0x22.chr+'?am.ps'+0x22.chr;system(cmd)"
:Ps2Pdf|
:|ps2pdf %.ps
:DviPdf|
:|dvipdfmx %.dvi
:BibTeX|
:|upbibtex %
:Makeindex|
:|upmendex %.idx
:Metapost|
:|upmpost -interaction=nonstopmode ?me)
:Latexmk|
:|latexmk -e "$lualatex=q/lualatex %%O -synctex=1 -interaction=nonstopmode %%S/" -e "$bibtex=q/upbibtex %%O %%B/" -e "$biber=q/biber %%O --bblencoding=utf8 -u -U --output_safechars %%B/" -e "$makeindex=q/upmendex %%O -o %%D %%S/" -norc -gg -pdflua -silent %
**Options > Configure TeXstudio... > Build [#c5a436e3]
***Case of LuaLaTeX [#sb2d9d83]
高度なオプションの表示が OFF の場合は既定のコンパイラを LuaLaTeX に変更&br;
高度なオプションの表示が ON の場合は既定のコンパイラを txs:///lualatex に変更&br;
***Case of upLaTeX + dvipdfmx [#qc818320]
高度なオプションの表示が OFF の場合はビルド & 表示を DVI->PDFチェーンに変更&br;
>
メタコマンド&br;
 &color(black,yellow){ビルド & 表示 DVI->PDFチェーン}; <-- DVI->PDFチェーン を選択&br;
<
高度なオプションの表示が ON の場合はビルド & 表示を txs:///dvi-pdf-chain に変更&br;
>
メタコマンド&br;
 &color(black,yellow){ビルド & 表示 txs:///dvi-pdf-chain}; <-- txs:///dvi-pdf-chain を選択&br;
<
**Options > Configure TeXstudio... > Editor [#jfaeb408]
和文を作成する場合はインラインチェックを OFF にする&br;
>
エディタ&br;
&color(black,yellow){☐ インラインチェック:}; <-- 和文を作成する場合はチェックしない&br;
<
**Options > Configure TeXstudio... > Adv. Editor [#e607077f]
日本語入力や日本語表示で描画がおかしくなる場合は高度なオプションの表示を ON にして詳細なエディタ設定を選択してハック/回避策の最適なディスプレイオプションの自動選択を OFF にして描画モードで Qt を選択&br;
>
TeXstudioの設定&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_general.png,left,around,nolink,35x35,一般)
一般&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_commands.png,left,around,nolink,35x35,コマンド)
コマンド&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_quickbuild.png,left,around,nolink,35x35,ビルド)
ビルド&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_shortcut.png,left,around,nolink,35x35,キーボードショートカット)
キーボードショートカット&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_latexmenus.png,left,around,nolink,35x35,メニュー)
メニュー&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_toolbars.png,left,around,nolink,35x35,ツールバー)
ツールバー&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_toolbars.png,left,around,nolink,35x35,GUIの拡大縮小)
GUIの拡大縮小&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,35x35,エディタ)
エディタ&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_advancededitor.png,left,around,nolink,35x35,詳細なエディタ設定)
&color(black,yellow){詳細なエディタ設定}; <-- 選択する&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_highlighting.png,left,around,nolink,35x35,構文の強調表示)
構文の強調表示&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_highlighting.png,left,around,nolink,35x35,カスタム強調表示)
カスタム強調表示&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_completion.png,left,around,nolink,35x35,コマンドの補完)
コマンドの補完&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_editor.png,left,around,nolink,35x35,Language Checking)
言語チェック&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_preview.png,left,around,nolink,35x35,プレビュー)
プレビュー&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_preview.png,left,around,nolink,35x35,Internal PDF Viewer)
組み込みPDFビューア&br;
&br;
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/config_svn.png,left,around,nolink,35x35,SVN)
SVN&br;
&br;
&br;
[(オプションフィルター)]&br;
&color(black,yellow){☑ 高度なオプションの表示}; <-- チェックする&br;
<
>
ハック/回避策&br;
☐ アクセント記号タイプ時に回避策を無効化(Mac OS Xのみ)&br;
&color(black,yellow){☐ 最適なディスプレイオプションの自動選択}; <-- チェックしない&br;
 ☐ 文字幅のキャッシュを無効化&br;
 ☐ 固定ピッチモードを無効化&br;
 ☐ 描画された行のキャッシュを無効化&br;
 ☐ キャッシュタイプとしてQImageを使用&br;
 &color(black,yellow){描画モード: Qt}; <-- Qt を選択&br;
<
**Options > Configure TeXstudio... > Language Checking [#e03ce076]
スペルチェックの既定の言語を en_US に変更.初期設定は de_DE.&br;
>
スペルチェック&br;
スペルチェック辞書のディクレクトリ:&br;
&color(black,yellow){既定の言語: en_US}; <-- en_US を選択&br;
<
//**kanji-config-updmap(-sys) [#mef81098]
//
//***IPAex font embedding [#saacb5fc]
//
//PowerShell から
//
// kanji-config-updmap-sys ipaex
//
//または
//
// kanji-config-updmap ipaex
//
//を実行
//
// minimize
//🗕
//
// maximize
//🗖
//
// cross mark
//❌
//
// em space
// 
//RIGHT:🗕  🗖  ❌
//abc&br;
//  abc&br;
**Usage [#l49bede0]
***Easter egg --> Rubber Duck [#q233ef42]
TeXstudio で Esc キーを連打すると Rubber Duck (おもちゃのアヒル) が表示される
#ref(http://hg.code.sf.net/p/texstudio/hg/raw-file/tip/images/egg.png,left,nolink,egg.png)
-[[TwitterSearch:TeXstudio Esc]]
-http://tex.stackexchange.com/questions/332307/how-to-turn-off-the-yellow-duck-in-texstudio