latex - Latex Scope Environment - latex tutorial
What is Scope in Latex ?
- Rather than changing a font then having to change it back, you can specify a scope for a font change.
- Braces { } are used to limit scope.
- In the following, italics are begin immediately following the opening brace { and stop immediately following the ending brace }.
- This is sometimes called a group in LaTeX.
- {\it text}
![learn latex tutorial - latex scope variables - latex example programs](https://wikitechy.com/tutorials/latex/img\latex-images/scope-of-the-variable.png)
learn latex tutorial - latex scope variables - latex example programs
![learn latex tutorial - latex scope variables - latex example programs](https://wikitechy.com/tutorials/latex/img\latex-images/variable-scope.png)
learn latex tutorial - latex scope variables - latex example programs
- Change the file provoke.tex to use braces to change a font rather than explicitly switching back to the correct font.