Customizing/changing Indent Styles
Posted: Fri Feb 15, 2002 1:15 am
How do I change or customize the block indent style for a document class?
For example, C programmers generally follow one of the following indenting styles:
/* style #1 */
if (a==1)
{
printf("Hello, world.");
}
/* style #2 */
if (a==1)
{
printf("Hello, world.");
}
/* style #3 */
if (a==1) {
printf("Hello, world.");
}
/* style #4 */
if (a==1) {
printf("Hello, world.");
}
The default behaviour of TextPad seems to be styles 1 and 3, but I prefer #2. Is there a way of changing the automatic indenting behavior?
For example, C programmers generally follow one of the following indenting styles:
/* style #1 */
if (a==1)
{
printf("Hello, world.");
}
/* style #2 */
if (a==1)
{
printf("Hello, world.");
}
/* style #3 */
if (a==1) {
printf("Hello, world.");
}
/* style #4 */
if (a==1) {
printf("Hello, world.");
}
The default behaviour of TextPad seems to be styles 1 and 3, but I prefer #2. Is there a way of changing the automatic indenting behavior?