由买买提看人间百态

topics

全部话题 - 话题: indented
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
h********g
发帖数: 5
1
Finite element analysis of the spherical indentation of transversely
isotropic piezoelectric materials
Modelling Simul. Mater. Sci. Eng. 20 (2012) 045019 (15pp) doi:10.1088/0965-
0393/20/4/045019
Abstract
Finite element analysis was used to analyze the indentation deformation of
a transversely isotropic piezoelectric material (PZT-4) by a rigid spherical
indenter. Three cases were considered in the analysis, which included (a)
the indentation by an insulating indenter, (b) the indentation by a
c... 阅读全帖
b*******g
发帖数: 513
2
为什么\indent有时候不管用?用了\setlength{\parindent}{0.25in} ,但不知为什么,每个section的第一段就是不indent,又用了\indent,但每个section的第一段还是indent不进去。为什么?望高人指点。多谢!
h********g
发帖数: 5
3
Finite Element Analysis of the Indentation-Induced
Delamination of Bi-Layer Structures
Ming Liu and Fuqian Yang∗
Materials Program, Department of Chemical and Materials Engineering,
University of Kentucky, Lexington, KY, 40506, USA
Journal of
Computational and Theoretical Nanoscience
Vol. 9, 851–858, 2012
Contact deformation can cause local damage of mechanical structures and lead
to structural failure
of mechanical devices. In this work, we use the finite element method
to analyze t... 阅读全帖
D******n
发帖数: 2836
4
来自主题: Statistics版 - SAS indent
well, my codes are perfectly indented, i am talking about lousily indented
codes from colleagues.....
Looks like no one does indents here or just indents randomly or just uses
spaces.
m*****e
发帖数: 4193
5
来自主题: Linux版 - emacs: indent after a newline
For example, if I write the following source code:
1: int main()
2: {
3: >>
4: }
Say I press enter after line 2, the cursor should stop with indentation at
line 3. But it's not the case right now. It starts at column 0 until I press
enter again, in which case it then indents correctly.
Is there a way to indent immediately after a newline?
b*******g
发帖数: 513
6
没关系,后来我用\hspace{0.25in},手动解决了。:)

么,每个section的第一段就是不indent,又用了\indent,但每个section的第一段还
是indent不进去。为什么?望高人指点。多谢!
T*****e
发帖数: 361
7
刚才试了一下,在window/preferences/java/editor/appearance
下可以改变tab display size。
可是怎样才能够改变indent呢?
习惯于indent设置为2,这样不会缩进太多。现在是4。
不过比较奇怪的是,稍早时候写的一段程序的缩进好像就是2。
不知道怎么搞得。
多谢了先。
v*****r
发帖数: 2325
8
来自主题: Programming版 - correct indentation in python ?
新学python, 一般在Linux command line 模式下用vi.
python 没有 {}, vi 无法为python code auto correct indentation.
correct indentation 在copy & paste 一段代码时候需要。
都说python 比perl 好, 可这一点, python 很不入流。
curly braces is widely used in many widely used language: c, java, etc.
c*******d
发帖数: 29
9
Got from http://en.wikibooks.org/wiki/LaTeX/Formatting#Paragraph_Indents
To indent all the lines of a paragraph rather than just the first line, use
the TeX command \hangindent. An example follows.
\hangindent=0.7cm This paragraph has an extra indentation at the left.
y*r
发帖数: 590
10
来自主题: TeX版 - how to indent sections in tex?
How to make the indent for each subsections?
1. INTRODUCTION
1.1 Section One
........
........
1.1.2 Subsection One
........
........
Now it is
1. INTRODUCTION
1.1 Section One
1.1.2 Subsection One
...
The \usepackage{indentfirst} seems only indent the first line of each
section....
thx!
D******n
发帖数: 2836
11
来自主题: Statistics版 - SAS indent
is there a tool to indent lousily indented or indentless SAS codes?
I try ESS, but it doesn't seem to have that function.
o****o
发帖数: 8077
12
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
write the code in normal way
when you have to send sb your code, remove all indents and comments

indent
D******n
发帖数: 2836
13
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
I actually wrote sth to do the opposite, re-indent the non-indented codes.

same
b********n
发帖数: 609
14
来自主题: CS版 - [转载] 没有auto indent 了?
【 以下文字转载自 Programming 讨论区 】
【 原文由 bluedaemon 所发表 】
windows xp home version,装了DEV-C++,发现没有auto indent,巨别扭,以为是
DEV-C++的问题,结果有换了好几个IDE,结果都没有,看来是系统的问题了。有大
侠知道怎么回事么?
b********n
发帖数: 609
15
来自主题: CS版 - [转载] 没有auto indent 了?
不知道,我这个里面就没有indent,虽然tools的选项里已经default有了,算了,
我已经换别的IDE了。
T*****e
发帖数: 361
16
多谢。
我瞎试了一番,发现鼠标右键菜单上有format命令,
就想到了这个应该可以自定义。
然后跑去该了缺省的那个,把indent改为2,
把source重新格式化了一下。
呵呵,正准备上这儿来删我的问题呢。
多谢多谢!
eclipse真的是不错,比我预期的要好得多。
唯一的问题是需要慢慢摸索,好多东西还不会。
m******n
发帖数: 155
17
来自主题: Programming版 - Indent的问题
用GNU indent,加什么option可以有这样的格式:
if( ... )
{
. . .
}
缺省的是这样:
if( ... ) {
. . .
}
n**d
发帖数: 9764
18
来自主题: Programming版 - indent C++ source code by VC++ 6.00
I have a several C++ source code files which need to be "indent" before
reading it. I know there are lot of free software can do this. Has the VC++
6.0 provided this function so that we can click one button to get the code
more beautiful? It seems not.
r*******n
发帖数: 3020
19
来自主题: Programming版 - correct indentation in python ?
我用vim写python很多年了,没有遇到不能auto indentation的问题
r*******n
发帖数: 3020
20
来自主题: Programming版 - correct indentation in python ?
If you use Ubuntu, I highly recommand the following:
https://github.com/fisadev/fisa-vim-config
It is pretty much easy to install which should save you from a lot of
tedious work of configurations that I don't even want to touch.
But if don't want to go with the above, you probably need to set
"filetype indent on" in your vimrc.
t****y
发帖数: 361
21
I need to change the indent for Section entries in the Table of Contents to
align the first number of the section (i.e. 1.1) to a letter in the previous
line of Chapter entry. Please help...
Thanks.
change
...
1. INTRODUCTION
1.1 Section One
...
to
...
1. INTRODUCTION
1.1 Section One
...
w*****n
发帖数: 94
22
try indent(1)
B**z
发帖数: 153
23
try try these commands
indent
cb
b********n
发帖数: 609
24
来自主题: Windows版 - [转载] 没有auto indent 了?
【 以下文字转载自 Programming 讨论区 】
【 原文由 bluedaemon 所发表 】
windows xp home version,装了DEV-C++,发现没有auto indent,巨别扭,以为是
DEV-C++的问题,结果有换了好几个IDE,结果都没有,看来是系统的问题了。有大
侠知道怎么回事么?
s**p
发帖数: 207
25
来自主题: Computation版 - how to indent a fortran code in visual studio
thanks
I know how to do it under xemacs
but I do not know how to smart indent a fortran code in visual studio.
D******n
发帖数: 2836
26
来自主题: Statistics版 - SAS indent
真正的coder(做软件)的都做indent的吧。就是统计师,不伦不类,不算coder,可是
也写code,虽然是SAS。
D******n
发帖数: 2836
27
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
赞一个。
对于自己看也很有用啊。有人写了一个千行的code,没有注释,没有分段,没有indent
,居然还能
run,真是神奇。
A*******s
发帖数: 3942
28
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
use indents, but in the opposite way;
write comments, but try to mislead people;
write macros inside another macro;
file A calls a macro in file B, file B calls a macro in file C, then C to D,
D to E, ...
if call execute is possible, use it instead of macros;
if FCMP is possible, use it instead of any sas functions...
Yes, i am doing these to keep my job, lol...
D******n
发帖数: 2836
29
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
For that matter , i will create a script to remove all the indents and
comments, delete all the blank lines, concatenate adjacent lines, and
remove cosmetic spaces.
d*******o
发帖数: 493
30
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
It is hard to indent in z/OS environment, which does not recognize TAB at
all.
A*******s
发帖数: 3942
31
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
oh yes i read it before
i admire the indent style, amazing...
S****Y
发帖数: 4634
32
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
还有人习惯都把程序写一行上。而且不分大小写,所有东西都是小写...

indent
R*********i
发帖数: 7643
33
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
Both indent and comment to help myself read later.
s*******f
发帖数: 148
34
来自主题: Statistics版 - 【调查】你的SAS Code做indent吗?
Both indentation and keyword capitalization, but rarely comments if for own use only.
D******n
发帖数: 2836
35
princess!
The script is still very primitive, might give errors if your code is too wi
erd or there are indent situations that are not considered yet.
w*********g
发帖数: 30882
36
来自主题: Military版 - 印度网友评中巴关系牢不可破
印度网友评中巴关系牢不可破
楼主:sevencell 时间:2015-01-28 21:12:00 点击:126 回复:1
三泰虎2015年1月27日译文,美国总统高调访问印度之际,中国称巴基斯坦是“不
可替代”的全天候盟友,承诺向巴基斯坦提供全力支持。这番言论是在中国外长会见来
访的巴基斯坦陆军参谋长Raheel Sharif时说的。巴基斯坦陆军发言人Asim Bajwa称,
会谈期间王毅对Sharif说:“巴基斯坦是中国不可替代的全天候盟友,两国的命运休戚
与共。”
译文来源:三泰虎 http://www.santaihu.com/2015012702.html
外文标题:Pakistan is our irreplaceable all weather friend: China
外文地址:http://economictimes.indiatimes.com/news/international/world-news/pakistan-is-our-irreplaceable-all-weather-friend-china/articleshow/46022572.cms
B... 阅读全帖
w*********g
发帖数: 30882
37
印度人评论中国:中和东盟贸易超4千亿美元,是美和东盟两倍多。利益是外交根基。
来源: 天天喝茶 于 2013-11-23 07:39:43 [档案] [博客] [旧帖] [给我悄悄话] 本文
已被阅读:149次 字体:调大/调小/重置 | 加入书签 | 打印 | 所有跟帖 | 加跟贴 |
查看当前最热讨论主题
据印媒报道,趁着美国政府关门,中国占据了在印尼举行的亚太经合组织(APEC)峰会
舞台的中心,提议打造一条连接中国和东南亚的“海上丝绸之路”。“中国的发展离不
开亚太,亚太没有中国的话也繁荣不起来。”中国主席示意该地区国家对中国合作的需
要也许超过对美国支持的需要。有消息称,北京希望拟议中的海上丝绸之路能够加强双
方合作,减轻其与5个邻国就岛屿主权争端带来的负面影响。
BEIJING: Taking advantage of the US government shutdown, China has taken
center stage of the Asia-Pacific Economic Cooperation (Apec) summit in
Indonesia and ... 阅读全帖

发帖数: 1
38
来自主题: Military版 - Sp2018是我的另外一个ID
下面是证据:
MIME-Version: 1.0
Date: Fri, 28 Sep 2018 15:55:23 -0400
References: <[email protected]>
In-Reply-To: <[email protected]>
Message-ID: <[email protected]
com>
Subject: Re: 未名空间--待处理任务通知
From: Jane Xie <[email protected]>
To: [email protected]
Content-Type: multipart/alternative; boundary="000000000000bac5890576f3cfae"
--000000000000bac5890576f3cfae
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
hello
On Fri, Sep 28, 2018 at 9:2... 阅读全帖
h********g
发帖数: 5
39
Guangfeng Zhao, Ming Liu and Fuqian Yang, The effect of an electric current
on the nanoindentation behavior of tin, Acta Materialia 60 (2012) 3773-3782
Abstract
Electrical–thermal–mechanical interactions determine the reliability and
performance of microelectromechanical devices and systems.
Using the nanoindentation technique the effect of an electric current
on the indentation deformation of Sn strips was studied for an
indentation load in the range 50–200 lN. During the indentation an e... 阅读全帖
n*****t
发帖数: 22014
40
来自主题: Joke版 - 程序员的鄙视链 zz (转载)
Linux Kernel Coding Style
This is a short document describing the preferred coding style for the
linux kernel. Coding style is very personal, and I won't force my views on
anybody, but this is what goes for anything that I have to be able to
maintain, and I'd prefer it for most other things too. Please at least
consider the points made here.
First off, I'd suggest printing out a copy of the GNU coding standards, and
NOT read it. Burn them, it's a great symbolic gesture.
Anyway, here goes:
Chapte... 阅读全帖
h********g
发帖数: 5
41
Ming Liu and Fuqian Yang, Finite element simulation of the effect of
electric boundary conditions on the spherical indentation of transversely
isotropic piezoelectric films, Smart Materials and Structures 21 (2012)
105020 (10pp)

Finite element simulation was used to analyze the effect of electric
boundary conditions on the
indentation deformation of a transversely isotropic piezoelectric film
with the contact radius
much larger than the film thickness. Six different combinations of... 阅读全帖
x***u
发帖数: 297
42
来自主题: Programming版 - 总结一下kaggle比赛
看过这种吐槽好多遍了,忍不住上来讲讲自己的感受。
大学时第一次用FORTRAN77(你说让我们和数学计算不搭界的学这干嘛),死活编译不
过。最后才发现是某一行行首需要空两格(不能多不能少),因此一开始听说Python
的formating是比较抵触。用了很短一段时间Perl,对各种符号漫天飞恶心的不行。开
始试用Python,整个转换过程不到两天。
现在,分号和花括号反而成了我学JS的第一个障碍。
还从来没有发现哪个Editor会有indent错误。一般缺省是4个spaces indentation。要
是真的需要很深的indent话(很少情况),手动 2 spaces indent,多数Editor自动在
下一行用同样的indentation。你要非要用TAB,哪我就没办法了。
好处是逼着你把code写整齐。坏处是因为code一般是clean的,经常忘了写注释。
你要实在想用花括号的话,这有一个project:“Python with Braces”(https://
github.com/eshirazi/python-with-braces)
Quote: "As its nam... 阅读全帖
g*****g
发帖数: 390
43
first of all, I don't know the paper you mentioned at all, but I did a
little nano-indentation before, so I will try to share what I know with you
and hope it helps.
Assume the workpiece is elastic-plastic material and indenter is rigid. So
in the process of indentation, you know the force, the displacement of
indenter and so the indentation the indenter made. When you unload, the
elastic recovery is working. When you pull out indenter completely, you can
get the final indentation by imaging tec
R*****i
发帖数: 2126
44
来自主题: JobHunting版 - 一道老题目, 求最快捷解法
这个题目建议用红黑树做可能最快捷有效。红黑树每一次插入,删除都是log(k),求平
均值非常简单,就是根部的那个节点。所以总的计算量是O(nlog(k))。
以下是c/c++代码(需要修改数组,以便一个一个输入)。
#include
#include
#include
#define INDENT_STEP 4
enum rbtree_node_color {RED, BLACK};
typedef struct rbtree_node_t {
int value;
struct rbtree_node_t* left;
struct rbtree_node_t* right;
struct rbtree_node_t* parent;
enum rbtree_node_color color;
} *rbtree_node;
typedef rbtree_node node;
typedef enum rbtree_node_color color;
typedef struct... 阅读全帖
h******a
发帖数: 198
45
I stick to K&R indention style.
and I added the following in my .emacs.
(add-hook 'c-mode-hook
'(lambda()
(local-set-key [13] 'c-return) ;;; RET with automatic indent
(local-set-key [16] 'indent-all) ;;; Ctrl-p pretty-prints file
(c-set-style "k&r") ;;; Kernihan & Richie's style
(setq c-basic-offset 4) ;;; 4 spaces for indentations
(c-set-offset 'substatement-open 0) ;;; No indent for open bracket
)
)
;;
l**********1
发帖数: 5204
46
Pls refer
6.4 OUTPUT STYLES AND FORMATTING
The beauty of a program such as EndNote (besides superior organization and
automatic numbering) is that one can change the output style for all
references instantly.
omitted
The third important option is the “Bibliography”→“Layout” option. Here
, the way the templates are ordered can be changed. It is regular that the
bibliography number is within brackets (1) or [1], and is followed by a tab.
This can be changed here. With default settings, there wi... 阅读全帖

发帖数: 1
47
回徐州已经好几天了,薇茵一直住在宾馆里,因为薇茵的父亲前几天说过,如果他见到
薇茵,一定会打断薇茵的一条腿……薇茵做错了什么事情,能让她的父亲说出这种绝情
的话?
只因薇茵改变了对公公的称呼,不叫他爸了,但孩子们仍然叫他爷爷……
1
贪杯的丈夫车祸去世,我满是绝望
我和丈夫槚秋是同乡,在外打工时相爱,就在我们确定结婚日期的第二个月,槚秋和几
个同乡在外吃饭时喝多了酒,回家的路上与路人因为擦碰这点小事而大打出手,结果造
成对方重伤,脾脏摘除,赔偿之后槚秋又被判了一年。
人进了监狱,准备结婚的钱也赔偿了,亲友全都劝我和槚秋分手,说槚秋喜欢喝酒,真
要和他结婚了,将来因为喝酒,还会生出别的事来。我父母不但让我和槚秋分手,还打
算去槚秋父母那里索要赔偿,被我拦住了。我父母问我是什么打算,分还是不分。我说
不分,给槚秋一次机会,相信他回来后会记住这一次教训的,而且我也会监督他。
槚秋出来后,我们没过多久就举行了婚礼。为了给槚秋找一条挣钱的路子,公公贷款买
了辆工程车,槚秋在外到处接活。我生下一对双胞胎,留在家里带孩子,日子过得辛苦
但甜甜蜜蜜的。公公是家里的顶梁柱,对槚秋的要求也很严格,带槚秋在... 阅读全帖
w******p
发帖数: 166
48
your input is definitely different than mine, my log lines are all very long
, thousands of chars each line.
with Perl I don't need to do the filtering to check if the search candidates
are within the first 30 chars, with Haskell I have to make code much more
lengthy and harder to read to try to be on par with Perl.
同样的事情 for me is to get my result as soon as could be operating on my
long log-line files, perl one line vs. Haskell multi-line ugliness I had to
do -- perl one-liner sufficient, and ... 阅读全帖
c*******d
发帖数: 1197
49
【 以下文字转载自 NanoST 讨论区 】
发信人: colinliud (hed), 信区: NanoST
标 题: 有没有做nanoindentation实验,测杨氏模量的
发信站: BBS 未名空间站 (Thu Jan 28 18:27:20 2010, 美东)
用的是MTS nano xp,测得的杨氏模量我直接用作sample的模量值;
但是看到paper中(oliver and pharr方法衍生的一系列方法),都是讲从unloading
curve来获取数据,计算模量,里面用的是reduced modulus,
想问一下这个reduced modulus就是indentation测得的值吗?(如果忽略indenter的影
响)。
简单点说,就是通过indentation测出数据就可以当初sample的杨氏模量吗? 还是要把
从unloading curve中获取的数据再通过 oliver and pharr提出的方程 计算后再获得?
可能说的有点语无伦次,但是我想做过indentation的高手应该能看清楚吧,呵呵!
c*******d
发帖数: 1197
50
用的是MTS nano xp,测得的杨氏模量我直接用作sample的模量值;
但是看到paper中(oliver and pharr方法衍生的一系列方法),都是讲从unloading
curve来获取数据,计算模量,里面用的是reduced modulus,
想问一下这个reduced modulus就是indentation测得的值吗?(如果忽略indenter的影
响)。
简单点说,就是通过indentation测出数据就可以当初sample的杨氏模量吗? 还是要把
从unloading curve中获取的数据再通过 oliver and pharr提出的方程 计算后再获得?
可能说的有点语无伦次,但是我想做过indentation的高手应该能看清楚吧,呵呵!
1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)