Re: How to find a package: was Vancouver style

2013-01-13 Thread Scott Kostyshak
On Sun, Jan 13, 2013 at 3:31 PM, Steve Litt  wrote:

> A lot of you are able to instantly find LaTeX packages to solve random
> problems. I can't do that and want to learn how. I know of the
> existence of ctan.org just like everyone else, but there's something in
> my mental makeup that's different from yours, and I want to adopt your
> beliefs and your mindset in order to produce your results.
>
> I know to most of you this sounds trivial and self-explanatory, but to
> me it's anything but, so please tell me your beliefs, mindset and
> techniques as you search for a package to solve a specific problem.
>
> Thanks so much,
>
> SteveT

Hi Steve,

I don't think most people think that it's trivial or self-explanatory.
You might think this because sometimes someone asks a question "how do
I... ?" and the answer looks to be a simple "use package ..." but
behind that simple answer the person might have spent a lot of time
searching and experimenting. All this to say that I think it's a great
question.

It would be great if you started a wiki page on wiki.lyx.org and
summarized everyone's answers. This way everyone can build on it in
the future.

Thanks,

Scott


Re: Finding packages............

2013-01-13 Thread ariestao

On Sun, 13 Jan 2013 16:12:10 -0500, Steve Litt wrote:

On Mon, 14 Jan 2013 07:52:03 +1100, Charlie said:


>Hi all,
>
>A lot of you are able to instantly find LaTeX packages to solve
>random problems. I can't do that and want to learn how. I know of 
the
>existence of ctan.org just like everyone else, but there's 
something
>in my mental makeup that's different from yours, and I want to 
adopt

>your beliefs and your mindset in order to produce your results.
>
>I know to most of you this sounds trivial and self-explanatory, but
>to me it's anything but, so please tell me your beliefs, mindset 
and

>techniques as you search for a package to solve a specific problem.
>
>Thanks so much,
>
>SteveT

I have taken the liberty of starting a new thread because it's a 
good

question, though I would expand that by asking where the packages
should be placed in the /home/{user}/.lyx or the /usr/share/lyx
directories. I don't know where they should go but just guess, by 
file

association.

Place them where .sty, or whatever files exist, and if they are in
more than one directory try them in several places till 
"Reconfigure"

or "texhash" does it's work and finds them.

In reply to the above: in http://ctan.org/ type into the "Search"
aperture what it is you need and allow it to be found.

Doing that with vancouver for instance, takes you on the journey to
the files. Which of them is required and where to put them is 
another

question?

In my case I would seek out where .bib, bst, and .tex files reside 
and

place each there.

Probably doesn't help at all.

Charlie


Thanks Charlie,

It's definitely a start.

Let me ask you this: If you needed to have all lines with monospace
type break correctly, and didn't want to use \begin{sloppy} and
\end{sloppy} on every paragraph with monospace, what would be your
thought process in attempting to find a package to accommodate this?
I'm not at all interested in the package name, I'm asking about your
thought process in the search.

Thanks

SteveT


 On Sun, 13 Jan 2013 16:12:10 -0500 "Steve Litt
 sl...@troubleshooters.com" suggested this:


Let me ask you this: If you needed to have all lines with monospace
type break correctly, and didn't want to use \begin{sloppy} and
\end{sloppy} on every paragraph with monospace, what would be your
thought process in attempting to find a package to accommodate this?
I'm not at all interested in the package name, I'm asking about your
thought process in the search.


Firstly, I must admit that I didn't know what monospace font was, so I
googled it, which is always my first port of call for any unknown. 
Using

all manner of search terms rather than trolling through the pages of
links that Google puts up.

Then I see what you're talking about, as a document in Latin Modern
Typewriter is created.

Now that I have an idea what monospace fonts are, and see the ragged
edge at the right of the page, I can move on. So would firstly see what
LyX has to offer in the document settings with regard to “justify”.

Finding that, failing to create the desired result, would probably use
the search term “justify words in a sentence” using Google. Because if
someone were writing about monospace in a document for someone like me
who has no idea how to do it, they might use a dumbed down term. I'm an
uneducated man. Later I would use the word monospace to ensure that
some of the more technical solutions would be visible.

Now it depends just how much I want the effect of in line text on both
sides of the page. If I was really bloody minded I would try different
document classes first.

I would try all the options and the ERT's and the preamble inserts and
look for the results on each attempt. I would place some of the
preamble commands in different places in the preamble and even try the
preamble commands in ERT's.

I would keep writing and polishing my document, so all this
experimenting might happen over a period of days or weeks, coming upon
a writing abyss and needing to move away from it to find the solution.
Try new search terms used on Google any new wrinkle thought of would be
tried.

I would post on this list and ask if anyone had any ideas/solutions or
off the wall suggestions.

If I found a package during my Googling that looks promising I may
download it, then try to put it where it should be and give it a
larrup. But being a Debian user, tend to stay with what's available and
installed by default, but not devoutly.

When crafting the text has finished I would try the various document
classes, view them, select the one I liked best, after accepting the
limitations of each and give up trying for my prejudice of perfection.

Charlie
--
**  **  **  **  **  **  **  **  **  **
Registered Linux User:- 329524
***

Every man is guilty of all the good he didn't do. -Voltaire

***
Debian GNU/Linux - just the best way to create magic
__

Re: How to find a package: was Vancouver style

2013-01-13 Thread Steve Litt
On Sun, 13 Jan 2013 16:24:42 -0700, Jacob Bishop said:
> On Sun, Jan 13, 2013 at 1:31 PM, Steve Litt
> wrote:
> 
> > A lot of you are able to instantly find LaTeX packages to solve
> > random problems. I can't do that and want to learn how. I know of
> > the existence of ctan.org just like everyone else, but there's
> > something in my mental makeup that's different from yours, and I
> > want to adopt your beliefs and your mindset in order to produce
> > your results.
> >
> > I know to most of you this sounds trivial and self-explanatory, but
> > to me it's anything but, so please tell me your beliefs, mindset and
> > techniques as you search for a package to solve a specific problem.
> >
> 
> All I can give on this is my own personal perspective, but it seems
> that is what you are looking for, so here goes. First of all, I never
> look for a specific package. I look for a solution to my specific
> problem. For example, when I gave my masters' thesis to my graduate
> advisor to proofread, he came back with several problems. One comment
> was, "Why did you hyphenate that word? That word should never be
> hyphenated." So, I type "latex no hyphen" or "lyx no hyphen" into a
> Google search. In this case, when I sift through the search results,
> I learn that I can avoid hyphenation in the entire document by using
> the hyphenation package with the option 'none.' I also learn about
> \raggedright, and \sloppy. Then, I find that I can use the command
> \hyphenation{doNotHyphenateThisWord}, and I'm done.
> 
> As I go through search results I try the solutions proposed, and see
> what effect they produce on my document. When I get something that
> works, I stop. Sometimes I find that my question was not well posed,
> but in sifting through the hits on the search results, I usually find
> a better way to ask the question, and with a refined question I am
> set. This almost always works. I used the logs from the lyx-users
> list for years before I finally signed up.
> 
> When I go through this process, I am not only looking for the
> solution to my problem, but also for a better understanding of the
> software I am working with. For example, I started using LyX, and
> have eventually gained a better understanding of TeX and LaTeX as
> well.
> 
> This is my general approach when I have any problem. Although
> according to others, I should read the documentation first-thing when
> starting to use a new program, well I don't. When I run into
> something I don't know how to do I just search. More often than not I
> find the answer I am looking for. In the somewhat unique case of LyX,
> responses to questions inevitably point to a particular section in
> the documentation. In this case, I have turned to the documentation,
> but only after learning that it is the most reliable and up-to-date
> source of the information I seek. For example, the customization
> manual does a great job documenting how to prepare your own template
> for LyX. There is no other source that equals it in terms of quality
> and coverage of information. I believe this is why searching for
> answers online led to people citing a particular section of the
> manual. With other software I have sometimes found the built-in
> documentation to be rather worthless in that it is so difficult to
> use or scant in terms of information that online searches are better.
> 
> Because this answer has turned into a ramble, I will try to cut it
> short. I never search for a particular package, but for how others in
> a similar situation have solved a particular problem. This sometimes
> leads to a package, sometimes to TeX or LaTeX code that must be
> included in the document, and sometimes to an option or a checkbox
> that should have been checked or un-checked. As I search, I am
> looking for both short-term solutions and a better understanding of
> the relevant mechanisms that will help me apply the solution or
> prevent the need for a future search. This understanding also helps
> me recognize the answer to my problem when I see it. I hope this is
> the type of response you were looking for.
> 
> Jacob

Thank you Jacob,

This was the kind of answer I was hoping to get, I think I understand
it, and I will use it.

Everyone else, please feel free to chip in, as I'm sure there are
plenty more mindsets and methodologies that yield successful solutions.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Re: How to find a package: was Vancouver style

2013-01-13 Thread Jacob Bishop
On Sun, Jan 13, 2013 at 1:31 PM, Steve Litt wrote:

> A lot of you are able to instantly find LaTeX packages to solve random
> problems. I can't do that and want to learn how. I know of the
> existence of ctan.org just like everyone else, but there's something in
> my mental makeup that's different from yours, and I want to adopt your
> beliefs and your mindset in order to produce your results.
>
> I know to most of you this sounds trivial and self-explanatory, but to
> me it's anything but, so please tell me your beliefs, mindset and
> techniques as you search for a package to solve a specific problem.
>

All I can give on this is my own personal perspective, but it seems that is
what you are looking for, so here goes. First of all, I never look for a
specific package. I look for a solution to my specific problem. For
example, when I gave my masters' thesis to my graduate advisor to
proofread, he came back with several problems. One comment was, "Why did
you hyphenate that word? That word should never be hyphenated." So, I type
"latex no hyphen" or "lyx no hyphen" into a Google search. In this case,
when I sift through the search results, I learn that I can avoid
hyphenation in the entire document by using the hyphenation package with
the option 'none.' I also learn about \raggedright, and \sloppy. Then, I
find that I can use the command \hyphenation{doNotHyphenateThisWord}, and
I'm done.

As I go through search results I try the solutions proposed, and see what
effect they produce on my document. When I get something that works, I
stop. Sometimes I find that my question was not well posed, but in sifting
through the hits on the search results, I usually find a better way to ask
the question, and with a refined question I am set. This almost always
works. I used the logs from the lyx-users list for years before I finally
signed up.

When I go through this process, I am not only looking for the solution to
my problem, but also for a better understanding of the software I am
working with. For example, I started using LyX, and have eventually gained
a better understanding of TeX and LaTeX as well.

This is my general approach when I have any problem. Although according to
others, I should read the documentation first-thing when starting to use a
new program, well I don't. When I run into something I don't know how to do
I just search. More often than not I find the answer I am looking for. In
the somewhat unique case of LyX, responses to questions inevitably point to
a particular section in the documentation. In this case, I have turned to
the documentation, but only after learning that it is the most reliable and
up-to-date source of the information I seek. For example, the customization
manual does a great job documenting how to prepare your own template for
LyX. There is no other source that equals it in terms of quality and
coverage of information. I believe this is why searching for answers online
led to people citing a particular section of the manual. With other
software I have sometimes found the built-in documentation to be rather
worthless in that it is so difficult to use or scant in terms of
information that online searches are better.

Because this answer has turned into a ramble, I will try to cut it short. I
never search for a particular package, but for how others in a similar
situation have solved a particular problem. This sometimes leads to a
package, sometimes to TeX or LaTeX code that must be included in the
document, and sometimes to an option or a checkbox that should have been
checked or un-checked. As I search, I am looking for both short-term
solutions and a better understanding of the relevant mechanisms that will
help me apply the solution or prevent the need for a future search. This
understanding also helps me recognize the answer to my problem when I see
it. I hope this is the type of response you were looking for.

Jacob


Re: Finding packages............

2013-01-13 Thread Steve Litt
On Mon, 14 Jan 2013 07:52:03 +1100, Charlie said:
> 
>   >Hi all,
> >
> >A lot of you are able to instantly find LaTeX packages to solve
> >random problems. I can't do that and want to learn how. I know of the
> >existence of ctan.org just like everyone else, but there's something
> >in my mental makeup that's different from yours, and I want to adopt
> >your beliefs and your mindset in order to produce your results.
> >
> >I know to most of you this sounds trivial and self-explanatory, but
> >to me it's anything but, so please tell me your beliefs, mindset and
> >techniques as you search for a package to solve a specific problem.
> >
> >Thanks so much,
> >
> >SteveT
> 
> I have taken the liberty of starting a new thread because it's a good
> question, though I would expand that by asking where the packages
> should be placed in the /home/{user}/.lyx or the /usr/share/lyx
> directories. I don't know where they should go but just guess, by file
> association.
> 
> Place them where .sty, or whatever files exist, and if they are in
> more than one directory try them in several places till "Reconfigure"
> or "texhash" does it's work and finds them.
> 
> In reply to the above: in http://ctan.org/ type into the "Search"
> aperture what it is you need and allow it to be found.
> 
> Doing that with vancouver for instance, takes you on the journey to
> the files. Which of them is required and where to put them is another
> question?
> 
> In my case I would seek out where .bib, bst, and .tex files reside and
> place each there.
> 
> Probably doesn't help at all.
> 
> Charlie

Thanks Charlie,

It's definitely a start.

Let me ask you this: If you needed to have all lines with monospace
type break correctly, and didn't want to use \begin{sloppy} and
\end{sloppy} on every paragraph with monospace, what would be your
thought process in attempting to find a package to accommodate this?
I'm not at all interested in the package name, I'm asking about your
thought process in the search.

Thanks

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



Finding packages............

2013-01-13 Thread Charlie

>Hi all,
>
>A lot of you are able to instantly find LaTeX packages to solve random
>problems. I can't do that and want to learn how. I know of the
>existence of ctan.org just like everyone else, but there's something in
>my mental makeup that's different from yours, and I want to adopt your
>beliefs and your mindset in order to produce your results.
>
>I know to most of you this sounds trivial and self-explanatory, but to
>me it's anything but, so please tell me your beliefs, mindset and
>techniques as you search for a package to solve a specific problem.
>
>Thanks so much,
>
>SteveT

I have taken the liberty of starting a new thread because it's a good
question, though I would expand that by asking where the packages
should be placed in the /home/{user}/.lyx or the /usr/share/lyx
directories. I don't know where they should go but just guess, by file
association.

Place them where .sty, or whatever files exist, and if they are in more
than one directory try them in several places till "Reconfigure"
or "texhash" does it's work and finds them.

In reply to the above: in http://ctan.org/ type into the "Search"
aperture what it is you need and allow it to be found.

Doing that with vancouver for instance, takes you on the journey to the
files. Which of them is required and where to put them is another
question?

In my case I would seek out where .bib, bst, and .tex files reside and
place each there.

Probably doesn't help at all.

Charlie
-- 
Registered Linux User:- 329524
***

At a given moment I open my eyes and exist. And before that,
during all eternity, what was there? Nothing. - Ugo Betti

***

Debian GNU/Linux - just the best way to create magic

-


How to find a package: was Vancouver style

2013-01-13 Thread Steve Litt
On Sun, 13 Jan 2013 14:07:37 +0100, Jürgen Spitzmüller said:
> Wolfgang Engelmann wrote:
> > does anybody know how to bring LyX to exporting an article document
> > with Vancouver style in this way:
> > The clock mechanism has been studied
> > intensively and the results are reviewed
> > in a number of papers, such as [132, 125, 148-152]...
> 
> \usepackage{cite}
> 
> Jürgen


Hi all,

A lot of you are able to instantly find LaTeX packages to solve random
problems. I can't do that and want to learn how. I know of the
existence of ctan.org just like everyone else, but there's something in
my mental makeup that's different from yours, and I want to adopt your
beliefs and your mindset in order to produce your results.

I know to most of you this sounds trivial and self-explanatory, but to
me it's anything but, so please tell me your beliefs, mindset and
techniques as you search for a package to solve a specific problem.

Thanks so much,

SteveT

Steve Litt*  http://www.troubleshooters.com/
  *  http://twitter.com/stevelitt
Troubleshooting Training  *  Human Performance



logo

2013-01-13 Thread Jörg Kühne
Dear Lyx user list

How I could insert a simple logo which would be displayed on each page?

Following user specified commands interferes with the default settings, see

\documentclass[11pt,ngerman]{article}
\usepackage{ae,aecompl}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\usepackage[a4paper]{geometry}
\geometry{verbose,tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{fancyhdr}
\pagestyle{fancy}


%% User specified LaTeX commands.
\usepackage{scrpage2}   
\pagestyle{scrheadings} 
\clearscrheadfoot
\chead[\headmark]{\headmark}

\ihead[{\includegraphics[height=1cm]{pic}}]{\includegraphics[height=1cm]{pic}}
\ohead[{\includegraphics[height=1cm]{pic}}]{\includegraphics[height=1cm]{pic}}

\addtolength{\headsep}{\baselineskip}
\setheadsepline{1pt}
\setfootsepline{1pt}
\ifoot[name]{name}
\cfoot[Arbeit]{Arbeit}


How I could change the default \usepackage{fancyhdr} values in Lyx?

Best regards

Joerg
 


Re: Vancouver style

2013-01-13 Thread Jürgen Spitzmüller
Wolfgang Engelmann wrote:
> does anybody know how to bring LyX to exporting an article document with 
> Vancouver style in this way:
> The clock mechanism has been studied
> intensively and the results are reviewed
> in a number of papers, such as [132, 125, 148-152]...

\usepackage{cite}

Jürgen


Vancouver style

2013-01-13 Thread Wolfgang Engelmann
Hi,

does anybody know how to bring LyX to exporting an article document with 
Vancouver style in this way:
The clock mechanism has been studied
intensively and the results are reviewed
in a number of papers, such as [132, 125, 148-152]...

instead of 

The clock mechanism has been studied
intensively and the results are reviewed
in a number of papers, such as [132] [125]
[148] [149] [150] [151] [152]...

as it is now

Wolfgang