m*m 发帖数: 1185 | 1 用vspace -xx
用的不满意。
有类似的命令吗?
3ks |
|
V*********r 发帖数: 666 | 2 不要搞太花哨的。单栏,Sans-serif字体,整齐一些就行了。
贴个简单的模板
\documentclass[11pt]{article}
\usepackage[top=1in, bottom=1.2in, left=1in, right=1in]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tabularx}
\usepackage{marvosym}
\usepackage{verbatim} % for multiline comment blocks
\usepackage{etoolbox}
\usepackage[english]{babel}
\usepackage{setspace} %conflict with \usepackage{needspace}
\usepackage{enumitem}
\renewcommand{\rmdefault}{phv} % Arial
\renewcommand{\sfdefault}{phv} %... 阅读全帖 |
|
p*l 发帖数: 1359 | 3 我的模版
\ProvidesPackage{beamerthemeclassnote}
\mode
\setbeamertemplate{caption}[numbered]
\setlength\parindent{28pt}
\setlength{\parskip}{0.75\baselineskip}
\setbeamersize{text margin left=0.5in,text margin right=0.5in}
\setbeamercolor{structure}{fg=black}
\setbeamercolor{palette primary}{fg=black,bg=white}
\setbeamertemplate{section in toc}{\vspace{12pt}\textbf{\inserttocsection}\}
\setbeamertemplate{subsection in toc}{\vspace{12pt}\hspace{18pt}\textbf{\
inserttocsubsectionnumber.}~... 阅读全帖 |
|
e******d 发帖数: 310 | 4 \vspace*{\fill} %%% * 表达啥意思, \vspace*{\fill} 与 \vspace{\fill} 有区别吗?
谢谢 |
|
E********e 发帖数: 1734 | 5 是这样的,这个推荐人让我填写以下的文本文件给他,这个文件是我每次需要给他的唯一的东西。他有我的推荐信的内容(refs.txt)。他收到我发的文本文件以后运行他写的脚本,脚本生成一堆pdf的推荐信并且自动发送。他说他几秒钟生成全部推荐信并发出去。
他还有一个扫描的jpg签名,这个签名会自动插在“Sincerely Yours”之后。
但是我不知道他的脚本具体怎么写的。
我发给他的文件是:
\address{
}
\signature{Dr. Steven Wilson\ Professor}
\def\today{}
\pagestyle{empty}
\begin{document}
email:p******[email protected]
\begin{letter}{Human Resources,\
University of AAAAAAA,\
100 College Street,\
BBB, 12345.\
}
\vspace*{1.5cm}
\opening{Dear Sir/Madam,}
\input{refs.txt}
\closing{Sincerely Yours,}
\e... 阅读全帖 |
|
b*********n 发帖数: 173 | 6 \vspace{-xxcm}
\today{}
\vspace{-xxcm} |
|
D**o 发帖数: 2653 | 7 这个我说的类似banner的code如下
\begin{beamercolorbox}[leftskip=2.5em,wd=\paperwidth]{talktitle}{\vspace{.
1em}\\{\LARGE #1}\\\vspace{.7em}}\end{beamercolorbox}
在正文的document里面关于talktitle的部分
\titlepage{题目} |
|
T*******n 发帖数: 493 | 8 Try changing
{talktitle}{\vspace{.1em}\\{\LARGE #1}\\\vspace{.7em}}
to
{talktitle\par}\addvspace{.1em}{\LARGE #1\par}\addvspace{.7em}
and see what happens. |
|
b*******h 发帖数: 56 | 9 谢谢版主的关心,找到了解决方法
\def\beforesep{-0.5in}
\def\aftersep{0pt}
\makeatletter
\def\@makechapterhead#1{%
\vspace*{\beforesep}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\large\centering\bfseries \@chapapp\space \thechapter
\par\nobreak
\vskip 0\p@
\fi
\fi
\interlinepenalty\@M
\large \centering\bfseries #1\par\nobreak
\vskip \aftersep
}}
\def\@makeschapterhead#1{%
\vspace*{\beforesep}%
{\parinden |
|
T*******n 发帖数: 493 | 10 Try \vspace*{...}, or put a \null before the \vspace. |
|
m*******r 发帖数: 21 | 11 多谢 tabular不错,不过tabular距离上下文的间距都消失了似乎,我现在用vspace解
决的,请问还有什么更好解决方法么,比如不需要手动设vspace{4pt}之类的 |
|
w*****9 发帖数: 346 | 12 晕了 看了网上一些材料还是搞不定 现在的问题是最最上面一条线死活显示不出来,最
左边一条vertical line的左上角cell还是显示着 最左列里面的horizontal line都消
失了。。。
\vspace{-0.1in} {\noindent
\begin{table}[b]
\footnotesize \center \caption{XXX} \vspace{0.05in}
{\centering\small
\begin{tabular}{|c|c|c|c|} \cline{2-4}
\rowcolor [gray] {.8} {\cellcolor [gray] {1.0}} & \textbf{Task 1} & \textbf
{Task 2} & \textbf{Task 3} \\ \cline{1-4}
\multicolumn{1}{|c|}{\cellcolor [gray] {0.8} \textbf{Task Set 1}} & epic &
pegwit & rawcaudio \\ \cline{1-4}
\multicolumn{1}{|c| |
|
b*****s 发帖数: 61 | 13 网上找到了一个可行的方法:
\documentclass{book}
\makeatletter
\let\l@figureOLD \l@figure
\renewcommand{\l@figure}{\vspace*{\baselineskip}\l@figureOLD}
\makeatother
\begin{document}
\addtocontents{lof}{\vspace*{-\baselineskip}}
\listoffigures |
|
g*********r 发帖数: 124 | 14 hfill/vfill 和 hfill*/vfill* 的差别在于:后者总是强行插入水平
(或竖直)空白,而前者在遇到换行(或换页)的地方会自动被忽略。
关于你的问题,实现如下:
\vfill* \centering
...your text...
\vfill*
\vfill* = \vspace*{\fill}
\vfill = \vspace{\fill} |
|
a****9 发帖数: 418 | 15 \vspace{-1pt}
你可以自己调整vspace减小的距离 |
|
p*********w 发帖数: 23432 | 16 感觉是你这个做法不太符合规范
前面都是空白,所以再加空白也是不行的
于是 vsapce 被忽略了
(你在 vspace前面加一行字,再改 vspace 就看出效果了)
我是新手,不会具体操作,得等其他人指点 |
|
a**e 发帖数: 5794 | 17 \vspace*{\fill}
\begin{center}
赞美耶稣!
\end{center}
\vspace{\fill} |
|
a**e 发帖数: 5794 | 18 \vspace*好像是通知latex不要去掉页下面的空白。
如果第二个\vspace{\fill}后面跟一个\newpage或\clearpage之类的,
第一个应该也不需要*
有区别吗? |
|
a**e 发帖数: 5794 | 19 \thispagestyle{empty}
\vspace*{\fill}
\begin{center}
...
\end{center}
\vspace{\fill} |
|
l*******t 发帖数: 642 | 20 自己搞定了。忒简单了。就在上一个addcontentsline后面加上vspace。for example,
\addcontentsline{toc}{chapter}{chapter title\vspace{5mm}}. |
|
i****n 发帖数: 13151 | 21 too simple. Finally I used "\vspace{-3em}" |
|
a*q 发帖数: 2109 | 22 【 以下文字转载自 BUPT 讨论区 】
【 原文由 Vspace 所发表 】
一老汉赶驴进城,倒路口,驴闯红灯,被罚5元。
老汉鞭驴曰:你以为你是交警啊,随便闯红灯?
前行,驴碰翻水果摊,赔款10元。
老汉怒鞭驴曰:你以为你是市政工商税务啊,
说掀摊子就掀摊子?
续行,于公共绿地歇脚,驴啃青草,被罚50,
老汉颓然鞭驴曰:你以为你是国家干部,走那吃那?
旋即赶驴回村,邻人凉鱼网于树上,驴昂然蹬之,网破,赔款500。
老汉眼含热泪鞭驴:你以为你是中国电信,上这破网不要钱啊?
驴怒而踢老汉,老汉又哭:你以为你是版主啊,想踢谁就踢谁? |
|
s*****i 发帖数: 650 | 23 Hi, all:
I have a problem:
The simpler version of HTML file is like below:
*********************************************************************
|
|
r**t 发帖数: 937 | 25 no!
at most, you can use some \vspace(-xxx) to save space between sections. |
|
m******y 发帖数: 588 | 26 You need to compile the applet code into XXX.class using jdk.
Then you can use the applet in the html page like
HTML Test Page
The applet will appear below in a Java enabled browser.
codebase = "."
code = "XXX.class"
name = "TestApplet"
width = "400"
height = "300"
hspace = "0"
vspace = "0"
align = "middle"
>
|
|
s*****p 发帖数: 5342 | 27 I use global-forwards like this:
however, when I do:
alt=""/>
It always get HTTP404 error like:
The requested resource (/app/WEB-INF/jsp/request.jsp) is not available.
Is there sth wrong with my doing? HELP!!!
Thanks in advance! |
|
|
z*****n 发帖数: 7639 | 29 根据要求,我得用book格式写个report。但是章节开始页
要用这个格式:
1. (my chapter title)
1.1 (my section title)
在book.sty里面的default设置是这样的:
Chapter 1
(my chapter title)
在book.cls里面,it is writen so
\def\@makechapterhead#1{%
\vspace*{50\p@}%
{\parindent \z@ \raggedright \normalfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\huge\bfseries \@chapapp\space \thechapter
\par\nobreak
\vskip 20\p@
\fi
\fi
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 40\p@
|
|
|
T*******n 发帖数: 493 | 31 Vertical spacing between text and floating environments such as the
"table" environment are controlled through parameters such as
\setlength{\textfloatsep}{...}
\setlength{\intextsep{...}
See the first few pages of Chap. 6 in TLC for details.
If you are not using floats, then try \addvspace{0.5in}.
\addvspace{0.5in} should give you a 0.5 inch space, even
if there are other hidden internal LaTeX vertical spaces added.
\vspace{0.5in} will add 0.5 inch to whatever amount of
space that may already b |
|
w******e 发帖数: 12 | 32 比如
\vspace{0.1in}
The actual effect of first attack is ...,
which can be denoted as V\rightarrow I.
the second kind of...
\rightarrow 后面的文字就都变成斜体字,并且没有字间空格。我是在window下编辑te
x文件,然后在linux下编译。
后来我用了$, i.e. $V \rightarrow I$ 虽然控制住了范围,但是变成斜体字了:( |
|
z*****n 发帖数: 7639 | 33 damn the conference that requires page limitation.
My figures becomes sooo small. |
|
z*****n 发帖数: 7639 | 34 or another is how to increase the font size in eps file?
The problem now is if i scaled the figures small, perhaps
the reviewers need amplifier to read it...
I really don't want to go through gnuplot again... |
|
U***t 发帖数: 98 | 35 我总觉得LaTeX中缺省的表格不是很好看,行与行上下的间隙太窄,表格内容感觉挤坐一
团,我想拉大一点行的间隙,可是\vspace 或 \vskip 都无法用,不知道那位有没有什么
经验帮助解释一下。 |
|
|
i******d 发帖数: 15 | 37 看来是我看错了问题,一般公式之后去缩进命令用得多,想当然了。调行距是\vspace |
|
b*****k 发帖数: 20 | 38 for a specific line, use \vspace
for the whole document, use \usepackage{setspace} |
|
T*******e 发帖数: 47 | 39 you may try \\[with parameter here], \vspace for inserting vertical space.
and try \hspace for horizontal space. |
|
|
b*********n 发帖数: 173 | 41 就是让表格高度增加。
\renewcommand{\arraystretch}{x.xx}
..where "x.xx" is a line spacing, well, actually it is what the current line
spacing is multiplied by before it is applied to the table lines (default
is "1"; in single space mode, to double space the table enter "2", for 1.5
spacing enter "1.5", etc.; in double space mode, to single space a table
enter "0.5", etc.). xx can be "cm", "in", etc.
还有就是如何增加表格标题与表格的距离
\vspace{x.xx} |
|
t****t 发帖数: 147 | 42 sometimes, I use \vspace to sequeeze space between figure/table and caption |
|
|
s***a 发帖数: 1676 | 44 \newline
or
\vspace{10pt} |
|
T*******n 发帖数: 493 | 45 Those are vertical spacing commands that depend on the current font size.
\bigskip is usually the same as the current \vspace{\baselineskip}.
\medskip is sually the same as 0.5*\bigskip.
\smallskip is usually the same as 0.25*\bigskip. |
|
J*******r 发帖数: 379 | 46 在\caption前面加\vspace{-0.5in}试试看? |
|
J*******r 发帖数: 379 | 47 try this:
\title{\vspace{-6in}test} |
|
b*******h 发帖数: 56 | 48 谢谢回复
不过还是没有用,为了测试,我又新建了一个tex文档,所有命令都没反应,难道
winedt不支持titlesec?
我晕死
\documentclass[12pt]{report}
\usepackage{titlesec}
%\usepackage[bf,small,center,indentafter,pagestyles]{titlesec}
%\titlespacing*{\chapter}{0pt}{-1in}{-1in}
%\titlespacing{\chapter}{0pt}{-50pt}{*1}[0pt]
\title{\vspace{-6in}test}
\begin{document}
。。。。。。。 |
|
b*******h 发帖数: 56 | 49 这个也不行,但是我发现了http://www.tug.org/TeXnik/mainFAQ.cgi?file=space/space
的一处错误,校正后现在我能够修改章节标题上下边距了,但是我还是不能修改table
of contents,list of figure,list of table 这几个标题的上下边距!!!
还请指点
附上正确的程序
其实网上的程序只是缺了一个%。。。
\makeatletter
\usepackage{calc}
\newlength{\topspace}
\setlength{\topspace}{-1in% <---- the whole vertical space
-\topmargin% <--- predefined
-\headheight% ...
-\headsep% ...
-\topskip}% ...
\def\@makechapterhead#1{%
\vspace*{\topspace}% <---- the spac |
|
w****h 发帖数: 212 | 50 我定义2副图片如下,结果都无法显示,虽然编译没报错。
如果只加载一副图片,就没问题。不知道如何修改,多谢。
as Fig.\ref{fig:rate1} shows.
as Fig.\ref{fig:simptop} shows.
....................................
\begin{figure}[hbtp]
\centering
\begin{minipage}[b]{3.4in}
\includegraphics[scale=0.3]{simnettop1.eps}
\caption{Network Topology}
\label{fig:simptop}
\end{minipage}
\vspace{-0.7cm}
\end{figure}
%\begin{figure}[hbtp]
% \centering
% \begin{minipage}[b]{3.4in}
% \includegraphics[scale=0.3]{rate1.eps}
% \caption{N |
|
|