text

How to change the formatting/font of page numbers in latex?

I don't just mean how to switch to roman numerals, I want to change the font face and size. I'm currently using the article class, but I can't see any particular part of it responsible for the footer, so I wonder if this might not apply to a lot of classes. Edit: I don't need to make a custom page layout or pagestyle, necessarily. ...

Storing a User's Signature in MySQL

I need to store user's signature (ie the thing at the bottom of a forum post) and am not sure how to, I could use text to store the html, but I think there are probably better solutions. ...

WPF TextBox setting Text using Trigger during validation

I am having a requirement where in I have to revert the values of a TextBox to old value when the user enters a wrong input. I am using MVVM framework so I dont want to write any codebehind. The Text and Tag of TextBox is databound from ViewModel variable. So my Tag field of TextBox will always have old value. I want to use the Tag field...

iphone: render text vs. burn into image

This might be more of a philosophical question, but is there a compelling reason to go one way or the other when presenting text above an image: 1. Burn the text into the image on the server side and just show the image on the iphone or 2. Send the background image and the text separately to the iphone and have the iphone render the t...

Flex 3: How Can I Position Text on an Angle?

Hi, I'd like my text to be positioned on a 45 degree angle. Is there an easy way to do that? (In the worst case, I could always make a png out of the text). But, I hope that there's away to do it in Flex. I don't need an animated effect. var angleText:Text= new Text; angleText:Text.text = "My text is angled!" angleText:Text.x= 200; ang...

Horizontal scrolling text in Android

I've been looking around for quite some time now, and I can't get a straight answer for my question. It's quite simple: How can I get a nice scrolling text just like the long app names in the Market when you select an application? ...

write newline to file in TeX/LaTeX

I have a latex document that I want to use to write text to a plain text file. I want macros to be expanded, so I can't use \filecontents (which just saves input verbatim to a file) So far I have \newwrite\metadatafile \immediate\openout\metadatafile=\jobname-meta.txt \immediate\write\metadatafile{Title: \jobname\string Tags: \cours...

convert textfile to pdf iphone or ipad ?

how to convert a text file to pdf , i achived it by 2 qurtz frame work , but it is time killing, is their any way to convert text files to pdf in ipad. thanks Kumar ...

android text file resource problem

Hi , I have a problem with txt files in my raw folder (android project) Explanation: I am added a some txt files to a folder raw/eng and I need to get that files (read) in class I made some if branches and happens that some files I can reference but some not "R.raw.ejapan" cannot be resolved ??? This is screen shot of ...

Oracle text scheduling sync on single index

Hi all, I need to sync an oracle text index. But job fails to create: declare v_job_id number(19,0); begin dbms_job.submit( JOB => v_job_id, WHAT => 'alter index NAME_IDX rebuild parameters (''sync'');', NEXT_DATE => SYSDATE + (1/24), INTERVAL => 'SYSDATE + (1/24) + 7' ); end; / Or to run: de...

XPath select innertext

I have this HTML/XML: \t\t\t\t\t \r\n\t\t <a href="/test.aspx"> <span class=test> <b>blabla</b> </span> </a> <br/> this is the text I want <br/> <span class="test"> <b>code: 123</b> </span> <br/> <span class="test"></span> \t\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t In C#4 I use the HtmlAgilityPack lib to select the Node with XPat...

Add description to Android Gallery - (Pictures and text)

Hi to all! I'm working on my new project but I can't figure out how to add a text under my Gallery. I have 3 pictures, if I slide on picture 2 I can see under picture 1 and 3 the correct description but it doesn't appear the description under the selected picture (in this case the number 2). This is my code: public void onClick(View ...

Change color of () and [] in VS2010 IDE

I'm quite familiar with Tools -> Options -> Environment -> Fonts and Colors. I have a highly customized color scheme in VS2010. My question is this: Can I change the color of parentheses and square brackets (not curly braces) without changing the color of Plain Text (the group under which these characters reside). ...

How to I change the xslt applied to XML document in VS 2008 IDE?

I have an XML document and made an XSLT to output is as HTML and viewed the output in the IDE. Now I want to create an XSLT to output as text file, but the 'Show XSLT Output' only shows me the HTML. How do I switch it to the text output XSLT? I even put in the line: <?xml-stylesheet type="text/xsl" href="NotaryExport.xslt" ?> ...

Representing whiteboard diagrams as pure text while taking notes?

I write all my notes in a simple text editor, and I have a hard time capturing diagrams, flowcharts, etc. as purely text. Do you know of any text-based shorthand for diagramming? Or have you developed your own techniques you wouldn't mind sharing? An example might be: UI - user clicks button | TaskFactory - generates a Task based on u...

CCLabel line-height in cocos2d

I was wondering if it's possible to adjust the line-height of a CCLabel. I got a 3 lines of text but would like to reduce the lead and maybe the letter-spacing. I haven't found any solution at the moment. Would bitmap fonts help me? I haven't gone for them because I don't have to change the string value at all. thanks ...

Easiest way to read this line of text into a struct?

I have a text file with data in the form: Lee AUS 2 103 2 62 TRUE Check AUS 4 48 0 23 FALSE Mills AUS 8 236 0 69 FALSE I need to each line into a struct like, however I'd like to avoid using fixed length arrays (the problem with fgets as far as I can tell): struct Data { char *sname; char *country; int *a; int *b; ...

[WPF] How can I display multiple colored underlined Text in a Textbox

Hello, this code underlines all Text in the Textbox, can I underline only specific Text? Brush brush = Brushes.Blue; Pen pen = new Pen(brush,2); TextBox tb1 = new TextBox(); tb1.AcceptsReturn = true; tb1.Text = "This is a very long Text not?"; TextDecoration te...

[WPF] RichTextBox applies Bold when I continue writing

can I somehow stop this behaviour? ...

Inverted-colors text on top of an OpenGL scene

Hello, I have a font texture which I use in order to draw text on top of my OpenGL scene. The problem is that the scene's colors vary so much that any solid color I use is hard to read. Is it possible to draw my font texture with inverted colors? A call to glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); would just draw it with a sol...