Color-code after initial note-taking: Often we may be tempted to color-code while making notes in the middle of an important lecture or class, however, this can be counter-productive.Here are some important tips that will be of help to you while making color-coded notes: So, you must remember to use a restaurant while making color-coded notes and be mindful of not overdoing it. Color and highlight those points which are of priority and important to memorize. Coloring too much makes the notes look weird and out of place and distracting – which again defies the purpose of making notes in the first place. While making color-coded notes an essential thing to keep in mind and remember is to not overdo the process of including colors in your notes. You can also use different colors to outline important points or make a difficult word stand out so that your eye can immediately go on it while going through your notes and helps you in remembering better. Just like we use different colors while coloring, mixing different colours while making notes helps in breaking up the monotony of notes. It is advisable to choose colours that resonate with your memory.Īlso Read: How to Use the Pomodoro Study Technique? Combine Colors It is always better to pick your own set of colours to make colour-coded notes and go with the ones you like the most. He uses red colour for action items for his team,īlue for the comments and notes of clients,Īnd green for action items clients need to take on. The Senior Systems Engineer at Oracle, Chris Smith says that he uses four colours whenever he makes notes. # string background color name.If you make messy notes with a single monotone then memorising such notes can be difficult – defying the main purpose of taking down notes. This function assumes $darkmode has # been set globally. # Returns the name of a color that will providing a contrasting foreground # color for the given background color. Things are a bit murky so let's add one more function that will provide a contrasting foreground on whatever background we choose. WriteLine "Error colored background" "Default" $color_error WriteLine "Warning colored background" "Default" $color_warn WriteLine "Success colored background" "Default" $color_success WriteLine "Info colored background" "Default" $color_info WriteLine "Mute colored background" "Default" $color_mute WriteLine "Primary colored background" "Default" $color_primary WriteLine "Default colored background" "Default" WriteLine "Default color on predefined background" WriteLine "Error colored text" $color_error WriteLine "Warning colored text" $color_warn WriteLine "Success colored text" $color_success WriteLine "Info colored text" $color_info WriteLine "Mute colored text" $color_mute WriteLine "Primary colored text" $color_primary WriteLine "Default colored text" "Default" WriteLine "Predefined colors on default background" Once we have a rough idea of what we're dealing with, I'll do: Defaults to $color_background # which is set based on the current terminal background # returns a string function Color () -lt 20000 ] then echo " true" else echo " false" fi # Defaults to "Default" which uses the system default # string background color name. UseColor= " true" # Set to false if you find your environment just doesn't handle colors well # Returns a color code for the given foreground/background colors # This code is echoed to the terminal before outputting text in # order to generate a colored output. The format of the string for foreground color is: The following table lists the codes: Color To output colored text, you need to printf or echo -e (the -e to ensure control characters are interpreted) the control characters for the required color, then output your text, and then (to be tidy) reset the output back to defaults. For instance, you may want an error to appear in red, success in green, or important info to be output in bold.Īdding color to your terminal output is straightforward and involves outputting the correct control characters before your text. The default text output to a terminal is monochromatic and doesn't provide a simple method to provide context.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |