由买买提看人间百态

topics

全部话题 - 话题: makebox
(共0页)
T*******n
发帖数: 493
1
来自主题: TeX版 - 请问如何生成这样的矩阵
\documentclass{article}
\usepackage{amsmath}
\makeatletter % required because of the use of \@tempdima
\newcommand*{\toplabel}[4]{%
\settowidth{\@tempdima}{\ensuremath{#1}}%
\makebox[\@tempdima][c]{%
\hss
\ensuremath{%
\makebox[0pt][r]{\ensuremath{\scriptstyle#2}}%
\scriptstyle{#3}%
\makebox[0pt][l]{\ensuremath{\scriptstyle#4}}%
}%
\hss
}%
}
\makeatother
\begin{document}
Here is one way of doing this.
\begin{equation}
%
\begin{array}{r} % matrix of q and q
m**D
发帖数: 134
2
来自主题: Science版 - Re: A small queation in LaTeX
I defined it as \addots.
\def\addots {{
\settowidth {\wid} {$\ddots$}
\settoheight {\hei} {$\ddots$}
\raisebox{.07\hei}{\makebox[0.3\wid]{.}}
\raisebox{0.27\hei}{\makebox[0.3\wid]{.}}
\raisebox{0.46\hei}{\makebox[0.3\wid]{.}} }}
L******r
发帖数: 199
3
来自主题: TeX版 - 怎么把这个表格分割
如何把Bag 和 Dim之间及下面几格用垂线分割开来?
谢谢
\begin{table}[h]
\begin{center}
\bigskip
\noindent
\begin{tabular}{|l||c{5.5cm}||c{5.5cm}|c{2cm}|}\hline
%\begin{tabular}{|p{4cm}|p{5.5cm}|p{2cm}|}\hline
\backslashbox{\textit{\textbf{Data}}}{\textit{\textbf{Methods}}}
&{\makebox[7em]{Bag}}&{\makebox[3em]{Dim}}
\\\hline\hline
Review &&\\\hline
Text &&\\\hline
%Seminar Room &&&&\\\hline
\end{tabular}
\bigskip
\end{center}
\end{table}
m**e
发帖数: 88
4
来自主题: Software版 - Re: 问题请教:用latex

thanks a lot.
for \makebox[14cm][l]{
\vbox to 16cm{
\vfill
请问哪里找到参考文献查找帮助,[l]代表什么?什么是vfill等等?
T*******n
发帖数: 493
5
来自主题: TeX版 - 怎么控制表格里行的高度?
Each cell in the table has its own vertical alignment reference point,
and all the cells in the same row have their vertical alignment reference
points aligned with each other. The vertical alignment of these cells
work the same way as \parbox's.
Maybe this helps illustrate the alignment mechanism?
\documentclass[landscape]{article}
\setlength{\oddsidemargin}{0in}
\setlength{\textwidth}{9in}
\begin{document}
\makebox[0pt][l]{\rule{\textwidth}{0.2pt}}
\ignorespaces
vertical alignment reference l
t**i
发帖数: 688
6
FIXED!
\usepackage{eso-pic}
\usepackage{color}
\AddToShipoutPicture{%
\AtTextCenter{%
\makebox(0,0)[c]{\resizebox{\textwidth}{!}{%
\rotatebox{45}{\textsf{\textbf{\textcolor[gray]{0.90}{DRAFT}}}}}}%
}
}
s****y
发帖数: 100
7
如果用:
\makebox[0pt][l]{\includegraphics{backgroud.eps}}%
\includegraphics{foreground.eps}
两个图都左下对齐,不能控制foreground.eps在的位置.
T*******n
发帖数: 493
8
How about
\includegraphics{backgroud.eps}%
\makebox[0pt][r]{\includegraphics{foreground.eps}
a***n
发帖数: 3633
9
介个对应的是makebox吧。
a**e
发帖数: 5794
10
\mbox 对应 \fbox
\makebox 对应 \framebox
\parbox 没有对应的box,可以用\fbox 里面嵌套 minipage 实现。
(共0页)