Questions tagged [grammar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
26 views

LanguageTool not working in TeXstudio

I followed the steps given in this answer. Note: I have TeXstudio 3.1.2 and LanguageTool 5.4. However, I still get LT current status: error. More completely, I get the following message when I run ...
0
votes
0answers
31 views

Is it safe to omit braces around the command name being defined with \newcommand or \renewcommand? [duplicate]

I see both type of coding style in use: \newcommand{\hello}{Hello, World} \newcommand\hello{Hello, World} My question: Is there any situation where removing the braces around the command name being ...
0
votes
1answer
45 views

Detect the same two sentences

In TeXStudio, spelling and grammar checks seem unable to detect the same two sentences written in a paragraph or document. Obviously, popular grammar solutions didn't catch this spelling mistake ...
0
votes
1answer
52 views

How can I add sentences format (commas, period and plus sign)

Greetings I would like to add sentence format comma, period and plus sign in the following latex code: \documentclass{article} \usepackage{amsmath} \usepackage{xcolor} \definecolor{color1}{RGB}{219, ...
0
votes
0answers
29 views

Is there any plugin that helps correcting gramatical issues in Overleaf?

I'm using Overleaf to write a book, I wonder if there is a package or plugin to add to the online version to correct all grammatical issues ?
3
votes
2answers
168 views

Using a listing inside a figure-like environment

I am writing a document dealing with formal grammars, containing numerous examples. I decided to use the lstlisting environment from the listings package over the mathematics align and give example ...
0
votes
1answer
144 views

language french grammar in grammar

I use latex online with the overleaf website and I have a problem with the implementation of French language I used its packaging and nothing changes from English to French and here are the packaging ...
1
vote
1answer
143 views

french language, correction, grammar

Grammar-checking tool for use with LaTeX? I would like to know if there is a grammar correction software (french language)in Latex, i am using Texmaker for compilation. please help cause when i ...
2
votes
2answers
203 views

How to insert empty line in array environment with custom delimiter `@{…}`?

I am using the array environment with \begin{array}{l@{::=}ll} to typeset a formal grammar: How can I insert an empty line without my delimiter ::= appearing there? Minimal working example: % !TeX ...
2
votes
1answer
912 views

LyX + Grammarly (or other external grammar checkers)

LyX has some capabilities for sending/receiving words in a server. I am wondering if it is possible to integrate Grammarly (or similar software) to LyX. Does anyone know how to configure LyX for this?...
3
votes
0answers
300 views

How is TeX/LaTeX parsed?

I have some questions about TeX/LaTeX parser and parsing TeX/LaTeX after reading the following: Limitations when parsing TeX as a context-free grammar This is a PEG parser, which means it interprets ...
1
vote
1answer
56 views

glossaries-extra \glsaddkey footnote is not working

I'm writing my master thesis in german language using glossaries-extra for handling all the acronyms and stuff. Due to the german grammar, I need for some acronyms additional entries for the first ...
0
votes
1answer
42 views

how to edit in one place and auto refer to other place

this question's title may not clearly. my english expression is not good. take an example to convey my problem: \someorder{a}{\paragraph{1999}ABCD} \someorder{a} I expect after compile this ...
3
votes
2answers
273 views

How to put a frame around the grammar syntax in LaTeX

How I can put a frame around the grammar syntax in LaTeX like in listings that we use frame = single? For example, for this grammar: \documentclass{article} \usepackage{syntax} \begin{document} \...
2
votes
1answer
4k views

Apply Grammarly in TexShop (Latex) on a Macbook

Is there some way to apply the Grammarly in the TexShop (latex software for Mac), say on a MacBook Pro? A related post is here: How Integrate Grammarly on online latex editors? I know that we can ...
6
votes
1answer
160 views

Reproduce Lambek calculus notation in LaTeX

I'm trying to reproduce the following in my document: But I can't find a way of doing it. The closer that I got was with this code: \documentclass[a4paper, oneside, 10pt]{extarticle} \usepackage[...
0
votes
0answers
901 views

Single-letter words at the end of line [duplicate]

I am a beginner and I write article in slovak language. There is a rule to not leave single-letter words or preposition at the end of line (for example a, i, na, pre etc.) but to move them to the next ...
0
votes
1answer
509 views

(TeXstudio) Ignore specific words in grammar check

I am new to the community and I have a question about the grammar check in TeXstudio. As we know, some words are not recognized by the grammar checker, e.g., binarization. I am not very comfortable ...
3
votes
2answers
203 views

Using angular brackets in a grammar environment

How can I use angular <> brackets in a grammar environment? I want to describe that my programming language supports the following constructs: List<int> myList = new List<int>(); ...
2
votes
1answer
816 views

Changing underline color of LanguageTool in TeXstudio

I've recently installed LanguageTool to check grammar and spelling mistakes in TeXstudio. However, I often miss the errors because the gray-bluish underlining makes them hard to spot. Is there a way ...
27
votes
3answers
12k views

Grammarly for texstudio

The Grammar Check of texstudio is Languagetool which is really not a grammar checker (although best in the opensource environment). I was wondering if anyone knows a way to connect one of the good ...
12
votes
2answers
552 views

How to get correct grammar in the bibliography of a German document when the editor is an association?

I’m writing a German document with the biblatex-chicago package. One of my sources is a journal article where one editor is an association (a Verband). When I compile the code, the grammar in the ...
8
votes
0answers
622 views

Comfortably typesetting Extended Backus-Naur-Form

On this site I've found some solutions how to typeset Backus-Naur-Forms, e.g.: How to type a Backus-Naur form in LaTeX Which package can be used to write BNF grammars? Unfortunately both solution ...
1
vote
1answer
1k views

How to use two dictionaries (.dic & .aff files) at the same time in texmaker?

I'm often writing documents in different languages and I like to use the autocorrection in texmaker. But its very annoying, if you always have to switch the dictionary file. So I tried the following: ...
3
votes
1answer
2k views

Problems Installing Language Tool in TexStudio

I'm trying to install LanguageTool in TexStudio, as described in Installing Language Tool in TexStudio, but I cannot succeed. LanguageTool server is working as can be seen from this test: When I out ...
4
votes
1answer
832 views

LanguageTool with N-Grams in TeXstudio in Windows

LanguageTool can be used as an addon for TeXstudio to check grammar (that happens rule-based). You can also use n-grams as an addition. The description on how to use the n-grams can be found here: ...
2
votes
1answer
87 views

How to reproduce this keyword overview?

I need to describe keywords in a TeX document. It should look similar like the keyword section of the C# specification: I need some advice on how I can achieve this. Is this a transparent table? Can ...
9
votes
1answer
33k views

Language and spell check

How can I declare a language on Latex and have a grammar/spell check on the text? I would like to have highlighted the words that are not recognized by the system for the given language (English). ...
1
vote
1answer
182 views

First use of glossaries' acronym using custom key (for other grammatical construct)

I'm using glosseries to manage my acronyms and added/defined the genitive form of a word using \glsaddkey*{gen}%key {\glsentrytext{\glslabel}XXXGEN}% default {\glsentrygen}% command analogous to \...
0
votes
0answers
168 views

Is there a reference/list of standard LaTeX terminology?

I'm writing a program to manipulate LaTeX and I'd like to have access to some standard terminology. For example, is there a standard name for a string of the form \abcd, or \textbf{...} vs {\bf ...} (...
0
votes
0answers
412 views

Context free LaTex

Apparently, Parsing TeX is Turing-complete. I however, do not write TeX but LaTeX. In that process, I profit from assistance by editor plugins like Auctex et.al. These plugins rely on a syntactic ...
110
votes
3answers
118k views

Integrating Grammarly with online LaTeX editors such as overleaf?

Grammarly does not work with LaTex, but I believe it still can be helpful: I like to use Grammarly Chrome extension with an online Latex editor. I tried sharelatex, overleaf , authorea and verbosus ...
4
votes
1answer
2k views

Grammar check in TexWork

Is there any good grammar check plugin/program in TexWorks? Or is there any at all? I am looking for English language checker. Or maybe you have any solutions or offer for other options, how to check ...
2
votes
1answer
12k views

Automatic grammar checker for LaTeX documents? [duplicate]

I'm currently writing a thesis. I'm using the Texmaker editor with the built-in dictionary for grammar correction (British English). Unfortunately, I'm short of time, so I don't have time to read ...
4
votes
3answers
496 views

Combinatory Categorial Grammar style

i was looking arround here for this style of Categorial Grammar (see picture). However, i just find another types of notation, like the Prawtiz's style derivation. I want this style (some people call ...
2
votes
2answers
949 views

Is LaTeX capable of detecting grammatical errors in compiled document? [duplicate]

Although spelling mistakes can be easily corrected within compiler itself, I'm wondering if LaTeX is capable of detecting wrong use of grammar. Like if we write "Solution are" in MS word then both ...
2
votes
1answer
562 views

Is there any grammar correcting software in TeXmaker?

I am interested in a grammar correcting software in TeXmaker if there is one around like in Microsoft word: it's possible to correct grammar : commas placing, redundant expression, non-formulated ...
2
votes
1answer
729 views

French spell check for texMaker is not working?

i'm trying to correct my report using texmaker i have downloaded and added the french language to texmaker But when i click on the spell check button a window appears but no suggestions or ...
1
vote
1answer
86 views

lhs2TeX and Syntax conflicting on <> characters

I'd like to use Syntax and lhs2TeX together, but Syntax's usage of <> in production rule names seems to conflict with lhs2TeX: \documentclass{article} \usepackage[nounderscore]{syntax} %...
1
vote
0answers
84 views

Another \dots or \ldots Problem [duplicate]

MWE \documentclass[a4paper,11pt]{article} \begin{document} Victims!\dots\ Aren't we all? Victims?\dots\ Aren't we all? \end{document} That I want Like \dots or \ldots, but not 3 dots only 2 dots....
1
vote
0answers
196 views

Problems with the standalone class when using certain environments and certain math symbols [duplicate]

I use TeX Live 2015. Update. I just found out that using the preview option to the class solves the problem, yet only crops the content vertically, not horizontally. I want to use a grammar ...
8
votes
2answers
1k views

How do I include the EBNF square brackets on a new line and set the font to typewriter throughout my grammar in the syntax package?

I want to add an EBNF grammar to my document and following the answers here and here, it seems that the most popular package for this is syntax. However, in the documentation it is not clear how to ...
4
votes
1answer
766 views

Typesetting a calculus' grammar

I am trying to typeset the grammars needed to describe the applied pi calculus. The outcome should look somewhat similar to the following attached example, especially concerning the alignment of the ...
0
votes
1answer
86 views

Check spelling taking forever

I think it gets applied only for the current page. Anyway, the document has 2 pages. It get's stuck at 11%, why? What can I do to use this nice tool, called "Check spelling"?
5
votes
2answers
1k views

Is there a formal grammar for *Equations* in TeX/LaTeX?

I've looked at this and this and understand there is no grammar of TeX as a whole. I am wondering if there is a grammar just for equations. They are relatively easy to identify in an amsmath file ...
13
votes
0answers
319 views

What type of Chomsky hierarchy is TeX? [duplicate]

There are four types of chomsky hierarchy (specified for formal languages): Type-0 Recursively enumerable Type-1 Context-sensitive Type-2 Context-free Type-3 Regular I consider that, it should ...
0
votes
0answers
150 views

To create links to filenames in Pandoc Tables

I am working for better note taking and note using. I asked Textmate if there is a possibility to have links for filenames in LaTeX editing. They proposed the following approach Nothing like this ...
2
votes
0answers
1k views

How to check misspelled words using Texmaker?

I am trying to use the "Check spelling and grammar" feature provided by Texmaker. When I run it instead of getting the misspelled words I get a ton of weird symbols that look something like this: I ...
2
votes
1answer
557 views

How to right-align text in a grammar environment?

Using the grammar environment of the syntax package, I cannot find a way to right-align text in my syntax definition: \documentclass{article} \usepackage{syntax} \begin{document} \begin{grammar} &...
2
votes
2answers
3k views

Starting LanguageTool from TeXstudio

I am trying to start LanguageTool grammar checker from TexStudio on OS X 10.10.2. This is done defining in Preferences/Grammar the path to Java. I have installed the recent JRE8 but I don't know how ...