[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Encoding and escaping in Latex

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 9
Thread images: 2

File: 2000px-LaTeX_logo.svg.png (42KB, 2000x833px) Image search: [Google]
2000px-LaTeX_logo.svg.png
42KB, 2000x833px
My LaTeX file won't compile when I use the symbols “ or ”. I can not use '' instead because of guidelines.
The error message says undefied symbol.

I tried escaping via \verb{“} but I still got errors.
Another symbol I had problems with was a dash.

I have to use utf-8, and I have to do the final pdf via latexpdf and bibtex.
How can I escape these symbols without having to use additional packages?

Am I fucking stupid or something? Please help me out on this one.
>>
For left double quote use `` (two backticks) and for right double quote use '' (two apostrophes)
>>
>>260137
Thank you for the reply, but the guidelines say I can't use those...
Any more ideas to escape symbols?
>>
>>260145
Those are the standard open/close double quotes in LaTeX. So you're required to use LaTeX, and you're also required to have open/close double quotes be “ and ”? Maybe you need to use a package like upquote. Or maybe latexpdf has some option to do that.
>>
File: classify.png (27KB, 727x300px) Image search: [Google]
classify.png
27KB, 727x300px
>>260118
to find symbols for latex use
http://detexify.kirelabs.org/classify.html

\textquotedblleft “
\quotedblbase ”
>>
>>260156
I don't make the rules, I just work here... I also can't include special packages because it is a subproject for a much bigger file. I assume including more packages could lead to problems later on.

>>260204
Thanks, I will check this out. Looks like a great site.
>>
>>260156
I realize I have been stupid. Thanks great master, your first post works now for me, I must have done something wrong.

Now I have another problem.
When I insert larger texts, everything is displayed correctly inside miktex, however when compiling I get errors:

! Missing $ inserted.
<inserted text>
$

And then a line, with unknown symbols in the middle of words. They words look completely normal and don't contain any special characters, and the errors disappear once I delete the words and type them again.
Am I missing something here? I tried copying the text out of a plain txt fail encoded in utf-8.
>>
I narrowed it down, the error only occurs on inserted "f", and it only occurs for about 3/4 of inserted "f"s.
Am I missing something obvious? Does Tex just hate f?
>>
>>260584
f+i and f+l get merged during compilation. maybe you should explore something related
Thread posts: 9
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.