Re: [問題] 請問如何用方框圈住一段文字,並加以條列式的標題
┌─ 範例 1 ──────────────────────┐
│ │
│ 範例1的內容......... │
│ │
└────────────────────────────┘
新手第一次發問
先謝謝各位大大了> <
小弟我想要打出上面那種樣式的框框
爬到了這篇討論剛好是我想問的問題
於是我想說可以先把原PO大大的指令複製下去編譯一探究竟
\documentclass[12pt,a4paper]{report}
\usepackage{fancybox,pstricks}
\newcommand{\titledbox}[2]
{\boxput*(-0.6,1){\psframebox*{ #1 }}
{\psframebox[framesep=12pt]
{\begin{minipage}[t]{0.92\textwidth}#2\end{minipage}}}
}
\begin{document}
\fontsize{12}{18pt}\selectfont
\newcounter{icount}
\renewcommand{\theicount}{\addtocounter{icount}{1}\arabic{icount}}
\begin{list}{}{
\usecounter{icount}
\renewcommand{\makelabel}[1]{\titledbox{ 狀況 \theicount }{#1}}}
\item [狀況的內文]
\item [狀況的內文]
\end{list}
\end{document}
結果跑不出來
好像是說我的黃色那行有問題
請問該怎麼修改呢?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.24.189.238
推
10/16 03:06, , 1F
10/16 03:06, 1F
→
10/16 21:14, , 2F
10/16 21:14, 2F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):