Search found 10 matches
- Mon Jan 09, 2012 8:01 pm
- Forum: Graphics, Figures & Tables
- Topic: Image appearing in wrong Place
- Replies: 2
- Views: 1917
Re: Image appearing in wrong Place
I think I've sorted it, looking through the log - I was inputting a few different files and the compiler seemed to choose a random one to use to load the image in the header. And if that particular file happens to contain an image already, it will happily replace the image that is supposed to go in ...
- Mon Jan 09, 2012 7:47 pm
- Forum: Graphics, Figures & Tables
- Topic: Image appearing in wrong Place
- Replies: 2
- Views: 1917
Image appearing in wrong Place
Hi everybody,
this is a problem that it is difficult to produce a minimum worked example for as there are many other examples in my code that work perfectly and yet this one, that to me seems to be identical, is giving me problems - however, if it is absolutely necessary I will try to build an MWE ...
this is a problem that it is difficult to produce a minimum worked example for as there are many other examples in my code that work perfectly and yet this one, that to me seems to be identical, is giving me problems - however, if it is absolutely necessary I will try to build an MWE ...
- Wed Dec 28, 2011 1:02 am
- Forum: Document Classes
- Topic: \newcommand in a .cls file with content given in a .tex file
- Replies: 14
- Views: 10987
Re: \newcommand in a .cls file with content given in a .tex
Everything is working perfectly now - thank you so much for all of your help today.
- Tue Dec 27, 2011 9:42 pm
- Forum: Document Classes
- Topic: \newcommand in a .cls file with content given in a .tex file
- Replies: 14
- Views: 10987
Re: \newcommand in a .cls file with content given in a .tex
Okay, here are my files.
- Tue Dec 27, 2011 9:04 pm
- Forum: Document Classes
- Topic: \newcommand in a .cls file with content given in a .tex file
- Replies: 14
- Views: 10987
Re: \newcommand in a .cls file with content given in a .tex
Thank you Stefan. I have tried to analyse the log file but I am not very experienced at interpreting these yet so I will upload it and will greatly appreciate any more help you can offer.
- Tue Dec 27, 2011 6:56 pm
- Forum: Document Classes
- Topic: \newcommand in a .cls file with content given in a .tex file
- Replies: 14
- Views: 10987
Re: \newcommand in a .cls file with content given in a .tex
Thank you Stefan, this suggestion was absolutely right - my computer had saved the .cls file in two places and the wrong one was loading; after saving it correctly and deleting the other file the minimum example worked as expected.
I have now exhaustively searched my computer for a similar problem ...
I have now exhaustively searched my computer for a similar problem ...
- Tue Dec 27, 2011 6:04 pm
- Forum: Document Classes
- Topic: \newcommand in a .cls file with content given in a .tex file
- Replies: 14
- Views: 10987
Re: \newcommand in a .cls file with content given in a .tex
Yes, here they are.
Thank you for your continued help.
Thank you for your continued help.
- Tue Dec 27, 2011 5:48 pm
- Forum: Document Classes
- Topic: \newcommand in a .cls file with content given in a .tex file
- Replies: 14
- Views: 10987
\newcommand in a .cls file with content given in a .tex file
Hi Stefan,
Here are the exact codes I am now trying to use - the .cls file:
\ProvidesClass{min}
\LoadClass{article}
\newcommand{\example}[1]{\def\@example{#1}}
\newcommand{\exampleone}{\Huge \@example}
and the .tex file:
\documentclass{min}
\example{example}
\begin{document}
\exampleone ...
Here are the exact codes I am now trying to use - the .cls file:
\ProvidesClass{min}
\LoadClass{article}
\newcommand{\example}[1]{\def\@example{#1}}
\newcommand{\exampleone}{\Huge \@example}
and the .tex file:
\documentclass{min}
\example{example}
\begin{document}
\exampleone ...
- Tue Dec 27, 2011 5:11 pm
- Forum: Document Classes
- Topic: \newcommand in a .cls file with content given in a .tex file
- Replies: 14
- Views: 10987
\newcommand in a .cls file with content given in a .tex file
Hi Stefan,
Thank you for your helpful response. The code you suggested works perfectly for my minimum example but in the context of more complicated documents I am having the same problem as before. Here is an extended version of the .cls file in my minimum example to illustrate what I mean ...
Thank you for your helpful response. The code you suggested works perfectly for my minimum example but in the context of more complicated documents I am having the same problem as before. Here is an extended version of the .cls file in my minimum example to illustrate what I mean ...
- Tue Dec 27, 2011 3:51 pm
- Forum: Document Classes
- Topic: \newcommand in a .cls file with content given in a .tex file
- Replies: 14
- Views: 10987
\newcommand in a .cls file with content given in a .tex file
I am trying to create a command in a style file that I can call inside other commands but its content is to be specified in a normal .tex file that uses this custom document class. Here is my minimum example (created from code I have seen in example documents): \ProvidesClass{min}
\LoadClass{article ...
\LoadClass{article ...