The command for adding parameter to the newenvironment was discussed as under-\newenvironment{env}[par]{st}{end}.However the tutorial says- we are adding a title to the blue text by getting the title as an input parameter. While explaining the meaning of the 5th line of the code, the tutorial further says we are adding- \textbf{textit{#1}}\\[12pt] to the given code without parameters.I have two questions as under-1. Which title we are using as an input parameters?2. Why then next line says we are adding \textbf{textit{#1}}\\[12pt] to the code without parameters.I am not able to understand these two different sentences.3 Also role of \\[12pt] after double back slash?Thanks in advancePlease help me.
13473 visits
Outline:What is an environment? Defining a new environment Defining environments with parameters Renewenvironment Redefining an existing environment to the required output
What is an environment? Defining a new environment Defining environments with parameters Renewenvironment Redefining an existing environment to the required output
Show video info
Pre-requisite