Discussion Overview
The discussion revolves around writing hyperbolic functions in LaTeX, specifically focusing on the secant, cosecant, and cotangent hyperbolic functions. Participants explore issues related to undefined control sequences and potential solutions, including the use of macros and packages.
Discussion Character
- Technical explanation
- Debate/contested
- Homework-related
Main Points Raised
- One participant inquires about the LaTeX code for hyperbolic functions and reports an error with \sech, \csch, and \coth.
- Another participant suggests using \text{sech} and creating macros, noting that these are not standard LaTeX commands except for \coth.
- A participant expresses uncertainty about the undefined control sequence error when using \text{} within an {eqnarray*} environment.
- Another participant mentions that \coth works for them and speculates that the issue may be related to spacing between the command and its argument.
- One participant proposes creating new commands in the preamble to define the hyperbolic functions, emphasizing the use of \mathrm for font consistency and spacing.
- A later reply suggests using \DeclareMathOperator if the amsmath package is being used, indicating an alternative approach to defining the functions.
Areas of Agreement / Disagreement
Participants express differing views on the best approach to writing hyperbolic functions in LaTeX, with no consensus on a single solution. Some agree on the utility of creating macros, while others discuss specific issues related to environments and spacing.
Contextual Notes
Participants mention potential issues with certain LaTeX environments and the need for proper spacing, but do not resolve the underlying causes of the errors encountered.