由买买提看人间百态

topics

全部话题 - 话题: hspace
1 (共1页)
V*********r
发帖数: 666
1
不要搞太花哨的。单栏,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
2
我的模版
\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.}~... 阅读全帖
b*******t
发帖数: 33714
3
来自主题: TeX版 - latex 表格自动排版的问题
\documentclass{article}
\usepackage{lipsum} % dummy random text
\usepackage{array}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}
}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m
{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}
m{#1}}
\begin{document}
\begin{tabular}{| c | c | c | L{4cm} | C{4cm} | R{4cm} |}
\hline
0& 1& 0& \lipsum[1]& \lipsum[1]& \lipsum[1]\\
\hline
\end{tabula... 阅读全帖
i******t
发帖数: 370
4
来自主题: TeX版 - A simple question on equations
No. The text is not aligned to the left...
I used:
\begin{flalign}
\textrm{(Mass-energy equivalence)}\hspace{0.25\textwidth} E&=mc^2 &\label{
eq:me}
\end{flalign}
I just wanna see if there's a way without using \hspace
F****I
发帖数: 270
5
来自主题: TeX版 - 问一下调整表格
我有一个表格,数据比较多,默认显示会挤出屏幕。
在不横向显示的前提下,我用\hspace{-2cm}把所有数据左移,这样装下了。但是\
hline部分没有没有左移。于是看上去像
---------
1 1 1 1 1
---------
怎么能够左移\hline呢?\hspace{-2cm}\hline 会报错
谢谢
l**********1
发帖数: 5204
6
Bingo
LZ pls try this template
****
author{A. Zhao{footnotesize $^1$}, B. Qian{footnotesize $^2$}, C. Sun{
footnotesize $^1$}, D. Li{footnotesize $^2$}, and E. Wang{footnotesize $^2$}
, F. Zhang{footnotesize $^1$}, G. Jiang{footnotesize $^2$}footnote{
Corresponding author. Address: Department of Kui Hua Bao Dian, University
of Sheng Jiao, PAwww, USA, Tel.:~(001) xxxx-mmmm, Fax:~(001) xxxx-nnnn, E-
mail: v************[email protected]}\
hspace{1cm}\
{footnotesize $^1$}Department of Zhi Xia Sheng ... 阅读全帖

发帖数: 1
7
import ystockquote
from pprint import pprint
import sys
from numpy import *
import matplotlib.pyplot as plt
import datetime
#print name,':', ystockquote.get_price(name)
#pprint(ystockquote.get_historical_prices('GOOG', '2013-01-03', '2013-01-08'
))
#print ystockquote.get_historical_prices('GOOG', '2013-01-03', '2013-01-08')
['2013-01-04']['Open']
#pprint(ystockquote.get_all(name))
#ystockquote.urlopen('http://www.google.com/finance/getprices?i=60&p=10d&f=d,o,h,l,c,v&df=cpct&q=IBM')
#print ystock... 阅读全帖
s*****i
发帖数: 650
8
来自主题: BuildingWeb版 - Word file in IE
Hi, all:
I have a problem:
The simpler version of HTML file is like below:
*********************************************************************









test file