How to create an alternative to shortcut "= or hyp{}?How to use the standard - (hyphen) as the hyp{} command...
How come there are so many candidates for the 2020 Democratic party presidential nomination?
Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?
Critique of timeline aesthetic
Sci fi novel series with instant travel between planets through gates. A river runs through the gates
Please, smoke with good manners
Does the sign matter for proportionality?
Is there a way to get a compiler for the original B programming language?
Pass By Reference VS Pass by Value
What happened to Captain America in Endgame?
US visa is under administrative processing, I need the passport back ASAP
Pulling the rope with one hand is as heavy as with two hands?
Realistic Necromancy?
The Defining Moment
Is there really no use for MD5 anymore?
A Strange Latex Symbol
How to make a pipeline wait for end-of-file or stop after an error?
Why do games have consumables?
Is the 5 MB static resource size limit 5,242,880 bytes or 5,000,000 bytes?
Does a semiconductor follow Ohm's law?
Is there any limitation with Arduino Nano serial communication distance?
How to solve constants out of the internal energy equation?
Rivers without rain
How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?
Contradiction proof for inequality of P and NP?
How to create an alternative to shortcut "= or hyp{}?
How to use the standard - (hyphen) as the hyp{} command from the hyphenat package?LaTeX - using HA-prosper - Error : ProcessKeyvalOptions{Hyp}Problem expanding acronyms containing hyp{} in captionsEnable extra hyphenation points for compound words that already contain a hyphen character?Typesetting very long words with hyphens insideAlternative Tex compilers(Why) does enumitem cause poor hyphenation?How to Make the Following CV template compileHow can I hyphenate words with dots in a texttt environment in LaTeX?How to use the standard - (hyphen) as the hyp{} command from the hyphenat package?How to write the hyphen substitution of - by hyp on my preamble?
After this question answer How to use the standard - (hyphen) as the hyp{} command from the hyphenat package?, I decided to not use that hack. Then, I am looking for an alternative to that.
On my case, using "=
is almost as hard as hyp{}
because I write latex code on Sublime Text, and I use this package https://github.com/r-stein/sublime-text-latex-smart-quotes which does this:
i.e., when I press "
is sends ``
and ''
according to where I am on the word: https://github.com/r-stein/sublime-text-latex-smart-quotes/issues/4
The only way to send "
is by pressing Ctrl+L
, L
, "
, which is as hard as have to type hyp{}
.
I love this feature of because I never have to use "
unless I would like to do "=
, but I prefer to keep the https://github.com/r-stein/sublime-text-latex-smart-quotes feature and use something else other than "=
.
Can I bind it to something as handly as ´=
(not `=
)? Or do you suggest something else?
Then, I can use it like this something´=hyphenated
, instead of something"=hyphenated
I tried doing this: newcommand{´=}{hyp{}}
but latex did not liked it:
test1.tex: LaTeX Error: Missing begin{document}.
errors compiling hyphenation compilation-error hyphenat
add a comment |
After this question answer How to use the standard - (hyphen) as the hyp{} command from the hyphenat package?, I decided to not use that hack. Then, I am looking for an alternative to that.
On my case, using "=
is almost as hard as hyp{}
because I write latex code on Sublime Text, and I use this package https://github.com/r-stein/sublime-text-latex-smart-quotes which does this:
i.e., when I press "
is sends ``
and ''
according to where I am on the word: https://github.com/r-stein/sublime-text-latex-smart-quotes/issues/4
The only way to send "
is by pressing Ctrl+L
, L
, "
, which is as hard as have to type hyp{}
.
I love this feature of because I never have to use "
unless I would like to do "=
, but I prefer to keep the https://github.com/r-stein/sublime-text-latex-smart-quotes feature and use something else other than "=
.
Can I bind it to something as handly as ´=
(not `=
)? Or do you suggest something else?
Then, I can use it like this something´=hyphenated
, instead of something"=hyphenated
I tried doing this: newcommand{´=}{hyp{}}
but latex did not liked it:
test1.tex: LaTeX Error: Missing begin{document}.
errors compiling hyphenation compilation-error hyphenat
What comes afternewcommand
must be a macro. Hence the error. Have you considered using the packagecsquotes
instead of using that plugin?
– Weijun Zhou
10 mins ago
I did not have considered that package. I do know why, but I already have that package included on my thesis template, but seems not to be doing anything useful. Then, I think I will keep using Sublime Text with ``thing''
– user
4 mins ago
I am using it withMakeOuterQuote{"}
and I can type all the double quotes without problem. They are automatically matched and replaced with the correct (opening or closing) one. I seldom use single quotes but there is something similar in the document.
– Weijun Zhou
3 mins ago
add a comment |
After this question answer How to use the standard - (hyphen) as the hyp{} command from the hyphenat package?, I decided to not use that hack. Then, I am looking for an alternative to that.
On my case, using "=
is almost as hard as hyp{}
because I write latex code on Sublime Text, and I use this package https://github.com/r-stein/sublime-text-latex-smart-quotes which does this:
i.e., when I press "
is sends ``
and ''
according to where I am on the word: https://github.com/r-stein/sublime-text-latex-smart-quotes/issues/4
The only way to send "
is by pressing Ctrl+L
, L
, "
, which is as hard as have to type hyp{}
.
I love this feature of because I never have to use "
unless I would like to do "=
, but I prefer to keep the https://github.com/r-stein/sublime-text-latex-smart-quotes feature and use something else other than "=
.
Can I bind it to something as handly as ´=
(not `=
)? Or do you suggest something else?
Then, I can use it like this something´=hyphenated
, instead of something"=hyphenated
I tried doing this: newcommand{´=}{hyp{}}
but latex did not liked it:
test1.tex: LaTeX Error: Missing begin{document}.
errors compiling hyphenation compilation-error hyphenat
After this question answer How to use the standard - (hyphen) as the hyp{} command from the hyphenat package?, I decided to not use that hack. Then, I am looking for an alternative to that.
On my case, using "=
is almost as hard as hyp{}
because I write latex code on Sublime Text, and I use this package https://github.com/r-stein/sublime-text-latex-smart-quotes which does this:
i.e., when I press "
is sends ``
and ''
according to where I am on the word: https://github.com/r-stein/sublime-text-latex-smart-quotes/issues/4
The only way to send "
is by pressing Ctrl+L
, L
, "
, which is as hard as have to type hyp{}
.
I love this feature of because I never have to use "
unless I would like to do "=
, but I prefer to keep the https://github.com/r-stein/sublime-text-latex-smart-quotes feature and use something else other than "=
.
Can I bind it to something as handly as ´=
(not `=
)? Or do you suggest something else?
Then, I can use it like this something´=hyphenated
, instead of something"=hyphenated
I tried doing this: newcommand{´=}{hyp{}}
but latex did not liked it:
test1.tex: LaTeX Error: Missing begin{document}.
errors compiling hyphenation compilation-error hyphenat
errors compiling hyphenation compilation-error hyphenat
asked 13 mins ago
useruser
1,32021131
1,32021131
What comes afternewcommand
must be a macro. Hence the error. Have you considered using the packagecsquotes
instead of using that plugin?
– Weijun Zhou
10 mins ago
I did not have considered that package. I do know why, but I already have that package included on my thesis template, but seems not to be doing anything useful. Then, I think I will keep using Sublime Text with ``thing''
– user
4 mins ago
I am using it withMakeOuterQuote{"}
and I can type all the double quotes without problem. They are automatically matched and replaced with the correct (opening or closing) one. I seldom use single quotes but there is something similar in the document.
– Weijun Zhou
3 mins ago
add a comment |
What comes afternewcommand
must be a macro. Hence the error. Have you considered using the packagecsquotes
instead of using that plugin?
– Weijun Zhou
10 mins ago
I did not have considered that package. I do know why, but I already have that package included on my thesis template, but seems not to be doing anything useful. Then, I think I will keep using Sublime Text with ``thing''
– user
4 mins ago
I am using it withMakeOuterQuote{"}
and I can type all the double quotes without problem. They are automatically matched and replaced with the correct (opening or closing) one. I seldom use single quotes but there is something similar in the document.
– Weijun Zhou
3 mins ago
What comes after
newcommand
must be a macro. Hence the error. Have you considered using the package csquotes
instead of using that plugin?– Weijun Zhou
10 mins ago
What comes after
newcommand
must be a macro. Hence the error. Have you considered using the package csquotes
instead of using that plugin?– Weijun Zhou
10 mins ago
I did not have considered that package. I do know why, but I already have that package included on my thesis template, but seems not to be doing anything useful. Then, I think I will keep using Sublime Text with ``
thing''
– user
4 mins ago
I did not have considered that package. I do know why, but I already have that package included on my thesis template, but seems not to be doing anything useful. Then, I think I will keep using Sublime Text with ``
thing''
– user
4 mins ago
I am using it with
MakeOuterQuote{"}
and I can type all the double quotes without problem. They are automatically matched and replaced with the correct (opening or closing) one. I seldom use single quotes but there is something similar in the document.– Weijun Zhou
3 mins ago
I am using it with
MakeOuterQuote{"}
and I can type all the double quotes without problem. They are automatically matched and replaced with the correct (opening or closing) one. I seldom use single quotes but there is something similar in the document.– Weijun Zhou
3 mins ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488008%2fhow-to-create-an-alternative-to-shortcut-or-hyp%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488008%2fhow-to-create-an-alternative-to-shortcut-or-hyp%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What comes after
newcommand
must be a macro. Hence the error. Have you considered using the packagecsquotes
instead of using that plugin?– Weijun Zhou
10 mins ago
I did not have considered that package. I do know why, but I already have that package included on my thesis template, but seems not to be doing anything useful. Then, I think I will keep using Sublime Text with ``
thing''
– user
4 mins ago
I am using it with
MakeOuterQuote{"}
and I can type all the double quotes without problem. They are automatically matched and replaced with the correct (opening or closing) one. I seldom use single quotes but there is something similar in the document.– Weijun Zhou
3 mins ago