Best way to handle Table headings and tables

I am trying to work out a way where a user can have multiple subheadings to build a table. For example, a user can work with this type of workflow.

Section header  --Table Heading    ---Table 

OR

Section header  --Table Heading   --Table Subheading (optional)       ---Table 

OR

  Section header      --Table Heading       ---Table Subheading (*optional*, if user has more sub-sub heading, they might need more one more subheading)          ----Table Sub-subheading             -----Table 

What is the best way to determine if the user will require that subheading and then allow them to enter the information in a table?

Should headings always use the same font as the body?

I’m working on some of the layouts for a User Handbook and right now my main concern is fonts. I’m trying to decide whether to use the same font for the body text and the headings.

If I use different fonts (along with the larger type and bolding), that will draw attention to headers and make it easy to skim. However, using the same font is more consistent and may be smoother to read.

Should I always use the same font for headings for readability purposes? What if I’m starting a new chapter as opposed to a new section?

How to insert links to headings in Google Docs without brute force (incremental completion and narrowing)


Problem Statement

This is specifically for Google Docs, not any other google products:

I need to quickly add links to other headings inside the same Google Document, much more efficiently than what I am doing now: Currently, I have been typing CTRL-k, selecting the Headings text entry field, and then using the up and down arrow keys to scroll through the list to choose the heading to insert as a link. This is very time-consuming as the number of headings in the document grows over time, as I have to wade through the entire list every time a new link is to be inserted.

Is this already built-into Google Docs, but I just don’t know how to use it properly? If not, then below is an enhancement request for Google to consider1:

Google Enhancement Request

When adding a link to another heading, I need to type characters into the text field, and have it progressively narrow (using incremental completion and selection narrowing) the headings down that match the characters that are typed, to avoid the repeated chore of reading every single heading again and again to find the heading link to insert.

See picture below:

selecting_headings_efficiently

Even more ideally, they would use a workflow similar to Emacs Helm Mode, whereby each space-separated word that is typed in is treated as an AND operation (meaning the heading must match all of the words typed in). Using this mode in Emacs has been an extreme productivity boost.

Even more ideally, a similar feature is already built in, and I just do not know how to use it properly.

1 I will use this post as feedback to Google Docs using its help menu:

Google Docs Help Menu

Whey does Google Docs make some H1 headings bold in the Table of Contents and some not bold?

In my Google docs document I have added a Table of Contents. It’s the kind with page numbers. In the Table of Contents, some of the Heading 1 (top-level) headings are bold, and some are not bold. Why?

I can’t find any reason why some of them have been made bold. None of the actual headings themselves use bold text, they are only bold in the TOC.

Use variable font to thin larger headings

I remember Microsoft Office 2007 introduced a style of headings that got lighter as the heading size got bigger. Now we can use variable fonts in websites, what about keeping the colour the same, but varying the font weight for each heading to achieve the same effect.

enter image description here

Is the hierarchy of the document going to remain clear? Is the readability going to better or worse? Does this idea work?

Create bold headings and rows in `TableForm` if `x` is prime

In the following table

table = Table[x*n, {x, 0, 20},     {n, 0, 5}];  TableForm[table, TableHeadings ->   {{"x=0", "1", "2", "3", "4",       "5", "6", "7", "8", "9", "10",       "11", "12", "13", "14", "15",       "16", "17", "18", "19", "20"},     {"n=0", "1", "2", "3", "4",       "5"}}] 

I want to create two versions:

  1. With the headings in bold for each row where x is prime,
  2. With the whole row in bold (including its heading) for each row where x is prime.

How do I accomplish these?

I want a computed result rather than simply formatting rows or headers manually, since I may want to change the size of the table later. I’m after a global solution…

Accordion headings cuts off to second line on collapsing a accordion heading

<div class="container">         <?php if( have_rows('director_information') ): ?>         <div id="accordion" role="tablist">              <div class="row">                 <?php $  i=1; while ( have_rows('director_information') ) : the_row(); ?>                 <div class="col-sm-4">                      <div class="card d-flex align-items-center">                         <div class="card-header" role="tab" id="heading-<?php echo $  i; ?>">                                  <button class="btn btn-link px-5 py-4" type="button" data-toggle="collapse" data-target="#collapse-<?php echo $  i; ?>" aria-expanded="true" aria-controls="collapse-<?php echo $  i; ?>">                                     <?php if( get_field('director_image') ): ?>                                         <img src="<?php the_field('director_image'); ?>" />                                     <?php endif; ?>                                     <p class="pt-3 mb-1 font-weight-bold"><?php the_sub_field('director_name'); ?></p>                                     <small><?php the_sub_field('director_designation'); ?></small>                                 </button>                          </div>                      </div>                 </div>                 <div id="collapse-<?php echo $  i; ?>" class="col-md-12 collapse <?php if ($  i==1) { echo 'show'; } ?>" role="tabpanel" data-parent="#accordion" aria-labelledby="heading-<?php echo $  i; ?>">                     <?php the_sub_field('director_details'); ?>                 </div>                 <?php $  i++; endwhile; ?>                         </div>              </div>                   <?php endif; ?>     </div>