newenvironment in LaTeX - English
- subtitles off
- captions off
- English
- Questions posted on Forums
- LaTeX Tutorials - English
-
Defining parameters to newenviornment
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.
04-05M 40-50S sapatil@acpce.ac.in
Answer last updated on: May 2, 2020, 8:10 p.m.
-
1LaTeX on Windows using TeXworks
-
2Report Writing
-
3Letter Writing
-
4Mathematical Typesetting
-
5Equations
-
6Numbering Equations
-
7Tables and Figures
-
8Beamer
-
9Bibliography
-
10Feedback diagram with Maths
-
11newcommand in LaTeX
-
newenvironment in LaTeX
-
13Writing Style Files in LaTeX
-
14Indic Language Typesetting in LaTeX
-
15Beamer Themes and Animation in LaTeX
Questions posted on ST Forums:
13794 visits
Outline:
What is an environment? Defining a new environment Defining environments with parameters Renewenvironment Redefining an existing environment to the required output
Width: | 1280 | Height: | 704 |
---|---|---|---|
Duration: | 00:09:16 | Size: | 4.1 MB |
Show video info