Excel 取消隐藏的列 Posted on 2015-05-19 | In 百度空间的旧文章 在隐藏的列的表头上,光标放到隐藏的列的那个位置向两边拉,就把隐藏的列拉出来了。Excel 2010 测试通过。
xeletax 中文不换行的解决方案 Posted on 2015-05-19 | In 百度空间的旧文章 下面的方案是可行的: 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165\XeTeXlinebreaklocale "zh"\XeTeXlinebreakskip = 0pt plus 1pt`</pre>整个文件:<!--more--><pre>`\documentclass[$if(fontsize)$$fontsize$,$endif$$if(lang)$$lang$,$endif$$if(papersize)$$papersize$,$endif$]{$documentclass$}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage{amssymb,amsmath}\usepackage{ifxetex,ifluatex}\usepackage{fixltx2e} % provides \textsubscript% use microtype if available\IfFileExists{microtype.sty}{\usepackage{microtype}}{}% use upquote if available, for straight quotes in verbatim environments\IfFileExists{upquote.sty}{\usepackage{upquote}}{}\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex \usepackage[utf8]{inputenc}$if(euro)$ \usepackage{eurosym}$endif$\else % if luatex or xelatex \usepackage{fontspec} \ifxetex \usepackage{xltxtra,xunicode} \fi \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} \newcommand{\euro}{€}$if(mainfont)$ \setmainfont{$mainfont$}$endif$$if(sansfont)$ \setsansfont{$sansfont$}$endif$$if(monofont)$ \setmonofont{$monofont$}$endif$$if(mathfont)$ \setmathfont{$mathfont$}$endif$\fi$if(geometry)$\usepackage[$for(geometry)$$geometry$$sep$,$endfor$]{geometry}$endif$$if(natbib)$\usepackage{natbib}\bibliographystyle{plainnat}$endif$$if(biblatex)$\usepackage{biblatex}$if(biblio-files)$\bibliography{$biblio-files$}$endif$$endif$$if(listings)$\usepackage{listings}$endif$$if(lhs)$\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{}$endif$$if(highlighting-macros)$$highlighting-macros$$endif$$if(verbatim-in-note)$\usepackage{fancyvrb}$endif$$if(tables)$\usepackage{longtable}$endif$$if(graphics)$\usepackage{graphicx}% We will generate all images so they have a width \maxwidth. This means% that they will get their normal width if they fit onto the page, but% are scaled down if they would overflow the margins.\makeatletter\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}\makeatother\let\Oldincludegraphics\includegraphics\renewcommand{\includegraphics}[1]{\Oldincludegraphics[width=\maxwidth]{#1}}$endif$\ifxetex \usepackage[setpagesize=false, % page size defined by xetex unicode=false, % unicode breaks when used with xetex xetex]{hyperref}\else \usepackage[unicode=true]{hyperref}\fi\hypersetup{breaklinks=true, bookmarks=true, pdfauthor={$author-meta$}, pdftitle={$title-meta$}, colorlinks=true, urlcolor=$if(urlcolor)$$urlcolor$$else$blue$endif$, linkcolor=$if(linkcolor)$$linkcolor$$else$magenta$endif$, pdfborder={0 0 0}}\urlstyle{same} % don't use monospace font for urls$if(links-as-notes)$% Make links footnotes instead of hotlinks:\renewcommand{\href}[2]{#2\footnote{\url{#1}}}$endif$$if(strikeout)$\usepackage[normalem]{ulem}% avoid problems with \sout in headers with hyperref:\pdfstringdefDisableCommands{\renewcommand{\sout}{}}$endif$\setlength{\parindent}{0pt}\setlength{\parskip}{6pt plus 2pt minus 1pt}\setlength{\emergencystretch}{3em} % prevent overfull lines$if(numbersections)$$else$\setcounter{secnumdepth}{0}\XeTeXlinebreaklocale "zh"\XeTeXlinebreakskip = 0pt plus 1pt$endif$$if(verbatim-in-note)$\VerbatimFootnotes % allows verbatim text in footnotes$endif$$if(lang)$\ifxetex \usepackage{polyglossia} \setmainlanguage{$mainlang$}\else \usepackage[$lang$]{babel}\fi$endif$$for(header-includes)$$header-includes$$endfor$$if(title)$\title{$title$}$endif$\author{$for(author)$$author$$sep$ \and $endfor$}\date{$date$}\begin{document}$if(title)$\maketitle$endif$$for(include-before)$$include-before$$endfor$$if(toc)${\hypersetup{linkcolor=black}\setcounter{tocdepth}{$toc-depth$}\tableofcontents}$endif$$body$$if(natbib)$$if(biblio-files)$$if(biblio-title)$$if(book-class)$\renewcommand\bibname{$biblio-title$}$else$\renewcommand\refname{$biblio-title$}$endif$$endif$\bibliography{$biblio-files$}$endif$$endif$$if(biblatex)$\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$$endif$$for(include-after)$$include-after$$endfor$\end{document} ~~~~~~~~~~~~~~~
xelatex 纸张大小设置 Posted on 2015-05-19 | In 百度空间的旧文章 123456789101112131415161718192021\documentclass[]{article}\usepackage[T1]{fontenc}\usepackage{lmodern}\usepackage{amssymb,amsmath}\usepackage{ifxetex,ifluatex}**\usepackage[body={18cm,24cm}]{geometry}****\geometry{papersize={21cm,29.7cm}}**\usepackage{fixltx2e} % provides \textsubscript% use microtype if available\IfFileExists{microtype.sty}{\usepackage{microtype}}{}% use upquote if available, for straight quotes in verbatim environments 注意加粗的两行。
读书笔记:IOS视图控制器与控件 Posted on 2015-05-19 IOS 视图控制器视图控制器之间的切换在响应的位置,创建需要的视图控制器,然后preset过去。 视图控制器之间传递数据 通知中心 最简单的方式,缺点就是两个类之前没有关系。 代理模式 采用协议的方式,需要向外传数据的类定义代理,接受数据的类实现协议。协议赋值采用 assign。 # IOS 控件 UILabel UIControl 处理事件 UIButton 处理状态 工厂方法:buttonWithType 贴图的方法,要使用custorm Type cancel 事件,来电话和锁屏触发 风火轮(UIActivityIndicatorView) 显示与停止,显示到状态栏。
读书笔记:IOS视图控制器与控件 Posted on 2015-05-19 | In 未分类 IOS 视图控制器视图控制器之间的切换在响应的位置,创建需要的视图控制器,然后preset过去。 视图控制器之间传递数据1. 通知中心 最简单的方式,缺点就是两个类之前没有关系。 1. 代理模式 采用协议的方式,需要向外传数据的类定义代理,接受数据的类实现协议。协议赋值采用 assign。 IOS 控件 UILabel UIControl 处理事件 UIButton 处理状态工厂方法:buttonWithType贴图的方法,要使用custorm Type cancel 事件,来电话和锁屏触发 风火轮(UIActivityIndicatorView) 显示与停止,显示到状态栏。