Text FormattingHow can I write caption below figure or table, verbatim text

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
flouflis
Posts: 3
Joined: Fri May 08, 2009 5:28 pm

How can I write caption below figure or table, verbatim text

Post by flouflis »

hey i am newbie in latex and i need help if it is possible for two commands

first i want to use the command \HUGE but without effects, so i can show in my latex output "\HUGE"

for example my final output from latex i want to be "Here is the command to huge the fonts \HUGE" but i cant do that because when i write \HUGE latex automatically trying to huge the fonts, but i just want to post out the command.

second and last, can someone tell me the command to do the lines under each page?
i mean the lines where you put for example your name surname etc.
before the number of page.

for example i want to do a line under a figure table.

lets say this is the figure:

|-------------|
| |
| |
|_____________| i want to write under it:

________________________________________________
this is a figure of blablabla. what is the command for the above continues line?


thank you.
Last edited by flouflis on Fri May 08, 2009 5:46 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

How can I write caption below figure or table, verbatim text

Post by Stefan Kottwitz »

Hi flouflis,

welcome to the board!
flouflis wrote: first i want to use the command \HUGE but without effects, so i can show in my latex output "\HUGE"
You could use \verb to write out LaTeX commands:

Code: Select all

\verb+\HUGE+
flouflis wrote: secondly and last, can someone tell me the command to do the lines under each page?
i mean the lines where you put for example your name surname etc.
before the number of page.
That could be done by using the fancyhdr package, have a look at its documentation.
flouflis wrote: for example i want to do a line under a figure table.
You could use the \caption command.

Stefan
LaTeX.org admin
flouflis
Posts: 3
Joined: Fri May 08, 2009 5:28 pm

Re: Newbie in LaTeX

Post by flouflis »

thank you a lot for your fast responds :)

the first one done successfully

but about the continues line under a text didnt work with the command \caption :?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

How can I write caption below figure or table, verbatim text

Post by Stefan Kottwitz »

\caption is intended to put text over or under figures or tables, not below just some text or at the page bottom. For the latter use commands of the fancyhdr package linked above.

Stefan
LaTeX.org admin
flouflis
Posts: 3
Joined: Fri May 08, 2009 5:28 pm

Re: Newbie in LaTeX

Post by flouflis »

it is kind difficult to work with that packet, i thought it was just a command,

well thank you again :D
Post Reply