d********f 发帖数: 8289 | 1 【 以下文字转载自 EE 讨论区 】
发信人: ddyourself (dd), 信区: EE
标 题: 兄弟们latex里面怎样把一个致富放在最右面
发信站: BBS 未名空间站 (Fri Oct 21 12:40:05 2005), 站内
比如说,写完了一个证明,想放一个\square在最右面 |
a*****r 发帖数: 443 | 2 你看你用的package里面有没有\begin{proof} \end{proof}
ieee是有的
【在 d********f 的大作中提到】 : 【 以下文字转载自 EE 讨论区 】 : 发信人: ddyourself (dd), 信区: EE : 标 题: 兄弟们latex里面怎样把一个致富放在最右面 : 发信站: BBS 未名空间站 (Fri Oct 21 12:40:05 2005), 站内 : 比如说,写完了一个证明,想放一个\square在最右面
|
d********f 发帖数: 8289 | 3 我的package 没有,而且有时候也不是想些证明
就是写完了一段话放个结束的记号在那里。
【在 a*****r 的大作中提到】 : 你看你用的package里面有没有\begin{proof} \end{proof} : ieee是有的
|
T*******n 发帖数: 493 | 4 Two solutions:
1. \usepackage{amssymb} and say $\blacksquare$
or \ensuremath{\blacksquare}.
2. \rule[0pt]{1ex}{1ex} creates a black square about
the size of an "x" based on the current font size.
Make 0pt positive to raise the square, negative to
lower it.
If you want to use this in several places, define a
macro such as
\newcommand{\mysquare}[0]{\rule[0pt]{1ex}{1ex}}
and say \mysquare wherever you want it.
【在 d********f 的大作中提到】 : 我的package 没有,而且有时候也不是想些证明 : 就是写完了一段话放个结束的记号在那里。
|
d********f 发帖数: 8289 | 5 嗯,其实我就是用的$\blacksquare$
我的问题是怎么把这个东东放到这一行的最右边
而不是紧跟着其他字符
【在 T*******n 的大作中提到】 : Two solutions: : 1. \usepackage{amssymb} and say $\blacksquare$ : or \ensuremath{\blacksquare}. : 2. \rule[0pt]{1ex}{1ex} creates a black square about : the size of an "x" based on the current font size. : Make 0pt positive to raise the square, negative to : lower it. : If you want to use this in several places, define a : macro such as : \newcommand{\mysquare}[0]{\rule[0pt]{1ex}{1ex}}
|
l********k 发帖数: 17 | 6 dddddd yyyyoooouuuusssseeeellllllffff \hfill$\blacksquare$
【在 d********f 的大作中提到】 : 嗯,其实我就是用的$\blacksquare$ : 我的问题是怎么把这个东东放到这一行的最右边 : 而不是紧跟着其他字符
|
d********f 发帖数: 8289 | 7 \hfill如果是跟在公式后面好像不work阿,比如
\[
H(X) =..... \hfill\blacksquare
\]
这样的话,方块还是紧紧跟着公式的。
其他的情况是可以的。
【在 l********k 的大作中提到】 : dddddd yyyyoooouuuusssseeeellllllffff \hfill$\blacksquare$
|
l********k 发帖数: 17 | 8 try \text{\hfill}
【在 d********f 的大作中提到】 : \hfill如果是跟在公式后面好像不work阿,比如 : \[ : H(X) =..... \hfill\blacksquare : \] : 这样的话,方块还是紧紧跟着公式的。 : 其他的情况是可以的。
|
d********f 发帖数: 8289 | 9 好像还是不行,比如说
\[
H(Y_1, Y_2) - H(Y_1|X) - H(Y_2|X) {\text{\hfill$Y_1$, $Y_2$
independent conditional on $X$.}}
\]
还是紧紧地跟着公式
【在 l********k 的大作中提到】 : try \text{\hfill}
|
T*******n 发帖数: 493 | 10 You can try this:
\usepackage{amsmath,amssymb}
\begin{equation}
x=y\tag*{$\blacksquare$}
\end{equation}
but you'll lose the equation number.
【在 d********f 的大作中提到】 : 好像还是不行,比如说 : \[ : H(Y_1, Y_2) - H(Y_1|X) - H(Y_2|X) {\text{\hfill$Y_1$, $Y_2$ : independent conditional on $X$.}} : \] : 还是紧紧地跟着公式
|