How to create an alternative to shortcut "= or hyp{}?How to use the standard - (hyphen) as the hyp{} command...
A Note on N!
How to make a pipeline wait for end-of-file or stop after an error?
Why does processed meat contain preservatives, while canned fish needs not?
Realistic Necromancy?
What's the polite way to say "I need to urinate"?
Critique of timeline aesthetic
Please, smoke with good manners
Do I have to worry about players making “bad” choices on level up?
Was there a Viking Exchange as well as a Columbian one?
Will a top journal at least read my introduction?
Does Gita support doctrine of eternal samsara?
Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?
Does the sign matter for proportionality?
What language was spoken in East Asia before Proto-Turkic?
How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?
Does holding a wand and speaking its command word count as V/S/M spell components?
How to stop co-workers from teasing me because I know Russian?
What was the first Intel x86 processor with "Base + Index * Scale + Displacement" addressing mode?
Phrase for the opposite of "foolproof"
With a Canadian student visa, can I spend a night at Vancouver before continuing to Toronto?
Why is it that the natural deduction method can't test for invalidity?
How much cash can I safely carry into the USA and avoid civil forfeiture?
Is there any limitation with Arduino Nano serial communication distance?
Are Boeing 737-800’s grounded?
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
2 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 4 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
2 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
2 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
2 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
2 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
2 mins ago