
我在編譯 LaTeX 程式碼時遇到問題。最近我正在學習LaTeX,開始寫作業。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[]{amsthm}
\usepackage[]{amssymb}
\usepackage{flexisym}
\usepackage{amsmath}
\title{Desarrollo}
\author{Example}
\date\today
\begin{document}
\maketitle
\subsection*{Desarrollo}
\textit{
\textbf{iii.} Encuentre los intervalos de concavidad y los puntos de inflexión.
}
\text{Calculemos $f\textprime\textprime(x)$}
\begin{align*}
&\text{Teniamos anteriormente que la derivada era}\\
f\textprime(x)&=\tan x \cdot \sec^{2}x\\\\
f\textprime\textprime(x)&=\sec^{2}(x) + [(1)\cdot(\sec ^{2}x)\cdot + x\cdot(\sec ^2x)\textprime]\\
&=\sec^{2}x+(\sec^{2}x+2\sec ^{2}x \cdot \tan x)\\
&=\sec^{2}x+\sec^{2}x+2\sec ^{2}x \cdot \tan x\\
&=2\sec^{2}x+2\cdot \sec^{2}x\cdot \tan x\\\\
&\text{Podemos factorizar por $\sec^{2}x$}\\
f \textprime \textprime(x)&=\sec ^{2}x (2+2 \tan x)\\\\
&\text{Entonces calculamos sus puntos criticos}\\
\end{align*}
\clearpage
\end{document}
獎勵:如果有人有一個好的資源來開始用 LaTeX 寫我的作業,我會很高興收到它。
答案1
我會去除align*
環境中多餘的空白行,並重新排列部分材料,以便更多的視覺焦點集中在新穎的部分,即二階導數的推導。例如,我認為沒有必要使用顯示的方程式來重新表達一階導數的公式。請務必用於\intertext
排版旁白和解釋性註釋。我還將所有實例替換\textprime
為'
. (我猜你加載了flexisym
包來訪問\textprime
宏,對吧?)
\documentclass{article}
%\usepackage[utf8]{inputenc} % that's the default nowadays
\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\usepackage{amsthm,amssymb,amsmath}
%\usepackage{flexisym} % no longer needed
\begin{document}
\subsection*{Desarrollo}
\textit{\textbf{iii.} Encuentre los intervalos de concavidad y los puntos de inflexión.}
\medskip
Calculemos $f''(x)$.
Teniamos anteriormente que la derivada era $f'(x)=\tan x \sec^2 x$.
\begin{align*}
f''(x)&= \sec^2 (x) + [(1)(\sec ^2 x) + x(\sec^2 x)'\,]\\
&= \sec^2 x+(\sec^2 x+2\sec^2 x \cdot \tan x)\\
&= \sec^2 x+\sec^2 x+2\sec ^2 x \cdot \tan x\\
&= 2\sec^2 x+2 \sec^2 x \tan x\\
\intertext{Podemos factorizar por $\sec^2 x$:}
f''(x)&= 2\sec ^2 x (1+\tan x)\,.
\end{align*}
Entonces calculamos sus puntos criticos.
\end{document}
答案2
\documentclass{article}
\usepackage[utf8]{inputenc}
\textwidth=16cm
\oddsidemargin=1cm
\usepackage{blindtext}
\title{Desarrolo}
\date{\today}
\author{Example}
\begin{document}
\maketitle
\section{Introduction}
\blindtext
\subsection*{Desarrollo}
\textit{
\textbf{iii.} Encuentre los intervalos de concavidad y los puntos de
inflexión.
}
\vspace{1cm}
\noindent
\section*{Calculemos $f''(x)$}
Teniamos anteriormente que la derivada era\medskip
\hspace{2cm}{ f'(x)= $ tan\;x \cdot sec^{2}\left[x\right]$\medskip}
\hspace{2cm}{\begin{tabular}{rl}
f'(x) = & $sec^{2}(x) + \left[(1)\cdot(sec ^{2}x)\cdot + x\cdot(sec
^2x)'\right]$ \\
=& $sec^{2}{x}+(sec^{2}{x}+2sec ^{2}{x} \cdot tan {x})$\\
=& $sec^{2}{x}+sec^{2}{x}+2 sec^{2}{x} \cdot tan {x}$\\
= & $2 sec^{2}{x}+2\cdot sec^{2}{x}\cdot tan {x}$\\
\end{tabular}\medskip }
Podemos factorizar por $\sec^{2}{x}$\\\medskip
{\hspace{2cm}{ f'(x) = =$ sec ^{2} x (2+2 tan x)$\medskip}
Entonces calculamos sus puntos criticos\medskip
\clearpage
\end{document}
這是用簡單的乳膠語句制定的。您可以根據您的要求進行修改,