Search found 8 matches

by CrocoDuck
Fri May 22, 2015 3:27 am
Forum: LyX
Topic: The ' font in code listing (Matlab).
Replies: 1
Views: 2403

The ' font in code listing (Matlab).

Dear friends, I think I figured out a solution:

add this to the preamble:

\usepackage{textcomp}

add this to the code listing advanced options:

upquote=true


Seems I can copy and paste the code correctly now. I will report if issues!
by CrocoDuck
Fri May 22, 2015 12:29 am
Forum: LyX
Topic: The ' font in code listing (Matlab).
Replies: 1
Views: 2403

The ' font in code listing (Matlab).

Hi cool people!
I have some Matlab code in a listing in lyx, and everything is working exactly as I want it... except one thing.

When I copy and paste the code the ' font doesn't get copied properly. Instead of ' (single straight quote) the font copied is ’ (single curly quote). I have no idea how ...
by CrocoDuck
Sat Oct 25, 2014 1:05 am
Forum: LyX
Topic: Referencing APA 6th (Harvard) Style
Replies: 6
Views: 7822

Referencing APA 6th (Harvard) Style

WOW. Guys, I think I got the solution for the url font. According to this page:

http://tex.stackexchange.com/questions/115517/urlstylesame-with-apacite

I edited my preamble to this:

\usepackage{url}
\AtBeginDocument{\urlstyle{APACsame}}

Looks like it is working! So, in the following days I ...
by CrocoDuck
Sat Oct 25, 2014 12:18 am
Forum: LyX
Topic: Referencing APA 6th (Harvard) Style
Replies: 6
Views: 7822

Referencing APA 6th (Harvard) Style

Some improvement I think. Thanks to this page now I have written a bibtex website template that seems able to adhere to the standard:

http://tex.stackexchange.com/questions/3587/how-can-i-use-bibtex-to-cite-a-web-page

@online{ref,
author = {Name1 Surname1 and Name2 Surname2},
title = {{Title if ...
by CrocoDuck
Fri Oct 24, 2014 9:26 pm
Forum: LyX
Topic: Referencing APA 6th (Harvard) Style
Replies: 6
Views: 7822

Re: Referencing APA 6th (Harvard) Style

Alright, here my minimal example. It is just a bibliography containing websites, the part I have more troubles with. The rest seems ok to me, but still have to triple check. My .bib file contains just examples I found online and the code that make me able to get as close as possible to the examples ...
by CrocoDuck
Fri Oct 24, 2014 12:27 pm
Forum: LyX
Topic: Referencing APA 6th (Harvard) Style
Replies: 6
Views: 7822

Referencing APA 6th (Harvard) Style

Hi! Thank you so much for your reply! So sorry for my late reply. Well, I am on my way to produce a minimal Lyx example. I will upload it somewhere tonight or tomorrow. Unfortunately, \urlstyle{same} didn't help, but the reason will be clear after I upload the minimal example I guess.

Regarding the ...
by CrocoDuck
Thu Oct 23, 2014 12:06 am
Forum: LyX
Topic: Referencing APA 6th (Harvard) Style
Replies: 6
Views: 7822

Referencing APA 6th (Harvard) Style

Well... this kind of silence usually happens when someone makes a dumb question that should be easily solved by a good search online. My apologies for that...

I have been playing around with apa, apacite, apacitex and .bib files for a while. I think that my reference style is almost perfect now.

I ...
by CrocoDuck
Mon Oct 20, 2014 6:55 pm
Forum: LyX
Topic: Referencing APA 6th (Harvard) Style
Replies: 6
Views: 7822

Referencing APA 6th (Harvard) Style

Hi!

So, soon I will have to write assignments for my master course and I am asked to reference the material according to the APA 6th (Harvard) Style. I have been able to find the template APA6 and apacite as referencing style is very close to what the University pretends I do... but not the same ...