小编spi*_*agl的帖子

如何将文本移回父级下方

* Parent 

Some text under this level

    ** Headline below parent
    ** Another Headline at the same level
    I don't want this text to be a headline but be indented same as the text under the parent level without being a headline. Cannot do this.
    I just cannot re-indent this text just below the parent level here 

* Another top-level headline
Run Code Online (Sandbox Code Playgroud)

在组织模式中是否有任何方法可以将纯文本重新缩进到与父级下但在父级下的几个标题下方的纯文本相同的缩进级别?

我正在尝试做这样的事情:

* A Section   
Introductory text.....   
   ** Subsection 1        
   ** Subsection 2    
Further Reading
Run Code Online (Sandbox Code Playgroud)

现在,“进一步阅读”不是一个标题,我不希望它成为一个标题。然而,我无法“摆脱”第2小节:我在它下面输入的任何内容都是它的一部分。也许我需要以其他方式构建它,例如使用列表而不是标题。

emacs org-mode

5
推荐指数
1
解决办法
475
查看次数

C数组的大小返回意外值

绝对不知所措:

如果声明中的数组长度设置为5,int a[5]那么我将得到预期的结果sizeof(a) / sizeof(a[0]).但是,int a[10];如下所示,sizeof(a)返回50sizeof(a) / sizefo(a[0])返回12.无法看清楚这一点.我的编译器坏了吗?在OS X 10.9上使用clang.

#include <stdio.h>


int main(void) {

    int a[10];
    size_t n = sizeof(a) / sizeof(a[0]);

    printf("sizeof(a): %lo\n", sizeof(a));
    printf("sizeof(a[0]): %lo\n", sizeof(a[0]));
    printf("%lo\n", n);

    return 0;

}
Run Code Online (Sandbox Code Playgroud)

c clang

0
推荐指数
1
解决办法
234
查看次数

标签 统计

c ×1

clang ×1

emacs ×1

org-mode ×1