TeXstudio:自動完成過多

TeXstudio:自動完成過多

當我在數學環境中工作時,我想輸入類似的內容\sec^2x,只要我在^the 之後輸入 the \sec,它就會自動完成\secto \section。或者,當我在某個環境中工作tikzpicture並且想要輸入時,一旦我輸入 ,rotate = 90它就會自動rotate =完成。有沒有辦法停止特定指令的自動完成?我不想放棄自動放置我正在工作的任何環境。rotate around x==\end{}

編輯:我正在 TeXstudio 版本 4.7.2 中工作。一些例子是我正在寫出一些畢達哥拉斯恆等式:

\[\tan^2\theta=\sec^2\theta-1\]

或者我正在繪製一個圖表並希望旋轉一些節點:

\begin{tikzpicture}
    \draw (0,0) -- (0,3) -- (3,0) -- (0,0);
    \node[anchor = south, rotate = 90] at (0,1.5) {Silo};
    \node[anchor = south, rotate = -90] at (0,1.5) {50 feet};
    \node[anchor = north] at (1.5,0) {Shadow};
    \node[anchor = south] at (1.5,0) {$L$};
    \node[anchor = south east, xshift = -.4cm] at (3,0) {$\theta$};
\end{tikzpicture}

我希望這能澄清一些事情。

完整測試文件:

\documentclass{article}
\usepackage[utf8]{inputenc}

\title{College Precalculus Solutions}
\author{Sal Brusco}
\date{\today}

\usepackage{amsthm}
\usepackage{mathtools}
\usepackage{xfrac}
\usepackage{polynom} % polynomial long and synthetic division
\usepackage{xcolor} % highlight equations
\usepackage{array}
\usepackage{stmaryrd} %for the integer function \llbracket \rrbracket
\usepackage{dsfont} %for number sets \mathds{Z}
\usepackage{amssymb} %for square
\usepackage{parskip} % this adds space between paragraphs
\usepackage[top=1in,bottom=1in,left=1in,right=1in]{geometry}
\usepackage{enumitem} % numbering
\usepackage{amsmath} % aligning expressions and equations
\usepackage{fancyhdr} % gets me the heading at the top of each page
\usepackage{url} % gets the fancy url in the reference
\usepackage{graphicx} % i can put pictures in
\usepackage{pgfplots} %graphs
\usepackage{multicol} %put stuff in columns with \begin{multicol}{n}
\usepackage{multirow} %\multirow{number of rows}{width}{text}
\usepackage{cancel}
\usepackage{wrapfig}%so that pictures and text can appear side by side with
%\begin{wrapfig}{alignment}{image size}
%   \inputgraphics...
%\end{wrapfig}
%then text
\usepackage{tikz}
\usetikzlibrary{calc}
\usetikzlibrary{angles,quotes} %triangles
\pgfplotsset{compat=1.17}
% the following is the header
\pagestyle{fancy}
\fancyhf{}
\setlength{\headheight}{15pt}
\fancyhead[L]{\nouppercase{\leftmark}}
\fancyhead[R]{\rightmark}
\rfoot{Page \thepage}
\renewcommand{\headrulewidth}{.5pt}

\newcounter{Ex}
\newenvironment{Ex}[ 1][]{
    \ifdim\pagetotal=0pt
    \else
    \rule{3in}{1px}
    \vspace{-1em}
    \fi
    \refstepcounter{Ex}
    \par\medskip
    \textbf{Ex~\theEx: #1}
    \rmfamily}{\medskip}
\numberwithin{Ex}{subsection} %puts the subsection number before example number
\newcommand{\degs}{^\circ}
\newcommand{\infinf}{-\infty,\infty}
\newcommand{\done}{\hspace{\fill}$\blacksquare$}

\begin{document}
    Pythagorean Identities:
    \[\sin^2\theta=1-\cos^2\theta\hspace{1in}\tan^2\theta=\sec^2\theta-1\hspace{1in}1=\csc^2\theta-\cot^2\theta\]
    \begin{Ex}
        Picture first.
        \begin{center}
            \begin{tikzpicture}
                \draw (0,0) -- (0,3) -- (3,0) -- (0,0);
                \node[anchor = south, rotate = 90] at (0,1.5) {Silo};
                \node[anchor = south, rotate = -90] at (0,1.5) {50 feet};
                \node[anchor = north] at (1.5,0) {Shadow};
                \node[anchor = south] at (1.5,0) {$L$};
                \node[anchor = south east, xshift = -.4cm] at (3,0) {$\theta$};
            \end{tikzpicture}
        \end{center}
        Now we have to make a function of $\theta$ that finds $L$.  Well we're dealing with the opposite and adjacent, so we use tangent.
        \begin{align*}
            \tan\theta &= \dfrac{50}{L}\\
            L &= \dfrac{50}{\tan\theta} = L(\theta)
        \end{align*}
    Part 1 done.  We have the function.  Now we just substitute the values into the function.  For $10\degs$, $L(10) \approx 283.56$ feet.  For $30\degs$, $L(30)\approx 86.60$ feet.  For $50\degs$, $L(50)\approx 41.96$ feet.
    \end{Ex}
\end{document}

在此輸入影像描述

在此輸入影像描述

相關內容