Texのメモ
の編集
Top
/
Texのメモ
[
トップ
] [
編集
|
差分
|
履歴
|
添付
|
リロード
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
-- 雛形とするページ --
島部/menu/template
[[江崎]]~ &size(17){COLOR(bule){https://kmuto.jp/latex/node57.html}}; &size(17){COLOR(bule){Texのエラー。使えるよたぶん}}; ~ ~ 基本的なコマンド~ http://www.www1.kiy.jp/~yoka/LaTeX/latex.html ~ ***texで図と表がいい感じに並んだからメモった [#d512e860] #memo(スライドに表と図を並べる方法\n%上の方\n\makeatletter\n\captionsetup{labelformat=simple,font=scriptsize}\n\newcommand{\bi}[1]{\ensuremath{\boldsymbol{#1}}} \n\newcommand{\tblcaption}[1]{\def\@captype{table}\caption{#1}} \n%\newcommand{\tblcaption}[1]{\def\@captype{table}\caption{#1}} \n\renewcommand{\figurename}{図}\n\renewcommand{\tablename}{表}\n\makeatother\n\n%スライドのとこ\n\begin{figure}[htbp]\n\begin{minipage}{0.45\hsize}\n\begin{center}\n\raisebox{-5mm}{\includegraphics[height=24mm]{./FI/図のファイル名}}\n\caption{図の名前}\n\end{center}\n\end{minipage}\n\begin{minipage}{0.45\hsize}\n\begin{center}\n\tblcaption{表の名前}\n\begin{tabular}{|c|c|}\n \hline\n LF/HF & 評価 \\\n \hline \hline\n 0~2.0 & 正常 \\\n 2.0~5.0 & 注意 \\\n 5.0以上 & 要注意 \\\n \hline\n \end{tabular}\n\n\end{center}\n\end{minipage}\n\end{figure}\n) ***参考文献の字下げができたからメモった [#jfb8eb2d] #memo(%上の方\n\usepackage[footnote,printonlyused]{acronym}\n\usepackage{scrextend}\n\deffootnote[1.0em]{1.1em}{5em}) ***スライドのboxの色を好きに変更してもキャプションが変わらないようにキャプションの色を調べて指定できたからメモった [#bd05e26e] #memo(%上の方\n\definecolor{whatcolor}{rgb}{ .130, .119, .62}\n%スライドの色とほぼ一緒\n\n%スライドのBOXの後\n\setbeamercolor{structure}{fg=whatcolor}\n\begin{figure}[h]\n\begin{center}\n\includegraphics[width=70mm]{./Figure/4.JPG}\n\caption{キャプション}\n\end{center}\n\end{figure}\n) ***ややこしい表が書けたからメモった [#z511b5f3] 結果~ #ref(662.JPG,,65%) #memo(\begin{table}[t]\n \begin{center}\n \caption{行動に違いによる数値の比較}\n \label{lab2.1}\n \vspace{-4mm}\n \begin{tabular}{|c|c|c|c|c|c|c|c|}\hline\n \multicolumn{2}{|c|}{基準}& furniture & animal &plant & behave & food&appliance \\ \hline \hline\n パソコン & テキスト & \multicolumn{6}{|c|}{indoor,computer,laptop,desk,sitting,monitor,keyboard,...} \\ \cline{2-8}\n %& 数値化後 0.288128979& 0.176705679 & 0.125944262 & 0.157145353 & 0.181375768 &0.267806207\n& 数値化後 &0.2081& 0.1767 & 0.1259 & 0.1571 & 0.1813 &0.2678 \\ \hline\n テレビ & テキスト & \multicolumn{6}{|c|}{table,sitting,counter,hanging,kitchen,man,stove,oven,...} \\ \cline{2-8}\n %& 数値化後 & 0.265518266 & 0.132266994 & 0.109523112 & 0.119709703 & 0.146224041 &0.156257309, \\ \hline\n& 数値化後 & 0.2655 & 0.1322 & 0.1095 & 0.1197 & 0.1462 &0.1562 \\ \hline\n\n \end{tabular}\n \end{center}\n\end{table}) ***図を表扱いで貼れたからメモった [#taa5ab7f] #memo(\usepackage{graphicx}\n\usepackage{tabularx}\n\n\n\n \n\begin{figure}[t]\n \makeatletter\n \def\@captype{table} % figure環境の途中でtable環境を使ってるかのように見せかける\n \makeatother\n \caption{決定木算出用のセンサログ}\n \label{fig5.7}\n \begin{tabular}{|l|c|r|r|}\n \hline\n \includegraphics[width=150mm]{tree_m.JPG}\n \end{tabular}\n \end{figure}\n\begin{figure}[t]) ***表を2つ並べられた(片方は表扱いの画像)からメモった [#d6651c3f] 結果~ #ref(hyouhyou.JPG,,50%) #memo(\begin{table}[t]\n\begin{minipage}{0.3\hsize}\n\begin{center}\n\caption{検定に使用したLF/HF差分}\n \label{fig5.9}\n\begin{tabular}{|l|c|r|r|}\n\hline\n\includegraphics[width=66mm]{15.JPG}\n\end{tabular}\n\end{center}\n\end{minipage}\n\hfill\n\begin{minipage}{0.6\hsize}\n\begin{center}\n\caption{LF/HF差分のF検定(上)とT検定(下)}\n\label{lab5.1}\n\begin{tabular}{|l|r|r|}\hline\n \multicolumn{3}{|c|}{F検定}\\ \hline \n &無視 & 実行 \\ \hline\n平均 & 0.476666667 & -1.427857143 \\ \n分散 & 1.872741176 & 0.604771978 \\ \n観測数 & 18& 14\\ \nP 片側 & 0.221531 & \\ \hline \hline\n%P 片側 & 0.2215301 & \\ \hline \n \multicolumn{3}{|c|}{T検定}\\ \hline \n観測数 & 18& 14\\ \nt & 4.646056897 & \\ \nP 片側 & 3.15883E-05 & \\ \nt境界値 片側 & 1.697260887 & \\ \nP 両側 & 6.31767E-05 & \\ \nt境界値 両側 & 2.042272456 & \\ \hline\n \end{tabular}\n\end{center}\n\end{minipage}\n\end{table})
タイムスタンプを変更しない
[[江崎]]~ &size(17){COLOR(bule){https://kmuto.jp/latex/node57.html}}; &size(17){COLOR(bule){Texのエラー。使えるよたぶん}}; ~ ~ 基本的なコマンド~ http://www.www1.kiy.jp/~yoka/LaTeX/latex.html ~ ***texで図と表がいい感じに並んだからメモった [#d512e860] #memo(スライドに表と図を並べる方法\n%上の方\n\makeatletter\n\captionsetup{labelformat=simple,font=scriptsize}\n\newcommand{\bi}[1]{\ensuremath{\boldsymbol{#1}}} \n\newcommand{\tblcaption}[1]{\def\@captype{table}\caption{#1}} \n%\newcommand{\tblcaption}[1]{\def\@captype{table}\caption{#1}} \n\renewcommand{\figurename}{図}\n\renewcommand{\tablename}{表}\n\makeatother\n\n%スライドのとこ\n\begin{figure}[htbp]\n\begin{minipage}{0.45\hsize}\n\begin{center}\n\raisebox{-5mm}{\includegraphics[height=24mm]{./FI/図のファイル名}}\n\caption{図の名前}\n\end{center}\n\end{minipage}\n\begin{minipage}{0.45\hsize}\n\begin{center}\n\tblcaption{表の名前}\n\begin{tabular}{|c|c|}\n \hline\n LF/HF & 評価 \\\n \hline \hline\n 0~2.0 & 正常 \\\n 2.0~5.0 & 注意 \\\n 5.0以上 & 要注意 \\\n \hline\n \end{tabular}\n\n\end{center}\n\end{minipage}\n\end{figure}\n) ***参考文献の字下げができたからメモった [#jfb8eb2d] #memo(%上の方\n\usepackage[footnote,printonlyused]{acronym}\n\usepackage{scrextend}\n\deffootnote[1.0em]{1.1em}{5em}) ***スライドのboxの色を好きに変更してもキャプションが変わらないようにキャプションの色を調べて指定できたからメモった [#bd05e26e] #memo(%上の方\n\definecolor{whatcolor}{rgb}{ .130, .119, .62}\n%スライドの色とほぼ一緒\n\n%スライドのBOXの後\n\setbeamercolor{structure}{fg=whatcolor}\n\begin{figure}[h]\n\begin{center}\n\includegraphics[width=70mm]{./Figure/4.JPG}\n\caption{キャプション}\n\end{center}\n\end{figure}\n) ***ややこしい表が書けたからメモった [#z511b5f3] 結果~ #ref(662.JPG,,65%) #memo(\begin{table}[t]\n \begin{center}\n \caption{行動に違いによる数値の比較}\n \label{lab2.1}\n \vspace{-4mm}\n \begin{tabular}{|c|c|c|c|c|c|c|c|}\hline\n \multicolumn{2}{|c|}{基準}& furniture & animal &plant & behave & food&appliance \\ \hline \hline\n パソコン & テキスト & \multicolumn{6}{|c|}{indoor,computer,laptop,desk,sitting,monitor,keyboard,...} \\ \cline{2-8}\n %& 数値化後 0.288128979& 0.176705679 & 0.125944262 & 0.157145353 & 0.181375768 &0.267806207\n& 数値化後 &0.2081& 0.1767 & 0.1259 & 0.1571 & 0.1813 &0.2678 \\ \hline\n テレビ & テキスト & \multicolumn{6}{|c|}{table,sitting,counter,hanging,kitchen,man,stove,oven,...} \\ \cline{2-8}\n %& 数値化後 & 0.265518266 & 0.132266994 & 0.109523112 & 0.119709703 & 0.146224041 &0.156257309, \\ \hline\n& 数値化後 & 0.2655 & 0.1322 & 0.1095 & 0.1197 & 0.1462 &0.1562 \\ \hline\n\n \end{tabular}\n \end{center}\n\end{table}) ***図を表扱いで貼れたからメモった [#taa5ab7f] #memo(\usepackage{graphicx}\n\usepackage{tabularx}\n\n\n\n \n\begin{figure}[t]\n \makeatletter\n \def\@captype{table} % figure環境の途中でtable環境を使ってるかのように見せかける\n \makeatother\n \caption{決定木算出用のセンサログ}\n \label{fig5.7}\n \begin{tabular}{|l|c|r|r|}\n \hline\n \includegraphics[width=150mm]{tree_m.JPG}\n \end{tabular}\n \end{figure}\n\begin{figure}[t]) ***表を2つ並べられた(片方は表扱いの画像)からメモった [#d6651c3f] 結果~ #ref(hyouhyou.JPG,,50%) #memo(\begin{table}[t]\n\begin{minipage}{0.3\hsize}\n\begin{center}\n\caption{検定に使用したLF/HF差分}\n \label{fig5.9}\n\begin{tabular}{|l|c|r|r|}\n\hline\n\includegraphics[width=66mm]{15.JPG}\n\end{tabular}\n\end{center}\n\end{minipage}\n\hfill\n\begin{minipage}{0.6\hsize}\n\begin{center}\n\caption{LF/HF差分のF検定(上)とT検定(下)}\n\label{lab5.1}\n\begin{tabular}{|l|r|r|}\hline\n \multicolumn{3}{|c|}{F検定}\\ \hline \n &無視 & 実行 \\ \hline\n平均 & 0.476666667 & -1.427857143 \\ \n分散 & 1.872741176 & 0.604771978 \\ \n観測数 & 18& 14\\ \nP 片側 & 0.221531 & \\ \hline \hline\n%P 片側 & 0.2215301 & \\ \hline \n \multicolumn{3}{|c|}{T検定}\\ \hline \n観測数 & 18& 14\\ \nt & 4.646056897 & \\ \nP 片側 & 3.15883E-05 & \\ \nt境界値 片側 & 1.697260887 & \\ \nP 両側 & 6.31767E-05 & \\ \nt境界値 両側 & 2.042272456 & \\ \hline\n \end{tabular}\n\end{center}\n\end{minipage}\n\end{table})
テキスト整形のルールを表示する