タグ

latexに関するgologo13のブックマーク (10)

  • LaTeXでオブジェクト指向プログラミング - 貳佰伍拾陸夜日記

    LaTeXのコマンドは複数の単語のものも一続きにしないと一つのシンボルと見なしてもらえないのが不便だったので, 名前空間が使えるというか, 記号で区切った後にサブコマンドを続ける書き方をサポートするものを作っていた. そうしたらいつの間にかオブジェクト指向プログラミングフレームワークが出来上がっていた. 例 ※これはLaTeXのコードです. \usepackage{object} \def\myclass#1{ % クラス定義(というかコンストラクタ) \def#1{} \object::field#1{foo} \object::method#1put(arg) { \par [\this.foo] and [\arg] } \object::method#1plus(lhs, rhs) { \par (\this.foo) $\lhs+\rhs$ } } \myclass\obj \m

    LaTeXでオブジェクト指向プログラミング - 貳佰伍拾陸夜日記
  • 【Proton.jp】 RefTeX Tips

    複数ファイルに渡る文書を作成する場合の設定 長い文章を作っているときにはtexファイルを分割した方が作業しやすい。 分割したファイルのうちサブファイルにはマスターファイル名を変数に登録すると、 ファイル間の連携を自動的に判断してくれる。 \input{}、\include{}で読み込んでいるファイルの中に(例えば最後の所に)、 % Local Variables: % mode: japanese-latex % TeX-master: "master_file_name.tex" % End: と書く。ここではマスターファイルをmaster_file_name.texとしている。またマスターファイルには次のように記述する。 % Local Variables: % mode: japanese-latex % TeX-master: t % End: 変数 TeX-master の部分は

    gologo13
    gologo13 2012/02/06
    メインファイルには Tex-master: t と書く。これで一々mainファイルを指定しろとか、言われない
  • http://d.hatena.ne.jp/hyu_mu/20110331/1301631085

  • How to Activate \subsubsubsection in LaTeX

    Please Make a Note is a collection of science & technology tips and derivations that will make it easier for research scientists & engineers to perform the various tasks they are faced with. These notes cover a wide range of scientific topics, software, media, and data analysis utilities.

  • CUED - Squeezing Space in LaTeX

    Here are some tips on how to squeeze a little more onto LaTeX pages. Note that these methods may adversely affect the appearance of the document, so use them with caution. Rephrasing and editing your text often leads to better results. The savetrees package executes many of these methods, packing as much text as possible onto each page. Fonts Without changing the point size of a font you might be

  • Latex: Squeezing the Vertical White Space | Terminally Incoherent

    Here are some tips on how to “compress” your paper vertically by minimizing white space gaps between elements. I had to do this few days ago when school refused to duplicate my syllabus because it was 14 pages long. I got it down to 6 without any cuts, and then down to 3 after doing some reductions in text. So how do we squeeze the vertical whitespace? There are many ways to do this, and some are

    gologo13
    gologo13 2012/01/21
    様々な幅、行間を縮めるたねのtips / various kind of tips to squeeze spacings
  • Tips on TeX

    TeX 豆カスタマイズ TeX について自分が好きなように表示する仕方で 自分で使う頻度が高いことやめんどくさいから何とかしたいと 思ってなんとかしたことや便利だと思ったことを 少し書いてます. いいなー, 便利だ. と思ったらどうぞ使ってください. なお, 松阪大学の 奥村先生のページ の Q・A で見つけたこともかなりあると思います. 参考になった!サンキューという場合はメイルでもくださるとうれしいです. Section のタイトル文字の大きさを小さくする。 Itemize 環境で行間を狭くする。 Theorem 環境などで日語イタリックのエラーがでるのがやだ。 Article 環境で, テキストの範囲が狭い。 イタリック体の太字が使いたい(ベクトルなどを書く場合)。 脚注などで, テキスト中に番号を出さずに脚注を書く。 Thebibliography 環境を使うと参考文献の章の名

  • Texの行間・その2

    Texitemizeでの行間が広すぎるので,直す方法を以前紹介したけど,毎回書くのが面倒. というわけで,もっとましな書き方を発見した. \begin{document}の前に以下のように書いておけばいいようだ. \renewenvironment{itemize}% {% \begin{list}{\parbox{1zw}{$\bullet$}}% 見出し記号/直後の空白を調節 {% \setlength{\topsep}{0zh} \setlength{\itemindent}{0zw} \setlength{\leftmargin}{2zw}% 左のインデント \setlength{\rightmargin}{0zw}% 右のインデント \setlength{\labelsep}{1zw}% 黒丸と説明文の間 \setlength{\labelwidth}{3zw}% ラベルの幅

  • Account Suspended

    Account Suspended This Account Has Been Suspended

  • LyX HowTo

    LyXは、LaTeXをバックエンドに使用し、Windows/Cygwin/Mac OS X/Linux/BSD/その他のUNIXなど、多くのプラットフォーム上で動作する、高機能かつカスタマイズ性の高い文書プロセッサです。 LyX は以下の特徴を備えています。 多くのLaTeXの機能をネイティブかつグラフィカルにサポートしています。LaTeXのコマンドをほとんどすべて使うことができます。多言語文書を作成することを前提に設計されているので、外国語やその他言語(点字・発音記号など)の使用が楽です。モジュール機構によって、これまでレイアウトごとに限定されていた特定の機能を、他のレイアウトでも自由に使えます。 キーバインディング等のフレキシビリティがたいへん高いので、入力にかかる時間費用を大きく低減させることができます。たとえば、キー設定に「emacs」や「xemacs」などを用いれば、ほぼマウスを

  • 1