由买买提看人间百态

topics

全部话题 - 话题: vspace
1 2 下页 末页 (共2页)
m*m
发帖数: 1185
1
来自主题: TeX版 - 有没有类似vspace的命令?
用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
来自主题: TeX版 - 请教vskip的使用
这个我说的类似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
来自主题: TeX版 - 请教vskip的使用
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
来自主题: TeX版 - 第一页怎么空行?
Try \vspace*{...}, or put a \null before the \vspace.
m*******r
发帖数: 21
11
来自主题: TeX版 - 公式对齐问题
多谢 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
来自主题: Piebridge版 - iseven哪去了?
too simple. Finally I used "\vspace{-3em}"
a*q
发帖数: 2109
22
来自主题: USTB版 - [转载] A joke
【 以下文字转载自 BUPT 讨论区 】
【 原文由 Vspace 所发表 】
一老汉赶驴进城,倒路口,驴闯红灯,被罚5元。
老汉鞭驴曰:你以为你是交警啊,随便闯红灯?
前行,驴碰翻水果摊,赔款10元。
老汉怒鞭驴曰:你以为你是市政工商税务啊,
说掀摊子就掀摊子?
续行,于公共绿地歇脚,驴啃青草,被罚50,
老汉颓然鞭驴曰:你以为你是国家干部,走那吃那?
旋即赶驴回村,邻人凉鱼网于树上,驴昂然蹬之,网破,赔款500。
老汉眼含热泪鞭驴:你以为你是中国电信,上这破网不要钱啊?
驴怒而踢老汉,老汉又哭:你以为你是版主啊,想踢谁就踢谁?
s*****i
发帖数: 650
23
来自主题: BuildingWeb版 - Word file in IE
Hi, all:
I have a problem:
The simpler version of HTML file is like below:
*********************************************************************









test file