TeXstudio:过多的自动完成功能

TeXstudio:过多的自动完成功能

当我在数学环境中工作时,我想输入类似 的内容\sec^2x,只要我在^之后输入\sec,它就会自动完成\sec\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}

在此处输入图片描述

在此处输入图片描述

相关内容