LCARS, LaTeX and tikz
So I have created the following:
documentclass[17pt]{extarticle}
usepackage{extsizes}
usepackage{lipsum}
usepackage{xcolor}
usepackage{fancyhdr}
usepackage{fontspec}
usepackage{tikz}
% To set the font and formatting:
setmainfont{[lcars.ttf]} %To load the font named lcars
%setmainfont[AutoFakeBold=1.5, AutoFakeSlant=0.4]{lcars.ttf} % To set bold or italics if I wanted to.
% LCARS Colours begin:
% Sources for colours:
% http://lcarsmania.com/designguide/Okudagrams_Color.png
% http://www.lcarscom.net/lcars_colors.gif
definecolor{LCARSBG}{HTML}{000000} % Pure black
definecolor{LCARSTCMain}{HTML}{FF9900} %Dark yellow
definecolor{LCARSTC1}{HTML}{CC99CC} % Light purple
definecolor{LCARSTC2}{HTML}{9999CC} % Light blue
definecolor{LCARSTC3}{HTML}{CC6666} % Light red
definecolor{LCARSTC4}{HTML}{FFCC99} % Light peach
definecolor{LCARSTC5}{HTML}{9999FF} % Light blue, a different variant
definecolor{LCARSTC6}{HTML}{FF9966} % Light orange
definecolor{LCARSTC7}{HTML}{CC6699} % Pink
definecolor{LCARSTC8}{HTML}{F5173C} % Light red
% LCARS Colours end.
% To set page numbers to the right colour and style.
makeatletter
fancypagestyle{mypagestyle}{%
fancyhf{}% Clear header/footer
fancyfoot[C]{textcolor{LCARSTCMain}{thepage}}% Page # in middle/centre of footer
renewcommand{footrulewidth}{0pt}% No footer rule
deffootrule{{if@fancyplainletfootrulewidthplainfootrulewidthfi
vskip-footruleskipvskip-footrulewidth
hrule@widthheadwidth@heightfootrulewidthvskipfootruleskip}}
}
makeatother
pagestyle{mypagestyle}
begin{document}
begin{flushleft}
pagecolor{LCARSBG} % Page background colour.
color{LCARSTCMain} % Main body text colour.
section*{textcolor{LCARSTC5}{Section Title:}}
textcolor{LCARSTC8}{A question or subheading here?}newline
textcolor{LCARSTC6}{Another sub heading:}newline
lipsum[1]
begin{tikzpicture}
draw[rounded corners] (0, 0) rectangle (4, 1) {};
end{tikzpicture}
end{flushleft}
end{document}
However I want to do the actual shapes I believe tikz package is best for this?
Looking at : http://www.lcars-terminal.de/tutorial/guideline.htm
and especially http://www.lcars-terminal.de/tutorial/guideline/font_size.gif
I want to add the shapes like in this image to the margins and header of the document, what is the best way to achieve this? I am beginner in LaTeX.
tikz-pgf
New contributor
add a comment |
So I have created the following:
documentclass[17pt]{extarticle}
usepackage{extsizes}
usepackage{lipsum}
usepackage{xcolor}
usepackage{fancyhdr}
usepackage{fontspec}
usepackage{tikz}
% To set the font and formatting:
setmainfont{[lcars.ttf]} %To load the font named lcars
%setmainfont[AutoFakeBold=1.5, AutoFakeSlant=0.4]{lcars.ttf} % To set bold or italics if I wanted to.
% LCARS Colours begin:
% Sources for colours:
% http://lcarsmania.com/designguide/Okudagrams_Color.png
% http://www.lcarscom.net/lcars_colors.gif
definecolor{LCARSBG}{HTML}{000000} % Pure black
definecolor{LCARSTCMain}{HTML}{FF9900} %Dark yellow
definecolor{LCARSTC1}{HTML}{CC99CC} % Light purple
definecolor{LCARSTC2}{HTML}{9999CC} % Light blue
definecolor{LCARSTC3}{HTML}{CC6666} % Light red
definecolor{LCARSTC4}{HTML}{FFCC99} % Light peach
definecolor{LCARSTC5}{HTML}{9999FF} % Light blue, a different variant
definecolor{LCARSTC6}{HTML}{FF9966} % Light orange
definecolor{LCARSTC7}{HTML}{CC6699} % Pink
definecolor{LCARSTC8}{HTML}{F5173C} % Light red
% LCARS Colours end.
% To set page numbers to the right colour and style.
makeatletter
fancypagestyle{mypagestyle}{%
fancyhf{}% Clear header/footer
fancyfoot[C]{textcolor{LCARSTCMain}{thepage}}% Page # in middle/centre of footer
renewcommand{footrulewidth}{0pt}% No footer rule
deffootrule{{if@fancyplainletfootrulewidthplainfootrulewidthfi
vskip-footruleskipvskip-footrulewidth
hrule@widthheadwidth@heightfootrulewidthvskipfootruleskip}}
}
makeatother
pagestyle{mypagestyle}
begin{document}
begin{flushleft}
pagecolor{LCARSBG} % Page background colour.
color{LCARSTCMain} % Main body text colour.
section*{textcolor{LCARSTC5}{Section Title:}}
textcolor{LCARSTC8}{A question or subheading here?}newline
textcolor{LCARSTC6}{Another sub heading:}newline
lipsum[1]
begin{tikzpicture}
draw[rounded corners] (0, 0) rectangle (4, 1) {};
end{tikzpicture}
end{flushleft}
end{document}
However I want to do the actual shapes I believe tikz package is best for this?
Looking at : http://www.lcars-terminal.de/tutorial/guideline.htm
and especially http://www.lcars-terminal.de/tutorial/guideline/font_size.gif
I want to add the shapes like in this image to the margins and header of the document, what is the best way to achieve this? I am beginner in LaTeX.
tikz-pgf
New contributor
add a comment |
So I have created the following:
documentclass[17pt]{extarticle}
usepackage{extsizes}
usepackage{lipsum}
usepackage{xcolor}
usepackage{fancyhdr}
usepackage{fontspec}
usepackage{tikz}
% To set the font and formatting:
setmainfont{[lcars.ttf]} %To load the font named lcars
%setmainfont[AutoFakeBold=1.5, AutoFakeSlant=0.4]{lcars.ttf} % To set bold or italics if I wanted to.
% LCARS Colours begin:
% Sources for colours:
% http://lcarsmania.com/designguide/Okudagrams_Color.png
% http://www.lcarscom.net/lcars_colors.gif
definecolor{LCARSBG}{HTML}{000000} % Pure black
definecolor{LCARSTCMain}{HTML}{FF9900} %Dark yellow
definecolor{LCARSTC1}{HTML}{CC99CC} % Light purple
definecolor{LCARSTC2}{HTML}{9999CC} % Light blue
definecolor{LCARSTC3}{HTML}{CC6666} % Light red
definecolor{LCARSTC4}{HTML}{FFCC99} % Light peach
definecolor{LCARSTC5}{HTML}{9999FF} % Light blue, a different variant
definecolor{LCARSTC6}{HTML}{FF9966} % Light orange
definecolor{LCARSTC7}{HTML}{CC6699} % Pink
definecolor{LCARSTC8}{HTML}{F5173C} % Light red
% LCARS Colours end.
% To set page numbers to the right colour and style.
makeatletter
fancypagestyle{mypagestyle}{%
fancyhf{}% Clear header/footer
fancyfoot[C]{textcolor{LCARSTCMain}{thepage}}% Page # in middle/centre of footer
renewcommand{footrulewidth}{0pt}% No footer rule
deffootrule{{if@fancyplainletfootrulewidthplainfootrulewidthfi
vskip-footruleskipvskip-footrulewidth
hrule@widthheadwidth@heightfootrulewidthvskipfootruleskip}}
}
makeatother
pagestyle{mypagestyle}
begin{document}
begin{flushleft}
pagecolor{LCARSBG} % Page background colour.
color{LCARSTCMain} % Main body text colour.
section*{textcolor{LCARSTC5}{Section Title:}}
textcolor{LCARSTC8}{A question or subheading here?}newline
textcolor{LCARSTC6}{Another sub heading:}newline
lipsum[1]
begin{tikzpicture}
draw[rounded corners] (0, 0) rectangle (4, 1) {};
end{tikzpicture}
end{flushleft}
end{document}
However I want to do the actual shapes I believe tikz package is best for this?
Looking at : http://www.lcars-terminal.de/tutorial/guideline.htm
and especially http://www.lcars-terminal.de/tutorial/guideline/font_size.gif
I want to add the shapes like in this image to the margins and header of the document, what is the best way to achieve this? I am beginner in LaTeX.
tikz-pgf
New contributor
So I have created the following:
documentclass[17pt]{extarticle}
usepackage{extsizes}
usepackage{lipsum}
usepackage{xcolor}
usepackage{fancyhdr}
usepackage{fontspec}
usepackage{tikz}
% To set the font and formatting:
setmainfont{[lcars.ttf]} %To load the font named lcars
%setmainfont[AutoFakeBold=1.5, AutoFakeSlant=0.4]{lcars.ttf} % To set bold or italics if I wanted to.
% LCARS Colours begin:
% Sources for colours:
% http://lcarsmania.com/designguide/Okudagrams_Color.png
% http://www.lcarscom.net/lcars_colors.gif
definecolor{LCARSBG}{HTML}{000000} % Pure black
definecolor{LCARSTCMain}{HTML}{FF9900} %Dark yellow
definecolor{LCARSTC1}{HTML}{CC99CC} % Light purple
definecolor{LCARSTC2}{HTML}{9999CC} % Light blue
definecolor{LCARSTC3}{HTML}{CC6666} % Light red
definecolor{LCARSTC4}{HTML}{FFCC99} % Light peach
definecolor{LCARSTC5}{HTML}{9999FF} % Light blue, a different variant
definecolor{LCARSTC6}{HTML}{FF9966} % Light orange
definecolor{LCARSTC7}{HTML}{CC6699} % Pink
definecolor{LCARSTC8}{HTML}{F5173C} % Light red
% LCARS Colours end.
% To set page numbers to the right colour and style.
makeatletter
fancypagestyle{mypagestyle}{%
fancyhf{}% Clear header/footer
fancyfoot[C]{textcolor{LCARSTCMain}{thepage}}% Page # in middle/centre of footer
renewcommand{footrulewidth}{0pt}% No footer rule
deffootrule{{if@fancyplainletfootrulewidthplainfootrulewidthfi
vskip-footruleskipvskip-footrulewidth
hrule@widthheadwidth@heightfootrulewidthvskipfootruleskip}}
}
makeatother
pagestyle{mypagestyle}
begin{document}
begin{flushleft}
pagecolor{LCARSBG} % Page background colour.
color{LCARSTCMain} % Main body text colour.
section*{textcolor{LCARSTC5}{Section Title:}}
textcolor{LCARSTC8}{A question or subheading here?}newline
textcolor{LCARSTC6}{Another sub heading:}newline
lipsum[1]
begin{tikzpicture}
draw[rounded corners] (0, 0) rectangle (4, 1) {};
end{tikzpicture}
end{flushleft}
end{document}
However I want to do the actual shapes I believe tikz package is best for this?
Looking at : http://www.lcars-terminal.de/tutorial/guideline.htm
and especially http://www.lcars-terminal.de/tutorial/guideline/font_size.gif
I want to add the shapes like in this image to the margins and header of the document, what is the best way to achieve this? I am beginner in LaTeX.
tikz-pgf
tikz-pgf
New contributor
New contributor
edited 9 mins ago
Henri Menke
71.4k8158265
71.4k8158265
New contributor
asked 13 mins ago
SomeTSomeT
133
133
New contributor
New contributor
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
SomeT is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471075%2flcars-latex-and-tikz%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
SomeT is a new contributor. Be nice, and check out our Code of Conduct.
SomeT is a new contributor. Be nice, and check out our Code of Conduct.
SomeT is a new contributor. Be nice, and check out our Code of Conduct.
SomeT is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f471075%2flcars-latex-and-tikz%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown