Re: [問題] 關於跨column的equation

看板LaTeX (論文排版)作者 (很愛很愛寶貝琇)時間17年前 (2008/02/12 18:27), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
※ 引述《CCY0927 (只是個暱稱罷了)》之銘言: ==================================================================== % 下面這個 counter 要在 \begin{document} 之前設定好 \newcounter{mytempeqncnt} ==================================================================== \begin{figure*}[!t] % ensure that we have normalsize text \normalsize % Store the current equation number. \setcounter{mytempeqncnt}{\value{equation}} % Set the equation number to one less than the one % desired for the first equation here. % The value here will have to changed if equations % are added or removed prior to the place these % equations are referenced in the main text. \setcounter{equation}{10} \begin{equation} \label{eq:LK-1} \arg \min_{d_x^L, d_y^L}\sum_{x = u_x^L - w_x}^{u_x^L + w_x}\sum_{y = u_y^L - w_y}^{u_y^L + w_y}( I^L(x, y) - J^L(x + g_x^L + d_x^L, y + g_y^L + d_y) )^2 \end{equation} % Restore the current equation number. \setcounter{equation}{\value{mytempeqncnt}} % IEEE uses as a separator \hrulefill % The spacer can be tweaked to stop underfull vboxes. \vspace*{4pt} \end{figure*} \addtocounter{equation}{1} -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.175.230.164 上面一篇我問的問題在爬文到這一篇後找到解決方法,也試了很多次終於成功了 Orz 但上面的方法,我再補充如下 : (假設置底equation number是 11) 一定要把下面這幾行打在所加之置底頁之前一頁的 Tex 中 \begin{figure*}[!b] \normalsize \setcounter{mytempeqncnt}{\value{equation}} \hrulefill \vspace*{4pt} \setcounter{equation}{10} %要減1 \begin{equation} \label{eq:LK-1} \arg \min_{d_x^L, d_y^L}\sum_{x = u_x^L - w_x}^{u_x^L + w_x}\sum_{y = u_y^L - w \end{equation} \setcounter{equation}{\value{mytempeqncnt}} \hrulefill \vspace*{4pt} \end{figure*} 以上幾行加完之後,要在 equation 10 之後再加上這一行 \addtocounter{equation}{1} 代表 equation 10 之後的記數再加 1, 如此本文中 equation 10 之後的 equation 計數會直接跳到 12 而 equation 11 則會被當頁置底 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.113.236.114 ※ 編輯: tmml 來自: 140.113.236.114 (02/12 18:29) ※ 編輯: tmml 來自: 123.110.152.182 (02/12 23:06)
文章代碼(AID): #17iNIjsf (LaTeX)
文章代碼(AID): #17iNIjsf (LaTeX)