ご質問はこちらへ
スライド画面の拡大
\documentclass[a4j,papersize,disablejfam,slide,36pt]{jsarticle}
\usepackage[dvips]{graphicx,xcolor}
\usepackage[dvips]{pict2e}
\usepackage{lastpage}
\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0.0pt}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{}
\cfoot{\thepage{}/{}\pageref{LastPage}}
\rfoot{}
\usepackage{amsmath}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc}
\usepackage{lxfonts}
\usepackage{bm}
\usepackage{float}
\renewcommand{\abstractname}{abstract}
\begin{document}
ピカチュウフレームが使えません
TeX初心者です。どなたかが作ったピカチュウフレームというものを使おうと思ったのですが、(tcolorbox でピカチュウフレーム - hohei’s diary (hatenablog.com))公開されていたものをそのままコピペしてもエラーがでてしまいました。以下を出力しました。
%〈出力した中身〉
\documentclass[12pt,a4j,papersize,uplatex,fleqn,dvipdfmx]{jsarticle}
\usepackage[most]{tcolorbox}
\tcbset{pikachu/.style={enhanced,colback=white,colframe=black,boxrule=0.6mm,enlarge top by=7.0mm,enlarge bottom by=2.0mm,top=50pt,sharp corners=south,arc=14mm,
overlay={
\begin{scope}[shift={([xshift=9.0mm,yshift=-13mm]frame.north west)},rotate=30]
% 左目
\path[draw=black,fill=black,line width=0.5mm] (0,0) arc (0:360:2mm);
\path[fill=white] (-.05,.08) arc (0:360:1mm);
% 右目
\path[draw=black,fill=black,line width=0.5mm] (1.2,0) arc (0:360:2mm);
\path[fill=white] (1.1-.05,.08) arc (0:360:1mm);
% ハナ
\path[draw=black,fill=black] (0.4,-.15) circle [x radius=0.06,y radius=0.03] (0:360);
% クチ
\path[draw=black,line width=0.4mm,xshift=0.5mm,yshift=-3.5mm] (0,-.02) .. controls (.1,-.1) and (.15,-.14) .. (.35,0) % 左
.. controls (-.15+.7,-.14) and (-.1+.7,-.1) .. (0+.7,-.02); % 右
% ほっぺ
\path[draw=black,fill=white,line width=0.4mm] (1.6,-0.4) arc (10:290:2mm);
\end{scope}}
,
underlay={
\begin{scope}[shift={([xshift=0mm,yshift=0mm]frame.north west)}]
% 耳とフレームが重なるところを白塗り(右)
\path[draw=white,line width=0.7mm] (1.51,-0.03)--(2.55,-0.03);
% 耳とフレームが重なるところを白塗り(左)
\path[draw=white,line width=2.0mm] (0.1,-0.84)--(0.1,-2);
\end{scope}}
,
% 右耳
underlay={
\begin{scope}[shift={([xshift=0mm,yshift=0mm]frame.north west)}]
% 耳のメイン
\path[draw=black,fill=white,line width=0.6mm,rounded corners=1.0pt] (1.5,-0.03) .. controls (2.5,0.3) and (3.5,-0.5) .. (3.7,-0.6) .. controls (2.7,-0.5) and (2.5,-0.5) .. (2.2,-0.4);
% 耳の黒い部分の境界
\clip (1.5,-0.03) .. controls (2.5,0.3) and (3.5,-0.5) .. (3.7,-0.6) .. controls (2.7,-0.5) and (2.5,-0.5) .. (2.2,-0.4);
\fill[black] (2.4,-0.5) to [out=10,in=210] (3.4,-0.3) -- (4,-0.7) -- cycle;
\end{scope}}
,
% 左耳
underlay={
\begin{scope}[shift={([xshift=9.06mm,yshift=4.93mm]frame.north west)},rotate=60]
% 耳のメイン xscale=-1 で反転
\path[xscale=-1,draw=black,fill=white,line width=0.6mm,rounded corners=1.0pt] (1.5,-0.03) .. controls (2.5,0.3) and (3.5,-0.5) .. (3.7,-0.6) .. controls (2.7,-0.5) and (2.5,-0.5) .. (2.2,-0.4);
% 耳の黒い部分の境界
\clip[xscale=-1] (1.5,-0.03) .. controls (2.5,0.3) and (3.5,-0.5) .. (3.7,-0.6) .. controls (2.7,-0.5) and (2.5,-0.5) .. (2.2,-0.4);
\fill[xscale=-1,black] (2.4,-0.5) to [out=10,in=210] (3.4,-0.3) -- (4,-0.7) -- cycle;
\end{scope}}
,
% しっぽ
underlay={
\begin{scope}
[xscale=1.1,yscale=0.4,shift={([xshift=-5mm,yshift=-19mm]frame.north east)},rotate=38]
% [xscale=1,yscale=1,shift={([xshift=-8mm,yshift=-50mm]frame.north east)},rotate=0]
% グリッド
% \draw [help lines] (-6,0) grid (6,6);
\path[draw=black,fill=white,line width=0.6mm,rounded corners=1.0pt]
(0,0) -- (0.3,0) -- (0.7,1.2) -- (-0.5,1.4) -- (-0.1,2.7) -- (-1.8,3) to [out=80,in=245] (-1,5.4) -- (-3.9,6) to [out=245,in=90] (-4.6,2.2) -- (-2,2) -- (-2.2,1.1) -- (0.2,0.7) -- cycle;
% 上とおなじの clip
\clip (0,0) -- (0.3,0) -- (0.7,1.2) -- (-0.5,1.4) -- (-0.1,2.7) -- (-2,3) to [out=80,in=245] (-1.2,5.4) -- (-4.1,6) to [out=245,in=90] (-4.8,2.2) -- (-2.2,2) -- (-2.5,1.1) -- (0.2,0.7) -- cycle;
\fill (-0.8,0.7) -- (-0.2,0.9) -- (-0.5,1.1) -- (-0.2,1.1) -- (-0.4,1.2) -- (-0.1,1.25) -- (-0.4,1.45)
-- (1,1.5) -- (1,0) -- (-0.5,0) -- cycle;
\end{scope}}
,
% 背中の模様
underlay={
\begin{scope}[shift={(frame.north west)},rounded corners=10pt]
\path[fill=black,xshift=36mm,yshift=0mm] (0,0) -- (0.3,-0.8) -- (0.35,0);
\path[fill=black,xshift=42mm,yshift=0mm] (0,0) -- (0.3,-0.8) -- (0.35,0);
\end{scope}}
}}
\begin{document}
\begin{tcolorbox}[pikachu]
a
\end{tcolorbox}
\end{document}
なおエラー内容は以下です。
%〈エラー内容〉
4
Undefined control sequence.
l.4 \documentclass
[12pt,a4j,papersize,uplatex,fleqn,dvipdfmx]{jsarticle}
「upTeX」にしてみたりと知人の助言を頂きましたが出来ませんでした。
ちなみに知人のパソコンではコンパイル出来ていました。
なおTeXのバージョンなど詳細は全て揃っていたはずです。
どなたか知識のある方、誤りなどご指摘くだされば幸いです。
boxが表示されない
\documentclass[a4paper,10pt,fleqn]{jreport}
\setlength{\oddsidemargin}{-5mm}
\setlength{\topmargin}{-20mm}
\setlength{\textwidth}{180mm}
\pagestyle{empty}
\usepackage{ulem}
\usepackage{paralist}
\usepackage{comment}
\usepackage{float}
\usepackage{color}
\usepackage{multicol}
\usepackage[dvipdfmx]{pict2e}
\usepackage{wrapfig}
\usepackage{graphicx}
\usepackage{bm}
\usepackage{url}
\usepackage{underscore}
\usepackage{colortbl}
\usepackage{tabularx}
\usepackage{fancyhdr}
\usepackage{cite}
\usepackage{otf}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{ajmacros}
\usepackage{textcomp}
\usepackage[dvipsnames]{xcolor}
\usepackage[ipaex]{pxchfon}
\usepackage{tcolorbox}
\usepackage{ascmac}
\renewcommand{\rmdefault}{phv}
\renewcommand{\sfdefault}{phv}
\makeatletter
\renewcommand{\tableofcontents}{%
\@mkboth{\contentsname}{\contentsname}%
\@starttoc{toc}%
}
\makeatother
\setlength{\columnseprule}{0.2mm}
\begin{document}
\thispagestyle{empty}
\begin{center}
\vspace{20mm}
{\Large\noindent あいうえお}\\
\vspace{40mm}
{\Huge\noindent\underline{\textbf{かきくけこ}}}\\
\bigskip
{\huge\noindent\textbf{さしすせそ}}\\
\vspace{90mm}
\Large\noindent
{2022年1月31日}\\
\vspace{\baselineskip}
たちつてと \underline{なにぬねの}\\
レイアウト総括 \underline{はひふへほ
}\\
\vspace{\baselineskip}
\vspace{\baselineskip}
\normalsize{まみむめも \underline{やゆよ}}
\vspace{40mm}
\end{center}
\thispagestyle{empty}
\clearpage
\noindent{\centering{\textbf{\Huge{ 目 次}}}}\\
\vspace{6mm}
\begin{multicols}{2}
\tableofcontents
\end{multicols}
\pagestyle{fancy}
\lhead{\rightmark}
\renewcommand{\chaptermark}[1]{\markboth{第\ \normalfont\thechapter\ 章~~#1}{}}
\thispagestyle{empty}
\renewcommand{\abstractname}{使い方}
\begin{abstract}
らりるれろ
\end{abstract}
\pagestyle{fancy}
\part{わをん}
\chapter{あいうえお}
\section{かきくけこ}
\subsection{さしすせそ}
\begin{tcolorbox}[title=たちつてと]%具体的にはこのtcolorboxです。
なにぬねの
\end{tcolorbox}
\end{document}
誤った箇所をご指摘くだされば幸いです。
なお質問はこれが初めてなのですが、質問のガイドラインに反しているなどの無礼をはたらいてしまっている場合は、是非教えていただければありがたいです。
どうかよろしくお願いします。
tclorbox中におけるインデントについて
\end{pointbox}
禁則処理について
インテグラルのフォントを変えたい
tabularrayについて(さらに)